How Can You Get an STI: Causes and Risk Factors

Sexually transmitted infections spread through several routes, not just intercourse. You can get an STI through vaginal, anal, or oral sex, through skin-to-skin genital contact, through shared needles, and in some cases from mother to child during pregnancy or birth. Over 1 million curable STIs are acquired every day worldwide among people aged 15 to 49, and the majority of those infections produce no symptoms at all, meaning many people pass them on without knowing they’re infected.

Sexual Contact: The Primary Route

Vaginal, anal, and oral sex are the most common ways STIs spread. During these activities, bacteria, viruses, or parasites travel between partners through bodily fluids like semen, vaginal secretions, and blood. Chlamydia, gonorrhea, HIV, hepatitis B, and trichomoniasis all spread this way. Anal sex carries a particularly high transmission risk for several infections because the tissue lining the rectum tears more easily, creating a direct path into the bloodstream.

Oral sex is often assumed to be safe, but it can transmit gonorrhea, herpes, syphilis, and HPV. Throat infections from gonorrhea, for example, frequently cause no symptoms, so people often don’t realize they’re carrying the bacteria and can pass it to a partner’s genitals during oral contact.

Skin-to-Skin Contact Without Fluids

Some STIs don’t need fluid exchange at all. Herpes (HSV) and human papillomavirus (HPV) spread through direct skin-to-skin contact with an infected area. This means you can contract them from genital touching, grinding, or any intimate contact where skin meets skin, even without penetration. Syphilis also spreads this way when a partner has an active sore.

This is why condoms, while highly effective against fluid-borne infections, offer only partial protection against herpes, HPV, and syphilis. They reduce the risk, but only when the infected area is fully covered by the condom. Any exposed skin around the genitals, thighs, or pubic area can still transmit or receive these infections.

Shared Needles and Blood Exposure

HIV, hepatitis B, and hepatitis C spread through blood-to-blood contact. The most common non-sexual route is sharing needles or syringes for drug injection, where small amounts of infected blood transfer directly into another person’s bloodstream. Sharing equipment for tattooing or piercing in unregulated settings carries a similar risk.

Occupational exposure (like an accidental needlestick in a healthcare setting) is extremely rare as a transmission route. The CDC has confirmed only 58 cases of occupational HIV transmission among U.S. healthcare workers total, with just one confirmed case since 1999. Still, the risk through shared injection equipment outside clinical settings remains significant.

From Mother to Baby

Several STIs can pass from a pregnant person to their baby during pregnancy, labor, or delivery. HIV, syphilis, herpes, hepatitis B, gonorrhea, and chlamydia all pose risks. Some cross the placenta during pregnancy itself, while others transmit during the physical process of birth as the baby passes through the birth canal. Syphilis during pregnancy can cause serious complications including stillbirth. Herpes poses the greatest danger to newborns when the mother has an active outbreak at the time of delivery.

Routine prenatal screening catches many of these infections early. Bacterial STIs can be cured with pregnancy-safe antibiotics, and viral infections like HIV and herpes can be managed with medications that dramatically lower the chance of transmission to the baby.

Can You Get an STI From Objects or Surfaces?

Most STI-causing organisms die quickly outside the human body, making transmission from toilet seats, doorknobs, or swimming pools essentially a non-risk. However, there are limited exceptions. HPV is resistant to heat and drying and can survive on inanimate objects like clothing or medical equipment that have come in contact with an infected person, though the precise survival time is unknown. Trichomoniasis, caused by a parasite, can survive briefly on damp surfaces like wet towels.

Sharing sex toys without cleaning them between partners is a more realistic concern, as they can carry infectious organisms from one person to another. The practical takeaway: casual contact with everyday surfaces is not a meaningful risk, but sharing items that directly contact genitals can be.

Why No Symptoms Doesn’t Mean No Infection

The majority of STIs produce no noticeable symptoms, especially in the early stages. Chlamydia and gonorrhea are frequently silent, particularly in vaginal infections. HPV can linger for months to years before causing any visible change. HIV may cause a brief flu-like illness within the first couple of weeks and then produce no symptoms for months or even years. This asymptomatic window is one of the main reasons STIs spread so effectively: people who feel perfectly healthy can unknowingly pass infections to their partners.

This also means you can’t rely on a partner’s appearance or the absence of visible sores to gauge safety. The only reliable way to know your status is testing.

How Soon Testing Can Detect an Infection

Every STI has a window period, the minimum time after exposure before a test can accurately detect it. Testing too early can produce a false negative, giving you a clean result while you’re actually infected.

  • Chlamydia and gonorrhea: Detectable within 1 week in 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: A blood antigen/antibody test detects most cases at 2 weeks, with 6 weeks catching almost all. An oral swab takes longer: 1 month for most, 3 months to be thorough.
  • Herpes: Blood antibody testing catches most cases at 1 month, with 4 months for the most reliable result.
  • Hepatitis B: 3 to 6 weeks for detection.
  • Hepatitis C: 2 months catches most, 6 months catches almost all.
  • Trichomoniasis: 1 week for most, up to 1 month for near-complete accuracy.

If you’ve had a specific exposure that concerns you, the timing of your test matters. A negative result at one week doesn’t rule out HIV or syphilis. For the most reliable picture, follow up with a second test once the full window period has passed.

How Condoms and Barriers Reduce Risk

Latex condoms, used consistently and correctly, are highly effective at preventing HIV transmission and reduce the risk of gonorrhea, chlamydia, and trichomoniasis. For infections that spread through skin contact, like herpes, syphilis, and HPV, condoms provide protection only when they cover the infected area. Since sores or viral shedding can occur on skin the condom doesn’t reach, the protection against these infections is real but limited.

Dental dams offer a barrier for oral sex. For HPV specifically, vaccination is the most effective prevention tool, protecting against the strains responsible for most genital warts and HPV-related cancers. Combining vaccination, barrier methods, and regular testing covers the widest range of risk.