How Do You Get HIV? Ways It Spreads and Doesn’t

HIV spreads through five specific body fluids: blood, semen (including pre-seminal fluid), vaginal fluids, rectal fluids, and breast milk. The most common routes are unprotected sex, shared needles, and transmission from parent to child during pregnancy, childbirth, or breastfeeding. Outside of these pathways, HIV does not survive long in the environment and cannot reproduce outside a human host.

Sexual Transmission

Unprotected vaginal or anal sex is the most common way HIV spreads. During sex, the virus can enter the body through the thin mucosal lining of the genitals or rectum. Tiny tears that naturally occur during intercourse create direct entry points, but even intact tissue can allow the virus to pass through. Once past that barrier, immune cells beneath the surface pick up viral particles and carry them to the specific white blood cells HIV targets, allowing infection to take hold.

Not all sexual acts carry the same level of risk. Per-act estimates from the CDC, assuming one partner is HIV-positive and not on treatment:

  • Receptive anal sex: roughly 1 in 72
  • Insertive anal sex: roughly 1 in 909
  • Receptive vaginal sex: roughly 1 in 1,250
  • Insertive vaginal sex: roughly 1 in 2,500

Receptive anal sex carries the highest risk because the rectal lining is thinner and more easily damaged than vaginal tissue. Oral sex carries extremely low to negligible risk. Kissing and touching pose no risk at all.

Shared Needles and Drug Equipment

HIV can spread when people share needles or other injection equipment contaminated with infected blood. This applies to needles used for injecting drugs, and in some cases, equipment used for tattoos or piercings if proper sterilization isn’t followed. Even a small amount of blood left inside a syringe can carry enough virus to transmit infection.

In healthcare settings, accidental needle-stick injuries from a known HIV-positive source carry roughly a 1 in 300 chance of transmission. The risk from discarded needles found in public settings is considerably lower than that, though it’s difficult to estimate precisely.

Parent-to-Child Transmission

A pregnant person living with HIV can pass the virus to their baby during pregnancy, childbirth, or breastfeeding. Without any treatment, this risk is significant. With consistent antiretroviral treatment throughout pregnancy, childbirth, and breastfeeding, the likelihood drops to less than 1%. In the United States and Europe, this approach has brought perinatal transmission rates down to 1% or below.

The key factor is maintaining an undetectable viral load, meaning the amount of virus in the blood is too low to measure on standard tests. When a pregnant person achieves and keeps an undetectable viral load through treatment, the risk of passing HIV to their child falls below 1%.

How HIV Does Not Spread

HIV cannot spread through saliva, sweat, tears, or urine. You cannot get HIV from hugging, shaking hands, sharing food or drinks, using the same toilet, or being around someone who is coughing or sneezing. The virus does not survive long on surfaces and cannot reproduce outside a human host, so contact with objects like doorknobs, phones, or gym equipment poses zero risk.

Insect bites, including mosquito bites, do not transmit HIV. The virus cannot replicate inside insects and is not injected back into the next person bitten.

Undetectable Means Untransmittable

One of the most important facts about HIV transmission is that a person living with HIV who takes treatment consistently and maintains an undetectable viral load has zero risk of transmitting the virus to sexual partners. This principle, known as U=U (Undetectable = Untransmittable), is backed by large studies and endorsed by the CDC. It applies specifically to sexual transmission, and the person must stay on treatment and maintain that undetectable status over time.

Prevention Options

Beyond condoms, a preventive medication called PrEP (pre-exposure prophylaxis) is available for people who don’t have HIV but are at higher risk. When taken as recommended, PrEP reduces the risk of getting HIV from sex by about 99% and from injection drug use by at least 74%. PrEP is a daily pill or, in some formulations, a long-acting injection given every two months.

If you think you’ve been exposed to HIV, post-exposure prophylaxis (PEP) is a course of medication that can prevent infection if started within 72 hours of exposure. The sooner it’s started, the more effective it is.

Testing and Detection Windows

HIV tests don’t detect the virus immediately after exposure. The “window period,” the time between potential exposure and when a test can reliably detect infection, varies by test type:

  • Nucleic acid test (NAT): 10 to 33 days after exposure
  • Antigen/antibody lab test (blood draw from a vein): 18 to 45 days
  • Rapid antigen/antibody test (finger stick): 18 to 90 days
  • Antibody-only tests: 23 to 90 days

Testing too early can produce a false negative. If your first test is negative but the exposure was recent, retesting after the full window period gives you a definitive answer. Lab-based blood draws from a vein generally detect infection sooner than rapid finger-stick tests or home kits.