How Do You Know If You’re Having a Boy or Girl?

The only reliable ways to find out whether you’re having a boy or girl are medical tests: a blood test as early as 7 weeks or an ultrasound after 14 weeks. Everything else, from bump shape to heart rate, is essentially a coin flip. Here’s how each method works and what actually determines your baby’s sex.

What Determines Sex in the Womb

Your baby’s sex is set at conception, but it takes weeks for that genetic blueprint to produce visible differences. A gene on the Y chromosome triggers the development of testes and prevents the formation of a uterus and fallopian tubes. Without that gene, the fetus develops female anatomy. External genitalia start forming around weeks 9 to 10, but they look nearly identical in male and female fetuses until several weeks later, which is why early ultrasounds can’t give you a reliable answer.

Blood Tests (NIPT): The Earliest Option

Non-invasive prenatal testing, commonly called NIPT, analyzes fragments of your baby’s DNA circulating in your blood. If the test detects Y-chromosome sequences, the baby is male. If none are found, the baby is female. NIPT becomes increasingly accurate from 7 weeks of pregnancy onward; before 7 weeks, results are unreliable. A large 2017 review of NIPT in singleton pregnancies found sensitivity of 98.9% and specificity of 99.6% for fetal sex.

NIPT is primarily designed to screen for chromosomal conditions like Down syndrome, and sex determination is a secondary result. Most providers offer it between weeks 9 and 12. It’s a simple blood draw from your arm, with results typically back within one to two weeks.

One rare source of error: if a twin was conceived but stopped developing very early (sometimes called a vanishing twin), leftover DNA from that twin can linger in your bloodstream. In one documented case, Y-chromosome sequences were detected at week 10, but a 20-week ultrasound confirmed a girl. The likely explanation was residual DNA from a male twin that had been reabsorbed. This is uncommon, but it’s worth knowing if your blood test and ultrasound results ever disagree.

Ultrasound: What to Expect and When

Most people learn their baby’s sex at the 20-week anatomy scan. At that point, ultrasound is extremely accurate. One study in the Australasian Journal of Ultrasound in Medicine found 100% accuracy for sex predictions made after 14 weeks, with gender assignment possible in 214 of 215 second-trimester scans.

Earlier scans are less dependable. At 12 weeks, sonographers correctly identified fetal sex about 77% of the time. That’s better than guessing, but roughly 1 in 4 predictions at this stage are wrong. The baby’s position, the angle of the scan, and how far along genital development has progressed all affect the result. If you get a 12-week prediction, treat it as a preliminary guess rather than a final answer.

CVS and Amniocentesis

Chorionic villus sampling (CVS) and amniocentesis are diagnostic procedures that analyze fetal chromosomes directly. Both are about 99% accurate for determining sex. CVS is typically performed between weeks 10 and 13, while amniocentesis happens between weeks 15 and 20. Because these tests carry a small risk of complications, they’re reserved for pregnancies where genetic screening is medically indicated. You wouldn’t undergo either one purely to learn the sex.

Why Heart Rate Doesn’t Tell You

You’ve probably heard that a fetal heart rate above 140 beats per minute means a girl, while below 140 means a boy. A study of 655 first-trimester pregnancies found no significant difference: the average heart rate was 167 beats per minute for female fetuses and 167.3 for males. An earlier study of 477 fetuses reached the same conclusion. In the first trimester, heart rate simply reflects how far along the pregnancy is, not whether the baby is male or female.

Morning Sickness: A Slight Pattern, Not a Predictor

This one is more nuanced than most myths. A study of over 4,300 pregnancies found that women carrying a girl reported slightly more frequent nausea and vomiting during the first trimester than those carrying a boy (6.35 versus 6.04 on a 9-point scale). Severe nausea requiring hospitalization has also been linked to female fetal sex in multiple studies.

The difference is real but tiny. On an individual level, it’s useless for prediction. Plenty of women with intense morning sickness have boys, and plenty with easy first trimesters have girls. The overlap between the two groups is enormous.

Bump Shape and Other Folk Methods

The idea that carrying low means a boy and carrying high means a girl has no basis in anatomy. What actually determines your bump shape is your abdominal wall. During a first pregnancy, the abdominal muscles haven’t been stretched yet, so the bump tends to sit higher. With each subsequent pregnancy, the uterus appears to sit lower as those muscles loosen. Your height, posture, core strength, and the baby’s position all play a role. The baby’s sex does not.

The same goes for skin changes, food cravings, and the ring-on-a-string test. None of these have performed better than chance in controlled studies. They’re fun to try at a baby shower, but if you want an actual answer, you need one of the medical methods above.

Timing Summary for Each Method

  • NIPT blood test: available from about 7 to 10 weeks, over 99% accurate
  • Early ultrasound (12 weeks): roughly 77% accurate
  • CVS: 10 to 13 weeks, 99% accurate, but only done for medical reasons
  • Anatomy scan ultrasound (14 to 20 weeks): effectively 100% accurate
  • Amniocentesis: 15 to 20 weeks, 99% accurate, but only done for medical reasons

If you want the earliest possible answer with high confidence, NIPT is your best bet. If you’re happy to wait, the 20-week ultrasound will give you a definitive answer at no extra cost beyond your routine prenatal care.