How Do I Get HIV? Transmission and Risk Factors

HIV spreads through specific bodily fluids that enter your body through mucous membranes, damaged tissue, or direct injection into the bloodstream. The fluids that carry enough virus to transmit infection are blood, semen, pre-seminal fluid, rectal fluids, vaginal fluids, and breast milk. These fluids must reach the mucous membranes found inside the rectum, vagina, opening of the penis, or mouth, or enter through a break in the skin or a needle. Without that specific chain of events, transmission doesn’t happen.

Sexual Transmission

Sex is the most common route of HIV transmission, but the level of risk varies dramatically depending on the type of sexual contact. Receptive anal sex carries the highest per-act risk: roughly 1 in 72 chance per act when the partner with HIV is not on treatment and no condom or preventive medication is used. The lining of the rectum is thin and rich in immune cells that HIV targets, which is why this route is so efficient for the virus.

Insertive anal sex is considerably lower risk, at about 1 in 909 per act. Vaginal sex falls lower still. Receptive vaginal sex carries roughly a 1 in 1,250 per-act risk, while insertive vaginal sex is about 1 in 2,500. These numbers represent averages across many encounters. In any single encounter the actual risk can be higher or lower depending on factors like viral load, the presence of other infections, and whether there are cuts or sores.

Oral sex carries a very low but not zero risk. Documented cases exist, but the per-act probability is too small to estimate reliably from studies.

What Raises the Risk During Sex

Having another sexually transmitted infection at the same time significantly increases vulnerability to HIV. Infections like gonorrhea, syphilis, and herpes cause inflammation and sometimes open sores in the genital or rectal area, which gives HIV easier access to the bloodstream. In one study of men who have sex with men, a single rectal gonorrhea infection roughly doubled the risk of acquiring HIV, and repeated rectal gonorrhea infections increased the risk more than sixfold.

Herpes is particularly relevant because even after sores heal, the virus leaves behind clusters of immune cells near the skin’s surface that HIV can infect. A higher viral load in the partner living with HIV also increases risk. The more virus circulating in someone’s blood and bodily fluids, the more likely any single exposure will lead to transmission.

Needle and Blood Exposure

Sharing needles, syringes, or other injection equipment is a highly efficient route of transmission because it delivers blood directly into the bloodstream. This applies to injection drug use as well as any non-medical injection practice. Even a small amount of blood remaining in a syringe can carry enough virus to cause infection.

Healthcare workers face a small occupational risk from needlestick injuries. The average chance of acquiring HIV from a single needlestick with a confirmed HIV-positive source is about 0.3% without any post-exposure treatment. That’s roughly 1 in 333, which is low but not negligible, and it’s why hospitals have strict protocols for handling sharps.

From Parent to Child

HIV can pass from a birthing parent to a baby during pregnancy, labor, delivery, or breastfeeding. Without any treatment, the transmission rate is substantial, ranging from 15% to 45%. With modern care, including antiretroviral treatment during pregnancy, medication for the newborn after delivery, and careful management of delivery, the risk in the United States has dropped below 1%. The 2019 national perinatal transmission rate was 0.9%.

Ways HIV Does Not Spread

HIV is fragile outside the body and does not survive well on surfaces. You cannot get HIV from shaking hands, hugging, sharing food or drinks, using the same toilet seat, or being around someone who coughs or sneezes. Saliva, sweat, and tears do not contain enough virus to transmit infection. Insect bites do not spread HIV either, because the virus cannot replicate inside mosquitoes or other insects and is not injected back when they bite.

Closed-mouth kissing poses no risk. Deep open-mouth kissing is considered negligible risk unless both people have significant bleeding sores or gum disease, which would be an extremely rare situation.

How Undetectable Viral Load Changes the Picture

A person living with HIV who takes antiretroviral therapy and maintains an undetectable viral load has zero risk of transmitting the virus to sexual partners. This is the principle known as Undetectable = Untransmittable, or U=U, and it is supported by multiple large studies tracking thousands of couples over years. Not a single case of sexual transmission was observed when the partner with HIV had a consistently undetectable viral load. This makes effective treatment one of the most powerful prevention tools available.

What to Do After a Possible Exposure

If you think you’ve been exposed to HIV, a medication regimen called post-exposure prophylaxis (PEP) can prevent infection, but timing is critical. PEP must be started within 72 hours of exposure, and the sooner the better. Ideally you would begin within 24 hours. The treatment involves taking antiretroviral pills for 28 days. PEP is effective but not 100% guaranteed, so it’s considered an emergency option rather than a routine prevention strategy. Emergency rooms and urgent care clinics can prescribe it.

For ongoing risk, pre-exposure prophylaxis (PrEP) reduces the chance of acquiring HIV by about 99% when taken as prescribed. It’s a daily pill or a long-acting injection given every two months, designed for people who are HIV-negative but have regular potential exposures through sex or injection drug use.

Testing Timelines

HIV tests don’t detect the virus immediately after exposure. Each type of test has a different window period, which is the gap between when infection occurs and when the test can pick it up.

  • Nucleic acid tests (NAT) detect the virus itself and can identify infection 10 to 33 days after exposure. These are the fastest but typically used only in special circumstances.
  • Antigen/antibody lab tests using blood drawn from a vein can detect HIV 18 to 45 days after exposure.
  • Rapid antibody tests and self-tests can detect infection 23 to 90 days after exposure. These are the most widely available, including home test kits.

If you test negative but your potential exposure was recent, you may need to retest after the window period has fully passed. A negative result on a rapid antibody test taken two weeks after exposure is not reliable. Waiting at least 45 days for a lab-based antigen/antibody test, or 90 days for a rapid or self-test, gives you a much more definitive answer.