Sexual health

Doxy-PEP — The Pill After Sex That Cuts Bacterial STIs

Save

A relatively new prevention tool, doxy-PEP puts an antibiotic to work after sex rather than before. The 2024 CDC guidance found it sharply reduced bacterial STIs in the groups most affected. It does not prevent HIV or pregnancy, and it does not replace condoms or regular testing — but for the right person, it closes a real gap.

Last updated: July 2026

Talk to a clinician

Gale can help you find a clinician in your state and request a visit.

Find care →

What doxy-PEP actually is

Doxy-PEP is short for doxycycline post-exposure prophylaxis: a single dose of a widely used antibiotic, taken shortly after sex, to keep three bacterial sexually transmitted infections — syphilis, chlamydia, and gonorrhea — from taking hold. The 2024 CDC clinical guidance recommends that clinicians counsel about it and offer that after-sex dose within 72 hours of sex to people at ongoing risk 1. The word prophylaxis just means prevention.

After exposure, not before. Unlike a daily prevention pill, doxy-PEP is used per sexual encounter. There is nothing to take on days without sex. A provider-facing CDC summary describes the same approach in short-reference form for clinicians deciding whether to offer it 2.

Why an antibiotic works here. Syphilis, chlamydia, and gonorrhea are bacterial, and bacteria are what antibiotics act on. Taking the antibiotic soon after a possible exposure aims to stop an early infection before it establishes. It is the same logic behind other post-exposure medicine, adapted to the bacteria that cause the most common reportable STIs. The name sounds technical, but the idea a person searching for the pill after sex is really asking about is straightforward: one dose, taken soon, to head off a bacterial infection.

Prevention, not treatment. One distinction matters more than any other: doxy-PEP is meant to prevent a new infection, not to cure one a person already carries. Someone with symptoms, or with a known recent exposure to a partner who has an STI, needs testing first and, if positive, a full treatment course — a different medication decision than a single preventive dose 1. Taking a prevention dose on top of an untreated infection would not clear it.

What doxy-PEP prevents — and what it doesn't

Doxy-PEP works against bacterial STIs. It lowers the chance of syphilis, chlamydia, and gonorrhea 1. It does nothing against HIV, and it does nothing about pregnancy. Those need their own tools, and confusing them is the most common misunderstanding people bring to the topic.

A quick way to keep the prevention tools straight:

ToolWhat it preventsHow it is used
Doxy-PEPBacterial STIs: syphilis, chlamydia, gonorrheaA single dose within 72 hours after sex
PrEPHIVOngoing — a daily pill or a periodic injection
CondomsHIV and many STIs (partial for skin-to-skin ones)Every time, during sex

PrEP, taken as prescribed, lowers the risk of getting HIV from sex by about 99%, but it does not protect against other STIs 3. That gap is exactly the space doxy-PEP was designed to fill. Because they cover different infections, some people use both, and the practicalities of combining prevention are worth discussing with a prescriber.

Doxy-PEP covers bacterial STIs; PrEP covers HIV. They do different jobs, and neither replaces the other.

How the after-sex timing works

Timing is the whole design. The guideline frames doxy-PEP as a dose taken within 72 hours after sex, and sooner is generally better than later 1. It is taken for an encounter that carried a possible exposure — not on a daily schedule, and not before sex. The 72-hour ceiling is the outer edge, not the target.

One encounter, one dose. On a week with sex, the dose follows the encounter; on a week without, there is nothing to take. How it fits a given person's pattern of sex — including how often it makes sense over time — is something a clinician tailors to the individual rather than a fixed formula 1.

A different clock than HIV prevention. For HIV, prevention after a possible exposure runs on its own clock. The pep window for HIV is a separate, time-sensitive decision covered on its own page, and it involves a different medication entirely. Doxy-PEP and HIV PEP are not interchangeable: they do not cover the same infections, and taking one does nothing for what the other is meant to prevent.

Doxy-PEP and antibiotic resistance

The biggest open question about doxy-PEP is antibiotic resistance. Every time an antibiotic is used, it creates pressure for bacteria to adapt to it — and gonorrhea is already the sharpest example of that risk. Neisseria gonorrhoeae has developed resistance to nearly every drug once used against it, cephalosporins are the last recommended class, and drug-resistant gonorrhea is designated an urgent public-health threat 4.

Why the guideline still recommends it, carefully. The 2024 guidance does not treat this concern lightly. It pairs doxy-PEP with ongoing monitoring — STI testing every three to six months for people using it — so infections and any shift in the bacteria are caught early 1. Concern about doxy-pep resistance is real, and it is one reason the recommendation is targeted to the groups most likely to benefit rather than offered to everyone.

What that means for a user. Resistance is a population-level worry more than an individual side effect. It is the reason doxy-PEP is a clinician-guided tool with built-in retesting rather than a self-managed habit.

Doxy-PEP comes with routine STI testing every three to six months — the monitoring is part of the tool, not an optional add-on 1.

Does doxy-PEP replace condoms or regular testing?

No. Doxy-PEP narrows one risk; it does not remove the others. Consistent, correct condom use is highly effective at preventing HIV and STIs spread through genital fluids, such as gonorrhea and chlamydia, and offers partial protection against infections spread by skin-to-skin contact, such as herpes, syphilis, and HPV 5. Doxy-PEP adds a layer for bacterial STIs; it does not cover everything condoms reach.

Testing continues. People using doxy-PEP still test on a regular schedule — every three to six months under the guideline 1. Prevention and detection are different jobs, and one does not stand in for the other.

Why the layered approach matters. STIs are common. More than 2.4 million cases of chlamydia, gonorrhea, and syphilis were reported in the United States in 2023 6. No single tool closes every gap, which is why condoms, testing, vaccination, PrEP, and doxy-PEP are described as a set rather than as substitutes for one another.

Nearly half of the 2023 reported chlamydia, gonorrhea, and syphilis cases in the U.S. were among people aged 15 to 24 6.

Where doxy-PEP fits in a rising-STI landscape

Doxy-PEP did not arrive in a vacuum. It was recommended in 2024 against a backdrop of stubbornly high bacterial-STI numbers: more than 2.4 million cases of chlamydia, gonorrhea, and syphilis were reported in the United States in 2023 6. When the tools already in wide use — condoms, testing, timely treatment — were not closing the gap for the hardest-hit groups, a new after-sex option was added to fill part of it.

It complements, rather than replaces, what came before. PrEP had already reshaped HIV prevention, cutting the risk of getting HIV from sex by about 99%, but by design it does nothing for other STIs 3. Condoms remain highly effective against fluid-borne infections and partially protective against skin-to-skin ones 5. Doxy-PEP slots in specifically for the bacterial STIs that were slipping through — and only for the people the evidence supports.

Why the targeting is deliberate. Offering an antibiotic after sex to everyone would multiply antibiotic use across the whole population, and gonorrhea has already shown how fast resistance can outrun the drugs, having become resistant to nearly every antibiotic once used against it 4. Concentrating doxy-PEP on the groups with the highest recent STI rates, paired with testing every three to six months, is meant to capture most of the benefit while limiting that resistance pressure 1.

The honest summary. Doxy-PEP is a targeted response to a specific, measured problem, not a universal shield. It works best understood as one deliberate piece of a layered strategy that still leans on condoms, vaccination, routine testing, and PrEP.

How to start a conversation about doxy-PEP

Doxy-PEP is a prescription, so it starts with a clinician — a primary-care provider, a sexual-health clinic, or a telehealth service that handles sexual health. The visit typically reviews your history, confirms current STI status, and sets up the every-three-to-six-month testing the guideline expects 12. It is not something to source and self-dose.

Related paths people ask about. If a single incident is the worry rather than ongoing prevention — a condom that broke, or pep after sexual assault — the more urgent question is often HIV, which has its own time-critical medication and its own routes for pep access after hours. And for people already on HIV prevention, combining prevention approaches is a normal thing to raise.

What helps the visit go quickly. Recent test results, an honest sense of your exposures, and any antibiotic allergies all matter. Doxycycline is generally well tolerated, but a clinician will still want to know about past reactions before offering it.

Common questions

No. They target different infections. Doxy-PEP is an antibiotic taken after sex to prevent bacterial STIs — syphilis, chlamydia, and gonorrhea. PrEP is ongoing HIV prevention taken as a daily pill or periodic injection. Because they cover different things, some people use both, but neither replaces the other.

The 2024 CDC guidance focuses on gay and bisexual men and transgender women who have had a bacterial STI in the past year. It does not currently recommend doxy-PEP for cisgender women, where the evidence looked different. Someone outside those groups can still ask a clinician about their own situation and history.

No. Doxy-PEP works only against bacterial STIs. HIV is a virus, and antibiotics do nothing against it. HIV prevention uses different tools — PrEP for ongoing protection, and HIV PEP as a time-critical medication after a possible exposure. Doxy-PEP is not a substitute for either.

Within 72 hours, and generally the sooner the better. It is taken per encounter that carried a possible exposure, not on a daily schedule and not before sex. The 72-hour mark is the outer edge of the window rather than the goal; earlier is preferred when possible.

It is the main open concern. Antibiotic use always creates some pressure toward resistance, and gonorrhea is already resistant to nearly every drug used against it. That is why the guideline targets doxy-PEP to people most likely to benefit and builds in regular STI testing rather than offering it to everyone.

Yes. Doxy-PEP lowers the risk of three bacterial STIs but does nothing for HIV or pregnancy, and it does not cover every skin-to-skin infection. Condoms still add protection, and the guideline expects ongoing testing every three to six months for people using doxy-PEP.

Related

Say it back

How would you explain this to someone you love?

Two or three sentences, just as you’d say it. Gale reflects back what you focused on — a mirror, not a quiz.

Talk to a clinician

Gale can help you find a clinician in your state and request a visit.

Find care →

Doxy-PEP is prevention, not a fix for an active infection

  • Burning with urination, unusual discharge, or pelvic or testicular pain — signs of an infection that may already be present and needs testing and treatment, not prevention
  • A firm, painless genital ulcer, or a rash on the palms and soles — possible signs of syphilis that warrant prompt evaluation
  • A possible HIV exposure — doxy-PEP does nothing for HIV, and HIV PEP is a separate medication that is most effective the sooner it is started, within 72 hours
  • A severe sunburn-like skin reaction, or persistent vomiting, after taking doxycycline

A possible HIV exposure is time-sensitive: HIV PEP works best the sooner it starts and must begin within 72 hours. An emergency room, urgent care, or sexual-health clinic can start it, including after hours.

This article explains doxy-PEP in general terms and is not medical advice. Doxy-PEP is a prescription decision that depends on your health history and current STI status. A licensed clinician can determine whether it fits your situation.

References

  1. 1.Bachmann LH, Barbee LA, Chan P, et al. (Centers for Disease Control and Prevention) (2024). CDC Clinical Guidelines on the Use of Doxycycline Postexposure Prophylaxis for Bacterial Sexually Transmitted Infection Prevention, United States, 2024. MMWR Recommendations and Reports, Vol. 73, No. 2. doi:10.15585/mmwr.rr7302a1The 2024 CDC recommendation to offer a dose of doxycycline within 72 hours after sex to prevent bacterial STIs, the target population (gay and bisexual men and transgender women with a bacterial STI in the prior 12 months), and the every-3-6-month STI testing that accompanies it.
  2. 2.Centers for Disease Control and Prevention (2024). Doxy PEP for Bacterial STI Prevention. CDC (cdc.gov/sti). linkThe provider-facing CDC summary of the doxy-PEP recommendation and how clinicians offer and monitor it.
  3. 3.Centers for Disease Control and Prevention (2024). Clinical Guidance for PrEP. CDC HIV Nexus. linkThat PrEP lowers the risk of getting HIV from sex by about 99% and does not protect against other STIs — the basis for distinguishing doxy-PEP (bacterial STIs) from PrEP (HIV).
  4. 4.Centers for Disease Control and Prevention (2024). Drug-Resistant Gonorrhea. CDC (cdc.gov/gonorrhea). linkThat gonorrhea has become resistant to nearly every antibiotic used against it, that cephalosporins are the last recommended class, and that drug-resistant gonorrhea is an urgent public-health threat — context for the antibiotic-resistance concern about doxy-PEP.
  5. 5.Centers for Disease Control and Prevention (2024). Condom Use: An Overview. CDC (cdc.gov/condom-use). linkThat consistent, correct condom use is highly effective against fluid-borne STIs and partially protective against skin-to-skin STIs — why doxy-PEP complements rather than replaces condoms.
  6. 6.Centers for Disease Control and Prevention (2025). National Overview of STIs in 2023. CDC STI Statistics (Sexually Transmitted Infections Surveillance, 2023). linkThe 2023 U.S. surveillance figure of more than 2.4 million reported chlamydia, gonorrhea, and syphilis cases, with nearly half among people aged 15-24.

6 sources, numbered by first appearance. General health information, not medical advice. AI-assisted editorial content — citations link their sources. Editorial policy