When Can You Find Out Your Baby’s Sex?

Fetal development at week 20 — the anomaly scan, when the sex is usually visible

Your baby's sex was settled at the moment of conception, months before anyone can see it. The chromosome arrived with the sperm, the decision was made in that instant, and everything that follows is just the anatomy slowly catching up with a fact that was already true.

That gap between the decision and the evidence is why this question has such a long answer. This guide covers when each method can actually tell you — the blood test from 10 weeks, the scan from 18 — why the 12-week scan usually cannot, how often the 20-week scan gets it wrong, and what the research says about the calendars, heart rates and wedding rings.

The short answer: a cell-free DNA blood test can detect a Y chromosome from 10 weeks and is the earliest reliable method. An ultrasound can usually show the sex from 18 to 21 weeks, at the anomaly scan, and sometimes from 15 or 16 with less certainty. The 12-week scan is too early to tell. Diagnostic tests — CVS and amniocentesis — give a definitive answer but are only offered for medical reasons, never for curiosity.

How your baby's sex is decided

Every egg carries an X chromosome. Sperm carry either an X or a Y, in roughly equal numbers, and whichever one reaches the egg first determines the pair: XX or XY. This is why the sex comes from the father — the mother has no X-or-Y choice to contribute.

The chromosomes alone do not make a visible difference for weeks. Around weeks 6 to 7, a single gene on the Y chromosome called SRY switches on in male embryos and instructs the undifferentiated gonads to become testes. Without SRY, the same tissue becomes ovaries. Everything downstream follows from that one switch.

The external genitalia grow from an identical starting structure in both sexes, the genital tubercle. It only begins to look different between roughly weeks 9 and 12, and the difference is subtle for a while after that. This is the whole reason an early scan cannot answer the question: at 12 weeks there is genuinely not much to see yet.

The timeline, week by week

🗓️ When each thing happens

Our week 12 guide covers what the dating scan does measure, and the week 20 guide walks through the anomaly scan appointment in full.

The tests that can actually tell you

MethodFromHow certainWhat it is really for
cfDNA blood test (NIPT) 10 weeks High — see below Screening for chromosomal conditions; sex is a by-product
Ultrasound 18–21 weeks Usually reliable, not guaranteed Checking the baby's anatomy for 11 conditions
CVS 11–14 weeks Definitive Diagnosing a genetic condition. Carries a small miscarriage risk
Amniocentesis 15–20 weeks Definitive Diagnosing a genetic condition. Carries a small miscarriage risk

The blood test, and what its numbers mean

A cell-free DNA test looks for fragments of the baby's DNA circulating in your bloodstream. Finding Y-chromosome sequences means a male fetus; finding none means a female. Because it needs enough fetal DNA to be present, timing matters more than for anything else here.

A meta-analysis in JAMA pooled the published studies and found overall sensitivity of 95.4% and specificity of 98.6% for detecting Y sequences — but broken down by timing, the picture is much sharper. Performed before 7 weeks, sensitivity was only 74.5%. Between 7 and 12 weeks it rose to 94.8%, and after 20 weeks it reached 99.0%. This is why clinics set a floor at 10 weeks: earlier than that, the test is not measuring what it claims to.

A screening test is not a diagnosis. cfDNA is excellent at what it does, but discordant results happen — through a vanishing twin, confined placental mosaicism, a previous transplant or maternal chromosomal variation. If a cfDNA result and a later scan disagree, that discrepancy needs investigating rather than resolving by preference.

The 20-week scan does not exist to tell you the sex

Worth being clear about, because it shapes what you can expect from the appointment. The scan at 18 to 21 weeks is a screening scan that examines the baby's anatomy for 11 specific conditions. Under the NHS programme, finding out the sex is not part of it. Whether a sonographer will tell you depends on your hospital's policy, and some will give an opinion verbally but decline to write it down.

If it matters to you, say so at the start of the appointment rather than at the end. The sonographer needs to complete the clinical checks first, and a baby who was in a good position at minute two may not be at minute twenty.

Why a scan can still get it wrong

Ultrasound reads shape and shadow, not chromosomes, so the answer is only as good as the view. The usual reasons for a mistake:

Ask how confident the sonographer is. "I'm fairly sure" and "I got a clear view" are different statements, and most will make the distinction if you invite it.

The methods that do not work

These circulate widely and several have been tested properly. None of them predicts anything, and it is worth knowing that before painting a room.

Why so many people swear by these: every method here is right about half the time, and there are only two possible answers. A prediction that was correct is memorable; one that was wrong gets forgotten. That asymmetry is enough to keep a folk method alive indefinitely without it ever working.

When knowing the sex is medical rather than curiosity

For most families this is an emotional question. For some it is a clinical one, and the timeline changes accordingly.

X-linked conditions — such as haemophilia A and B, and Duchenne muscular dystrophy — largely affect male children, so if you are a known carrier, establishing the fetal sex early determines whether further diagnostic testing is needed at all. A cfDNA test at 10 weeks that shows no Y chromosome can spare a family an invasive procedure entirely.

Congenital adrenal hyperplasia is the other common reason. In an affected female fetus, treatment may be started during pregnancy, which means the sex needs establishing early rather than at 20 weeks.

In these situations your care is led by a genetic counsellor or fetal medicine specialist, and the testing pathway is theirs to set. It is a different conversation from the one at a routine scan.

When to call your midwife

Call the same day if: you have vaginal bleeding, a gush or steady trickle of fluid, severe abdominal pain, a severe headache with visual disturbance or sudden swelling of the face and hands — or, after 24 weeks, if your baby's movements have slowed or changed.

None of these relate to the sex of your baby. They are the reasons to ring between appointments during the weeks this page covers, and they matter far more than the answer you came here for:

If the anomaly scan does find something, you will be told at the appointment and referred on, usually quickly. Our second trimester guide covers the rest of that schedule, and the week-by-week pregnancy guide follows the whole timeline.

Frequently Asked Questions

At how many weeks can you find out the baby's sex?

By ultrasound, usually from 18 to 21 weeks, at the anomaly scan — that is when the anatomy is developed enough and the baby is large enough to see clearly. A skilled sonographer can sometimes tell from 15 or 16 weeks, with lower certainty. A cell-free DNA blood test can identify a Y chromosome from 10 weeks, earlier than any scan.

Can you tell the sex at the 12-week scan?

Not reliably. At 12 weeks the external genitalia have only just begun to differentiate and look very similar in both sexes. Some sonographers offer an opinion based on the angle of the genital tubercle, known as the nub theory, but this is not part of the scan, accuracy varies widely with the baby's position, and no NHS or ACOG guidance treats it as a result.

Is the baby's sex determined by the mother or the father?

By the father. The egg always carries an X chromosome; the sperm carries either an X or a Y, and whichever one fertilises the egg sets the chromosomal sex at the moment of conception. Nothing either parent does before or after conception changes it — not diet, not timing, not position.

How accurate is the Chinese gender calendar?

It performs the same as guessing. A study of 2,840,755 Swedish births applied the calendar's own algorithm to every one of them and measured agreement with the actual sex at a kappa of 0.0002 — statistically indistinguishable from zero. Accuracy did not improve for any maternal age, education level, BMI or parity.

Does a fast heartbeat mean a girl?

No. The folk rule that above 140 beats per minute means a girl has been tested and does not hold. A 2023 systematic review of first-trimester scans found no significant difference in mean fetal heart rate between the sexes; one of the included studies measured 167.0 bpm for female fetuses and 167.3 bpm for male. Fetal heart rate varies with gestational age and activity, not sex.

How often does the 20-week scan get the sex wrong?

It is right the large majority of the time but not guaranteed. Errors happen when the baby is lying awkwardly, has its legs crossed or its hands in the way, when the scan is done at the earlier end of the window, or when the view is limited. Ask the sonographer how confident they are — most will tell you plainly if the view was poor.

Can I have an NIPT blood test just to learn the sex?

In many countries yes, privately, though it is designed as a screening test for chromosomal conditions and the sex result is a by-product. Availability and rules differ: some health systems will not report sex from a screening test, and a few countries restrict non-medical sex determination outright. Ask your midwife what applies where you live.

When do a baby's genitals actually form?

The gonads begin to differentiate around weeks 6 to 7, when the SRY gene on the Y chromosome switches on in male embryos. The external genitalia develop from the same starting structure in both sexes and only take on a clearly different appearance between roughly weeks 9 and 12. Before that point they are genuinely indistinguishable on a scan.

Finding out the sex — at a glance

Your baby's sex is fixed at conception by the sperm, and becomes visible only as the anatomy develops. A cell-free DNA blood test can find a Y chromosome from 10 weeks and is the earliest reliable method, though it is designed to screen for chromosomal conditions rather than to answer this question. Ultrasound usually gives an answer at the 18–21 week anomaly scan, sometimes earlier with less certainty, and the 12-week scan is too early. Scans can be wrong when the view is poor, so ask how confident the sonographer is. The calendars, heart-rate rules and rings have been tested and predict nothing.

Inside Baby Novum: the scan log stores every ultrasound with its date, gestational week, the measurements and a photo of the report, plotting growth against WHO and INTERGROWTH-21st percentile bands, and the calendar marks ultrasound appointments with push reminders so the 18–21 week window does not slip.

Sources

Track it all in the app

Keep every scan and measurement in one place

Baby Novum logs each ultrasound with the date, gestational week, the measurements and a photo of the report, plots growth against WHO percentile bands, and reminds you about the next appointment.

Download on the App Store

Free to download  ·  No account required  ·  iOS only