When Does Gender Develop? From Womb to Childhood

Gender develops across multiple stages, starting with biological sex differentiation around 6 weeks after conception and continuing through psychological milestones that unfold well into childhood. There is no single moment when gender “happens.” Instead, it emerges through a layered process involving genes, hormones, brain development, and social experience.

Biological Sex Differentiation in the Womb

For the first six weeks after conception, all embryos are anatomically identical regardless of their chromosomes. The gonads, which will eventually become ovaries or testes, exist in an undifferentiated state. Around day 41 to 44, embryos with a Y chromosome begin developing testicular tissue, but the external genitalia remain indistinguishable between sexes until roughly week 9.

At about 9 weeks, the testes in male fetuses begin producing testosterone, and this hormone surge drives the masculinization of the urogenital area and external genitalia. Without that testosterone signal, development follows a female-typical pattern by default. This hormonal window is critical: the timing and amount of hormone exposure during this period shapes the physical sex characteristics a baby is born with.

This process doesn’t always follow a binary path. Somewhere between 0.05% and 1.7% of the global population is born with intersex traits, meaning their chromosomes, hormones, or anatomy don’t fit neatly into typical male or female categories. That wide range reflects different definitions, but even the conservative estimate means intersex variations are far from rare.

How the Brain Develops Differently by Sex

Brain development also follows sex-influenced timelines, though these differences are subtler and more overlapping than genital development. MRI research tracking children and adolescents found that total brain volume peaks at age 10.5 in girls and 14.5 in boys. Gray matter volume, the tissue involved in processing information, peaks about one to two years earlier in girls than boys across nearly every brain region studied. In the parietal lobe, for instance, gray matter peaks around age 7.5 in girls and 9 in boys.

These timing differences closely track with the average age gap in puberty onset, suggesting that puberty-related hormones trigger the shift from increasing to decreasing gray matter. What these structural differences mean for gender identity specifically is still debated, but they confirm that sex-related hormones continue shaping the brain long after birth, particularly during puberty.

When Children First Recognize Gender

Most children begin showing awareness of gender categories between ages 2 and 3. By this age, toddlers can typically label themselves and others as boys or girls, and they start gravitating toward toys, clothing, or play styles associated with a particular gender. Some children express their gender very strongly during this period. A child might insist on wearing a dress every single day or flatly refuse to wear one, even for special occasions.

This early identification is what developmental psychologists call “basic gender identity,” the first of three stages proposed by Lawrence Kohlberg in his theory of gender constancy. At this point, children can categorize people by gender, but they don’t yet understand that gender is permanent. A 3-year-old might genuinely believe that a boy who grows his hair long has become a girl.

Gender Stability and Constancy

The second stage, gender stability, typically develops between ages 4 and 5. Children begin to understand that gender persists over time: a boy will grow up to be a man, and a girl will grow up to be a woman. But they may still think that changes in appearance or behavior could change someone’s gender.

Full gender constancy, the understanding that gender remains the same regardless of clothing, hairstyle, or activities, solidifies around ages 6 to 7. At this point, a child grasps all three components: they know their own gender, they know it won’t change as they age, and they know it isn’t altered by superficial things like wearing different clothes or playing different games. This milestone marks a more mature, stable understanding of gender as a fixed characteristic.

When Gender Identity Doesn’t Match

For most children, their internal sense of gender aligns with the sex they were assigned at birth, and development proceeds without much friction. For some, though, a disconnect emerges, and the timing varies widely. Research following transgender youth who sought medical care identified three distinct patterns.

Some children experience this disconnect very early, in some cases as young as toddlerhood. One participant in a study published in the International Journal of Transgender Health recalled telling her mother as a very young child, “When I’m gonna be a girl, can I have that?” repeatedly, with complete certainty. These children often assert a different gender identity early and, when supported, transition socially in childhood.

A second group recalls feeling discomfort or confusion about their assigned gender from a young age but doesn’t act on it or articulate it until years later. They may suppress or not fully understand the feeling, only exploring their identity in adolescence.

A third group reports no notable gender discomfort during childhood at all. For them, the question of gender only becomes pressing once puberty begins and their body starts changing in ways that feel wrong. As one participant described it, gender “didn’t really matter” in childhood because there was no concept of what counted as male or female. “But it started to matter when people started to have crushes on people, and it started to matter when puberty started.”

Gender dysphoria can begin in early childhood and continue into adolescence and adulthood. Children who are struggling with their gender may show signs of anxiety, depression, or difficulty concentrating, and they may resist going to school.

What Shapes Gender Beyond Biology

Hormones and chromosomes set the initial trajectory, but gender development doesn’t happen in a vacuum. Children absorb messages about gender from parents, peers, media, and culture starting in infancy. They notice which toys are handed to them, how adults talk to boys versus girls, and what behaviors get praised or discouraged.

Parenting guidelines developed through consensus panels of clinicians, transgender individuals, and parents (published by the American Academy of Pediatrics) emphasize that it is normal for young children to experiment with gender expression. Some children reject traditional gender roles without being transgender. A girl who prefers rough-and-tumble play or a boy who loves dolls is exploring the range of human behavior, not necessarily signaling anything about their gender identity.

The same guidelines recommend that parents allow children to explore gender expression safely without imposing a specific identity on them, and that creating a home environment where a child feels supported and loved unconditionally is the most important thing caregivers can do during this developmental process.

A Timeline of Gender Development

  • 6 weeks after conception: Gonads begin differentiating into ovaries or testes
  • 9 weeks after conception: External genitalia start to masculinize or follow a female-typical pattern
  • Ages 2 to 3: Children can label their own gender and others’ gender
  • Ages 4 to 5: Children understand that gender persists over time
  • Ages 6 to 7: Children achieve full gender constancy, understanding gender doesn’t change with appearance
  • Puberty (ages 8 to 14): Brain development shows sex-linked timing differences; for some, this is when gender identity questions first surface