PEP After a Possible HIV Exposure: What to Do in the First 72 Hours
PEP (post-exposure prophylaxis) is emergency medicine that can prevent HIV after a possible exposure. It has to be started within 72 hours, and sooner is better. CDC puts it plainly: every hour counts. If you think you were exposed in the last three days, go now to a sexual health clinic, an urgent care center or an emergency room, or call your own provider. Don't wait for a weekday appointment.
The short version: PEP is a course of HIV medicines you start within 72 hours of a possible exposure and take every day for 28 days. A provider tests you for HIV first, decides with you whether PEP fits, and books follow-up HIV tests, which HIV.gov puts at 4 to 6 weeks and 3 months. PEP is for emergencies. If exposures are likely to happen again, PrEP is the ongoing option to ask about.
This guide follows CDC, HIV.gov and the NHS, all checked on November 24, 2026. It isn't medical advice and can't tell you whether you need PEP; only a clinician can. With World AIDS Day on December 1, it's a good week to learn this before you need it.
What PEP is
HIV.gov describes PEP as a combination of HIV medicines taken by mouth very soon after a possible exposure, which works by stopping the virus from causing an infection.
- The clock matters. HIV.gov says PEP must be started within 72 hours, but it is better to start even sooner. CDC's 2025 clinical guidelines call an exposure to HIV a medical emergency and tell clinicians to give the first dose as soon as possible, ideally within 24 hours.
- It's a full course. Once you start, HIV.gov says to take PEP every day for 28 days, even if you feel fine.
- It's not a guarantee. HIV.gov says PEP is effective when taken correctly but not 100% effective.
- It's for emergencies. CDC says PEP is not the right choice for people who may be exposed to HIV often, and isn't a substitute for regular prevention like condoms and safe injection practices.
Your provider chooses the medicines, so this guide doesn't list drugs or doses.
What counts as a possible exposure
HIV.gov says PEP may be right for you if you're HIV-negative or don't know your status, and you think you may have been exposed in the last 72 hours through:
- Sex. For example, condomless sex or a broken condom with a partner whose HIV status is unknown, or a partner with HIV who doesn't have a suppressed viral load, when you weren't using PrEP.
- Shared needles, syringes or other equipment used to inject drugs.
- Sexual assault.
- A workplace exposure, such as a needlestick injury. HIV.gov notes that workplace transmission is extremely rare.
In the UK, the NHS gives the same 72-hour window and says the virus can be passed on through vaginal, anal or oral sex without a condom or by sharing needles with someone who has HIV.
Whether your situation calls for PEP depends on details a clinician weighs. CDC's guidelines say that when the other person's HIV status isn't known, it's decided case by case. If you're unsure, go anyway and let them assess it.
If you were sexually assaulted, PEP is part of the care you can ask for, and the paying section below covers help with costs.
Where to get PEP
In the US
CDC says to talk right away to your health care provider, an emergency room doctor or an urgent care provider. HIV.gov adds your local health department and health centers, and its HIV Services Locator lists PEP providers near you. HIV.gov also says pharmacists can prescribe PEP in a number of states, including California, Florida, Illinois, New York and Virginia; its page has the full list.
Nights and weekends count toward the 72 hours, so if clinics are closed, go to an emergency room or urgent care. For a workplace exposure, CDC says to report it at work and get medical care immediately.
In the UK
The NHS says to go to a sexual health clinic if you think you've been exposed to HIV in the last 72 hours, and that staff there should be able to offer you emergency HIV medicine. You can also get it from your nearest A&E. The NHS has a tool to find a sexual health clinic.
If more than 72 hours have passed, the NHS says to go to a sexual health clinic or see a GP for an HIV test. CDC's guidelines say people who arrive after 72 hours should still be tested for HIV, offered counseling that includes PrEP, and given a follow-up testing plan. So it's still worth going.
What happens at the visit
Clinics differ, but CDC's guidelines for clinicians describe the core of it.
- An HIV test. Anyone assessed for a possible exposure should be tested for HIV. CDC recommends a rapid test, a lab test or both at the first visit. The test checks whether you already had HIV before this exposure, because PEP is for people who don't.
- Questions. The provider asks what happened and when, and about your health, medicines and allergies. HIV.gov says to mention everything you take, including over-the-counter medicines, alcohol and non-medical drugs, because PEP can interact with them.
- Other baseline tests. CDC's guidelines list kidney and liver function tests, and other tests depending on the circumstances of the exposure. A pregnancy test is part of the first evaluation for women who could become pregnant. HIV.gov says PEP is safe during pregnancy and breastfeeding.
- The first dose, fast. CDC says the first dose should not be delayed while lab results are pending.
- A follow-up plan. CDC's guidelines recommend a check-in about 24 hours later (by phone or in person) and visits 4 to 6 weeks and 12 weeks after the exposure for lab tests.
Honest answers get you the right care, as at any STI test. Ask whether you should also be tested for other STIs.
The 28 days
HIV.gov says to take PEP every day for 28 days and to take every dose as prescribed, to give it the best chance of working. CDC's guidelines suggest that phone reminders and fitting doses into your daily routine can help people finish the course. A daily alarm set to the same time each day is the simplest version.
CDC and HIV.gov both say PEP is safe but may cause side effects such as nausea in some people, which in almost all cases can be treated and aren't life-threatening. HIV.gov says to tell your provider about side effects that bother you, and not to stop PEP without talking to them first.
During the course, HIV.gov says to keep using other prevention, like condoms and new, sterile needles.
Follow-up HIV tests
A negative test at the first visit isn't the end of it. HIV.gov says you'll need to go back for follow-up HIV testing at 4 to 6 weeks and at 3 months, plus other lab tests. CDC's guidelines give the same timing, counted from the exposure: 4 to 6 weeks and 12 weeks.
These visits are easy to forget once you feel fine, so put both dates in your calendar before you leave. For how long tests take to pick up infections, see when to get tested after a new partner.
Paying for PEP
In the US, HIV.gov says PEP is covered by health insurance, including Medicaid, in many states. CDC and HIV.gov also describe help:
- No coverage: your provider can apply to manufacturers' assistance programs for free PEP, often urgently, CDC says.
- Insured, but co-pays are a problem: HIV.gov says some companies run co-payment assistance programs.
- After a sexual assault: you may qualify for partial or full reimbursement of medicine and care costs through your state's victim compensation program, HIV.gov says.
- After a workplace exposure: workplace health insurance or workers' compensation will usually pay, according to CDC.
Don't let cost stop you from going.
PEP vs PrEP vs doxy PEP
| What it prevents | When you take it | |
|---|---|---|
| PEP | HIV | Within 72 hours after a possible exposure, for 28 days |
| PrEP | HIV | Before any exposure, on an ongoing basis |
| Doxy PEP | Some bacterial STIs | Within 72 hours after sex |
PrEP, HIV.gov says, is medicine people take to prevent getting HIV from sex or injection drug use, as daily pills or long-acting shots. Doxy PEP is an antibiotic. CDC says it can help some people lower their chances of syphilis, chlamydia and, in some studies, gonorrhea, and that it does not prevent HIV. So doxy PEP is never a substitute for HIV PEP. Our guide to DoxyPEP vs PrEP compares those two in more detail.
After PEP: when PrEP is worth discussing
HIV.gov says that if you might be exposed a few times a year, talk to your provider about PrEP. It lists being prescribed PEP with continued risk, or using several courses of PEP, among the situations where PrEP may benefit you. CDC's guidelines tell clinicians to offer PrEP to people with ongoing reasons for it and to plan the move from PEP to PrEP for those who want it.
The sexual health checklist for gay, bi and queer men covers PrEP, doxy PEP and PEP side by side, and if you start daily PrEP, here's how to remember to take it every day.
Keep the follow-up tests from slipping
The 3-month HIV test is the one most likely to drift. Hook, a private intimacy journal for iPhone, has a free Health reminder in Settings under Sexual Health that can help. It sends a nudge every 3, 6 or 12 months, counted from your Last tested date.

If you had your HIV test at the PEP visit today, tap "Mark tested today" (or set Last tested to the visit date) and choose 3 months. That covers the 3-month test, not the 4 to 6 week one, so keep that in your calendar. Afterwards, switch to whatever routine schedule your provider suggests.
If you and your provider decide on daily PrEP afterwards, the PrEP reminder in the same section sends a discreet daily notification at a time you choose.

Hook needs no account, and entries are stored on your device. It doesn't give medical advice or record test results. It just makes the dates harder to forget.

FAQ
What is PEP for HIV?
PEP (post-exposure prophylaxis) is a course of HIV medicines started within 72 hours of a possible exposure to prevent HIV. HIV.gov says it's taken every day for 28 days.
How soon do I need to start PEP?
Within 72 hours, and the sooner the better. CDC says every hour counts, and its clinical guidelines aim for the first dose ideally within 24 hours.
When do I need HIV tests after PEP?
HIV.gov says follow-up HIV testing is at 4 to 6 weeks and at 3 months. Your provider sets the exact dates.
Does doxy PEP prevent HIV?
No. CDC says doxy PEP helps prevent some bacterial STIs and does not prevent HIV.