How Well PEP Prevents HIV — and What Undercuts It
SavePEP works, but it is unforgiving about timing and follow-through. Started within hours of an exposure and taken every day for four weeks, it sharply lowers the odds of HIV taking hold. Started late, taken erratically, or stopped early, it is far less reliable — which is why speed and completion matter more than any single effectiveness figure a person might search for.
Last updated: July 2026
How effective is PEP at preventing HIV?
PEP is highly effective when it is started quickly and taken exactly as prescribed. It is a 28-day course of HIV medicines meant for a single, recent possible exposure, and the guidelines describe its effectiveness less as one guaranteed percentage than as a function of two things you control: how soon you start and whether you finish 1Ref 1Centers for Disease Control and Prevention (2025).Antiretroviral Postexposure Prophylaxis After Sexual, Injection Drug Use, or Other Nonoccupational Exposure to HIV - CDC Recommendations, United States, 2025.That the first PEP dose should ideally be within 24 hours and no later than 72 hours after exposure, that PEP is a 28-day course with baseline HIV testing and follow-up at 4-6 and 12 weeks, and that transition to PrEP is planned for ongoing risk.. Started within hours and completed fully, it stops most infections from establishing.
That framing is deliberate, and it is honest. There is no responsible way to promise a specific number to any one person, because the same course of pills protects very differently depending on timing and adherence. What the evidence supports is a clear direction: the faster and more completely PEP is taken, the more it works. The rest of this page is about what shifts the odds.
The 72-hour window is a hard limit
Timing is the first thing that decides whether PEP can work at all. The first dose should ideally be taken within 24 hours of the exposure and no later than 72 hours 1Ref 1Centers for Disease Control and Prevention (2025).Antiretroviral Postexposure Prophylaxis After Sexual, Injection Drug Use, or Other Nonoccupational Exposure to HIV - CDC Recommendations, United States, 2025.That the first PEP dose should ideally be within 24 hours and no later than 72 hours after exposure, that PEP is a 28-day course with baseline HIV testing and follow-up at 4-6 and 12 weeks, and that transition to PrEP is planned for ongoing risk.. Guidance is explicit that PEP is for emergency, one-time exposures and must be started as soon as possible within that window 2Ref 2Centers for Disease Control and Prevention (2024).Clinical Guidance for PEP.That PEP must be started as soon as possible and within 72 hours of exposure, is taken for 28 days, and is for emergency one-time exposures rather than ongoing prevention.. This is the pep window people search for, and it is not flexible.
After 72 hours, PEP is generally not offered, because by then the virus may already have established itself and the medicine is unlikely to prevent infection. That is why a possible exposure — a condom failure, a needle, an assault — is treated as time-sensitive. If you are wondering whether a condom broke should i get pep, the answer is to be evaluated quickly rather than to wait and see, since the clock is the part you cannot get back.
Sooner is better, and 72 hours is the outer edge — after that, PEP is generally not started.
What undercuts PEP: missed doses and stopping early
Even started on time, PEP only delivers its protection if the full 28 days are completed. It is taken every day for four weeks 1Ref 1Centers for Disease Control and Prevention (2025).Antiretroviral Postexposure Prophylaxis After Sexual, Injection Drug Use, or Other Nonoccupational Exposure to HIV - CDC Recommendations, United States, 2025.That the first PEP dose should ideally be within 24 hours and no later than 72 hours after exposure, that PEP is a 28-day course with baseline HIV testing and follow-up at 4-6 and 12 weeks, and that transition to PrEP is planned for ongoing risk., and the medicines have to stay in the body continuously to block the virus from replicating. Skipped doses and early stopping are the most common reasons PEP fails when it fails — not the drug itself.
Adherence is genuinely the hard part. The pills can cause nausea, fatigue, and headache, and four weeks is long enough for motivation to fade once the fear of the exposure recedes. That is a well-known challenge, and understanding pep side effects ahead of time — and knowing they can often be managed rather than endured silently — is part of finishing the course. A clinician can adjust the regimen if the side effects are hard to tolerate, which is far better than quietly stopping.
PEP protects one exposure — not the days before or after
PEP is a backstop for a specific event that already happened; it does nothing for exposures that come later. If risk is ongoing rather than a one-time event, the guidelines call for planning a transition from PEP to PrEP — pre-exposure prophylaxis — as the course finishes 1Ref 1Centers for Disease Control and Prevention (2025).Antiretroviral Postexposure Prophylaxis After Sexual, Injection Drug Use, or Other Nonoccupational Exposure to HIV - CDC Recommendations, United States, 2025.That the first PEP dose should ideally be within 24 hours and no later than 72 hours after exposure, that PEP is a 28-day course with baseline HIV testing and follow-up at 4-6 and 12 weeks, and that transition to PrEP is planned for ongoing risk.. The two tools are built for different situations and are strongest when the right one is matched to the risk.
This matters because PrEP, taken as prescribed, reduces the risk of getting HIV from sex by about 99% 3Ref 3Centers for Disease Control and Prevention (2024).Clinical Guidance for PrEP.That PrEP taken as prescribed reduces the risk of getting HIV from sex by about 99% and is ongoing before-exposure prevention distinct from PEP. — a level of steady, before-the-fact protection that a 28-day emergency course is not designed to provide. If you find yourself needing PEP more than once, that is usually the signal to read about how well does prep work and to talk with a clinician about ongoing prevention instead of repeated emergency courses.
How you confirm it worked: testing and follow-up
PEP comes with a testing schedule, and following it is how you and a clinician confirm the outcome. A baseline HIV test is done when PEP starts, with follow-up testing after the course — commonly around 4-6 weeks and again at 12 weeks 1Ref 1Centers for Disease Control and Prevention (2025).Antiretroviral Postexposure Prophylaxis After Sexual, Injection Drug Use, or Other Nonoccupational Exposure to HIV - CDC Recommendations, United States, 2025.That the first PEP dose should ideally be within 24 hours and no later than 72 hours after exposure, that PEP is a 28-day course with baseline HIV testing and follow-up at 4-6 and 12 weeks, and that transition to PrEP is planned for ongoing risk.. The follow-up is not a formality; it is how an infection would be caught early if PEP did not fully work.
The reason for the spacing is the test window period — the gap between exposure and when a test can reliably detect HIV. Depending on the test, that window runs from about 10 days for a nucleic-acid test to as long as 90 days for some rapid antibody tests 4Ref 4Centers for Disease Control and Prevention (2024).Clinical Testing Guidance for HIV.That HIV test window periods vary by test type, from about 10-33 days for a nucleic-acid test to as long as 90 days for some rapid antibody tests.. A single early negative is reassuring but not final, which is why the later test matters. HIV testing can be done confidentially, and knowing that ahead of time removes one barrier to following through.
Where and how fast to get PEP
Because the window is measured in hours, where you go matters as much as the decision to go. Emergency rooms, urgent-care clinics, and sexual-health clinics can all evaluate an exposure and start PEP, and after a sexual assault an emergency room can provide it alongside other care. The first dose should be taken as soon as possible within 72 hours 1Ref 1Centers for Disease Control and Prevention (2025).Antiretroviral Postexposure Prophylaxis After Sexual, Injection Drug Use, or Other Nonoccupational Exposure to HIV - CDC Recommendations, United States, 2025.That the first PEP dose should ideally be within 24 hours and no later than 72 hours after exposure, that PEP is a 28-day course with baseline HIV testing and follow-up at 4-6 and 12 weeks, and that transition to PrEP is planned for ongoing risk., so the practical goal is to be seen the same day rather than waiting for an appointment that suits your schedule.
If one clinic cannot start PEP quickly, it is reasonable to ask directly where the fastest option is, since some settings keep the medicines on hand and others do not. PEP is built for exactly this kind of emergency, one-time exposure 2Ref 2Centers for Disease Control and Prevention (2024).Clinical Guidance for PEP.That PEP must be started as soon as possible and within 72 hours of exposure, is taken for 28 days, and is for emergency one-time exposures rather than ongoing prevention.. Cost and confidentiality are common worries, and they are worth raising up front — but neither is a reason to let the 72-hour clock run out while deciding, since assistance and confidential options usually exist.
PEP within the wider set of HIV prevention
PEP is one layer among several, and the layers work best together rather than in competition. Consistent, correct condom use is itself highly effective at preventing HIV 5Ref 5Centers for Disease Control and Prevention (2024).Condom Use: An Overview.That consistent, correct condom use is highly effective at preventing HIV and infections spread by genital fluids., and it also covers other infections that PEP and PrEP do not touch. For couples where one partner has HIV, an undetectable viral load on treatment means effectively no risk of passing HIV to a partner through sex — the principle known as undetectable equals untransmittable 6Ref 6Centers for Disease Control and Prevention (2024).Undetectable = Untransmittable.That a person with HIV who maintains an undetectable viral load on treatment has effectively no risk of sexually transmitting HIV to partners..
Seen together, the pieces cover different moments: condoms and U=U reduce risk during sex, PrEP protects a person at ongoing risk before exposure, and PEP is the emergency option after a specific exposure. None of them replaces the others. PEP's job is narrow and time-bound, and it does that job well when it is started fast and finished in full.
Common questions
Related
Sexual health
PEP or PrEP — After the Risk vs Before ItSexual health
HIV PEP: The 72-Hour Window ExplainedSexual health
Where to Get PEP Tonight — ER, Urgent Care, and After Hours
Say it back
How would you explain this to someone you love?
Two or three sentences, just as you’d say it. Gale reflects back what you focused on — a mirror, not a quiz.
PEP is time-sensitive — act within 72 hours
- —A possible HIV exposure — condom failure, shared needle, or sexual assault — within the last 72 hours
- —It has been close to 72 hours since a possible exposure and PEP has not yet started
- —Fever, sore throat, rash, and swollen glands in the weeks after an exposure — possible acute HIV symptoms that need testing
- —Side effects during PEP severe enough that you are considering stopping the course
A possible HIV exposure is time-sensitive: seek care the same day — an emergency room, urgent care, or sexual-health clinic can start PEP within the 72-hour window. After a sexual assault, an emergency room can provide PEP along with other care.
This is general health information, not medical advice. Whether PEP is right for a specific exposure, and which regimen to use, is a decision for a clinician who can evaluate the situation promptly.
References
- 1.Centers for Disease Control and Prevention (2025). Antiretroviral Postexposure Prophylaxis After Sexual, Injection Drug Use, or Other Nonoccupational Exposure to HIV - CDC Recommendations, United States, 2025. MMWR Recommendations and Reports, Vol. 74, No. 1. doi:10.15585/mmwr.rr7401a1That the first PEP dose should ideally be within 24 hours and no later than 72 hours after exposure, that PEP is a 28-day course with baseline HIV testing and follow-up at 4-6 and 12 weeks, and that transition to PrEP is planned for ongoing risk.
- 2.Centers for Disease Control and Prevention (2024). Clinical Guidance for PEP. CDC HIV Nexus. linkThat PEP must be started as soon as possible and within 72 hours of exposure, is taken for 28 days, and is for emergency one-time exposures rather than ongoing prevention.
- 3.Centers for Disease Control and Prevention (2024). Clinical Guidance for PrEP. CDC HIV Nexus. linkThat PrEP taken as prescribed reduces the risk of getting HIV from sex by about 99% and is ongoing before-exposure prevention distinct from PEP.
- 4.Centers for Disease Control and Prevention (2024). Clinical Testing Guidance for HIV. CDC HIV Nexus. linkThat HIV test window periods vary by test type, from about 10-33 days for a nucleic-acid test to as long as 90 days for some rapid antibody tests.
- 5.Centers for Disease Control and Prevention (2024). Condom Use: An Overview. CDC (cdc.gov/condom-use). linkThat consistent, correct condom use is highly effective at preventing HIV and infections spread by genital fluids.
- 6.Centers for Disease Control and Prevention (2024). Undetectable = Untransmittable. CDC Global HIV and TB. linkThat a person with HIV who maintains an undetectable viral load on treatment has effectively no risk of sexually transmitting HIV to partners.
6 sources, numbered by first appearance. General health information, not medical advice. AI-assisted editorial content — citations link their sources. Editorial policy