The options side by side

ToolWhat it isWhenPrevents other STIs?Best for
PrEPDaily pills, or a shot every 2 or 6 monthsBefore and during periods of possible exposureNoAnyone without HIV who may be exposed through sex or injection
PEP28-day course of HIV medicinesStarted within 72 hours after a possible exposureNoEmergencies: condom broke, sexual assault, shared needle, no PrEP
U=U (treatment as prevention)A partner with HIV on treatment with an undetectable viral loadOngoing, once undetectableNoMixed-status couples and partners
Condoms (external or internal)Barrier during sexEvery time, correctlyYes, manyAlso preventing other STIs or pregnancy
Sterile injection suppliesNew needles, syringes and works each timeEvery injectionPrevents hepatitis C and other blood-borne infectionsPeople who inject drugs, hormones or other substances

PrEP: prevention before exposure

PrEP is medicine taken by people without HIV to prevent getting it. CDC describes it as being for adults and adolescents who may be exposed through sex or injection drug use. There are four FDA-approved options:

How well it works: NIH says PrEP reduces the risk of HIV from sex by about 99% when taken exactly as prescribed, and PrEP pills reduce the risk from injecting drugs by as much as 74%. Daily pills take time to build up. CDC says about 7 days for receptive anal sex and about 21 days for receptive vaginal sex and injection drug use.

Trade-offs: it needs an HIV test before starting and regular testing after, and it doesn't prevent other STIs. Compare the forms in oral vs injectable PrEP, and see how to get it free on our free PrEP page.

PEP: the emergency option

PEP is a 28-day course of HIV medicines started after a possible exposure. CDC says it must start within 72 hours, and the sooner the better. It's meant for emergencies, not as a regular plan. If you find yourself needing PEP more than once, PrEP is usually the better fit, and you can move from PEP straight onto PrEP after a negative HIV test.

Emergency rooms, urgent care, some clinics and telehealth services can start PEP. See how to get PEP fast.

U=U: treatment as prevention

CDC states that people with HIV who take treatment and have an undetectable viral load will not transmit HIV through sex. This is called Undetectable = Untransmittable, or U=U. CDC also says most people can get the virus under control within six months of starting treatment, as long as they take it as prescribed.

In practice, U=U depends on:

Many mixed-status couples rely on U=U. Some HIV-negative partners also use PrEP, for example while their partner is reaching undetectable, if testing is irregular, or if there are other partners. Our guide for couples goes deeper.

Condoms

Condoms, external or internal, are the one tool here that also helps prevent other STIs and pregnancy. CDC recommends them as a way to reduce the chance of getting or transmitting HIV through sex, and notes that PrEP doesn't protect against other STIs or pregnancy.

Their limitation is human. They have to be used correctly every time, and they can break or slip. That's where PrEP and PEP serve as backups. Using condoms some of the time while on PrEP is common and fine.

For injection exposure: sterile supplies

For people who inject drugs, hormones or anything else, new sterile needles, syringes and equipment for every injection prevents HIV and hepatitis C. CDC's guidance tells PrEP prescribers to offer PrEP to people who inject drugs and link them to syringe services. Oral PrEP is the option studied for injection exposure.

Combining tools: common combinations

SituationCommon combination
Dating, multiple or new partnersPrEP + regular STI testing, with condoms as you choose
Partner with HIV who is undetectableU=U, with PrEP as an optional extra layer, especially early on
Partner with HIV who isn't yet undetectablePrEP and/or condoms while the partner reaches viral suppression
Want to prevent pregnancy and STIs tooCondoms, alone or with PrEP
Injecting drugsSterile supplies + oral PrEP
Not on PrEP, exposure in the last 72 hoursPEP now, then consider PrEP
Frequent bacterial STIsAdd DoxyPEP to your sexual health plan (see what DoxyPEP is)

What each option asks of you

Effectiveness numbers assume an option is used as intended, so the practical question is which one you can stick with.

Your answer can change over time. Plenty of people use condoms and PEP before starting PrEP, switch from pills to shots, or come off PrEP when a relationship settles into U=U. A plan that fits now is better than a perfect plan you can't keep.

Testing ties it all together

Whatever mix you choose, regular testing is the common thread. HIV testing is required for PrEP and confirms you're negative. STI testing catches the infections PrEP and U=U don't prevent. Viral load testing is what makes U=U reliable. Our sister site covers how often to test with new or multiple partners, and our free STI testing guide shows where to get it at no cost.

Build your own prevention plan

If PrEP is part of your plan, check which no-cost routes you qualify for. If you had an exposure in the last 72 hours, start with PEP. And keep regular testing in the mix whatever you choose.

Frequently Asked Questions

Which is the most effective HIV prevention method?
Several methods are highly effective when used consistently. NIH says PrEP reduces the risk of HIV from sex by about 99% when taken as prescribed, and CDC says people with HIV who keep an undetectable viral load won't transmit HIV through sex. The best method is the one you'll actually use every time, and many people combine more than one.
What's the difference between PrEP and PEP?
PrEP is ongoing prevention taken before possible exposure, as daily pills or long-acting shots. PEP is an emergency 28-day course started within 72 hours after a specific possible exposure. If you need PEP repeatedly, PrEP is usually the better fit.
If my partner is undetectable, do I need PrEP?
CDC says people with HIV who maintain an undetectable viral load won't transmit HIV through sex. Some partners still choose PrEP, for example while a partner is reaching undetectable, if viral load testing is irregular, or if there are other partners. It's a personal decision to make together, ideally with a clinician.
Do PrEP or U=U protect against other STIs?
No. Neither prevents syphilis, gonorrhea, chlamydia or other STIs. Condoms reduce the risk of many STIs, regular testing catches infections early, and DoxyPEP is an option for some people at higher risk of bacterial STIs.
Can I use PrEP and condoms together?
Yes. Many people do. PrEP covers HIV, and condoms add protection against other STIs and pregnancy. You can also use condoms some times and not others. PrEP protects you either way.
What should I do if I had an exposure and I'm not on PrEP?
If it was within the last 72 hours, seek PEP right away from an emergency room, urgent care, a clinic or a PEP hotline. After finishing PEP, ask about starting PrEP.

This guide is general health information, not medical advice, and it doesn't replace a conversation with a clinician who knows your history. Guidance and program rules change; we last reviewed this page on October 12, 2026. Spot something out of date? Tell us.