How Did Sexually Transmitted Diseases Start?

Sexually transmitted diseases did not start at any single moment or from any single event. Different STD-causing pathogens entered the human lineage through entirely separate routes spanning millions of years. Some, like herpes simplex virus 2, jumped from other primates to our ancestors long before modern humans even existed. Others, like gonorrhea, appear to have evolved from harmless bacteria already living in the human body. Still others, like HIV, crossed into humans from animals within the last century. The story of how STDs began is really dozens of separate origin stories, each shaped by the biology of a specific pathogen and the behavior of the humans it found a way to exploit.

Why Sexual Transmission Keeps Evolving

A useful starting point is understanding why so many unrelated pathogens have independently landed on sex as a transmission strategy. Researchers who have traced the evolutionary pathways of sexually transmitted pathogens find that sexual transmission usually evolves from some other mode of spread, not the reverse. Pathogens that once spread through skin contact, contaminated environments, or other bodily fluids gradually adapted to survive in the genital tract and pass between partners during sex. This shift has happened repeatedly across wildly different groups of organisms, though it rarely develops from airborne transmission.

1PubMed. Biology and evolution of sexual transmission

The evolutionary logic makes sense when you think about what sex offers a pathogen. Intimate contact involves the exchange of fluids, prolonged skin-to-skin contact, and access to mucosal surfaces that are relatively vulnerable to infection. For a microbe that can survive in those conditions, sexual contact provides a reliable route to a new host, even if the opportunities are less frequent than, say, coughing on someone. The trade-off is real, though. Theory predicts that pathogens face a tension between how aggressively they exploit a host and how effectively they spread. A pathogen that makes its host very sick quickly may kill or incapacitate the host before they have sex again, cutting off its own transmission. Sexually transmitted pathogens tend to resolve this tension by being relatively mild or by producing long periods without symptoms, keeping their host mobile and sexually active.

2PubMed Central. The evolution of transmission mode

This pattern shows up across the animal kingdom, not just in humans. A broad survey identified over 200 diseases with evidence of sexual transmission in species as varied as mammals, reptiles, insects, arachnids, and even nematodes. The pathogens involved ranged from bacteria and viruses to fungi, parasitic worms, and in some cases, transmissible cancerous cell lines. Sexual transmission is not a quirk of human behavior; it is an evolutionary strategy that pathogens have converged on independently across the tree of life.

3PubMed. Sexually transmitted diseases in animals: ecological and evolutionary implications

Herpes Simplex Virus 2 and the Deep Primate Past

The oldest sexually transmitted infection with a well-studied origin in humans is herpes simplex virus 2 (HSV-2). Unlike HSV-1, which appears to have co-evolved with humans from our shared ancestor with other primates, HSV-2 jumped the species barrier. Molecular clock analyses estimate this cross-species transmission occurred roughly 1.4 to 3 million years ago, from the ancestors of modern chimpanzees to an early hominin species in Africa.

4PubMed Central. Network analysis of the hominin origin of Herpes Simplex virus 2 from fossil data

What makes this story especially interesting is that the jump probably did not go directly from proto-chimpanzees to proto-humans. Researchers used fossil distribution data and paleo-environmental models to figure out which hominin species were in the right place at the right time to serve as intermediaries. Their analysis identified Paranthropus boisei, a heavily built hominin that lived in East Africa, as the most likely intermediate host, with Homo habilis possibly playing a role in the initial transfer.

4PubMed Central. Network analysis of the hominin origin of Herpes Simplex virus 2 from fossil data

A separate molecular analysis using a model that accounts for natural selection rather than assuming a neutral molecular clock also supported this picture, favoring a scenario where HSV-2 crossed from the chimpanzee ancestor to an extinct Homo precursor around 1.6 million years ago.

5Molecular Biology and Evolution. Evolutionary Origins of Human Herpes Simplex Viruses 1 and 2

The exact mechanism of that ancient species jump is unknown, but it did not require sexual contact between species. Herpes viruses can transmit through any close physical interaction involving mucosal surfaces or broken skin. Butchering or scavenging the carcass of a dead primate could have been enough. Once the virus established itself in hominins, it adapted to human-to-human sexual transmission over hundreds of thousands of years.

HPV and Neanderthal Interbreeding

Human papillomavirus (HPV) has an origin story that intersects with one of the most surprising revelations in human evolution: our ancestors had sex with Neanderthals. HPV16, the strain most commonly associated with cervical cancer, appears to have co-evolved with hominins over an extraordinarily long timescale. Analyses of complete HPV16 genomes estimate that the major viral lineages diverged from their common ancestor roughly half a million years ago, around the same time that Neanderthal-Denisovan populations and modern human ancestors were splitting apart.

6PLOS Pathogens. Niche adaptation and viral transmission of human papillomaviruses from archaic hominins to modern humans

The most likely scenario, according to researchers, is that ancestral HPV16 was already infecting early hominins before the population split. As Neanderthal-Denisovans and modern human ancestors diverged geographically and genetically, their HPV lineages diverged too. The Neanderthal-associated HPV16A lineage and the modern human-associated HPV16BCD lineages evolved separately for hundreds of thousands of years. Then, when modern humans migrated out of Africa and interbred with Neanderthals, the HPV16A lineage was sexually transmitted back into modern human populations, where it persists today.

7PubMed Central. Transmission between Archaic and Modern Human Ancestors during the Evolution of the Oncogenic Human Papillomavirus 16

This is a remarkable finding because it means that one of the most medically significant STI strains circulating today may owe its presence in modern humans directly to interspecies sex tens of thousands of years ago. It also illustrates that coevolution, not just species jumping, is a major pathway for STI origins. HPV did not arrive from some external animal source; it has been with hominins for as long as hominins have existed, evolving alongside us.

The Syphilis Debate and Ancient Treponemal DNA

Few STI origin stories have generated as much controversy as syphilis. When a devastating syphilis epidemic swept through Europe in the late 1490s, the timing immediately raised suspicions: Columbus’s crews had just returned from the Americas. The “Columbian hypothesis” held that sailors brought the disease back from the New World. The competing “pre-Columbian hypothesis” argued that syphilis, or something like it, was already present in Europe before 1492 and simply went unrecognized or was confused with other diseases.

Syphilis is caused by Treponema pallidum subspecies pallidum, which belongs to a family of closely related bacteria that also cause the non-sexually-transmitted diseases yaws (subspecies pertenue) and bejel (subspecies endemicum). These diseases spread through skin-to-skin contact in warm climates and through contaminated utensils, respectively. The question of how one member of this family became sexually transmitted while its relatives did not has puzzled researchers for over a century.

Ancient DNA has recently begun to settle parts of this debate. A high-coverage genome recovered from pre-Columbian remains in Brazil helped refine molecular clock estimates, placing the divergence of modern Treponema pallidum subspecies firmly in pre-Columbian times.

8PubMed Central. Redefining the treponemal history through pre-Columbian genomes from Brazil

A broader study analyzing five pre- and peri-contact ancient treponemal genomes from the Americas went further, finding representatives of all three Treponema pallidum subspecies in ancient American populations. The data pointed to an American origin for all characterized T. pallidum lineages, both ancient and modern, though the pathogen’s emergence post-dates human arrival in the Americas, meaning it did not come with the first migrants who crossed from Asia.

9PubMed Central. Ancient genomes reveal a deep history of Treponema pallidum in the Americas

The picture that emerges is more nuanced than either the Columbian or pre-Columbian hypothesis in its simplest form. Treponemal diseases were present in the Americas before European contact, with a diversity that had not been previously appreciated. Whether the specific sexually transmitted form, syphilis proper, was carried to Europe by returning sailors or evolved independently there remains an area where the genomic evidence is still accumulating. But the old binary framing of the debate increasingly looks too simple.

Gonorrhea and the Mouth-to-Genital Shift

Gonorrhea offers a different kind of origin story: rather than jumping from another species, Neisseria gonorrhoeae appears to have evolved from a harmless commensal bacterium that already lived in humans. The Neisseria genus includes many species that colonize the human nose, mouth, and throat without causing disease. N. gonorrhoeae is closely related to these commensals and has retained many of their features, but it has also developed unique traits crucial to surviving in the genital tract and spreading through sex.

10PubMed Central. Neisseria gonorrhoeae host adaptation and pathogenesis

One model of this transition proposes that an ancestor of the pathogenic Neisseria species shifted its colonization site from the oral cavity to the genital tract, and this change in habitat forced the evolution of new capabilities. To survive in the genital tract and transmit sexually, the bacterium had to develop the ability to provoke a specific kind of inflammatory response while simultaneously evading the adaptive immune system, a combination of traits that commensals in the mouth never needed.

11PubMed. Location, Location, Location-Commensalism, Damage and Evolution of the Pathogenic Neisseria

When exactly this transition happened is harder to pin down than viral origin dates, because bacteria do not leave the same kind of molecular clock trail that viruses do. But the concept is striking: gonorrhea may have started as a microbe living peacefully in someone’s throat, and through a series of accidental relocations and adaptive mutations, became one of the most successful sexually transmitted bacteria on the planet.

HIV and the Twentieth-Century Zoonotic Leap

Compared to herpes or HPV, HIV is a newcomer. Both HIV-1 and HIV-2 originated from simian immunodeficiency viruses (SIVs) that naturally infect African primates.

12PubMed Central. Origins of HIV and the AIDS pandemic Phylogenetic analyses have identified chimpanzees as the original reservoir of the viruses that gave rise to HIV-1, with at least four independent cross-species transmissions into humans. One or two of those transmission events may have passed through gorillas as intermediaries before reaching humans.

13PubMed Central. The evolution of HIV-1 and the origin of AIDS

The most likely route of transmission was through butchering or handling bushmeat from infected primates, which would have exposed hunters to infected blood. Once in a human host, the virus adapted to sexual and blood-borne transmission. The pandemic strains of HIV-1 (group M) are estimated to have entered the human population in the early twentieth century, with the virus circulating at low levels in central Africa for decades before explosive growth in the latter half of the century. Urbanization, population displacement, and changes in sexual networks all contributed to the conditions that allowed a rare zoonotic infection to become a global pandemic.

HIV illustrates how a pathogen can transition from one transmission mode to another after crossing into a new host species. SIV spreads among primates through biting, grooming, and other close contact. In humans, the virus found a niche in sexual and blood-borne transmission, an adaptation driven partly by opportunity and partly by the biology of human mucosal surfaces.

Unexpected Origins and Animal Connections

Some STI origin stories are genuinely surprising. Trichomoniasis, caused by the parasite Trichomonas vaginalis and one of the most common STIs globally, may have arrived in humans from birds. Recent genetic analysis of trichomonad parasites found in pigeons and doves has provided evidence that these parasites undergo frequent host-switching, and that a spillover event from columbid birds likely gave rise to T. vaginalis in humans.

14PubMed Central. Comparative genomics of the sexually transmitted parasite Trichomonas vaginalis reveals relaxed and convergent evolution and genes involved in spillover from birds to humans

Pubic lice offer another case of cross-species transfer. Humans are the only primate species that hosts two distinct types of lice: head lice (Pediculus) and pubic lice (Pthirus). Pubic lice are not closely related to head lice at all. Instead, their nearest relative is the gorilla louse, and phylogenetic analysis suggests that a Pthirus species switched from gorillas to humans.

15PubMed Central. Pair of lice lost or parasites regained: the evolutionary history of anthropoid primate lice This transfer did not necessarily require sexual contact between species; sharing sleeping sites or shelters could have been enough for the lice to find a new host with the right kind of body hair.

Even Chlamydia trachomatis, one of the most familiar bacterial STIs today, has ancient and partly mysterious roots. Chlamydia appears to have evolved with humans and shares a common ancestor with environmental chlamydiae that diverged roughly 700 million years ago. Over that immense timescale, the lineage adapted to life inside mammalian cells, with radical reduction of its genome as it became increasingly dependent on its host for survival.

16PubMed. Evolution of Chlamydia trachomatis

Hepatitis B and the Ancient DNA Revolution

Hepatitis B virus (HBV) has long been known to transmit sexually, through blood, and from mother to child. But its deep history was obscure until ancient DNA techniques began recovering viral genomes from archaeological remains. A landmark study generated HBV genomic data from 137 individuals across Eurasia and the Americas, dating between roughly 10,500 and 400 years ago. The analysis dated the most recent common ancestor of all known HBV lineages to between about 20,000 and 12,000 years ago, with the virus already present in European and South American hunter-gatherers during the early Holocene.

17PubMed. Ten millennia of hepatitis B virus evolution

Earlier work recovering ancient HBV genomes from the Bronze Age through the Medieval period had estimated the root of the HBV tree at somewhere between roughly 8,600 and 20,900 years ago, broadly consistent with the later study. Those ancient sequences also provided evidence for recombination events that created modern genotype A of HBV, and revealed a now-extinct human HBV genotype, showing that the virus’s diversity was once greater than what circulates today.

18Nature. Ancient hepatitis B viruses from the Bronze Age to the Medieval period

The broader implication is that HBV has been circulating in human populations for at least ten thousand years, adapting and diversifying as human populations migrated, mixed, and split apart. Its multiple transmission routes, sexual, blood-borne, and vertical, may have helped it persist through periods when any single route would have been insufficient to maintain the virus in small, dispersed hunter-gatherer bands.

How Ancient DNA Is Rewriting These Origin Stories

A recurring theme across these examples is that molecular and ancient DNA techniques have transformed our understanding of STI origins over the past two decades. Before genomics, researchers were limited to studying skeletal lesions (useful for syphilis and a few other infections, but ambiguous and prone to misdiagnosis) or to inferring pathogen history from modern genetic diversity alone. The ability to recover and sequence pathogen DNA from ancient human remains has added a time dimension that changes the picture dramatically.

19PubMed Central. The role of aDNA in Understanding the Coevolutionary Patterns of Human Sexually Transmitted Infections

Ancient pathogen genomics has already overturned simple narratives about syphilis, revealed extinct lineages of hepatitis B, and confirmed the deep coevolutionary relationship between HPV and hominin populations. These techniques are particularly powerful for STIs because many sexually transmitted pathogens leave little or no trace in bone, making them invisible to traditional paleopathology. Extracting viral or bacterial DNA directly from ancient teeth, bones, or calcified tissue bypasses that limitation.

Asymptomatic Persistence and the Survival Advantage

One pattern that links many of these origin stories is the role of asymptomatic infection. For a sexually transmitted pathogen, being able to persist quietly in a host without causing obvious illness is an enormous evolutionary advantage. A host who feels healthy continues to have sex and transmit the pathogen, while a host who develops painful symptoms or becomes visibly ill may be avoided by potential partners or may simply have fewer opportunities for transmission.

Chlamydia is a textbook example. After initial infection, C. trachomatis can evade the immune response by switching its metabolism and essentially hiding inside host cells, leading to chronic, often symptom-free infections that persist for months or years.

20PubMed Central. Long-term consequences of sexually transmitted infections on men’s sexual function: A systematic review HSV-2 achieves something similar through latency in nerve cells, reactivating periodically to produce infectious particles even when the host has no visible sores. HPV infections are often cleared by the immune system within a year or two, but in some individuals the virus persists silently for decades.

This pattern is not a coincidence. The evolutionary trade-off between virulence and transmission that shapes all pathogens is especially acute for sexually transmitted ones. A pathogen that depends on sexual contact for its next host cannot afford to incapacitate its current one. The result is that many of the most successful STIs have evolved sophisticated mechanisms for long-term, low-profile survival inside the human body.

When STIs Amplify Each Other

The origins and spread of individual STIs cannot be fully understood in isolation, because these infections interact with each other in ways that accelerate transmission. The concept of “epidemiological synergy” captures this dynamic: if one STI makes a person more susceptible to acquiring another, and if that second infection in turn increases the infectiousness of the first, the two diseases can amplify each other’s spread dramatically.

21PubMed. Epidemiological synergy. Interrelationships between human immunodeficiency virus infection and other sexually transmitted diseases

The most studied example involves HIV and other STIs. Genital ulcers caused by syphilis or herpes disrupt mucosal barriers, creating entry points for HIV. At the same time, HIV infection can prolong or worsen other STIs by suppressing the immune system, making a co-infected person more infectious for longer. This bidirectional amplification may have played a role in the explosive growth of the HIV pandemic in populations where other STIs were already common.

These synergies also matter for understanding the deep past. In small ancestral human populations, any single STI might have struggled to sustain itself because the pool of potential sexual partners was limited. But if multiple pathogens were circulating simultaneously and boosting each other’s transmission efficiency, even a relatively small and loosely connected sexual network could sustain several STIs at once.

The Genital Microbiome as Gatekeeper

One area of active research that adds nuance to STI origin stories is the role of the genital microbiome. The community of microbes naturally living in the genital tract is not just a passive bystander; it actively influences whether sexually transmitted pathogens can establish infection after exposure. Recent advances in deep sequencing and metabolomics have allowed researchers to characterize genital microbiota at species-level resolution, revealing how specific microbial community members influence the acquisition and clinical course of STIs.

22PubMed Central. The role of the genital microbiota in the acquisition and pathogenesis of sexually transmitted infections

For example, vaginal communities dominated by certain Lactobacillus species tend to maintain a low pH that inhibits many pathogens. Communities with lower Lactobacillus abundance and higher microbial diversity are associated with greater susceptibility to HIV, chlamydia, and gonorrhea. This means that STI pathogens did not just evolve to exploit human sexual behavior; they had to evolve to overcome, manipulate, or coexist with an existing microbial ecosystem in the genital tract. The composition of that ecosystem has itself been shaped by millions of years of coevolution between humans and their resident microbes, creating a dynamic battlefield that incoming pathogens must navigate to establish sexual transmission as a viable strategy.