How Do You Get an STD in the First Place?

STDs (also called STIs) spread when bacteria, viruses, or parasites move from one person’s body into another, most commonly during sexual contact. That contact doesn’t always mean intercourse. Some infections pass through skin touching skin, others through body fluids like semen or vaginal fluid, and a few can spread from a pregnant person to their baby. In 2024 alone, more than 2.2 million cases of chlamydia, gonorrhea, and syphilis were reported in the United States, making these infections far more common than most people realize.

How Pathogens Get Into Your Body

STI-causing organisms enter through mucous membranes, the thin, moist tissue that lines the genitals, rectum, mouth, and urethra. These surfaces are much more permeable than regular skin, which is why sexual contact is such an efficient route of transmission. Pathogens exploit microscopic abrasions in these membranes, tears so small you’d never notice them, to reach the bloodstream or underlying tissue.

Any break in the skin raises the risk further. The lining of the anus is especially thin and tears easily, which is why anal sex carries a higher transmission risk than most other sexual activities. Brushing or flossing your teeth before oral sex can create tiny cuts in the gums that give bacteria and viruses a direct pathway in. Even small cuts on fingers can serve as entry points during manual contact. The common thread is simple: wherever there’s a gap in your body’s outer barrier, pathogens have an opening.

Fluid Exchange vs. Skin-to-Skin Contact

Not all STIs spread the same way, and understanding the difference matters for knowing your actual risk.

Fluid-borne infections travel in semen, vaginal fluid, or blood. HIV, gonorrhea, chlamydia, and hepatitis B and C all fall into this category. These require some exchange of infected fluid, whether through vaginal sex, anal sex, oral sex, or sharing needles. The virus or bacteria is carried in the fluid itself, and it needs to reach a mucous membrane or broken skin on the other person.

Skin-to-skin infections don’t need fluid at all. HPV and herpes are the most common examples. HPV spreads through direct skin-to-skin or skin-to-mucous-membrane contact, meaning a condom reduces risk but doesn’t eliminate it because it doesn’t cover all potentially infected skin. HPV DNA has been found under the fingernails of people with genital warts and even on their underwear, and self-inoculation (transferring the virus from one part of your body to another via your hands) is a documented route. Herpes similarly passes through direct contact with an active sore or with skin that’s shedding the virus without any visible outbreak.

Parasitic infections like trichomoniasis spread through genital contact. The parasite reproduces rapidly once it reaches the vagina, triggering an inflammatory reaction. Pubic lice spread through close body contact or occasionally shared bedding and clothing.

Why You Can Get an STI Without Knowing

One of the biggest reasons STIs spread so widely is that most infected people have no symptoms. In one study of bacterial STIs, every single infection found at baseline screening was asymptomatic, and about 80% of new infections that developed during the study period also produced no noticeable symptoms. Chlamydia is notorious for this: a large proportion of people carrying it feel perfectly fine. Gonorrhea and syphilis follow the same pattern.

This means your partner can genuinely not know they’re infected. It also means you can carry an infection for weeks, months, or even years without realizing it, potentially passing it to others the entire time. HPV is a prime example. Most people with HPV are completely unaware of the infection because it often causes no warts or other visible signs, yet they can still transmit the virus through contact.

Sexual Activities and Their Relative Risk

Different types of sexual contact carry different levels of risk, and knowing the spectrum helps you make informed choices.

  • Vaginal and anal intercourse carry the highest risk for most STIs because they involve direct mucous membrane contact and fluid exchange. Anal sex is particularly high-risk due to how easily the rectal lining tears.
  • Oral sex is lower risk but far from zero. Gonorrhea, herpes, syphilis, and HPV can all spread this way. The risk goes up if either person has sores, cuts, or bleeding gums.
  • Manual contact (fingering, hand jobs) is generally low risk, but any cuts or hangnails on the fingers create an entry point. HPV in particular has been found on the hands of infected individuals.
  • Genital-to-genital rubbing without penetration can still transmit skin-to-skin infections like herpes and HPV.

Non-Sexual Ways STIs Spread

Sexual contact is the primary route, but it isn’t the only one. HIV, hepatitis B, and hepatitis C can all pass through shared needles or other equipment that exposes you to infected blood. Any situation where blood from an infected person reaches your bloodstream, through broken skin, a needlestick, or shared injection supplies, poses a risk.

A pregnant person can also pass certain infections to their baby. This happens in two main ways: the pathogen crosses the placenta during pregnancy, or the baby picks up the infection during delivery while passing through the birth canal. The delivery route is actually far more common, accounting for roughly 85% of cases. HIV transmission to a baby most often occurs during labor and delivery. Syphilis, however, can cross the placenta at any stage of infection and at any point in pregnancy. Congenital syphilis cases have surged 700% over the past decade in the U.S., with nearly 4,000 cases reported in 2024.

Herpes can also pass to a newborn, though only about 5% of neonatal herpes cases come from transmission across the placenta. Most happen during birth when the baby contacts active sores.

Testing Windows You Should Know

If you think you’ve been exposed, getting tested too early can give you a false negative. Every infection has a window period, the time between exposure and when a test can reliably detect it. Testing before this window closes means the infection may not show up yet.

  • Chlamydia and gonorrhea: Detectable within 1 week in most cases. Waiting 2 weeks catches nearly all infections.
  • Syphilis: A blood test picks up most cases after 1 month, but it can take up to 3 months to catch nearly all of them.
  • HIV: A blood test using antigen/antibody methods catches most infections by 2 weeks, with 6 weeks covering nearly all. An oral swab takes longer, around 1 to 3 months.
  • Herpes: Blood antibody tests need at least 1 month, and up to 4 months to be fully reliable.
  • Hepatitis B: 3 to 6 weeks.
  • Hepatitis C: 2 months catches most, but full confidence requires waiting up to 6 months.
  • Trichomoniasis: Usually detectable within 1 week, with 1 month catching nearly all cases.

If your first test comes back negative but you had a known exposure, retesting after the full window period gives you a much more reliable answer.

What Makes Some People More Vulnerable

Anything that compromises the body’s natural barriers increases susceptibility. Having an existing STI, even one that’s asymptomatic, can cause inflammation that makes it easier for a second infection to take hold. Open sores from herpes or syphilis give other pathogens a direct route into the bloodstream, which is one reason herpes significantly increases the risk of acquiring HIV.

Younger people, particularly young women, face higher biological vulnerability because the cervix has a larger area of exposed mucous membrane tissue during adolescence and early adulthood. This isn’t about behavior alone; it’s anatomy. Vaginal dryness, rough sex, or insufficient lubrication can also create micro-tears that increase transmission risk during any type of penetrative contact.

Using condoms consistently and correctly reduces risk substantially for fluid-borne infections, though they’re less protective against skin-to-skin infections like HPV and herpes that affect areas a condom doesn’t cover. Dental dams offer a barrier during oral sex. For HIV specifically, pre-exposure prophylaxis is highly effective at preventing infection in people who are at ongoing risk.