The most reliable way to find out your baby’s sex during pregnancy depends on how far along you are. A simple blood test can give you an answer as early as 10 weeks, while ultrasound becomes highly accurate between 12 and 20 weeks. Here’s what each method involves, when it works, and how much you can trust the results.
Blood Tests: The Earliest Option
The earliest medical method for learning your baby’s sex is a blood test that analyzes tiny fragments of your baby’s DNA circulating in your bloodstream. This is the technology behind both clinical NIPT (noninvasive prenatal testing) and at-home consumer kits. There isn’t enough fetal DNA in your blood before 10 weeks of pregnancy, so that’s the earliest these tests can be performed.
NIPT is primarily designed to screen for chromosomal conditions like Down syndrome, but it also reveals whether the fetus has XX or XY chromosomes. It’s offered through your healthcare provider and is roughly 99% accurate for sex determination. At-home blood test kits like SneakPeek work on the same principle, detecting the presence or absence of Y-chromosome DNA. These kits claim over 99% accuracy starting at six weeks, though results depend heavily on following the sample collection instructions. If male DNA from another source (a partner, an older child, even a contaminated surface) gets into the sample, it can produce a false “boy” result.
Ultrasound: What to Expect at Each Stage
Ultrasound is the most common way parents learn their baby’s sex, but accuracy varies significantly depending on when the scan happens.
The 12-Week Scan
At around 12 weeks, all fetuses have a small protrusion between the legs called the genital tubercle. This structure eventually develops into either a penis or a clitoris, but at this stage it looks similar in both sexes. Technicians can attempt a prediction based on the angle of this nub relative to the baby’s spine. If it points upward at more than 30 degrees, the baby is likely male. If it’s roughly parallel to the spine, the baby is likely female.
This approach, sometimes called “nub theory,” gets more accurate with each passing week. Research from the Fetal Medicine Foundation found that accuracy jumped from 70% at 11 weeks to about 99% at 12 weeks and 100% at 13 weeks. The errors at 11 weeks skewed heavily in one direction: 56% of male fetuses were incorrectly identified as female, while only 5% of females were misidentified as male. A 2006 study found 96% accuracy at week 12, climbing to 97% at week 13. By 14 weeks, multiple studies report 100% accuracy with this method.
A 2016 study of 672 pregnancies found that at 12 weeks, sex determination was possible about 90% of the time, and when a prediction was made, it was correct 87% of the time. So while early ultrasound can give you a good guess, it’s not a guarantee.
The 20-Week Anatomy Scan
The mid-pregnancy anatomy scan, typically performed around 18 to 20 weeks, is when most parents get the news. By this point, the external genitalia are much more developed and easier to visualize. This scan is considered highly reliable for sex determination, though it’s still not perfect. Several factors can make the image harder to read: the baby’s position (legs crossed or facing the wrong direction), the amount of amniotic fluid, the mother’s body type, the quality of the ultrasound equipment, and the skill of the technician.
Diagnostic Tests With Near-Perfect Accuracy
Two invasive procedures, amniocentesis and chorionic villus sampling (CVS), analyze the baby’s actual chromosomes and are about 99% accurate for sex determination. CVS can be performed between 10 and 13 weeks, while amniocentesis is typically done between 15 and 20 weeks.
These tests aren’t offered just to find out the sex. They’re reserved for pregnancies with specific risk factors: if you’re 35 or older at your due date, have a family history of genetic disorders, already have a child with a genetic condition, or if earlier screening flagged a potential concern. Because they carry a small risk of complications, they’re used when diagnostic information is medically necessary, and sex determination is simply a byproduct.
At-Home Consumer Tests
Beyond clinical options, at-home blood test kits have become popular for parents who want to know the sex as early as possible. These kits work by detecting Y-chromosome DNA in the mother’s blood sample. If Y-chromosome DNA is present, the result is male. If it’s absent, the result is female.
The main risk of error is contamination. Because the test is looking for even trace amounts of male DNA, handling the collection kit in a space where male family members have been, or not thoroughly washing your hands, can introduce enough DNA to trigger a false boy result. Following the collection protocol carefully is essential. There’s no equivalent risk for false girl results, since the test would simply be detecting the absence of Y-chromosome DNA.
Popular Myths That Don’t Work
A number of folk methods for predicting a baby’s sex have been passed down for generations. None of them hold up to scientific scrutiny.
The most persistent myth involves fetal heart rate: the idea that a heart rate above 140 beats per minute means a girl, and below 140 means a boy. Research has found no significant difference between male and female heart rates during early pregnancy. A 2023 review of studies confirmed that fetal heart rate is not a reliable predictor of sex. One 2018 study did find that male fetuses had a slightly lower baseline heart rate with more variability, but the differences were so small they held no practical predictive value.
Belly shape is another popular guess. “Carrying high” supposedly means a girl, while “carrying low” means a boy. In reality, the shape and position of your bump is determined by your muscle tone, whether you’ve been pregnant before, your baby’s position at any given moment, and your own body structure. First-time mothers tend to carry higher because their abdominal muscles haven’t been stretched by previous pregnancies. Later in pregnancy, the baby can drop lower into the pelvis regardless of sex. None of these factors have anything to do with whether the baby is male or female.
Other folk methods, including the ring test (dangling a ring over your belly), cravings (sweet vs. salty), and skin changes, have no scientific basis.
Why Some Countries Restrict Sex Disclosure
In many parts of the world, finding out your baby’s sex before birth is straightforward and routine. But in several countries, laws restrict when or whether parents can learn this information, primarily to prevent sex-selective abortion.
India’s PNDT Act bans prenatal sex determination entirely. Ultrasounds are used for medical purposes, but the screen is hidden from the pregnant woman and her family. China’s Maternal and Infant Health Care Law similarly prohibits using ultrasound or amniocentesis for sex identification unless medically necessary. In Germany, sex selection for non-medical purposes is punishable by up to one year in prison. Austria, New Zealand, South Korea, Switzerland, and Vietnam all prohibit sex selection for any reason. Australia, Canada, and the United Kingdom allow sex identification but restrict the use of reproductive technologies for sex selection unless it’s needed to prevent a sex-linked genetic disease.
Choosing the Right Method for You
Your options come down to timing, accuracy, and what’s medically available to you. At-home blood kits offer the earliest results (as early as 6 to 10 weeks) with high accuracy if the sample is collected properly. NIPT through your provider is available from 10 weeks onward and serves double duty by also screening for chromosomal conditions. Ultrasound provides a visual confirmation that improves in reliability from about 87% at 12 weeks to near certainty at 20 weeks. Invasive testing is the most accurate of all but is only performed when there’s a medical reason.
If accuracy matters more than speed, the 20-week anatomy scan remains the standard for most pregnancies. If you want to know sooner, a blood-based test at or after 10 weeks offers a reliable early answer. And if the ultrasound tech says the baby’s legs were crossed and they couldn’t get a clear view, that’s one of the most common reasons parents have to wait a little longer for a definitive answer.

