Skip to content

Sexual Health & STIs

PrEP and PEP: How HIV Prevention Medication Works

By PhillyCondom Editorial TeamUpdated 5 min read
variety of sliced fruits

Alongside condoms, HIV prevention medication has transformed how people protect themselves from HIV. Two tools — PrEP and PEP — work in very different situations, and understanding the difference helps you choose the right approach for your circumstances. Here is a plain-English overview of how each works, who they are for, and how they fit alongside other prevention methods.

Both PrEP and PEP are highly effective when used correctly, but neither is a do-it-yourself product. Both require a healthcare provider’s assessment, prescription, and follow-up, and both protect against HIV only — not the full range of sexually transmitted infections. With that in mind, here is what to know.

For related symptoms, testing and treatment, see our guide to Is a UTI an STD?.

PrEP (pre-exposure prophylaxis)

PrEP is medication taken before potential exposure to prevent HIV. Taken as prescribed, it is highly effective at stopping HIV from establishing an infection. It is one of the most reliable HIV prevention medication options available today, and many people use it for months or years as part of an ongoing prevention plan.

PrEP is often considered by people whose partners are HIV-positive, people with multiple partners, anyone who finds consistent condom use difficult, and others at higher risk. A provider will usually confirm you are HIV-negative before starting, then arrange regular check-ins. These visits typically include HIV testing, screening for other STIs, and checks on kidney health, because ongoing monitoring is part of using PrEP safely.

  • Timing: Taken on an ongoing schedule so the medication is already in your system before any exposure.
  • Effectiveness: Very high when taken consistently as prescribed; missing doses lowers protection.
  • Monitoring: Regular provider visits and testing are part of the package.

PEP (post-exposure prophylaxis)

PEP is emergency medication taken after a possible exposure — for example, a condom breaking with a partner of unknown status, a needle-stick, or a sexual assault. It must be started as soon as possible, ideally within 72 hours of the exposure, and is then taken for 28 days. The sooner it begins, the better it works, so this is a situation where acting quickly matters.

PEP is designed for emergencies, not routine use. If you find yourself repeatedly needing PEP, that is a strong sign to talk with a provider about whether ongoing PrEP would suit you better. To access PEP quickly, contact a sexual health clinic, urgent care, or an emergency department and explain that you may have been exposed to HIV.

  • Timing: Start within 72 hours of exposure — the earlier the better.
  • Course: Taken daily for 28 days; finishing the full course matters.
  • Purpose: Emergency protection, not a substitute for ongoing prevention.

Important: neither replaces condoms

PrEP and PEP protect against HIV only — not other STIs like gonorrhea, chlamydia, or syphilis. Condoms remain essential for broader protection and are still the simplest way to reduce the risk of many infections at once. Used together, condoms and HIV prevention medication cover more ground than either alone. See what condoms protect against and our testing guide for more on building a layered approach.

How well do they actually work?

Both tools are highly effective, but their effectiveness depends heavily on how they are used. PrEP offers strong, reliable protection when taken consistently as prescribed; the protection it provides drops off when doses are missed, which is why building it into a routine matters. PEP, taken correctly and started promptly, also works well to reduce the chance of HIV taking hold after a single exposure — but every hour of delay after the exposure lowers its odds of success. In short, consistency for PrEP and speed for PEP are the factors that make the biggest difference.

It is also worth remembering that neither tool is “set and forget.” PrEP comes with regular testing and check-ins precisely so that any issues are caught early, and PEP is followed by HIV testing afterward to confirm the outcome. These follow-ups are a feature, not a hassle — they are part of what makes the medication safe and trustworthy.

Common questions about side effects and access

Some people worry about side effects or about how to access these medications. Many users tolerate them well, and any mild effects, where they occur, often settle over time — but this is exactly the kind of thing to discuss with your provider, who can talk through what to expect for your situation. On access, sexual health clinics are usually the most knowledgeable starting point for PrEP, while clinics, urgent care, and emergency departments can all help with PEP when time is critical. If cost or access is a barrier, ask a clinic about programs that may help, since many areas have support available.

Choosing what fits your situation

Deciding between PrEP, PEP, and condoms is not really an either-or choice — many people combine them. PrEP suits people with an ongoing, foreseeable level of risk who want steady background protection. PEP is the right tool when an unexpected exposure has already happened. Condoms remain valuable in both cases for protection against the wider range of STIs. A provider can help you weigh your circumstances, lifestyle, and preferences and build a plan that is realistic to stick with. The best choice is the one you can use consistently and that matches the kind of risk you actually face.

FAQ

Is PrEP the same as taking PEP every day?

No. They use prevention medication in different ways and on different schedules. PrEP is an ongoing, planned approach taken before exposure, while PEP is a short emergency course started after a possible exposure. A provider will advise which is appropriate for you.

How quickly do I need to start PEP?

As soon as possible, and ideally within 72 hours of the possible exposure. After that window it is generally considered too late to be effective, so treat a possible exposure as urgent and contact a clinic or emergency service right away.

Do PrEP or PEP protect against other STIs?

No. They are HIV-specific. You can still get gonorrhea, chlamydia, syphilis, and other infections, which is why condoms and regular STI testing remain important even when using these medications.

Can I get these without seeing a provider?

No. Both require a healthcare provider’s assessment and prescription, along with HIV testing and follow-up. This monitoring is there to keep you safe and confirm the medication is working as intended.

This article is for general information and is not medical advice.