Skip to content
Clarity
LGBTQ+ Health

What Is PEP? Emergency HIV Prevention

PEP is emergency HIV medicine taken within 72 hours of a possible exposure. Here is what it is, how the 28-day course works, and where to get it.

4 min read

Abstract topic illustration in the Clarity palette

By Clarity Editorial Team

Reviewed for clarity and accuracy by our editorial team.

Published June 5, 2026

This article is grounded in guidance from authorities such as the WHO, CDC, NHS, and ACOG (see references). Independent review by a named healthcare professional is part of our ongoing editorial process.

Advertisement

If you think you may have been exposed to HIV, you might wonder: what is PEP HIV care, exactly? PEP, or post-exposure prophylaxis, is a safe, effective prescription medicine taken after a possible exposure to reduce the risk of getting HIV. It must be started within 72 hours.

PEP matters across many communities, and it is an important emergency option in LGBTQ+ sexual health. Knowing it exists, and acting fast, can change an outcome.

What PEP is and how it works

PEP stands for post-exposure prophylaxis. According to HIV.gov, it is a prescription medicine you take after a possible exposure to HIV to lower your risk of infection. WHO describes PEP as antiretroviral drugs given to people without HIV after a possible exposure.

The medicine works by stopping HIV from establishing a permanent infection in the body during the short window right after exposure. That is why timing is everything.

PEP is meant for emergencies, not as a routine plan. If you find yourself needing it repeatedly, that is a signal to talk with a provider about ongoing prevention instead.

When to consider PEP

PEP may be appropriate for someone who is HIV-negative, or whose status is unknown, after a possible exposure. HIV.gov lists situations that can warrant PEP, including:

  • Condomless sex, or a condom breaking, with a partner of unknown or unsuppressed HIV status
  • Sharing needles or injection equipment
  • Sexual assault
  • Certain occupational exposures, such as a needlestick injury in a healthcare setting

How fast you need to act

The CDC is direct on this point: PEP must be started within 72 hours of a possible exposure, and the sooner you start, the better. The NHS recommends starting ideally within 24 hours.

If you think you have been exposed, do not wait for a regular appointment. Contact one of these right away:

  • A healthcare provider who knows your history
  • An emergency room or urgent care clinic
  • A sexual health clinic (in the UK, PEP is available from sexual health clinics and A&E)

Telling a clinician what happened and when helps them decide quickly whether PEP is right for you.

What taking PEP involves

If PEP is prescribed, you take HIV medicine every day for 28 days, as confirmed by both the CDC and HIV.gov. Finishing the full course as directed is essential; stopping early can reduce how well it protects you.

Your care team will also arrange follow-up, which typically includes HIV testing at set intervals to confirm your status after the course. Side effects are usually manageable, and your provider can help if any arise.

PEP versus PrEP

PEP and PrEP are easy to confuse, but they serve different roles. WHO frames it simply: antiretroviral medicine given before possible exposure is PrEP, and given after an exposure it is PEP.

  • PEP is reactive: taken after a possible exposure, as a 28-day emergency course.
  • PrEP is proactive: taken on an ongoing basis to prevent HIV before any exposure.

If you have ongoing possible exposures, repeated PEP is not the answer. A provider may suggest PrEP as a more sustainable approach. You can learn more about layered prevention in our guide to safer sex and prevention for LGBTQ+ people.

Where PEP fits in your overall sexual health

PEP is one tool among several. Regular, inclusive STI testing helps you know your status and catch infections early. Understanding the science of treatment as prevention, summarized in our piece on Undetectable = Untransmittable, shows how effective HIV treatment protects partners too.

The bottom line

PEP is emergency HIV medicine that can substantially lower your risk of infection after a possible exposure, but only if you act fast. Start it within 72 hours, ideally within 24, and take the full 28-day course. PEP is for emergencies; for ongoing protection, talk with a knowledgeable healthcare provider about PrEP and other prevention options. If you think you have been exposed today, reach out to a clinic, emergency room, or provider now.

Advertisement

Frequently asked questions

How long after HIV exposure can you take PEP?

PEP must be started as soon as possible and always within 72 hours (3 days) of a possible exposure. The sooner you begin, the better it works, so ideally within 24 hours. After 72 hours it is much less effective and usually not recommended.

Where can I get PEP for HIV?

Contact a healthcare provider, emergency room, urgent care, or sexual health clinic right away. In the UK, PEP is available from sexual health clinics and A&E. Because timing is urgent, do not wait for a routine appointment.

Is PEP the same as PrEP?

No. PEP is taken after a possible exposure as a 28-day emergency course. PrEP is taken before exposure on an ongoing basis to prevent HIV. People with frequent possible exposures should ask a provider about PrEP rather than repeated PEP.

Does PEP guarantee you will not get HIV?

No. PEP greatly reduces the risk of HIV when started quickly and taken correctly for the full 28 days, but it is not 100 percent effective. Follow-up testing is part of the process, and PEP does not replace ongoing prevention.

References

  1. HIV.gov — Post-Exposure Prophylaxis (PEP)
  2. CDC — PEP (Let's Stop HIV Together)
  3. NHS — HIV and AIDS
  4. WHO — HIV and AIDS Fact Sheet

Advertisement

Advertisement

Related reading

Part of our LGBTQ+ Sexual Health topic.