Two people who have never had sexual contact with anyone else face a very low risk of sexually transmitted infections, but the risk is not strictly zero. Several STIs can be passed from mother to child during pregnancy, delivery, or breastfeeding, meaning a person can carry an infection from birth without ever having had sex. Other infections spread through non-sexual skin contact or blood exposure. The answer depends on what infections are involved, how “virgin” is being defined, and whether either person was exposed to a pathogen through a route they may not have considered.
Infections That Can Be Present From Birth
The most straightforward way a virgin can carry an STI is through vertical transmission, where a mother passes an infection to her baby during pregnancy, labor, or breastfeeding. HIV, hepatitis B, herpes simplex virus (HSV), syphilis, and human papillomavirus (HPV) can all be transmitted this way. For HIV, mother-to-child transmission accounts for roughly 15 to 30 percent of cases during pregnancy and delivery, with an additional 5 to 20 percent transmitted through breastfeeding when no preventive treatment is used.1PubMed Central. Pregnancy and sexually transmitted viral infections For hepatitis B, the numbers are even more striking: when a mother carries certain markers of active infection, vertical transmission reaches about 90 percent.1PubMed Central. Pregnancy and sexually transmitted viral infections
Breastfeeding itself is a significant route for HIV, and the risk climbs the longer breastfeeding continues. Higher viral load in a mother’s plasma and breast milk is strongly associated with a greater chance of transmission, and mixed feeding (combining breast milk with formula or other foods) appears to carry a higher risk than exclusive breastfeeding.2PubMed Central. Breast-feeding and Transmission of HIV-1 A child infected this way may not be diagnosed for years, especially if they grow up in a setting with limited screening. That child could reach adulthood considering themselves a virgin while unknowingly carrying HIV or hepatitis B.
Syphilis offers another example. Congenital syphilis, passed from mother to fetus, can remain latent and produce symptoms long after birth. One documented case involved a toddler who presented with recurrent fever, anemia, joint pain, and bowed legs as late manifestations of congenital syphilis acquired before birth.3PubMed. Recurrent Fever, Anemia, Arthralgia, and Genu Varum as Late Manifestations of Congenital Syphilis Without treatment, congenital syphilis can persist into adulthood, and a person carrying it could theoretically transmit it to a sexual partner during their first-ever sexual encounter.
HPV can also pass from mother to child, most commonly during delivery through an infected birth canal. One well-recognized consequence is juvenile-onset recurrent respiratory papillomatosis, a condition caused by HPV types 6 and 11 that produces benign but persistent growths in the airway.4PubMed Central. Juvenile onset recurrent respiratory papillomatosis: What do we know in 2024 ? While this particular condition affects the throat rather than the genitals, the broader point stands: HPV acquired at birth can establish itself in the body long before any sexual activity occurs.
Non-Sexual Routes of Transmission
Several infections classified as “sexually transmitted” can also spread through routes that have nothing to do with sex. This is where the label “STI” itself becomes a bit misleading. The name describes the most common route of transmission, not the only one.
HPV is a prime example. While sexual contact is by far the most common way to pick it up, the virus can spread through ordinary skin-to-skin contact. A review of non-sexual transmission routes found evidence that HPV can be transmitted through direct skin contact unrelated to sexual activity, which complicates the assumption that HPV infection always signals sexual exposure.5PubMed Central. Differentiating Fordyce Spots from Their Common Simulators Using Ultraviolet-Induced Fluorescence Dermatoscopy-Retrospective Study Common warts on the hands, for instance, are caused by certain HPV strains, and autoinoculation (transferring the virus from one body site to another via your own hands) is at least theoretically possible.
Molluscum contagiosum, another infection commonly grouped with STIs when it appears on the genitals, spreads through intimate skin-to-skin contact that does not have to be sexual.6PubMed. The “nuisance” sexually transmitted diseases: molluscum contagiosum, scabies, and crab lice It is extremely common in children, who pick it up through normal play, shared towels, or swimming pools. Scabies, similarly, is caused by a mite that spreads through close physical contact of any kind, not just sexual contact.6PubMed. The “nuisance” sexually transmitted diseases: molluscum contagiosum, scabies, and crab lice Two people with no sexual history could still pass these between them during their first intimate contact if one acquired the infection through non-sexual means beforehand.
Herpes simplex virus type 1 (HSV-1), the strain most associated with oral cold sores, is widely acquired in childhood through family kisses and shared utensils. HSV-1 can be transmitted to the genitals through oral sex. So a person who has only ever had cold sores on their lips and considers themselves a virgin could transmit HSV-1 to a partner’s genitals during oral contact. Whether the recipient “got an STD from a virgin” depends on your framing, but the infection is real either way.
Blood-borne pathogens like hepatitis B and C and HIV can also be transmitted through shared needles, unsterilized medical or tattoo equipment, and accidental blood exposure. A person with no sexual history could carry hepatitis B from a contaminated needle and be entirely unaware.
What Counts as “Being a Virgin”
This question sounds simple, but research shows that people disagree substantially on what counts as having “had sex.” In a survey of 300 young adults, participants rated different sexual behaviors on how strongly each constituted “having had sex” or losing one’s virginity. Bidirectional genital contact (penetrative intercourse) was rated significantly higher than unidirectional or non-penetrative contact, which in turn was rated higher than acts involving no genital contact at all.7PubMed Central. Graded Structure in Sexual Definitions: Categorizations of Having “Had Sex” and Virginity Loss Among Homosexual and Heterosexual Men and Women In other words, many people who have had oral sex, mutual masturbation, or other forms of intimate contact still consider themselves virgins.
This matters for STI risk because several infections transmit readily through the activities people tend to leave out of their definition of sex. Oral herpes can become genital herpes through oral sex. HPV spreads through any genital skin-to-skin contact, not just penetration. Gonorrhea and chlamydia can infect the throat through oral sex. Two people who both say “we’ve never had sex” may have histories of oral or manual contact with previous partners that still carried real transmission risk. When someone asks “can you get an STD if you’re both virgins,” the practical answer hinges on what both partners mean by “virgin” and whether their definitions exclude activities that can still transmit infections.
Asymptomatic Carriage and Hidden Infections
A major complication is that many STIs produce no symptoms at all, sometimes for years. A person can carry and transmit an infection without knowing they have it, which makes the question of virginity almost beside the point for certain pathogens.
Herpes simplex virus type 2 (HSV-2) is a textbook example. A large study tracking genital HSV shedding found that even among people with no history of symptoms, the virus was being shed from genital skin on about 10 percent of days monitored. Among those who did have symptoms, shedding occurred on about 20 percent of days. But here is the part that often surprises people: subclinical shedding (virus released without any visible sores) happened in both groups, and the amount of virus shed during those silent episodes was essentially the same regardless of whether the person had ever had a noticeable outbreak.8PubMed Central. Genital Shedding of Herpes Simplex Virus Among Symptomatic and Asymptomatic Persons with HSV-2 Infection This means someone who picked up HSV-2 through a non-sexual route or from a previous partner they did not count (per the definition issues above) could be actively shedding virus with no idea anything is wrong.
Chlamydia and gonorrhea also frequently produce no symptoms, particularly in women. HPV almost never causes symptoms in its early stages and can linger for years before the immune system clears it or it progresses to something detectable. Hepatitis B can be carried for decades with no outward signs. The common thread is that “feeling healthy” and “having no infection” are not the same thing, and relying on the absence of symptoms as proof of being STI-free is unreliable regardless of how many sexual partners someone has had.
Normal Anatomy That Gets Mistaken for an STI
Worth mentioning alongside the question of hidden infections is the reverse problem: normal anatomical features that people mistake for STIs, especially during a first sexual relationship when neither partner is familiar with the other’s body.
Fordyce spots are a common culprit. These are small, pale bumps on the lips, inner cheeks, or genital skin caused by ectopic sebaceous glands. They are completely harmless and not caused by any infection, but they are frequently misdiagnosed as warts, molluscum contagiosum, or other STIs.5PubMed Central. Differentiating Fordyce Spots from Their Common Simulators Using Ultraviolet-Induced Fluorescence Dermatoscopy-Retrospective Study Pearly penile papules, small dome-shaped bumps around the head of the penis, are another normal variant that triggers panic. Vestibular papillomatosis, the equivalent in women, involves small finger-like projections on the inner labia that look alarming to someone who does not know they are normal.
If you or your partner notices bumps, spots, or other features that look unusual, a visit to a healthcare provider can usually settle the question quickly. Many anxious trips to the clinic end with reassurance that the finding is a normal anatomical variation, not an infection. But it is better to check and be reassured than to assume, in either direction.
Why the Practical Risk Is Still Very Low
All of the above are genuine possibilities, but context matters. For two people who have truly had no sexual contact of any kind with anyone else, who were not born with a vertically transmitted infection, and who have not had blood exposure through needles or medical procedures, the probability of either person carrying an STI is extremely low. The scenarios described in this article are real but uncommon, and the overwhelming majority of STIs are acquired through sexual contact with someone who is already infected.
The practical takeaway is not “virgins should be terrified of STIs” but rather “virginity is not a reliable diagnostic test.” The belief that being a virgin makes you immune can lead people to skip testing, avoid vaccination, or assume a partner’s claim of virginity means testing is unnecessary. None of those conclusions follow from the evidence. If anything, the fact that many STIs can hide silently for years and can arrive through routes other than penetrative sex is an argument for treating screening and vaccination as routine health maintenance rather than something only “sexually active” people need.
Vaccination and Testing Before a First Relationship
HPV vaccination is most effective when given before any sexual contact occurs, which is why public health guidelines recommend it in early adolescence.9PubMed. Human papillomavirus vaccine should be given before sexual debut for maximum benefit The vaccine protects against the HPV strains responsible for most cervical cancers, genital warts, and several other cancers. If you are reading this as someone who has not yet become sexually active, HPV vaccination is one of the most impactful things you can do before a first relationship. If you have already been sexually active, the vaccine can still offer partial protection against strains you have not yet encountered.
Hepatitis B vaccination is another intervention that ideally happens in infancy. Most people in countries with routine childhood vaccination programs are already protected, but if you were born in a region without universal hepatitis B vaccination or are unsure of your vaccination status, it is worth checking. Hepatitis B is far easier to prevent with a vaccine than to treat once established.
As for testing, a baseline STI screen is reasonable before beginning a sexual relationship, even if both partners believe they are virgins. This is not an expression of mistrust. It is a recognition that infections can arrive through non-sexual routes, that vertically transmitted infections may be undiagnosed, and that people sometimes define “virgin” in ways that exclude real transmission risk. A screen typically includes blood tests for HIV and hepatitis B, and depending on context, tests for syphilis, chlamydia, and gonorrhea. Herpes blood testing is more complicated because a positive result for HSV-1 is extremely common in the general population and does not necessarily indicate genital infection, so healthcare providers often do not include it in routine panels unless there is a specific reason.
When Screening Habits Slip
An interesting side effect of changing healthcare guidelines is that STI screening rates can drop when the reasons for routine clinical visits change. A study looking at the impact of shifting cervical cancer screening from annual to every three years found that the number of visits where STI screening was performed dropped significantly, from an average of about 1.2 visits per patient per year under annual screening to about 0.8 under triennial screening. The proportion of patients screened over a three-year period also fell, from roughly two-thirds to just over half.10PubMed Central. Unintended Consequences: The Impact of Cervical Cancer Screening Guidelines on Rates of STI Screening in Primary Care The implication is that for many women, STI screening was piggybacking on Pap smears, and once those visits became less frequent, STI testing quietly fell off too.
This is relevant because it underscores how STI screening often depends on incidental triggers rather than intentional planning. If you are relying on a routine gynecological visit or annual physical to catch STI screening, and those visits happen less frequently than they used to, you may need to actively request testing rather than assume it is being done automatically. This applies to everyone, not just people starting new relationships, but it is especially easy to overlook if you assume low risk based on limited sexual history.
Stigma Around Non-Sexual Transmission
One reason the question “can you get an STD if you’re both virgins” gets asked so often is the intense stigma attached to STIs. There is a deeply rooted cultural assumption that STIs are exclusively the result of sexual behavior, and particularly of “risky” or “promiscuous” behavior. This framing makes it difficult for people to accept that infections can arrive through other channels, and it creates real harm when someone who acquires an infection non-sexually is disbelieved or judged.
Research into non-sexual transmission routes has found that infections like gonorrhea, chlamydia, herpes, trichomoniasis, and HPV can all spread through pathways unrelated to sex, and that these routes contribute meaningfully to the overall prevalence of these infections in women. Broadening public awareness of non-sexual transmission pathways is an important part of improving STI prevention strategies and reducing the shame that prevents people from seeking testing and treatment.
The stigma problem cuts both directions. Some people avoid testing because they believe their virginity protects them and they do not want to be seen as someone who “needs” an STI test. Others avoid disclosing an infection acquired non-sexually because they fear being disbelieved. In both cases, the underlying issue is the same: a cultural narrative that ties STIs exclusively to sex and sex exclusively to moral judgment. The medical reality is far more neutral. Infections are caused by pathogens, and pathogens follow biological rules rather than social ones. Understanding that can make it easier to approach testing, disclosure, and treatment as routine health care rather than as a verdict on your character.