Most parents can find out their baby’s sex between 18 and 20 weeks of pregnancy, which is roughly 4 to 5 months. That’s when the standard anatomy ultrasound happens. But depending on the method you choose, it’s possible to get an answer as early as 10 weeks.
The Standard Answer: 18 to 20 Weeks
The mid-pregnancy anatomy scan is the most common way parents learn their baby’s sex. International guidelines recommend this ultrasound between 18 and 24 weeks, though most practices in the U.S. schedule it around weeks 18 to 20. By this point, the external genitalia are well developed and clearly visible. Ultrasound accuracy for sex determination reaches essentially 100% after 20 weeks of gestation, assuming the baby cooperates and gives the sonographer a clear view.
This scan isn’t scheduled just for sex determination. Its primary purpose is checking the baby’s organs, brain, spine, and heart for any structural issues. Finding out sex is a bonus that most providers offer during the same appointment.
Earlier Options: Blood Tests at 10 Weeks
If you don’t want to wait until the anatomy scan, a blood test can reveal fetal sex much sooner. Non-invasive prenatal testing (NIPT) works by analyzing tiny fragments of placental DNA circulating in your blood. By around week 10, there’s typically enough of this DNA (at least 4% of the total free-floating DNA in your bloodstream) to detect whether a Y chromosome is present.
NIPT is primarily designed to screen for chromosomal conditions like Down syndrome, but it also identifies sex chromosomes in the process. Many providers offer it as an optional screening, and some insurance plans cover it depending on your age and risk factors. When performed in a clinical lab, NIPT is highly accurate for sex determination.
At-home versions of this blood test have also entered the market. These kits use the same basic principle (detecting Y-chromosome DNA in a finger-prick blood sample) and some claim accuracy rates above 99%. However, real-world results are less reliable than the marketing suggests, particularly when taken before 8 weeks. A common issue is contamination: if male DNA from the environment gets into your sample, it can produce a false “boy” result. Consumer reports suggest these tests become more dependable at 9 or 10 weeks, when fetal DNA levels are higher.
Can an Early Ultrasound Tell You Sooner?
Some parents wonder whether the 12-week or 13-week ultrasound can reveal sex. The answer is: sometimes. At this stage, a skilled sonographer can attempt to identify sex based on the angle of a small structure called the genital tubercle. After 13 weeks, this method reaches close to 100% sensitivity. Between 11 and 12 weeks, though, accuracy drops significantly, and incorrect predictions are common.
Even at 13 weeks, not every ultrasound will yield a confident answer. The baby’s position matters enormously. If the baby is in a breech position or has its legs crossed, the relevant anatomy may simply not be visible. Low amniotic fluid volume and higher maternal body weight can also make the image harder to read. In one survey of sonographers, 76% identified fetal position as the main obstacle to sex determination on early scans.
So while a first-trimester ultrasound might give you an early hint, treat any prediction before 16 weeks with some caution unless it’s been confirmed by a blood test or a follow-up scan.
Diagnostic Tests: CVS and Amniocentesis
Two diagnostic procedures, chorionic villus sampling (CVS) and amniocentesis, can determine sex with about 99% accuracy. CVS is performed between weeks 10 and 13, and amniocentesis around week 16. Both involve collecting a small sample of cells that carry the baby’s full genetic information.
These are not routine sex-determination tools. They’re offered when there’s a medical reason to check for genetic or chromosomal conditions, since both carry a small risk of complications. But if you’re already having one of these procedures for medical purposes, sex determination comes as part of the results.
Quick Comparison by Timeline
- 10 weeks (about 2.5 months): NIPT blood test or CVS (if medically indicated)
- 12 to 13 weeks (3 months): Early ultrasound prediction, though accuracy varies
- 16 weeks (4 months): Amniocentesis (if medically indicated); ultrasound accuracy improving
- 18 to 20 weeks (4.5 to 5 months): Anatomy scan ultrasound, the standard and most reliable option for most pregnancies
What If the Sonographer Can’t Tell?
It’s not unusual for the anatomy scan to be inconclusive on sex. The baby might be curled up, facing the wrong direction, or pressing its legs together. This doesn’t mean anything is wrong. Your provider will typically offer a follow-up scan or suggest waiting a couple of weeks for another look. In the meantime, if knowing sooner matters to you, a NIPT blood draw can fill in the answer regardless of the baby’s position, since it doesn’t depend on imaging at all.
Some parents also receive conflicting information, perhaps an early ultrasound suggested one sex and a later scan showed another. When this happens, the later result is almost always the correct one. Accuracy improves dramatically with gestational age, and any prediction made before 14 weeks carries a real margin of error.

