Doxy-PEP — The Pill After Sex That Cuts Bacterial STIs
SaveA 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
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 1Ref 1Bachmann 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.The 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.. 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 2Ref 2Centers for Disease Control and Prevention (2024).Doxy PEP for Bacterial STI Prevention.The provider-facing CDC summary of the doxy-PEP recommendation and how clinicians offer and monitor it..
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 1Ref 1Bachmann 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.The 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.. Taking a prevention dose on top of an untreated infection would not clear it.
Who is doxy-PEP recommended for?
Current U.S. guidance is specific about who benefits most. The 2024 CDC guideline recommends offering doxy-PEP to gay and bisexual men and to transgender women who have had syphilis, chlamydia, or gonorrhea in the previous 12 months 1Ref 1Bachmann 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.The 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.. A prior bacterial STI is the marker the guideline uses, because it signals a real, ongoing chance of another one.
Who the guideline does not cover. The 2024 recommendation is written for those two groups. It does not extend the same recommendation to cisgender women or to heterosexual men 1Ref 1Bachmann 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.The 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.. That is not a statement that doxy-PEP could never help anyone else — it reflects where the evidence was strongest when the guideline was written. Anyone wondering whether they fit — the question of who doxy-pep is actually recommended for — can raise it with a clinician, who weighs individual history rather than a single rule.
Doxy-pep eligibility in plain terms. Two things line up for a typical candidate: a recent bacterial STI, and a pattern of sex that could lead to another. A clinician confirms current STI status first, because doxy-PEP is prevention, not treatment for an infection that is already present. Someone with symptoms right now needs testing and, if warranted, treatment — a different conversation than starting prevention.
Why a recent infection is the trigger. The guideline uses a bacterial STI in the past 12 months as the entry point because it is a concrete, documented signal that a person's current circumstances carry real ongoing risk — a sharper predictor than any single trait. It also means doxy-PEP is offered to people already connected to testing and care, where the every-three-to-six-month follow-up the guideline expects can actually happen 1Ref 1Bachmann 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.The 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..
What doxy-PEP prevents — and what it doesn't
Doxy-PEP works against bacterial STIs. It lowers the chance of syphilis, chlamydia, and gonorrhea 1Ref 1Bachmann 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.The 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.. 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:
| Tool | What it prevents | How it is used |
|---|---|---|
| Doxy-PEP | Bacterial STIs: syphilis, chlamydia, gonorrhea | A single dose within 72 hours after sex |
| PrEP | HIV | Ongoing — a daily pill or a periodic injection |
| Condoms | HIV 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 3Ref 3Centers for Disease Control and Prevention (2024).Clinical Guidance for PrEP.That 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).. 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 1Ref 1Bachmann 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.The 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.. 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 1Ref 1Bachmann 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.The 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..
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 4Ref 4Centers for Disease Control and Prevention (2024).Drug-Resistant Gonorrhea.That 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..
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 1Ref 1Bachmann 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.The 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.. 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 1Ref 1Bachmann 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.The 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..
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 5Ref 5Centers for Disease Control and Prevention (2024).Condom Use: An Overview.That 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.. 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 1Ref 1Bachmann 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.The 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.. 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 6Ref 6Centers for Disease Control and Prevention (2025).National Overview of STIs in 2023.The 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.. 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 6Ref 6Centers for Disease Control and Prevention (2025).National Overview of STIs in 2023.The 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..
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 6Ref 6Centers for Disease Control and Prevention (2025).National Overview of STIs in 2023.The 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.. 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 3Ref 3Centers for Disease Control and Prevention (2024).Clinical Guidance for PrEP.That 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).. Condoms remain highly effective against fluid-borne infections and partially protective against skin-to-skin ones 5Ref 5Centers for Disease Control and Prevention (2024).Condom Use: An Overview.That 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.. 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 4Ref 4Centers for Disease Control and Prevention (2024).Drug-Resistant Gonorrhea.That 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.. 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 1Ref 1Bachmann 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.The 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..
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 1Ref 1Bachmann 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.The 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.2Ref 2Centers for Disease Control and Prevention (2024).Doxy PEP for Bacterial STI Prevention.The provider-facing CDC summary of the doxy-PEP recommendation and how clinicians offer and monitor it.. 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
Related
Sexual health
Doxy-PEP for Women — Why the Evidence Is MixedSexual health
PrEP Plus Doxy-PEP — Stacking Prevention SafelySexual health
Doxy-PEP's Honest Downside — The Resistance Question
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.
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.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.rr7302a1 ✓The 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.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.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.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.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.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