18+ only: Closer Couples is sex and relationship education for adults.
GuideGay menSafer sexLGBTQ+

HIV PEP After Sex: The 72-Hour Window Explained for Gay and Bi Men

Start HIV PEP as soon as possible and within 72 hours of a possible exposure, ideally within 24 hours. It is a 28-day course of HIV medicine from a sexual health clinic or, out of hours, A&E, an emergency room or urgent care. PEP is not recommended after oral sex, or if the partner has HIV with an undetectable viral load.

Key facts

Last updated 20 Nov 2026

Last updated: · Medically sourced (sources listed below)

TL;DR

Short answer: PEP (post-exposure prophylaxis) is a 28-day course of HIV medicine that can stop HIV taking hold after a possible exposure, such as a condom breaking during anal sex with a partner whose HIV status you don't know. It must be started within 72 hours, and the sooner the better: UK guidance says ideally within 24 hours, and the CDC says "every hour counts." Go to a sexual health clinic, or to A&E, an emergency room or urgent care if the clinic is closed. If your partner has HIV and has had an undetectable viral load on treatment, you don't need PEP.

Most gay and bi men will never need PEP, especially those using condoms consistently or taking PrEP. But condoms do sometimes break or slip, and people sometimes have sex they didn't plan. Knowing exactly what to do in the first few hours removes a lot of panic. This guide covers what PEP is, when it is and isn't recommended, how to get it in the UK and the US, and what happens afterwards.

What is PEP?

PEP is a combination of HIV medicines taken every day for 28 days after a possible exposure. Terrence Higgins Trust (THT) describes it as a treatment that "can stop the virus taking hold" after it has entered the body. It is an emergency measure, not a regular prevention method.

Why the 72-hour window matters

The CDC says PEP must be started within 72 hours (3 days) of a possible exposure. THT adds that it should be started as soon as possible, ideally within 24 hours, because it is more likely to work the sooner it's taken. The UK guideline from the British Association for Sexual Health and HIV (BASHH, 2021) gives the same advice: start as soon as possible, preferably within 24 hours, and up to 72 hours.

Practical points:

What if it's been more than 72 hours?

PEP is not started after 72 hours because it is not expected to work. If you've missed the window, still contact a sexual health clinic. They will arrange HIV and STI testing at the right times, talk about early signs to watch for, and discuss PrEP to protect you going forward.

When is PEP recommended?

A clinician will ask about the type of sex, who it was with and what is known about their HIV status. THT lists the questions you are likely to be asked: who the partner was and the chance they had HIV, what kind of sex you had, and, if they have HIV, their viral load.

In broad terms, the 2021 BASHH guideline says:

Why receptive anal sex is the main concern: the CDC's per-act estimates for a single exposure to a partner with HIV, without a condom or PrEP, are 138 per 10,000 for receptive anal sex, 11 per 10,000 for insertive anal sex and "low" for oral sex. Those figures assume the partner has HIV; with someone whose status you don't know, the actual chance depends on whether they have HIV at all and whether it is treated. But because PEP works best early, it is better to ask quickly than to wait and worry.

If you're unsure whether your situation counts, go anyway. Clinic staff would far rather assess you and say "you don't need it" than see you miss the window.

Where to get PEP

UK: PEP is free on the NHS for people who meet the guidelines. THT advises going to a sexual health or HIV clinic, or to A&E out of hours or at weekends. It is not normally available from GPs. THT Direct can help on 0808 802 1221.

US: the CDC advises talking right away to your healthcare provider, an emergency room doctor or an urgent care provider. The CDC also has a PEP locator, and if cost is a barrier, providers can apply for free medicine through manufacturer assistance programmes, often urgently.

Elsewhere: sexual health or infectious disease clinics and hospital emergency departments are the usual places. Bring a list of any other medicines and supplements you take.

What happens at the appointment

Taking the 28-day course

The exact medicines depend on where you are. THT says the current UK regimen is three tablets a day: one tablet of tenofovir disoproxil/emtricitabine plus two tablets of raltegravir. The CDC's 2025 guidelines list bictegravir/emtricitabine/tenofovir alafenamide, or dolutegravir plus two other HIV medicines, as preferred regimens for most adults in the US.

Sex during and after PEP

While you're on PEP and until your follow-up tests are done, use condoms or avoid sex that could pass HIV on. PEP lowers the risk a lot but isn't a guarantee, and a new exposure during the course adds risk. Our guide on how to ask a partner to get STI tested can help with the conversation.

Follow-up tests

Follow-up testing confirms PEP worked. The CDC's 2025 guidelines recommend HIV testing 4 to 6 weeks after the exposure and a final test at 12 weeks; the 4 to 6 week test can be skipped only if PEP started within 24 hours, every dose was taken and you aren't starting PrEP. UK clinics follow a similar plan and will tell you when to come back.

Moving from PEP to PrEP

The CDC recommends that people prescribed PEP who may have repeat exposures are offered PrEP, ideally moving straight on to it once the PEP course ends. Our guide to PrEP and safer sex for gay and bi men explains daily and event-based options. If you've had a bacterial STI in the past year, the CDC also suggests asking about doxy-PEP.

If the sex wasn't consensual

If you were assaulted, PEP is still urgent, and so is your wellbeing. In the UK, sexual assault referral centres (SARCs) can arrange PEP and STI care whether or not you report to the police, and Galop's helpline for LGBT+ survivors is 0800 999 5428. In the US, RAINN's hotline is 800-656-4673. See also our hookup app safety guide.

Frequently asked questions

How soon do I need to take PEP after sex?

As soon as possible and within 72 hours. UK guidance says ideally within 24 hours, and the CDC says every hour counts, so go the same day if you can.

Can I get PEP after 72 hours?

No. PEP isn't started after 72 hours because it isn't expected to work. Still contact a sexual health clinic for testing at the right times and to talk about PrEP.

Do I need PEP after oral sex?

UK guidelines don't recommend PEP after oral sex, with or without ejaculation, because the risk of HIV is very low. A clinic can still check you for other STIs.

Do I need PEP if my partner is undetectable?

No. If your partner has HIV and has had an undetectable viral load on treatment, HIV can't be passed on through sex, and THT says you will not need PEP.

Where can I get PEP at the weekend?

In the UK, go to A&E if sexual health clinics are closed; PEP isn't normally available from GPs. In the US, go to an emergency room or urgent care centre.

How long do I take PEP for?

Every day for 28 days. Missing doses or stopping early makes it less likely to work, and you'll have HIV tests afterwards to confirm it worked.

Related reading

Sources

General information only, not medical advice. If you think you've been exposed to HIV, contact a sexual health clinic or emergency department today.