prevention

PrEP vs PEP: What's the Difference, Which to Use When, and How to Access Them

Published 30 Jul 2026 14 min read
PrEP vs PEP: What's the Difference, Which to Use When, and How to Access Them

In an era with more HIV prevention options, two frequently heard and often confused terms are PrEP and PEP. Both are antiretroviral medicines used to prevent HIV, but with completely different usage and timing. Many are unsure which they should use or when. Correct understanding of this matters, because using the wrong one at the wrong time can mean missing the chance to prevent infection. This article explains in detail what PrEP and PEP are, how they differ, who they suit, when to use them, their effectiveness and side effects, and access in Thailand, so you can decide to care for yourself confidently and correctly.

What is PrEP

PrEP stands for Pre-Exposure Prophylaxis — taking antiretroviral medicine consistently to prevent HIV in people who are not yet infected. The mechanism is that the medicine builds a protective level in the blood and tissues, so if HIV enters the body, it cannot establish and multiply into a permanent infection. PrEP suits people with ongoing HIV risk, such as those with multiple partners, a partner with HIV, or inconsistent condom use. The key point of PrEP is that it must be taken before a risk and continuously during periods of risk. When taken correctly, PrEP is highly effective at preventing sexual transmission. Read more basics in what PrEP is.

What is PEP

PEP stands for Post-Exposure Prophylaxis — taking antiretroviral medicine after a risk of HIV, to stop any virus that entered from establishing. PEP is emergency medicine that must start as soon as possible and within 72 hours of the risk. After that, it must be taken daily for 28 days. PEP is for specific unplanned situations, such as a broken condom, unprotected sex with someone of unknown status, sexual assault, or risky blood contact like a needlestick. Unlike PrEP, PEP is a correction after the event, not advance prevention. Read examples of PEP use in what to do when a condom breaks and needlestick HIV risk.

How PrEP and PEP differ

Although both are antiretroviral medicines to prevent HIV, the main difference is in timing and usage.

Infographic comparing PrEP and PEP: PrEP taken before risk continuously for people with ongoing risk, while PEP starts within 72 hours after a risk and is taken 28 days for specific events
PrEP taken in advance continuously · PEP emergency within 72h after a risk, taken 28 days.

PrEP is taken before a risk and continuously during periods of risk, suiting people with ongoing risk who can plan ahead. PEP starts after a risk within 72 hours, taken briefly for 28 days then stopped, suiting specific unplanned events. Another view: PrEP is proactive prevention done continuously, while PEP is an emergency response to an event that already happened. Understanding this difference helps you use each at the right time. Anyone needing PEP frequently may be signaled to consider switching to PrEP for more continuous protection.

Which to use when

The choice depends on each person's situation and risk pattern.

Infographic of choosing: ongoing risk use PrEP, recent risk within 72 hours use PEP, over 72 hours test as scheduled, and if already infected start ARV
Choosing: ongoing risk→PrEP · recent risk 72h→PEP · over 72h→test · already infected→ARV.
SituationUseReason
Ongoing riskPrEPContinuous advance protection
Recent risk within 72hPEPEmergency medicine, earlier is better
Over 72h, no new riskTest for HIV as scheduledPEP not recommended past the window
Using PEP frequentlyConsider switching to PrEPOngoing risk should be prevented in advance
Tested positiveAntiretrovirals (ARV)Enter treatment, not prevention

If you're unsure which situation applies to you, consulting a doctor or clinic staff helps assess and advise best. And if you recently had a risk, don't delay past 72 hours, because time is a key factor for PEP.

Who PrEP suits

PrEP suits people with ongoing HIV risk. Groups to consider include those with a partner who has HIV, especially if the partner is not yet treated to undetectable; those with multiple partners or unknown partner status; those who don't use condoms consistently; those with frequent STIs indicating risky behavior; and those who use drugs with sex. However, PrEP is not for everyone, and the decision should be made with a doctor to assess suitability, risk, and readiness to take medicine consistently. Read more in who should take PrEP.

When PEP is used

PEP is used in emergencies with a recent, unplanned HIV risk. Common situations include a condom breaking or slipping during sex, unprotected sex with someone infected or of unknown status, sexual assault, and risky blood contact — such as healthcare workers with a needlestick or blood splashed onto mucous membranes. In all these, the most important thing is speed, because PEP must start within 72 hours and the earlier the better. If these happen, go to a clinic or hospital right away to be assessed and get the medicine — don't wait for symptoms or delay.

Why PEP's timeframe matters

PEP's 72-hour timeframe is not arbitrary but comes from the nature of HIV infection. After the virus enters, there is a window when it is still at the contact site and has not fully spread into the bloodstream and lymph system. Starting antiretrovirals in this window helps stop the virus before it establishes permanently. But if more than 72 hours pass, the virus has usually spread, so PEP can no longer prevent infection. For this reason, the sooner you start, the higher the chance the medicine works. Starting within 24 hours is best, and it should never exceed 72 hours. To estimate the timing, use our PEP time calculator.

Effectiveness of each

Both PrEP and PEP are highly effective at preventing HIV when used correctly. PrEP, taken consistently as advised, greatly reduces the risk of sexual transmission; effectiveness depends heavily on consistency, and missing doses reduces protection. PEP, started early within the timeframe and completed for 28 days, significantly reduces the chance of infection. Although not 100% preventive, it is a valuable tool in emergencies. What both share is that effectiveness depends on correct, consistent use — whether daily for PrEP or completing the full course for PEP.

Side effects and safety

The antiretrovirals used in both PrEP and PEP are very safe under medical supervision. Side effects are usually mild and early, such as nausea, headache, dizziness, fatigue, or stomach pain, which usually improve as the body adjusts within a few days to two weeks. For PrEP, long-term use includes periodic health monitoring, such as kidney function, for safety. PEP, used for only 28 days, also has follow-up. If side effects are bothersome, consult a doctor about adjusting — don't stop on your own, as it reduces protection. Read more in PrEP side effects.

How to access PrEP and PEP in Thailand

In Thailand, both PrEP and PEP are accessible through public hospitals, specialized HIV clinics, and many community clinics. For PEP, an emergency, a hospital emergency room is accessible any time, including at night or on holidays. PrEP is available at many places, with entitlements or programs helping eligible people get it at no cost. Conditions and access may vary by location, so ask in advance what services and entitlements a place offers. Read more about getting free PrEP under coverage, and to find a place, you can find a clinic near you.

Do PrEP and PEP prevent other STIs

An important thing to understand is that both PrEP and PEP prevent HIV only — not other STIs like syphilis, gonorrhea, herpes, or hepatitis, and not pregnancy. So using condoms too is still beneficial for preventing other conditions and pregnancy. Also, people on PrEP have periodic health and STI testing, which helps detect and treat other conditions early. Viewing prevention holistically, covering more than just HIV, is the best approach. Read more in what to test in an HIV and STI check-up.

If you test positive

Both PrEP and PEP are only for people who are HIV-negative. If you test positive, care shifts to treatment with antiretrovirals (ARV) — taking medicine continuously to control the virus. The good news is that modern ARV treatment is highly effective, keeping people healthy with a life expectancy close to the general population, and once undetectable, they don't transmit HIV sexually (U=U). Treatment is also free under coverage in Thailand. So whatever the test result, there is always an appropriate care path. Read more in free ARV under coverage.

Frequently asked questions

I'm already on PrEP — do I still need PEP

If you take PrEP consistently as advised, you already have continuous protection and generally don't need PEP. But if you missed several doses or have doubts, consult a doctor.

Are PEP and PrEP the same medicine

They use similar antiretrovirals, but usage and timing differ — PrEP is taken in advance, PEP is emergency after a risk.

Can I use PEP often

PEP is designed for occasional emergencies. If you need it often, it means ongoing risk, and you should consider switching to PrEP.

It's been 3 days since the risk — can I still use PEP

PEP must start within 72 hours (3 days). If near the limit, go to a clinic immediately; if past it, plan to test for HIV as scheduled.

Do PrEP and PEP make HIV test results wrong

These medicines may affect testing timing, so a doctor schedules follow-up testing to confirm your status accurately.

Do I still need condoms if I use PrEP or PEP

Yes, because both prevent HIV only, not other STIs or pregnancy.

Summary

PrEP and PEP are highly effective HIV prevention tools used at different times. PrEP is taken in advance continuously for people with ongoing risk, while PEP is emergency medicine that must start within 72 hours after a risk and be completed for 28 days. The choice depends on the situation — ongoing risk should use PrEP, a recent emergency should use PEP, and frequent PEP use should prompt switching to PrEP. Both prevent HIV only, so use them with other protection, and if infected, ARV is available free under coverage. To start or consult, find a clinic near you.

References and further reading

← Back to articles

Related articles