How Biological Sex Is Determined Before Birth

Biological sex is a classification assigned at birth based on the physical characteristics and underlying genetic and physiological makeup of an individual. This designation reflects a biological reality that unfolds during prenatal development. The process is a complex sequence of cascading events, starting at conception and proceeding through distinct phases of embryonic and fetal growth. It involves the sequential action of genes and hormones that direct the differentiation of initially identical structures into either male or female anatomy.

The Chromosomal Foundation

The starting point for biological sex determination is established at fertilization with the inheritance of sex chromosomes. A female pattern involves inheriting two X chromosomes (XX), while a male pattern involves inheriting one X and one Y chromosome (XY). The presence or absence of the Y chromosome serves as the initial genetic trigger for the entire developmental cascade.

The single gene responsible for initiating the path toward male characteristics is the SRY gene, or Sex-determining Region Y, located on the short arm of the Y chromosome. When this gene is activated around the sixth week of gestation, it acts as a master switch by producing a protein that functions as a transcription factor. This protein binds to specific DNA sequences, dramatically upregulating the expression of another gene called SOX9.

Sufficient expression of the SOX9 gene is necessary to commit the undifferentiated gonadal tissue, known as the bipotential gonad, to develop into a testis. In the absence of the SRY gene, this pathway is not activated, and a different genetic program takes over, leading the bipotential gonad to develop along the ovarian pathway.

Development of Internal Reproductive Structures

Once the gonads are differentiated into testes, they begin to secrete hormones that direct the development of the internal reproductive anatomy. Until this point, all embryos possess two sets of undifferentiated ducts: the Wolffian ducts and the Müllerian ducts. The Wolffian ducts are the precursors for the male internal structures, while the Müllerian ducts are the precursors for the female internal structures.

In the developing male, the Sertoli cells within the fetal testes produce a protein hormone known as Anti-Müllerian Hormone (AMH). AMH acts locally to cause the regression and eventual disappearance of the Müllerian ducts, preventing the formation of the fallopian tubes, uterus, and upper vagina. Concurrently, Leydig cells in the testes begin to produce high levels of testosterone.

Testosterone acts directly on the Wolffian ducts, stimulating them to persist, grow, and differentiate into the epididymis, vas deferens, and seminal vesicles. In the absence of AMH and high levels of testosterone, internal development follows the female pathway. The Müllerian ducts continue to develop, forming the uterus, fallopian tubes, and the upper part of the vagina, while the Wolffian ducts naturally regress.

Formation of External Genitalia

The final stage of differentiation involves the formation of the external genitalia from a set of common, undifferentiated embryonic structures. These structures are the genital tubercle, the urogenital folds, and the labioscrotal swellings, which are morphologically identical in all embryos until about the ninth week. The final appearance of the external anatomy is determined by the presence and activity of a potent androgen hormone.

For the development of male external genitalia, testosterone produced by the testes is converted into Dihydrotestosterone (DHT) by an enzyme called 5α-reductase, which is present in the target tissues. DHT is a more potent form of androgen that drives the fusion and growth of the external structures. Under the influence of DHT, the genital tubercle elongates rapidly to form the penis, the urogenital folds fuse completely to enclose the penile urethra, and the labioscrotal swellings fuse in the midline to form the scrotum.

Without high levels of DHT, the external structures follow the female developmental trajectory. The genital tubercle enlarges only slightly to become the clitoris, and the urogenital folds and labioscrotal swellings remain separate. The unfused urogenital folds become the labia minora, and the labioscrotal swellings develop into the labia majora.

Variations in Sex Development

Variations in sex development can occur at the level of chromosomes, gonadal development, or hormonal action. These conditions are collectively known as Differences of Sex Development (DSD) or Variations in Sex Characteristics.

One example of a chromosomal variation is Klinefelter syndrome, where an individual has an XXY chromosome complement. The presence of the Y chromosome and the SRY gene initiates the male pathway, but the extra X chromosome can interfere with testicular function, often leading to reduced testosterone production. This can result in smaller testes and incomplete development of secondary male characteristics.

Another example is Congenital Adrenal Hyperplasia (CAH), a hormonal variation where the adrenal glands produce excess androgens. In a chromosomally XX fetus with ovaries, this prenatal exposure to high levels of androgens can cause the external genitalia to become masculinized, leading to an enlarged clitoris and partial fusion of the labia.