Ask users forTheir sex or gender

Ask users for data about their sex or gender.

What is your sex?

This is the sex that is on your passport, travel document or identity document
Why we ask this question
We need this information to check that your identity matches the document details you have provided.

When to use this pattern

Ask users about their sex

You should only ask users what their sex is if you genuinely cannot provide your service without this information.

If you need to ask users for this information, use ‘sex’ to collect biological data. For example, if your service needs to verify someone’s identity from the details on their identity document.

Ask users about their gender

Home Office public-facing services do not ask for gender, but some internal services ask this question in certain circumstances. For example, we record users’ preference to be interviewed by a staff member of a specific gender.

Ask this question if your service needs data on how a person self-identifies to handle them or their case appropriately.

Ask users about their sex and gender

There may be scenarios where it is important to capture differences between biological sex and gender identity. If you need to do this, you should ask both a sex and gender question to confirm the users’ identity and follow the GOV.UK pattern.

How it works

Check the sex options in the document that users of your service will have so the options accurately reflect users’ document data. For example, if the users have non-UK passports, you need to include the 'X or other' option as this appears on some non-UK passports and travel documents.

Writing for this pattern

Use the ‘why we ask this question’ content to explain to users the purpose for collecting their sex data.

You should outline why it is important for the functioning of the service, in simple language. Do not use technical terms. If you cannot provide these details for users, consider if it is necessary to collect this data at all.

Accessibility

If your service uses this pattern, let us know of any insights you have on accessibility considerations.

Research

This pattern is used by:

  • an internal reporting service used by operational Border Force officers
  • an internal service to manage appointments

We conducted usability research with users who are trans or identify as non-binary, to develop this pattern. We found that:

  • asking users about their biological sex is intrusive and can cause distress
  • users identify strongly with their gender identity, more so than with their sex. This should be considered, even if sex information is collected
  • often documents do not align with a user’s gender identity, which can cause confusion and discomfort when choosing an answer to the sex question

In research we identified ways to help to ease negative emotions and minimise user distress around this question, by explaining:

  • why the question is being asked and how the data will be used
  • what documentation is required and the distinction between sex and gender, for example in the hint text

We did not speak to any users with X on their passport or travel document.

Help us improve this pattern

This pattern needs improving. We need evidence about:

  • any research insights, particularly from users with X on their documents
  • how asking users about their sex changes when the identity document type users have is already known

To contribute, add your thoughts and research findings to our GitHub discussion, or follow our contribute guidance.