How Do You Get STDs: Sex, Skin Contact, and More

STDs (sexually transmitted diseases) spread primarily through vaginal, oral, and anal sex with an infected partner. Some also pass through skin-to-skin contact, from mother to baby during pregnancy or birth, and in rare cases through shared needles. The U.S. still reported more than 2.2 million cases of chlamydia, gonorrhea, and syphilis combined in 2024, so understanding exactly how these infections spread is worth your time.

Vaginal, Anal, and Oral Sex

The most common route is sexual contact involving bodily fluids like semen, vaginal secretions, or blood. During vaginal or anal sex, bacteria and viruses can enter through the mucous membranes lining the genitals, rectum, and mouth. These tissues are thin and rich in blood supply, making them especially vulnerable to infection. Anal sex carries a particularly high risk because the rectal lining is fragile and tears easily, creating direct access to the bloodstream.

Oral sex is lower risk than vaginal or anal sex, but it’s not risk-free. Chlamydia, gonorrhea, syphilis, herpes, HPV, and HIV can all be transmitted through oral contact with a partner’s genitals or anus. You can pick up an infection in your throat from giving oral sex, or on your genitals from receiving it. Oral-anal contact specifically can also transmit hepatitis A, hepatitis B, and intestinal parasites.

Skin-to-Skin Contact

Not all STDs require an exchange of fluids. Herpes and HPV spread through direct skin-to-skin contact, which is why condoms reduce but don’t eliminate the risk for these infections. The virus lives in skin cells and can shed from areas a condom doesn’t cover.

Herpes is a good example of how this works. HSV-1 (typically oral herpes) spreads through contact with sores, saliva, or skin around the mouth. HSV-2 (typically genital herpes) spreads through contact with genital or anal skin, sores, or fluids. Both types can transmit even when the skin looks completely normal and no sores are visible. The greatest risk is during an active outbreak, but transmission in the absence of symptoms is common and accounts for a significant share of new infections.

Syphilis also spreads through direct contact with a syphilis sore, which can appear on the genitals, anus, rectum, lips, or mouth. Heavy petting and other intimate physical contact can occasionally transmit certain infections, though this is uncommon.

Why Condoms Help but Aren’t Perfect

Condoms are effective at blocking STDs that travel in genital fluids, like gonorrhea and chlamydia. They create a physical barrier that prevents infected secretions from reaching your mucous membranes. For these fluid-borne infections, consistent condom use dramatically cuts your risk.

For STDs that spread through skin contact, like herpes and syphilis, condoms offer less protection. The infection can live on skin that the condom simply doesn’t cover, including the base of the penis, the scrotum, the upper thighs, or the vulva. This doesn’t mean condoms are useless for these infections. They still reduce the risk. But they can’t eliminate it entirely.

Transmission Without Symptoms

One of the trickiest things about STDs is that the majority either cause no symptoms at all or cause symptoms so mild they go unnoticed. A person can carry and spread chlamydia, gonorrhea, herpes, HPV, or HIV without ever feeling sick or seeing anything unusual. This is the primary reason STDs continue to spread so widely. People who don’t know they’re infected don’t seek treatment, and they unknowingly pass the infection to partners.

This is also why routine testing matters even when you feel fine. You can’t tell whether a partner has an STD by looking at them, and they may genuinely not know themselves.

Mother-to-Baby Transmission

STDs can pass from a pregnant person to their baby in three ways: through the placenta during pregnancy, through the birth canal during delivery, or through breast milk after birth. Herpes, syphilis, chlamydia, gonorrhea, hepatitis B, hepatitis C, and HIV can all be transmitted this way.

Congenital syphilis (syphilis passed to a baby before or during birth) has been rising sharply. Cases increased for the 12th consecutive year in 2024, reaching nearly 4,000 reported cases. That’s roughly 700% higher than a decade ago. Routine prenatal screening catches most of these infections early enough to treat them before they affect the baby.

Non-Sexual Routes

A few STDs also spread through blood, most notably HIV, hepatitis B, and hepatitis C. Sharing needles for drug use, tattooing, or piercing with unsterilized equipment are the main non-sexual risk factors. Blood transfusions were once a concern, but modern screening has made this route extremely rare in countries with robust blood-supply testing.

STD-causing organisms generally do not survive long outside the body. You’re not going to catch an STD from a toilet seat, a doorknob, or a swimming pool. Shared towels and razors carry a theoretical risk for blood-borne infections if there’s fresh blood involved, but this is not a meaningful route of transmission in practice.

Testing Windows After Exposure

If you think you’ve been exposed, timing matters for testing. Each infection has a window period, the gap between exposure and when a test can reliably detect it. Testing too early can produce a false negative.

  • Chlamydia and gonorrhea: Detectable at 1 week for most cases, with 2 weeks catching nearly all infections.
  • Syphilis: A blood test catches most cases at 1 month, with 3 months needed to catch almost all.
  • HIV (blood test): Detectable at 2 weeks for most cases with newer antigen/antibody tests, with 6 weeks catching almost all. Oral swab tests take longer, around 1 to 3 months.
  • Herpes: Blood antibody tests catch most cases at 1 month, with up to 4 months needed for near-complete accuracy.
  • Hepatitis B: 3 to 6 weeks.
  • Hepatitis C: 2 months catches most, 6 months catches almost all.
  • Trichomonas: 1 week catches most, 1 month catches almost all.

HPV has no routine screening test for most people. Cervical HPV can show up on a Pap smear within a few weeks to a few months, but there’s no general blood or urine test for the virus. Genital warts, when they appear, are diagnosed visually.

Who’s Most at Risk

Anyone who is sexually active can get an STD, but certain factors raise the odds. Having multiple partners increases your exposure. Inconsistent condom use leaves you unprotected during some encounters. Anal sex carries higher per-act risk than vaginal sex for several infections, including HIV. Being under 25 is a risk factor for chlamydia and gonorrhea, partly because of biological factors and partly because of lower rates of consistent protection and testing in younger age groups.

A prior STD also increases vulnerability to future infections. Some infections cause inflammation or sores that make it easier for other pathogens to enter the body. Having herpes sores, for instance, increases susceptibility to HIV if you’re exposed.