How Many Weeks Until You Can Find Out the Gender?

Most parents can find out their baby’s sex as early as 9 weeks into pregnancy with a blood test, or around 18 to 22 weeks with an ultrasound. The method you use determines how soon you’ll get an answer, and each option comes with different levels of accuracy and availability.

What’s Happening Biologically

A baby’s sex is determined at conception, but the physical structures that make it visible take time to develop. At 9 weeks, the external genitalia of both male and female fetuses look identical. It’s not until around week 12 that the differences become observable, which is why the earliest detection methods rely on DNA rather than imaging.

9 Weeks: Blood Test (NIPT)

The earliest option available is a blood test called noninvasive prenatal screening, commonly known as NIPT or NIPS. It can be performed as early as nine weeks of pregnancy. The test works by analyzing fragments of your baby’s DNA that circulate in your bloodstream. If Y-chromosome material is detected, the baby is male. If none is found, the baby is female.

NIPT was originally designed to screen for chromosomal conditions like Down syndrome, and fetal sex identification is essentially a byproduct of that analysis. The test is highly accurate for sex determination. ACOG now recommends that screening for sex chromosome differences be offered to patients as an opt-in option with appropriate counseling beforehand. Most major labs and OB providers offer NIPT to any pregnant patient, though insurance coverage varies depending on whether you’re considered high-risk.

Results typically come back within one to two weeks, meaning you could know your baby’s sex by 10 or 11 weeks of pregnancy.

12 to 13 Weeks: Early Ultrasound

If you have a first-trimester ultrasound around 12 weeks (often done as part of a nuchal translucency screening), a trained technician may be able to identify the baby’s sex using what’s known as the “nub theory.” This involves looking at the angle of a small structure called the genital tubercle, which eventually develops into either a penis or clitoris.

The accuracy depends heavily on timing. A 2006 study found nub theory was 96 percent accurate at 12 weeks and 97 percent at 13 weeks. A larger 2012 study of over 1,200 patients reported accuracy rates between 96.6 and 100 percent starting at 12 weeks. By 14 weeks, one study found the method reached 100 percent accuracy. However, not all providers will attempt a sex prediction this early, and fetal position can make it impossible to get a clear view.

18 to 22 Weeks: The Anatomy Scan

The most common time parents learn their baby’s sex is during the mid-pregnancy anatomy scan, which happens between 18 and 22 weeks. This detailed ultrasound examines the baby’s organs, limbs, and overall development. The technician can usually see the genitalia clearly at this stage, since the structures are much more developed than in the first trimester.

That said, it’s not guaranteed. If the baby is in a position that hides the genital area (legs crossed, facing the wrong direction, or in a breech position), the technician may not be able to confirm the sex during that visit. Maternal obesity, low amniotic fluid levels, and multiple fetuses can also make visualization harder. In most cases, though, the anatomy scan gives a reliable answer.

10 to 16 Weeks: Diagnostic Procedures

Two diagnostic tests, chorionic villus sampling (CVS) and amniocentesis, can determine fetal sex with roughly 99 percent accuracy because they analyze the baby’s actual chromosomes. CVS is performed between weeks 10 and 13, while amniocentesis happens around week 16.

These procedures aren’t offered for the purpose of finding out sex. They’re reserved for pregnancies where there’s a higher risk of genetic conditions, or when earlier screening results flagged something that needs a definitive answer. Both involve collecting a small sample of tissue or fluid from the uterus, so they carry a slight risk of complications that wouldn’t be justified purely for sex determination.

Which Option Makes Sense for You

If you want to know as early as possible and your provider offers NIPT, that’s the fastest route at 9 weeks. Many parents now learn the sex this way before their first ultrasound even shows a recognizable baby shape. If you’re not getting NIPT (or your insurance doesn’t cover it), you’ll likely find out at the anatomy scan between 18 and 22 weeks.

For the small number of parents whose baby doesn’t cooperate during the anatomy scan, a follow-up ultrasound a few weeks later usually does the trick. Private ultrasound studios also offer gender-reveal sessions, typically starting around 14 to 16 weeks, though these are elective and out-of-pocket.

One practical note: if you’re having twins or higher-order multiples, NIPT for sex chromosome analysis is less reliable. Current guidelines do not recommend it for screening sex chromosomes in twin pregnancies due to limited data, so ultrasound becomes the more dependable option.