Sexual health

PEP or PrEP — After the Risk vs Before It

Save

One is for after a specific risk; the other is for a life where risk keeps recurring. Knowing which question you're actually asking — 'something already happened' versus 'this keeps coming up' — is the fastest way to the right tool, and the two can hand off to each other.

Last updated: July 2026

Talk to a clinician

Gale can help you find a clinician in your state and request a visit.

Find care →

What's the actual difference between PEP and PrEP?

The difference is timing. PEP — post-exposure prophylaxis — is taken after a possible HIV exposure has already happened, and it is an emergency, time-limited course that has to start fast 1. PrEP — pre-exposure prophylaxis — is taken before and during stretches of ongoing risk, as a continuing routine that keeps a protective drug level in the body 2. Same goal, preventing HIV, approached from opposite ends of the exposure.

PEP is for a risk that already happened; PrEP is for risk that keeps happening.

PEPPrEP
The question it answersSomething may have exposed meThis keeps coming up
When it startsAs soon as possible, within 72 hours 1Any time before exposures are expected
How long it lastsA single 28-day course 1Continuously, as long as risk continues
Best fitA one-off or emergency exposure 1Recurring or ongoing risk 2

The practical read: if a specific thing already happened in the last three days, the PEP clock is running. If the same kind of risk is likely next month too, that is a PrEP conversation.

When PEP is the right choice

PEP is the tool when a specific exposure has already happened — a condom broke, injection equipment was shared, or a sexual assault occurred — and you are still inside the 72-hour window. The first dose is most effective the sooner it is taken: ideally within 24 hours, and no later than 72 hours after the exposure, then continued for a 28-day course 3. Because effectiveness drops with every hour of delay, the clinical guidance is to seek care the same day rather than wait to see if anything develops.

Starting PEP includes a baseline HIV test and follow-up testing — commonly around 4 to 6 weeks and again at 12 weeks — to confirm the exposure did not lead to infection 3. This is also the route for PEP after sexual assault, which an emergency department can provide alongside other care. If the risk that led to PEP is likely to recur, the 2025 CDC recommendations fold a plan to move onto PrEP into the end of the 28-day course 3.

When PrEP is the right choice

PrEP fits a life where HIV risk recurs rather than arriving once — an ongoing relationship with a partner who has HIV or whose status is unknown, recurring condomless sex, or sharing injection equipment. Taken as prescribed, oral PrEP lowers the chance of getting HIV from sex by about 99% and from injection drug use by at least 74% 2. It comes as a daily pill and, for some people, as a long-acting injection given in a clinic 2.

PrEP is taken before and during risk — it does nothing for an exposure that already happened.

The federal PrEP guideline goes further than 'available on request': it recommends that providers tell every sexually active adolescent and adult that PrEP exists, so the option is offered rather than waited for 4. Choosing between the daily pill and the injection — the trade-offs people weigh in comparing PrEP options like Truvada, Descovy, and Apretude — is part of that conversation, and it is worth reading up on how well PrEP works before starting.

How PEP hands off to PrEP

PEP and PrEP are not an either/or across a lifetime — one often leads straight into the other. When exposures are likely to keep happening, the 2025 CDC recommendations build a transition to PrEP into the final days of a PEP course, so protection continues without a gap between the two 3. Someone who starts PEP after one scare and realizes the risk is ongoing can move onto PrEP as the 28-day course ends.

That handoff is a planned, common sequence rather than an improvisation. It also comes with a practical to-do: PrEP has its own follow-up, and knowing the PrEP lab schedule ahead of time makes the switch smoother, since the first PrEP visit repeats an HIV test and sets up ongoing monitoring.

What neither PEP nor PrEP protects against

Neither PEP nor PrEP does anything about other sexually transmitted infections — both act only on HIV. Oral PrEP taken exactly as prescribed still leaves chlamydia, gonorrhea, syphilis, and the rest on the table, which is why STI screening continues alongside it 2. Condoms and regular testing keep doing work that PrEP was never designed to do.

A separate, newer tool covers some of that gap. Doxy-PEP is a single dose of doxycycline taken within 72 hours after sex, offered to gay and bisexual men and transgender women who had a bacterial STI — syphilis, chlamydia, or gonorrhea — in the prior year 5. It sits next to HIV prevention rather than replacing it, and combining prevention tools like PrEP and doxy-PEP is a question worth raising with a prescriber.

U=U — the third route to preventing HIV

There is a third route to preventing HIV that uses neither PEP nor PrEP: treatment taken by the partner who has HIV. A person with HIV who takes antiretroviral therapy and maintains an undetectable viral load has effectively no risk of passing HIV to sexual partners — the principle public-health agencies summarize as Undetectable = Untransmittable, or U=U 6. For many couples, that single fact reshapes the whole decision.

==term: U=U (Undetectable = Untransmittable) means an HIV-positive partner with a durably undetectable viral load does not transmit HIV sexually 6.==

In a serodifferent couple — one partner HIV-positive, one HIV-negative — PrEP, U=U, or both together are all reasonable layers, and PrEP when your partner is HIV-positive is a common starting point for that conversation. The right mix depends on viral load, consistency, and what each person wants.

Common questions

PEP works best the sooner it begins. The first dose is ideally taken within 24 hours of a possible exposure, and it is no longer started after 72 hours have passed. Because the window is short and effectiveness fades with delay, the usual advice is to seek care the same day rather than wait to see whether anything develops.

PrEP is designed for ongoing or anticipated risk rather than a single past event. For a specific exposure that already happened, PEP is the matching tool. Some people do use PrEP around predictable periods of higher risk, but starting and stopping it has its own timing and monitoring, which a prescriber can map out in advance.

No. Both act only on HIV. Someone on PrEP or finishing PEP can still get chlamydia, gonorrhea, syphilis, herpes, and others, so condoms and routine STI screening still matter. Doxy-PEP is a separate option aimed at some bacterial STIs for specific groups, and it does not replace HIV prevention.

Yes, and it is a common, planned move. If the risk that led to PEP looks likely to keep happening, current CDC recommendations build a transition onto PrEP into the end of the 28-day PEP course, so there is no gap in protection. The first PrEP visit repeats an HIV test and starts the ongoing monitoring PrEP needs.

They are not really competing. Each is highly effective for its own situation: PrEP taken consistently prevents the large majority of HIV infections from ongoing exposures, and PEP started quickly prevents infection after a specific one. The better tool is simply the one that matches whether the risk is ahead of you or behind you.

For someone taking PrEP consistently as prescribed, ongoing protection is already in place, so a separate PEP course is usually not the answer. Gaps in PrEP — missed doses or a recent restart — change that, so it is worth describing exactly what happened to a clinician, who can decide whether added protection is warranted.

Related

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.

Talk to a clinician

Gale can help you find a clinician in your state and request a visit.

Find care →

The PEP clock — when timing decides everything

  • A possible HIV exposure — a broken condom, shared needle, or sexual assault — within the past 72 hours, while PEP is still an option and every hour of delay lowers how well it works
  • Fever, sore throat, rash, muscle aches, and swollen lymph nodes in the two to four weeks after a possible exposure, which can be signs of new (acute) HIV infection
  • A spreading rash, facial or throat swelling, or trouble breathing after starting PEP or PrEP, which can signal a serious medication reaction

For a possible exposure within the last 72 hours, an emergency department or urgent care can start PEP the same day, and after a sexual assault a hospital emergency department can provide it alongside other care. Call 911 for trouble breathing, throat swelling, or a severe allergic reaction.

This article explains how PEP and PrEP differ; it is general information, not medical advice, and it does not replace a conversation with a clinician who can weigh your exposure, history, and options.

References

  1. 1.Centers for Disease Control and Prevention (2024). Clinical Guidance for PEP. CDC HIV Nexus. linkThat HIV PEP is an emergency, time-limited course that must be started as soon as possible and within 72 hours of exposure and is taken as a 28-day course for one-time exposures.
  2. 2.Centers for Disease Control and Prevention (2024). Clinical Guidance for PrEP. CDC HIV Nexus. linkThat oral PrEP taken as prescribed lowers HIV risk from sex by about 99% and from injection drug use by at least 74%, comes as a daily pill or a long-acting injection, and does not protect against other STIs.
  3. 3.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 nonoccupational PEP is started ideally within 24 hours and no later than 72 hours, runs 28 days with baseline and follow-up HIV testing, and includes a transition-to-PrEP plan for ongoing risk.
  4. 4.Centers for Disease Control and Prevention / US Public Health Service (2021). Preexposure Prophylaxis for the Prevention of HIV Infection in the United States - 2021 Update: A Clinical Practice Guideline. CDC (stacks.cdc.gov). linkThat the U.S. PrEP clinical practice guideline recommends providers inform all sexually active adolescents and adults about PrEP.
  5. 5.Bachmann LH, Barbee LA, Chan P, et al. (Centers for Disease Control and Prevention) (2024). CDC Clinical Guidelines on the Use of Doxycycline Postexposure Prophylaxis for Bacterial Sexually Transmitted Infection Prevention, United States, 2024. MMWR Recommendations and Reports, Vol. 73, No. 2. doi:10.15585/mmwr.rr7302a1That doxy-PEP is a single dose of doxycycline taken within 72 hours after sex, offered to gay and bisexual men and transgender women who had a bacterial STI in the prior 12 months.
  6. 6.Centers for Disease Control and Prevention (2024). Undetectable = Untransmittable. CDC Global HIV and TB. linkThat a person with HIV on antiretroviral therapy with an undetectable viral load has effectively no risk of sexually transmitting HIV (U=U).

6 sources, numbered by first appearance. General health information, not medical advice. AI-assisted editorial content — citations link their sources. Editorial policy