Homosexuality is a naturally occurring variation in human sexuality with roots in genetics, prenatal biology, and brain development. No single factor explains it; instead, dozens of small genetic influences combine with hormonal and environmental conditions during fetal life to shape sexual orientation before a person is born. The largest genetic study to date, covering nearly half a million people, found that all measured genetic variants together account for roughly 8 to 25 percent of the variation in same-sex sexual behavior, with no single variant coming close to being determinative. That finding alone tells you something important: homosexuality is partly heritable but far too complex for a “gay gene” narrative, and the science surrounding it stretches across genetics, neuroscience, evolutionary biology, and cross-cultural anthropology.
What Genetics Actually Shows
The idea of a single gene controlling sexual orientation has been popular in media coverage for decades, but it does not hold up. A genome-wide association study of 477,522 individuals identified five spots in the genome significantly linked to same-sex sexual behavior. Yet even taken together, these five variants explained only a small fraction of the overall picture. When researchers considered all tested genetic variants in aggregate, they accounted for 8 to 25 percent of the variation, and the results did not allow meaningful prediction of any individual’s sexual behavior.1PubMed Central. Large-scale GWAS reveals insights into the genetic architecture of same-sex sexual behavior In other words, hundreds or thousands of genetic variants each nudge the probability by a tiny amount. A review in 2024 confirmed this architecture, noting that same-sex sexual behavior is influenced by many common genetic variants, each with tiny but cumulative effects.2Trends in Genetics. Same-sex sexual behavior and evolution
This polygenic picture mirrors what we see for height, personality traits, and many other complex human characteristics. Twin studies consistently show that identical twins are more likely to share the same sexual orientation than fraternal twins, confirming a genetic contribution, but identical twins are far from perfectly concordant. If genes were the whole story, identical twins would always match. They do not, which points to something beyond DNA sequence alone.
Prenatal Hormones and the Womb Environment
The developing brain is shaped by the hormonal environment in utero, and several lines of evidence tie prenatal androgen exposure to later sexual orientation. Women with congenital adrenal hyperplasia (CAH), a condition that exposes a female fetus to higher-than-typical levels of androgens, report rates of bisexual and homosexual orientation above those of unaffected women. The degree of bisexual or homosexual orientation correlated with the level of prenatal androgen exposure, supporting a sexual-differentiation model in which prenatal hormones influence brain circuits involved in attraction.3PubMed. Sexual orientation in women with classical or non-classical congenital adrenal hyperplasia as a function of degree of prenatal androgen excess
For men, one of the most replicated findings in the field is the fraternal birth order effect: each older biological brother a man has increases the odds that he will be gay. The leading explanation is immunological. During pregnancy with a male fetus, the mother’s immune system may develop antibodies against proteins produced by the Y chromosome. With each successive male pregnancy, the immune response intensifies, potentially affecting brain development in a way that influences sexual orientation in later-born sons.4PubMed. Fraternal birth order and the maternal immune hypothesis of male homosexuality This does not mean every younger brother turns out gay; the shift in probability is small per additional brother, but it is consistent across studies in different countries.
The Epigenetic Hypothesis
If twin concordance is well below 100 percent and DNA sequence alone explains only a fraction of the variation, something must be happening between genotype and outcome. One proposal focuses on epigenetics: chemical modifications to the packaging of DNA that influence which genes are active without changing the underlying sequence. During normal fetal development, epigenetic marks help calibrate the sensitivity of cells to sex hormones, boosting androgen sensitivity in male fetuses and dampening it in female fetuses. Researchers have proposed that a subset of these marks can sometimes carry over from one generation to the next, landing in an offspring of the opposite sex and shifting the trajectory of sexual development, including the circuits involved in attraction.5PubMed. Homosexuality as a consequence of epigenetically canalized sexual development
This model is still largely theoretical. A testing protocol has been proposed, which would look for specific epigenetic marks in parents of gay versus heterosexual children, but the empirical evidence is preliminary.6PubMed Central. Homosexuality via canalized sexual development: a testing protocol for a new epigenetic model Still, the epigenetic framework neatly addresses the paradox of moderate heritability paired with low twin concordance and no single identifiable gene.
Brain Differences Linked to Sexual Orientation
The hypothalamus, a small region at the base of the brain involved in drives like hunger, thirst, and sexual behavior, shows structural and functional differences related to sexual orientation. In a landmark postmortem study, a cluster of cells in the hypothalamus called INAH-3 was found to be more than twice as large in heterosexual men as in homosexual men, with the homosexual men’s cell group being similar in size to that of women.7PubMed. A difference in hypothalamic structure between heterosexual and homosexual men That study, published in 1991, was small and could not determine whether the size difference was a cause or a consequence of sexual orientation. But it opened the door to a wave of neurobiological research.
Functional brain imaging has added another dimension. When homosexual men were exposed to a putative male pheromone (a testosterone-derived compound called AND), their hypothalamus activated in a pattern matching that of heterosexual women rather than heterosexual men. Common, non-sexual odors did not produce these group differences, pointing to something specific about how sexual-orientation-related circuits process chemosensory cues linked to potential mates.8PubMed Central. Brain response to putative pheromones in homosexual men A parallel study in lesbian women found a complementary pattern: they processed the male-derived compound through general olfactory networks (like heterosexual men do), but partly shared hypothalamic activation with heterosexual men when exposed to an estrogen-derived compound.9PubMed Central. Brain response to putative pheromones in lesbian women The overall takeaway is that hypothalamic response patterns track with who a person is attracted to, regardless of their biological sex.
Why Hasn’t Evolution Eliminated It?
If homosexuality reduces the likelihood of reproduction, you would expect natural selection to have driven the relevant genetic variants out of the population long ago. The fact that same-sex attraction persists at stable rates across cultures and historical periods has produced one of the more interesting puzzles in evolutionary biology, and several competing hypotheses.
One idea is kin selection: gay individuals, by investing extra time and resources in their nieces and nephews, help their shared genes survive even without reproducing directly. Results here have been mixed. Studies in Western populations found no evidence that gay men were more generous or attentive toward their relatives than heterosexual men were.10Evolution and Human Behavior. Is male homosexuality maintained via kin selection?11PubMed. An empirical test of the kin selection hypothesis for male homosexuality However, a study in Indonesia found that men with a homosexual orientation did report transferring more money to nephews and nieces. Even so, the researchers calculated that kin selection reduced the reproductive cost of homosexuality by only about 20 percent, meaning it alone cannot explain why the trait persists.12PubMed. Kin Selection and Male Homosexual Preference in Indonesia
A more promising explanation is sexually antagonistic selection: genetic variants that contribute to homosexuality in men may boost fertility in their female relatives, and vice versa. A study of over 4,600 family members found that female relatives on the maternal side of gay men had significantly more children than maternal-side female relatives of heterosexual men. This pattern did not appear on the paternal side, suggesting that something inherited through the maternal line simultaneously promotes female fertility and male homosexuality.13PubMed Central. Evidence for maternally inherited factors favouring male homosexuality and promoting female fecundity A follow-up confirmed that both mothers and maternal aunts of homosexual men showed this increased fecundity.14PubMed. Factors associated with higher fecundity in female maternal relatives of homosexual men
Genomic data lends further support to this balancing-act idea. Among people who are predominantly heterosexual, carrying genetic variants associated with same-sex sexual behavior is linked to having more opposite-sex sexual partners.15Nature Human Behaviour. Genomic evidence consistent with antagonistic pleiotropy may help explain the evolutionary maintenance of same-sex sexual behaviour in humans In other words, the same genes that raise the probability of same-sex attraction in some people seem to confer a mating advantage in others. If those variants consistently boost reproduction in heterosexual carriers, selection would maintain them in the population despite reducing reproduction for a minority of individuals.
Same-Sex Behavior in Other Animals
Homosexuality is not unique to humans. A phylogenetic analysis of mammals found same-sex sexual behavior documented across hundreds of species, most commonly as mounting or genital contact (in about 87 percent of species where it has been observed), but also as courtship (27 percent) and pair bonding (24 percent).16PubMed Central. The evolution of same-sex sexual behaviour in mammals Birds, too, show same-sex partnerships including courtship, pairing, and co-parenting.17Journal of Avian Biology. Same‐sex partnerships in birds: a review of the current literature and a call for more data
Researchers studying termites found that stable same-sex pairs form when one partner adopts the behavioral movements of the opposite sex, a kind of socially triggered plasticity. Their simulations showed this behavioral dimorphism actually helps paired individuals reunite when accidentally separated, providing a direct advantage. A broader phylogenetic analysis suggested that the ancestor of modern termites lacked rigid sex roles during pairing, meaning the behavioral flexibility that enables same-sex pairing is ancient, not a recent glitch.18PubMed Central. Ancestral sex-role plasticity facilitates the evolution of same-sex sexual behavior The breadth of same-sex behavior across the animal kingdom makes it difficult to frame homosexuality as an aberration; it appears to be a recurring feature of sexual behavior in social species.
Measuring Sexual Orientation Is Harder Than It Sounds
Surveys that ask “Are you gay, straight, or bisexual?” are capturing only one dimension of a multidimensional phenomenon. Sexual orientation encompasses at least three components: identity (how you label yourself), attraction (who you find appealing), and behavior (who you actually have sex with). These do not always line up. A nationally representative U.S. study confirmed that measures of identity, attraction, and behavior are not interchangeable, and researchers who rely on just one may miss substantial variation.19PubMed. Relationships Among Sexual Identity, Sexual Attraction, and Sexual Behavior: Results from a Nationally Representative Probability Sample of Adults in the United States
Identity can also shift over time. Over five annual surveys, about one in eleven American adults changed their reported sexual identity, with fluidity more common among women (11 percent of cisgender women) than men (6 percent of cisgender men). It was especially pronounced in young adults and in those who had ever identified as bisexual.20PubMed. Sexual Fluidity: Implications for Population Research Among youth specifically, about 17 percent reported a retrospective change in identity and 33 percent reported a change in attractions, with fluidity concentrated among those attracted to more than one gender.21PubMed Central. Sociodemographic Patterns in Retrospective Sexual Orientation Identity and Attraction Change in the Sexual Orientation Fluidity in Youth Study This does not mean orientation is a choice; it means that the internal experience of attraction can shift somewhat over the lifespan, particularly for people who are not exclusively attracted to one sex. For people at the ends of the spectrum, exclusive heterosexuality and exclusive homosexuality tend to be stable.
How Different Cultures Have Understood Same-Sex Behavior
The modern Western category of “homosexuality” as a fixed identity is relatively recent. In many cultures, same-sex sexual behavior has existed without the framework of gay identity that developed in Europe and North America over the past century and a half. In parts of Melanesia, ritualized male-male sexual contact was historically embedded in initiation practices intended to produce masculine, heterosexual adults; it was temporary, culturally mandated, and not understood as reflecting an innate orientation. In Polynesia, the Tahitian concept of māhū describes a man who takes on a woman’s social role and may or may not engage in sexual relationships with men, with communities disagreeing about whether māhū status is something present from birth or adopted later in life.22On Knowing Humanity Journal. Homosexuality in Cross-Cultural Perspective
Cross-cultural research has also sought to identify features of male homosexuality that remain stable regardless of cultural context. While the social framing, language, and expected lifespan of same-sex behavior vary dramatically, a cross-cultural analysis found that some behavioral properties appear culturally invariable, suggesting a shared biological substrate beneath the varying cultural interpretations.23PubMed. Culturally invariable properties of male homosexuality: tentative conclusions from cross-cultural research The tension between what is universal and what is socially constructed in homosexuality remains one of the livelier debates in anthropology and sexology.
Physical and Cognitive Correlates
If sexual orientation has a neurodevelopmental basis, you might expect it to correlate with other traits shaped early in development. Several such correlations exist, all of them statistical tendencies rather than diagnostic markers. A meta-analysis found that homosexual individuals had 39 percent greater odds of being non-right-handed, with the effect stronger for women (91 percent greater odds) than for men (34 percent greater odds).24PubMed. Sexual orientation and handedness in men and women: a meta-analysis A study of gay and heterosexual men in Poland also found differences in digit ratio (the length of the index finger relative to the ring finger, a proxy for prenatal androgen exposure), childhood gender nonconformity, and the number of older brothers.25PubMed Central. Biodevelopmental Correlates of Sexual Orientation in Men: Evidence from a Polish Sample
Cognitive profiles show a similar pattern. A meta-analysis of spatial and verbal tasks found that gay men performed in the direction of heterosexual women on tasks where men typically outperform women, such as mental rotation, and toward heterosexual women on tasks where women typically outperform men. Lesbian women, by contrast, tended to perform like heterosexual men on the male-favoring tasks but did not differ from heterosexual women on female-favoring tasks.26PubMed. Sexual orientation and neurocognitive ability: A meta-analysis in men and women A follow-up meta-analysis confirmed the cross-sex shift for gay men in mental rotation and spatial tasks, with effect sizes in the moderate range.27PubMed Central. Sexual Orientation and Cognitive Ability: A Multivariate Meta-Analytic Follow-Up None of this tells you anything about an individual person’s abilities; these are population-level averages. But the pattern reinforces the idea that sexual orientation is connected to broader neurodevelopmental processes rather than being an isolated trait.
From Pathology to Legal Recognition
In 1973, the American Psychiatric Association removed homosexuality from its Diagnostic and Statistical Manual, concluding after a review of competing theories that it did not meet the criteria for a mental disorder.28PubMed Central. Out of DSM: Depathologizing Homosexuality That decision was a turning point, but it did not immediately end efforts to change people’s orientation. Conversion therapy, which aims to reduce or eliminate same-sex attraction, continues to be practiced in parts of the world. Multiple scientific institutions in the United States have classified it as dangerous, and the research literature consistently finds that it carries more risks than benefits while resting on scientifically questionable premises.29PubMed Central. Lifetime Exposure to Conversion Therapy and Psychosocial Health Among Midlife and Older Adult Men Who Have Sex With Men30Ethics, Medicine and Public Health. Is conversion therapy ethical? A renewed discussion in the context of legal efforts to ban it
Minority stress theory, first articulated in a comprehensive form in 2003, describes how societal stigma, prejudice, and discrimination create a hostile environment that drives elevated rates of anxiety, depression, and substance use among sexual minorities.31PubMed Central. Minority stress theory: Application, critique, and continued relevance The mental health disparities between gay and straight populations are not an inherent feature of homosexuality; they track with the level of social hostility people face.
What Happens When Legal Barriers Fall
Some of the most striking recent evidence concerns what happens when laws change. When same-sex marriage became legal in the United States, researchers found that it significantly improved mental health among sexual minorities, narrowing the gap between them and heterosexual individuals. The beneficial effects appeared not just in people who married but also in those who did not, suggesting that part of the health gain came from the broader signal of social acceptance rather than from marriage itself.32PubMed Central. Mental health effects of same-sex marriage legalization For gay men in same-sex households specifically, legal marriage access led to increases in health insurance coverage, healthcare access, and healthcare use.33Journal of Policy Analysis and Management. Effects of Access to Legal Same‐Sex Marriage on Marriage and Health
Perhaps most strikingly, same-sex marriage legalization was associated with a decline in the overall youth suicide rate of roughly 18 percent compared to the rate at the time of legalization, with the drop especially pronounced among male youth (about 20 percent).34PubMed. The Association Between Same-Sex Marriage Legalization and Youth Deaths by Suicide: A Multimethod Counterfactual Analysis The finding applied to youth suicide broadly, not only among gay youth, though the researchers hypothesized that the cultural shift signaled by legalization reduced distress among young people questioning their orientation and may have softened anti-gay hostility more generally. Results like these make it difficult to separate the biology of homosexuality from the social environments in which gay people live. The trait itself does not produce poor health outcomes; the surrounding stigma does, and when that stigma recedes, measurable harm drops with it.

