Does Homosexuality Occur in Nature?

Same-sex sexual behavior has been documented in over 1,500 animal species, spanning insects, fish, birds, reptiles, and mammals, including many of our closest primate relatives.1Nature Ecology & Evolution. An alternative hypothesis for the evolution of same-sex sexual behaviour in animals Far from being a rare curiosity or a laboratory artifact, it shows up in wild populations across nearly every major branch of the animal kingdom. The sheer taxonomic spread, and the variety of forms it takes, has reshaped how biologists think about sexual behavior, social bonding, and evolution itself.

How Widespread Is the Behavior

When people ask whether homosexuality occurs in nature, they sometimes picture one or two oddball species. The reality is dramatically broader. Same-sex mounting, courtship, pair bonding, and genital contact have been recorded in animals ranging from fruit flies and flour beetles to dolphins, bison, giraffes, and great apes. The behavior appears in solitary species and highly social ones, in the wild and in captivity, in juveniles and adults. It is not confined to any single ecological niche or body plan.

A 2023 phylogenetic analysis of mammals found that same-sex sexual behavior is distributed across many lineages and likely arose independently multiple times, rather than descending from a single ancestral trait.2PubMed Central. The evolution of same-sex sexual behaviour in mammals That pattern of repeated, independent emergence makes it especially difficult to dismiss the behavior as an evolutionary accident. When the same trait keeps appearing across distantly related groups, biologists treat that as a signal that it may serve some function, or at least that the underlying biology produces it reliably.

Bonobos and the Social Glue Hypothesis

Among our closest relatives, bonobos are the best-known example. Female bonobos routinely engage in genito-genital rubbing, a behavior so common that it accounts for the majority of sexual events in some communities. A study of a wild, habituated bonobo group found that roughly 65% of observed sexual events were female same-sex interactions. Females engaged in more sexual interactions with other females than with males, and they were more likely to stay close to their partner afterward.3PubMed. The cooperative sex: Sexual interactions among female bonobos are linked to increases in oxytocin, proximity and coalitions

What makes the bonobo data particularly interesting is the hormonal side. Researchers collected urine samples before and after sexual interactions and measured oxytocin, a hormone linked to social bonding and cooperation. Females showed greater increases in oxytocin after same-sex encounters than after copulations with males. The frequency of same-sex sexual interactions between unrelated females also predicted how often those females supported each other in coalitions. In other words, sexual contact between females appeared to function as a cooperation-building tool, strengthening alliances that had real social consequences.

This is not an isolated quirk of one species. The broader pattern across primates and other social mammals suggests that same-sex behavior can serve as social currency, reducing tension and reinforcing bonds between individuals who need to cooperate.

Laysan Albatross and Same-Sex Parenting

Birds offer some of the most striking examples of long-term same-sex pair bonds. On the Hawaiian island of Oahu, researchers discovered that about 31% of Laysan albatross pairs were female-female.4PubMed Central. Successful same-sex pairing in Laysan albatross The island’s population had a heavily female-skewed sex ratio, with females making up about 59% of the adult population due to female-biased immigration. Because Laysan albatross require two parents to successfully incubate an egg and raise a chick, unpaired females faced a stark choice: pair with another female or skip breeding entirely.

Female-female pairs did produce fewer offspring than male-female pairs, but they still fledged chicks successfully. Genetic testing confirmed that in pairs that raised chicks over multiple years, at least one offspring was related to each female, meaning both partners had mated with males at some point and both had reproductive stakes in the partnership. A follow-up study found that females in same-sex pairs had lower survival rates and skipped breeding more often than those in male-female pairs, but pairing with another female still beat the alternative of not breeding at all.5PubMed Central. Adaptive value of same-sex pairing in Laysan albatross Under the demographic conditions on Oahu, same-sex pairing functioned as a viable, if suboptimal, reproductive strategy.

Male-male pair bonds have also been documented in other bird species. Captive Humboldt penguins, for example, have been observed forming stable male-male pairs, though one small study found that affiliative behaviors like preening were more frequent in opposite-sex pairs.6The Plymouth Student Scientist. An investigation of pair-bonded Humboldt penguins (Spheniscus humboldti) in captivity: the differences between male-female pairs and male-male pairs Still, the persistence of these bonds in captive and zoo populations shows that same-sex pairing in birds is not an artifact of one peculiar population.

Insects and the Death of “Mistaken Identity”

For decades, the default explanation for same-sex behavior in insects was simple: the animals could not tell each other apart. Males were supposedly mounting other males because they mistook them for females. This “mistaken identity” hypothesis was convenient, because it framed same-sex behavior as an error rather than something that needed a real evolutionary explanation.

Recent research has punched serious holes in that story. A 2023 study of male Pacific field crickets found that males did engage in same-sex courtship, but they also misdirected courtship toward juveniles. The researchers argued that framing all of this as “mistakes” misses the point. Instead, they proposed thinking about mating filters: some males have a broad filter, courting anything that roughly resembles a potential mate, while others are more selective. Same-sex behavior, in this view, is not an anomaly but part of a spectrum of mating flexibility.7PubMed Central. Rethinking same-sex sexual behaviour: male field crickets have broad mating filters

Even more damaging to the mistaken-identity idea is a multispecies analysis published in 2025 that examined social context and behavioral timing in insects. The study found that males exhibited same-sex behavior while demonstrably able to tell the sex of their partner. Researchers also observed sexual behaviors during same-sex encounters that never occurred in opposite-sex interactions, suggesting these were not garbled versions of heterosexual mating scripts but something distinct. The findings pointed toward a history of adaptive evolution inconsistent with simple recognition failure.8PubMed Central. Multispecies analysis of social effects on same-sex sexual behavior challenges mistaken identity hypotheses in insects

Conflict, Cooperation, and Social Rank in Mammals

Across mammals more broadly, two adaptive explanations for same-sex sexual behavior keep showing up. The first is that it helps establish and maintain positive social relationships. The second is that it reduces aggression and conflict between same-sex individuals who might otherwise compete violently for mates or resources. A large-scale phylogenetic analysis of mammalian species found support for both ideas, concluding that the behavior is better understood as a convergent adaptation than as something maladaptive or aberrant.2PubMed Central. The evolution of same-sex sexual behaviour in mammals

Mountain gorillas offer an interesting case study. Researchers observing two gorilla groups documented female-female mounting behavior and tested whether it tracked with dominance relationships, affiliation, reconciliation after conflict, or simple sexual arousal. The results were mixed: in one group, mounting tended to flow “top-down” from higher-ranked to lower-ranked females, but this pattern was largely driven by a single dominant individual. In the other group, no clear directional pattern emerged.9PLOS ONE. Homosexual Behavior in Female Mountain Gorillas: Reflection of Dominance, Affiliation, Reconciliation or Arousal? The messiness of the gorilla data is actually informative: same-sex behavior in wild populations does not always map neatly onto a single function. It can serve different purposes in different social contexts, even within the same species.

Bottlenose dolphins add another dimension. Male dolphins form tight alliances, sometimes in pairs and sometimes in larger coalitions, and these alliances are critical for herding and accessing females. Alliance partners associate closely even when no females are around.10PubMed. Two levels of alliance formation among male bottlenose dolphins (Tursiops sp.) Same-sex contact behaviors, including genital rubbing and synchronous swimming, are part of the social repertoire that cements these partnerships. The bonds are not incidental; they have direct consequences for each male’s reproductive success.

A Brain Difference in Sheep

One of the most detailed neurobiological studies of same-sex preference in any non-human animal comes from domestic sheep. About 8% of rams consistently prefer to mate with other rams rather than ewes. These “male-oriented” rams are not simply confused or inexperienced. Given repeated free-choice tests, they reliably choose male partners.

Researchers identified a brain region in the hypothalamus, called the ovine sexually dimorphic nucleus, that differs in size between rams and ewes. In female-oriented rams, this nucleus was about two to three times larger than in male-oriented rams, whose nucleus was similar in size to that of ewes.11PubMed Central. The ovine sexually dimorphic nucleus, aromatase, and sexual partner preferences in sheep The nucleus also showed differences in its expression of aromatase, an enzyme that converts testosterone into estrogen and plays a key role in sexual differentiation of the brain.12Endocrinology. The Volume of a Sexually Dimorphic Nucleus in the Ovine Medial Preoptic Area/Anterior Hypothalamus Varies with Sexual Partner Preference

The sheep findings do not prove that the brain difference causes the partner preference, but they show that a naturally occurring, stable same-sex preference in a non-human animal correlates with measurable structural differences in a brain region known to regulate sexual behavior. This is one of the strongest pieces of evidence that same-sex orientation in animals is not purely behavioral or situational but has roots in neurobiology.

The Evolutionary Puzzle

If an animal spends time and energy on same-sex mating instead of reproducing, you might expect natural selection to weed out whatever genes contributed to that behavior. The persistence of same-sex sexual behavior across so many species creates what biologists call a Darwinian paradox. Several hypotheses have been proposed to explain it.

One idea, kin selection, suggests that individuals with same-sex orientations might boost their genes’ survival by investing extra care in the offspring of relatives. Studies testing this in humans, however, have found little support. Gay men showed no greater generosity toward relatives than heterosexual men, and on some measures of family closeness they were slightly more distant.13Evolution and Human Behavior. Is male homosexuality maintained via kin selection? A replication study in England reached the same conclusion: no significant differences in willingness to provide financial or emotional resources to family members.14PubMed. An empirical test of the kin selection hypothesis for male homosexuality

A more promising explanation involves sexually antagonistic selection. The idea is that genetic variants associated with same-sex behavior in one sex might provide a reproductive advantage in the other. Experimental work in beetles found support for this: genes linked to same-sex behavior in one sex carried benefits in the opposite sex, creating a tug-of-war that could maintain the genes in a population.15PubMed Central. Sexually antagonistic selection on genetic variation underlying both male and female same-sex sexual behavior Mathematical modeling suggested that if such genes sit on the X chromosome, they can remain stable at low frequencies in a population without ever disappearing or taking over.16PLoS ONE. Sexually Antagonistic Selection in Human Male Homosexuality

A related finding from human genetics adds an intriguing twist. Researchers found that among people who only engaged in opposite-sex behavior, those who carried more of the genetic variants associated with same-sex behavior tended to have more opposite-sex sexual partners. In other words, the same genetic architecture that contributes to same-sex attraction in some individuals may enhance mating success in others, potentially offsetting any reproductive cost.17Nature Human Behaviour. Genomic evidence consistent with antagonistic pleiotropy may help explain the evolutionary maintenance of same-sex sexual behaviour in humans

Genetics and Why There Is No “Gay Gene”

The largest genetic study of same-sex sexual behavior to date analyzed nearly half a million people and identified five specific locations in the genome associated with same-sex behavior. But the effect of any single spot was tiny. Taken together, all measured genetic variants accounted for somewhere between 8% and 25% of the variation in same-sex behavior, and they did not overlap entirely between men and women.18PubMed Central. Large-scale GWAS reveals insights into the genetic architecture of same-sex sexual behavior The study’s authors were blunt: these genetic variants “do not allow meaningful prediction of an individual’s sexual behavior.”

This is consistent with a broader pattern in human genetics where complex traits, from height to personality, are influenced by thousands of genetic variants, each making a minuscule contribution. Same-sex behavior follows the same architecture: many common variants, each with a small effect, adding up to a partial genetic influence.19PubMed. Emerging insights into the genetics and evolution of human same-sex sexual behavior The absence of a single “gay gene” does not mean genes are irrelevant. It means the genetic contribution is distributed across the genome in a way that makes any simple genetic test for sexual orientation impossible.

Prenatal Hormones and Brain Development

Alongside genetics, prenatal hormone exposure appears to play a role. Research across several species shows that the hormonal environment during fetal development can influence later sexual behavior and partner preferences. A review of the evidence in humans concluded that prenatal testosterone exposure contributes to the development of sex-typed interests in childhood and to sexual orientation in later life, at least for some individuals.20PubMed Central. Prenatal endocrine influences on sexual orientation and on sexually differentiated childhood behavior

Animal research provides controlled evidence that manipulating prenatal hormones can shift partner preferences. In ferrets, females exposed to testosterone during specific windows of fetal and neonatal development showed altered sexual behavior and partner choice in adulthood, demonstrating how narrow the developmental timing can be.21PubMed. Prenatal and neonatal testosterone exposure interact to affect differentiation of sexual behavior and partner preference in female ferrets These findings do not translate directly to humans, where controlled hormone experiments are obviously not possible, but they establish a plausible biological mechanism by which prenatal conditions shape sexual orientation.

The Epigenetic Hypothesis

One model that tries to bridge the gap between genetics and hormones focuses on epigenetics, the chemical modifications that sit on top of DNA and regulate how genes are expressed without changing the genetic code itself. The idea, proposed in 2012, is that during normal development, epigenetic marks help buffer fetuses against inappropriate hormone levels: they reduce androgen sensitivity in female fetuses and enhance it in male fetuses. Usually these marks are erased between generations, but occasionally some carry over from parent to offspring.22PubMed. Homosexuality as a consequence of epigenetically canalized sexual development

When marks from a parent of one sex carry over to a child of the opposite sex, they could push sexual development in an unexpected direction. A father’s epigenetic marks that enhanced his androgen sensitivity, for instance, could partially masculinize a daughter’s sexual development if those marks were not properly erased. The model predicts that homosexuality is part of a broader phenomenon in which hormone-influenced traits occasionally show up in a pattern that does not match an individual’s biological sex.23PubMed Central. Homosexuality via canalized sexual development: a testing protocol for a new epigenetic model

The epigenetic hypothesis is elegant but still largely untested in humans. Measuring specific epigenetic marks related to sexual development in living people is technically difficult, and the model’s predictions have not yet been confirmed or refuted by direct molecular evidence. It remains a theoretical framework waiting for the technology and study designs to catch up.

What “Natural” Actually Means Here

When people ask whether homosexuality is “natural,” they sometimes conflate two very different questions. The first is empirical: does same-sex sexual behavior occur spontaneously in non-human animals? The answer, as the evidence above makes clear, is unambiguously yes. The second question is moral or philosophical: does the naturalness of a behavior make it good, acceptable, or worthy of protection? That question lies outside the reach of biology.

Biologists have largely moved past treating same-sex behavior as something that requires a special, defensive explanation. The emerging consensus views it as part of the normal variation in sexual behavior across species, shaped by a combination of genetic, hormonal, neural, and social factors. In many species, the behavior appears to serve adaptive functions, from strengthening alliances in bonobos to enabling reproduction under skewed sex ratios in albatross. In others, the function remains unclear, but the behavior persists regardless.

One common misconception worth addressing is the idea that same-sex behavior in animals is always “situational,” triggered only by the absence of opposite-sex partners or by captive conditions. While demographic factors like skewed sex ratios clearly play a role in some species (the Laysan albatross being a textbook case), many examples occur in populations with ample opposite-sex partners available. Male-oriented rams, for instance, maintain their preferences even when receptive ewes are present. Female bonobos engage in same-sex contact as part of daily social life, not as a substitute for unavailable males. The “only in captivity” claim is flatly contradicted by the volume of field observations.

Developmental Factors Beyond Hormones and Genes

Research on animal models has identified several developmental influences on same-sex preference beyond the usual suspects of genetics and prenatal hormones. These include prenatal stress, birth-order effects, and maternal immune responses. The picture that is emerging is one of multiple interacting pathways rather than a single cause. Brain circuits that control partner selection are beginning to be mapped, but the work is still in early stages. Animal models remain valuable precisely because they allow researchers to manipulate one variable at a time in ways that human studies cannot.

Birth-order effects are worth a specific mention because they have been replicated in human studies as well. Each additional older brother a man has increases his likelihood of being gay by a small but statistically reliable amount. The leading explanation involves a maternal immune response that builds with each male pregnancy, potentially affecting fetal brain development. This fraternal birth-order effect does not account for most cases of male homosexuality, but it illustrates how developmental biology can influence sexual orientation through pathways that have nothing to do with choice, upbringing, or social learning.

The broader takeaway from animal research is that sexual orientation sits at the intersection of many biological systems. No single gene, hormone, brain region, or life experience explains it. The same is almost certainly true in humans, which is why decades of searching for a simple cause have come up empty while the evidence for complex, multi-causal biology has grown steadily stronger.