Gender is determined by a combination of chromosomes, hormones, brain development, and social environment, with no single factor acting alone. Most people use “gender” and “sex” interchangeably, but they describe different things. Sex refers to biological and physiological characteristics like chromosomes, hormones, and reproductive organs. Gender refers to the socially constructed roles, behaviors, and norms associated with being a woman, man, or another identity. Understanding how each layer works helps explain why, for most people, sex and gender align, and why for some they don’t.
Chromosomes Set the Starting Point
Biological sex determination begins at fertilization. Humans typically carry 46 chromosomes, including two sex chromosomes. Eggs always contribute an X chromosome, while sperm contribute either an X or a Y. An XX combination usually leads to female development; XY usually leads to male development.
The key player on the Y chromosome is a gene called SRY, located on its short arm. SRY produces a protein that bends DNA in a way that activates other genes, most importantly one called SOX9. This cascade triggers the undifferentiated gonad in the embryo to develop into testes rather than ovaries. Without a functioning SRY gene, the default developmental pathway produces ovaries. This process kicks off around six to seven weeks after conception, and it’s the first fork in the road of sexual development.
Hormones Shape the Body and Brain
Once the gonads form, hormones take over as the primary driver. In male-typical development, the newly formed testes begin producing testosterone. This hormone is notably higher in males than in females during two critical windows: from about weeks 8 to 24 of pregnancy, and again during the first few months after birth. These surges direct the development of male reproductive anatomy, including the penis, scrotum, and internal ducts.
In female-typical development, the absence of high testosterone allows the body to follow its default path, forming the uterus, fallopian tubes, and external female anatomy. Estrogen from the mother and placenta also plays a supporting role.
These same hormonal surges appear to influence the developing brain. Research using brain imaging has found that certain structures, including regions involved in body perception and self-awareness, can differ between males and females on average. In transgender individuals, some of these brain features shift toward patterns that more closely match their gender identity than their chromosomal sex. This suggests that prenatal hormone exposure may shape not just the body but also the neurological foundation of how a person experiences their own gender.
When Chromosomes Don’t Follow the Usual Pattern
Sex chromosome combinations aren’t always strictly XX or XY. Variations in chromosome number or structure are more common than many people realize, and they illustrate how sex determination is a spectrum rather than a simple binary switch.
Klinefelter syndrome occurs in roughly 1 in 500 to 1 in 1,000 male births. About 80% of cases involve a 47,XXY pattern, meaning there’s an extra X chromosome. The remaining 20% involve more complex arrangements, including mosaic patterns where some cells have one chromosome set and other cells have another. People with Klinefelter syndrome are typically taller than average and may experience small testes, reduced facial and body hair, breast tissue development, and sometimes speech or learning differences. Fertility is often affected.
Turner syndrome affects roughly 25 to 50 per 100,000 female births and involves the complete or partial loss of one X chromosome. About half of cases are a straightforward 45,X pattern; the other half involve mosaicism or structural changes to the X chromosome. Common features include short stature, heart defects (particularly issues with the aortic valve), kidney differences, and a broad neck. Ovarian function is usually reduced or absent.
Beyond these well-known conditions, an estimated 1 in 100 Americans is born with some form of intersex trait, and around 2% of people worldwide have intersex characteristics. These can range from subtle hormonal variations that go unnoticed for years to more visible differences in anatomy at birth.
How Children Develop a Sense of Gender
Gender identity, the internal sense of being a boy, girl, or something else, emerges remarkably early. Children begin developing self-awareness around 18 months, and gender is one of the first categories they latch onto. About 25% of children use gender labels like “boy” or “girl” by 17 months, and 68% do so by 21 months. Between 18 and 24 months, most children can label gender groups and start using those labels in their own speech. Interestingly, girls tend to pick up on gender labels slightly earlier than boys.
Young children often go through a rigid phase in which they believe it’s morally wrong for boys to wear nail polish or for girls to play football. This rigidity typically softens by early elementary school, around ages 5 to 7, as children develop a more flexible understanding that gender doesn’t change based on clothing or activities. This shift is driven partly by what researchers call gender constancy: the understanding that a person’s gender remains stable over time regardless of surface-level changes.
Social Environment Reinforces Gender Roles
While biology lays the groundwork, the social world actively shapes how gender is expressed. Gender socialization, the process of learning the behaviors, values, and skills associated with being a “successful” woman or man, begins at birth and continues throughout life. Parents are the first and most powerful agents of this process. They model behaviors, reward or discourage certain activities, choose environments for their children, and scaffold skill development in gendered ways.
The specifics matter. Fathers tend to encourage more risk-taking, exploration, and active play, while mothers tend to engage in more role-playing and caregiving activities with their children. Parents with traditional gender role attitudes are more likely to push sons toward stereotypically masculine behaviors, which children then internalize as expectations for themselves. On the flip side, when parents split household work more equally, their children tend to show less rigid gender preferences, fewer stereotyped interests, and less adherence to gender stereotypes overall.
Parents’ career choices also serve as models. Children observe how much time each parent spends in paid work versus housework, and this shapes their own later expectations about what men and women “should” do. Peers, media, and school environments layer on additional influences, but the family remains the foundation.
Why All These Layers Matter Together
Gender determination isn’t a single event. It’s a process that unfolds across multiple systems. Chromosomes trigger gonad development. Hormones shape anatomy and influence brain structure during critical prenatal windows. Early cognitive development produces a sense of gender identity in toddlerhood. And social environments reinforce, expand, or sometimes conflict with the biological starting point.
For most people, these layers align neatly: chromosomes, hormones, anatomy, brain development, identity, and social role all point in the same direction. For others, including intersex and transgender individuals, one or more layers diverge. Understanding that gender emerges from this multilayered process helps explain both its consistency across most of the population and its natural variation.

