Fetal sex is the biological sex of a developing baby, and it shows up in three places: the chromosomes, the internal organs and the outer genitals. The chromosome part is settled the moment sperm meets egg, but the body doesn’t start building male or female organs until weeks later. Although the sex is decided at conception, no test can detect it until weeks later. A blood test can usually reveal it from about week 7 to 10, and an ultrasound from about week 12 or 13.
Which Parent Determines the Baby’s Sex
A baby’s genetic sex comes from one pair of sex chromosomes, one from the mother and one from the father.1HudsonAlpha Institute for Biotechnology. What Does Fetal Sex Mean and When Is It Determined? Women have two X chromosomes, so every egg carries an X.2Genes Matter. The probability of having a boy or a girl according to genetics Each sperm, on the other hand, carries either an X or a Y.2Genes Matter. The probability of having a boy or a girl according to genetics An X-carrying sperm makes a girl (XX), and a Y-carrying sperm makes a boy (XY).3AlphaBiolabs. Which parent determines the sex of a baby? Whichever sperm fertilizes the egg decides the baby’s genetic sex.2Genes Matter. The probability of having a boy or a girl according to genetics
The variable chromosome comes from the father, though no father chooses which sperm succeeds. Millions of sperm compete to reach the egg, and nothing known about that race gives a couple a way to steer it, so for each pregnancy it is close to a coin toss. Diets, timing tricks and folk methods have no reliable effect.
When the Body Starts Developing as Male or Female
Around week 4 of pregnancy, every embryo grows a pair of identical sex glands that could become either testes or ovaries.4PubMed Central. Deciphering Sex-Specific Differentiation of Human Fetal Gonads: Insight From Experimental Models Around week 6, a gene on the Y chromosome switches on in XY embryos.4PubMed Central. Deciphering Sex-Specific Differentiation of Human Fetal Gonads: Insight From Experimental Models It turns on a second gene, which starts making the cells that build a testis.5PubMed. Sry: the master switch in mammalian sex determination It also switches off genes that would build an ovary.6PubMed. The sex-determining factors SRY and SOX9 regulate similar target genes and promote testis cord formation during testicular differentiation The second gene then takes over and keeps the testis developing on its own.6PubMed. The sex-determining factors SRY and SOX9 regulate similar target genes and promote testis cord formation during testicular differentiation
So when people ask when sex is “determined,” biology gives two answers: conception and around week 6. Before week 6 nothing physical differs between male and female embryos. The chromosomes are already XX or XY, which is why a test that reads DNA can look earlier than a scan that looks at anatomy. After the glands begin to change, the visible outer differences take several more weeks to appear.
Ovary development was long treated as what happens automatically when the Y signal is missing.7genderedinnovations.stanford.edu. What Does Fetal Sex Mean and When Is It Determined? Ovaries are now known to be built by their own set of genes.8PubMed. WNT4, RSPO1, and FOXL2 in sex development One of these holds back male development and helps form the female internal organs.8PubMed. WNT4, RSPO1, and FOXL2 in sex development Neither sex is the “default” version of the other.
How Hormones Shape the Internal and External Organs
Every early embryo has two sets of tubes, one that can become male internal organs and one that can become the uterus and fallopian tubes. In a male, the testes make testosterone, which builds the sperm-carrying tubes and seminal vesicles.9PubMed Central. Molecular genetics of Müllerian duct formation, regression and differentiation The testes make a second hormone that makes the female tubes shrink away.10PubMed. Anti-Müllerian hormone in disorders of sex determination and differentiation A third testicular hormone helps the testes later move down toward the scrotum.9PubMed Central. Molecular genetics of Müllerian duct formation, regression and differentiation
In a female fetus there are no testes making these hormones. The tubes that can become the uterus and fallopian tubes are left in place and keep developing, while the tubes that could have become male organs gradually fade away because nothing is there to support them. The same small patch of tissue that would become a penis and scrotum becomes the clitoris and labia instead.
The outer genitals of a male need a stronger hormone. In some tissues, testosterone is converted into a stronger form, which shapes the penis and scrotum.11PubMed. Development of the genital ducts and external genitalia in the early human embryo The genitals take shape in roughly the first two to three months of pregnancy.12PubMed. Sexual differentiation of the human brain in relation to gender identity and sexual orientation
Finding Out Early With a Blood Test
During pregnancy, small fragments of the baby’s DNA circulate in the mother’s blood. A blood test often called NIPT (a cell-free DNA test) can look for Y-chromosome DNA in a sample of the mother’s blood. Finding Y DNA points to a boy; finding none points to a girl.
Having the test is a normal blood draw from the mother’s arm, so it poses no risk to the baby the way a procedure inside the womb would. The sex result is usually a side product of screening meant mainly to look for chromosome conditions such as Down syndrome. Results typically come back in a matter of days to a couple of weeks, depending on the lab.
Across many studies, the test correctly identified about 97% of boys and 99% of girls.13PubMed Central. Non-invasive prenatal diagnostic test accuracy for fetal sex using cell-free DNA a review and meta-analysis Timing matters, though. Before week 7, it identified only about 3 in 4 boys.14PubMed Central. Noninvasive Fetal Sex Determination Using Cell-Free Fetal DNA Early on there may be too little of the baby’s DNA to detect, so a boy can be wrongly called a girl.14PubMed Central. Noninvasive Fetal Sex Determination Using Cell-Free Fetal DNA From weeks 7 to 20 a “boy” result was right about 99% of the time.14PubMed Central. Noninvasive Fetal Sex Determination Using Cell-Free Fetal DNA
The test doesn’t detect femaleness. A “girl” result means no Y DNA was found, which happens when the baby is a girl but also when the sample held too little of the baby’s DNA. That is why the early errors are mostly boys called girls, and why the “girl” result is the one worth confirming. A later scan, when the anatomy is clearly visible, can do that.
Finding Out by Ultrasound
In the first trimester, the sonographer looks at the small bud that becomes the penis or clitoris.15PubMed. First-trimester determination of fetal gender by ultrasound If it points upward at more than about 30 degrees, the baby is called a boy; if it lies flat, a girl.15PubMed. First-trimester determination of fetal gender by ultrasound Accuracy rose from about 70% at 11 weeks to about 99% at 12 weeks.15PubMed. First-trimester determination of fetal gender by ultrasound In everyday conditions, though, about 1 in 10 first-trimester scans couldn’t show the sex, and about 1 in 8 calls were wrong.16PubMed. Accuracy of fetal sex determination on ultrasound examination in the first trimester of pregnancy The baby’s size, how far along the pregnancy is, and the mother’s weight all affect the view.16PubMed. Accuracy of fetal sex determination on ultrasound examination in the first trimester of pregnancy
A guess at 11 or 12 weeks is a prediction based on the angle of a tiny bud, not a confirmation. If you want to be sure, hold off on announcements until a later scan or the blood test agrees.
Most parents learn the sex at the routine anatomy scan, typically around 18 to 22 weeks. By then the genitals are fully formed and much easier to recognize. The baby’s position can still block the view, and sometimes the sonographer asks you to come back or tries again after you move around.
Why a Result Can Be Wrong
Too little of the baby’s DNA in the sample, which is more common in mothers with higher body weight, can cause a missed result.17PubMed Central. Discrepancy between non-invasive prenatal testing result and fetal karyotype caused by rare confined placental mosaicism: A case report A twin that stopped developing early can leave DNA behind, so a lost male twin can make a girl look like a boy.18PubMed. Discordant non-invasive prenatal testing (NIPT) – a systematic review The test reads mostly placenta DNA, and the placenta sometimes has different chromosomes from the baby.18PubMed. Discordant non-invasive prenatal testing (NIPT) – a systematic review Rarely, conditions in the mother, including some cancers, can skew the result.18PubMed. Discordant non-invasive prenatal testing (NIPT) – a systematic review
If a blood result and a scan disagree, tell your provider promptly, and mention any early scan that showed a twin or possible twin that did not continue. A detailed ultrasound is usually the next step, since seeing the anatomy directly is more informative than a lab number. Genetic counseling can help work out whether further testing is needed and what a mismatch might mean.
When Development Takes a Different Path
Sex development depends on many genes acting at the right time and on several hormone steps.19PubMed. Update on the genetics of differences of sex development (DSD) A change at any step can lead to differences of sex development, or DSD, where chromosomes, glands or genitals don’t match the usual pattern.20Anales de PediatrÃa (English Edition). Management guidelines for disorders/different sex development (DSD) These can involve the chromosomes, the sex glands, or the shape of the organs.21PubMed Central. DISORDERS OF SEX DEVELOPMENT A mismatch between a blood result and a scan can sometimes be the first sign.17PubMed Central. Discrepancy between non-invasive prenatal testing result and fetal karyotype caused by rare confined placental mosaicism: A case report
If a difference is suspected, a team of specialists in genetics, hormones and urology usually becomes involved, so no single doctor has to make sense of it alone. Further scans and genetic tests help clarify which step of development is affected and what that means for the baby.
Things to Consider Before Finding Out Early
The blood test can reveal sex very early in pregnancy, which many parents value.22PubMed Central. Ethical, Legal and Social Issues (ELSI) Associated with Non-Invasive Prenatal Testing: Reflections on the Evolution of Prenatal Diagnosis and Procreative Choices Learning sex in the first trimester has also raised concern about pregnancies ended for sex alone, and some countries restrict early disclosure.22PubMed Central. Ethical, Legal and Social Issues (ELSI) Associated with Non-Invasive Prenatal Testing: Reflections on the Evolution of Prenatal Diagnosis and Procreative Choices It helps to decide beforehand whether you want to know, and to tell your clinic.
Clinic policies differ. Some clinics only report sex when asked, and some regions don’t disclose it at all for ethical reasons, so ask about policy when you book the test.

