---
topic: "STIs (Sexually Transmitted Infections)"
title: "Doxy-PEP: The Morning-After Antibiotic for STIs"
order: 3
description: "What doxycycline taken after sex does and does not prevent, what the trials in men and women found, what CDC recommends, and the resistance and microbiome questions."
question: "Does taking doxycycline after sex prevent STIs?"
answer: "Doxycycline after sex probably prevents syphilis and chlamydia in gay and bisexual men and transgender women with recent STIs; gonorrhea protection is smaller."
actions:
  - "If you are a gay or bisexual man or transgender woman with a recent bacterial STI, ask about doxy-PEP; CDC says to offer it after shared decision-making [5]."
  - "Doxy-PEP comes with STI testing every 3 to 6 months and a review of whether it is still needed, under CDC guidance [5]."
  - "Ask about vaccines, HIV PrEP and risk-reduction counseling at the same visit; CDC frames doxy-PEP as one piece of comprehensive sexual health care [5]."
cautions:
  - "CDC makes no recommendation for cisgender women; the one trial in women found no significant benefit, and few participants took the doses [3][6]."
  - "Doxycycline is not a recommended treatment for gonorrhea, and tetracycline resistance in gonorrhea has risen in some places [6][11]."
  - "Side effects include sun sensitivity and esophagus irritation, doxycycline can interact with other medicines, and long-term microbiome effects are unstudied [6]."
confidence: 4
confidenceNote: "Two randomized trials in men agree, a pooled analysis of four trials supports them, and real-world data point the same way; resistance and long-term effects are unresolved."
evidenceSummary:
  rctCount: 5
  observationalCount: 8
  metaAnalysisCount: 2
  totalParticipants: "11,551 (cohort); 1,727 pooled in trials"
  replicated: true
  newestStudyYear: 2026
references:
  - id: "1"
    pmid: "37018493"
    title: "Postexposure Doxycycline to Prevent Bacterial Sexually Transmitted Infections"
    authors: "Luetkemeyer AF, Donnell D, Dombrowski JC, Cohen S, Grabow C, Brown CE, Malinski C, Perkins R, Nasser M, Lopez C, Vittinghoff E, Buchbinder SP, Scott H, Charlebois ED, Havlir DV, Soge OO, Celum C, DoxyPEP Study Team"
    year: 2023
    journal: "New England Journal of Medicine"
  - id: "2"
    pmid: "38797183"
    title: "Doxycycline prophylaxis and meningococcal group B vaccine to prevent bacterial sexually transmitted infections in France (ANRS 174 DOXYVAC): a multicentre, open-label, randomised trial with a 2 × 2 factorial design"
    authors: "Molina JM, Bercot B, Assoumou L, Rubenstein E, Algarte-Genin M, Pialoux G, Katlama C, Surgers L, Bébéar C, Dupin N, Ouattara M, Slama L, Pavie J, Duvivier C, Loze B, Goldwirt L, Gibowski S, Ollivier M, Ghosn J, Costagliola D, ANRS 174 DOXYVAC Study Group"
    year: 2024
    journal: "Lancet Infectious Diseases"
  - id: "3"
    pmid: "38118022"
    title: "Doxycycline Prophylaxis to Prevent Sexually Transmitted Infections in Women"
    authors: "Stewart J, Oware K, Donnell D, Violette LR, Odoyo J, Soge OO, Scoville CW, Omollo V, Mogaka FO, Sesay FA, McClelland RS, Spinelli M, Gandhi M, Bukusi EA, Baeten JM, dPEP Kenya Study Team"
    year: 2023
    journal: "New England Journal of Medicine"
  - id: "4"
    pmid: "41063661"
    title: "Trichomonas vaginalis Among Cisgender Women Taking Doxycycline Postexposure Prophylaxis"
    authors: "Sesay FA, Oware K, Violette LR, Donnell D, Odoyo JB, Omollo V, Mogaka FO, McClelland RS, Balkus JE, Bukusi EA, Baeten JM, Stewart J"
    year: 2026
    journal: "Journal of Infectious Diseases"
  - id: "5"
    pmid: "38833414"
    title: "CDC Clinical Guidelines on the Use of Doxycycline Postexposure Prophylaxis for Bacterial Sexually Transmitted Infection Prevention, United States, 2024"
    authors: "Bachmann LH, Barbee LA, Chan P, Reno H, Workowski KA, Hoover K, Mermin J, Mena L"
    year: 2024
    journal: "MMWR Recommendations and Reports"
  - id: "6"
    title: "CDC Clinical Guidelines on the Use of Doxycycline Postexposure Prophylaxis for Bacterial Sexually Transmitted Infection Prevention, United States, 2024 (full report)"
    authors: "Centers for Disease Control and Prevention"
    year: 2024
    journal: "MMWR Recommendations and Reports"
    url: "https://www.cdc.gov/mmwr/volumes/73/rr/rr7302a1.htm"
  - id: "7"
    pmid: "39097410"
    title: "Efficacy of postexposure prophylaxis with doxycycline (Doxy-PEP) in reducing sexually transmitted infections: a systematic review and meta-analysis"
    authors: "Sokoll PR, Migliavaca CB, Döring S, Traub U, Stark K, Sardeli AV"
    year: 2025
    journal: "Sexually Transmitted Infections"
  - id: "8"
    pmid: "42612786"
    title: "Doxycycline postexposure prophylaxis for sexually transmitted infections: A systematic review and meta-analysis with trial sequential analysis"
    authors: "Yamamoto S, Onozuka D, Ishiuchi T, Konishi K, Kutsuna S"
    year: 2026
    journal: "International Journal of Infectious Diseases"
  - id: "9"
    pmid: "39761062"
    title: "Doxycycline Postexposure Prophylaxis and Bacterial Sexually Transmitted Infections Among Individuals Using HIV Preexposure Prophylaxis"
    authors: "Traeger MW, Leyden WA, Volk JE, Silverberg MJ, Horberg MA, Davis TL, Mayer KH, Krakower DS, Young JG, Jenness SM, Marcus JL"
    year: 2025
    journal: "JAMA Internal Medicine"
  - id: "10"
    pmid: "41885610"
    title: "The Population-Level Impact of Doxycycline Postexposure Prophylaxis on Syphilis in King County, WA: An Interrupted Time Series Analysis"
    authors: "Menza TW, Berzkalns A, Cannon CA, Balkus J, Kerani RP, Dombrowski JC, Golden MR"
    year: 2026
    journal: "Clinical Infectious Diseases"
  - id: "11"
    pmid: "40036749"
    title: "Potential Impact of Doxycycline Post-Exposure Prophylaxis on Tetracycline Resistance in Neisseria gonorrhoeae and Colonization With Tetracycline-Resistant Staphylococcus aureus and Group A Streptococcus"
    authors: "Soge OO, Thibault CS, Cannon CA, McLaughlin SE, Menza TW, Dombrowski JC, Fang FC, Golden MR"
    year: 2025
    journal: "Clinical Infectious Diseases"
  - id: "12"
    pmid: "41208026"
    title: "Antimicrobial-Resistant Neisseria gonorrhoeae Infections in Men Using Doxycycline Postexposure Prophylaxis: A Substudy of the ANRS 174 DOXYVAC Trial"
    authors: "Berçot B, Assoumou L, Caméléna F, Voitichouk C, Mérimèche M, Ouattara M, Liegeon G, Kaba AD, Manda V, Mainardis M, Braille A, Pialoux G, Katlama C, Surgers L, Slama L, Bébéar C, Ollivier M, Ghosn J, Costagliola D, Molina JM, ANRS 174 DOXYVAC Study Group"
    year: 2026
    journal: "Clinical Infectious Diseases"
  - id: "13"
    pmid: "41410464"
    title: "Tetracycline Resistance Among Neisseria gonorrhoeae Isolates-United States, 1987-2022"
    authors: "Wondmeneh S, Learner ER, Schmerer MW, Harvey A, Mauk K, Papp JR, Quilter LAS, St Cyr SB, Antimicrobial-Resistant Neisseria gonorrhoeae Working Group"
    year: 2026
    journal: "Sexually Transmitted Diseases"
  - id: "14"
    pmid: "40099718"
    title: "Exceedingly high levels of tetracycline resistance in Neisseria gonorrhoeae in eight WHO Enhanced Gonococcal Antimicrobial Surveillance Programme countries in three WHO regions, 2021-2024-doxycycline post-exposure prophylaxis will unlikely impact gonorrhoea burdens"
    authors: "Schröder D, Cherdtrakulkiat T, Doanh LH, Golparian D, Heng LS, Hoffman I, Jacobsson S, Jamoralin MC, Kakooza F, Kittiyaowamarn R, Kyambadde P, Maseko V, Matoga M, Müller E, Nguyen TTP, Ouk V, Setiawaty V, Sia SB, Sulaiman V, Virak M, Thuy Van NT, Wi T, Maatouk I, Unemo M, WHO EGASP tetracycline study group"
    year: 2025
    journal: "Journal of Antimicrobial Chemotherapy"
  - id: "15"
    pmid: "41540930"
    title: "High prevalence of tetracycline resistance in Neisseria gonorrhoeae across 22 European countries, 2024"
    authors: "Jacobsson S, Cole MJ, Jansen van Rensburg M, Schröder D, Mårdh O, Ködmön C, Unemo M, Euro-GASP tetracycline study group, Collaborators: Euro-GASP tetracycline study group"
    year: 2026
    journal: "Eurosurveillance"
  - id: "16"
    pmid: "39718967"
    title: "Staphylococcus aureus Tetracycline Resistance and Co-resistance in a Doxycycline Postexposure Prophylaxis-Eligible Population"
    authors: "Mittelstaedt R, Kanjilal S, Helekal D, Robbins GK, Grad YH"
    year: 2025
    journal: "Journal of Infectious Diseases"
  - id: "17"
    pmid: "42342442"
    title: "STI-driven antibiotic exposure may shape macrolide and tetracycline resistance in nasal Staphylococcus aureus among MSM receiving HIV pre-exposure prophylaxis"
    authors: "Gaspari V, Foschi C, Lazzarotto T, Djusse ME, Marangoni A, Ambretti S"
    year: 2026
    journal: "Sexually Transmitted Infections"
  - id: "18"
    pmid: "38332660"
    title: "Filling in the Gaps: Updates on Doxycycline Prophylaxis for Bacterial Sexually Transmitted Infections"
    authors: "Hazra A, McNulty MC, Pyra M, Pagkas-Bather J, Gutierrez JI, Pickett J, Stewart J, Bolan RK, Molina JM, Celum C, Luetkemeyer AF, Klausner JD"
    year: 2024
    journal: "Clinical Infectious Diseases"
  - id: "19"
    pmid: "40675772"
    title: "Introducing the first UK national guideline for the use of doxycycline postexposure prophylaxis (doxyPEP) for the prevention of syphilis"
    authors: "Saunders J, Fifer H, Medland N, guideline writing group"
    year: 2025
    journal: "Sexually Transmitted Infections"
---
Doxy-PEP means taking the antibiotic doxycycline after sex to prevent bacterial infections. CDC summarizes three large trials in gay and bisexual men and transgender women (not the Kenyan trial) as showing that it cut syphilis and chlamydia by more than 70 percent and gonorrhea by about half [5][6]. A trial in Kenyan women found no significant benefit, and few took the doses [3]. Rising tetracycline resistance in gonorrhea and unknown effects on the microbiome are the main concerns [6][11].

<!-- more -->

## How doxy-PEP works

### What it is
Doxy-PEP is doxycycline taken after condomless sex as post-exposure prophylaxis, managed by the patient. CDC's June 2024 guideline describes 200 mg within 72 hours after sex, with no more than 200 mg in 24 hours [5]. In the French DOXYVAC trial it was two 100 mg pills within 72 hours, with no more than three 200 mg doses a week [2]. These are the study and guideline doses, not advice for any individual.

### Who CDC says it is for
CDC recommends that gay, bisexual and other men who have sex with men and transgender women who have had syphilis, chlamydia or gonorrhea in the past 12 months receive counseling that doxy-PEP is an option. After shared decision-making, providers can offer a prescription [5]. CDC gives no recommendation for cisgender women, and says data are limited for other groups, so clinical judgment and shared decision-making apply [6]. People on doxy-PEP are advised to have STI testing at the sites of exposure at the start and every 3 to 6 months, and the ongoing need is reassessed on the same schedule. Doxy-PEP is meant to sit inside broader care, with risk-reduction counseling, vaccination and linkage to HIV PrEP or HIV care [5]. The UK has issued its own first national guideline, aimed at preventing syphilis [19]. See [PrEP options](/hiv-and-prep/prep-options) and [STI testing](/stis/sti-testing).

### What the trials found
| Trial | Who | Main result |
|---|---|---|
| DoxyPEP (US) | 501 men and transgender women, PrEP or HIV | STI at 10.7% vs 31.9% of quarterly visits (PrEP group) [1] |
| DOXYVAC (France) | 545 men on PrEP | Chlamydia or syphilis 8.8 vs 53.2 per 100 person-years [2] |
| dPEP Kenya | 449 women on PrEP | 50 vs 59 STIs; not significant [3] |

By infection, the effects are not equal. In DoxyPEP, doxycycline cut syphilis (relative risk 0.13) and chlamydia (0.12) sharply and gonorrhea less (0.45) in the PrEP group [1]. Pooling four trials, the gonorrhea effect was not statistically significant (relative risk 0.90) [7]; a smaller pooled analysis of three trials in men and transgender women found a modest one (0.79) [8].

### Why the Kenya result is not the last word
In the Kenyan women's trial, doxycycline was detected in only 29.0 percent of hair samples from participants assigned to it, and all gonorrhea isolates were doxycycline-resistant. The authors concluded that STI incidence was not significantly lower and that use was low [3]. Because so little of the drug was detected, the result is hard to interpret, and it does not show that doxy-PEP "doesn't work in women". It also did not reduce trichomonas [4]. See [antibiotics: when they help and when they harm](/antibiotics/when-they-help-and-when-they-harm).

### Side effects
In DoxyPEP, five grade 3 adverse events and no serious events were attributed to doxycycline [1]. In DOXYVAC there was one drug-related serious event (a fixed-drug eruption) and 6 people (2 percent) stopped for gastrointestinal problems [2]. CDC lists sun sensitivity, esophagitis and esophageal discomfort as known effects and advises not lying down for an hour after a dose; because doxycycline interacts with other drugs, it advises providers to review a patient's medication list [6].

### The resistance and microbiome worry
Three things are being watched. First, gonorrhea may become more resistant to tetracyclines: authors of a surveillance study warn doxy-PEP might rapidly select for additional resistant strains [14], and tetracycline resistance in King County gonorrhea rose from 27 to 70 percent between 2023 and mid-2024 [11]. Second, bacteria in the nose and throat may become resistant: doxy-PEP users carried more tetracycline-resistant Staphylococcus aureus and group A Streptococcus [11]. Third, the microbiome may change, and CDC states there are no studies of long-term intermittent doxycycline and the microbiome [6]. See [gut damage and recovery after antibiotics](/antibiotics/gut-damage-and-recovery).

<!-- research -->

## The evidence in detail

### The two positive trials
DoxyPEP was an open-label randomized study of 501 men who have sex with men and transgender women, either taking HIV PrEP (327) or living with HIV (174), all with gonorrhea, chlamydia or syphilis in the past year. Participants were randomized 2:1 to 200 mg of doxycycline within 72 hours after condomless sex or standard care, with quarterly STI tests. In the PrEP cohort, an STI was diagnosed at 61 of 570 quarterly visits (10.7 percent) with doxycycline and 82 of 257 (31.9 percent) with standard care (relative risk 0.34, 95% CI 0.24 to 0.46). In the living-with-HIV cohort it was 36 of 305 (11.8 percent) versus 39 of 128 (30.5 percent) (0.38, 0.24 to 0.60). In the PrEP cohort the relative risks were 0.45 (0.32 to 0.65) for gonorrhea, 0.12 (0.05 to 0.25) for chlamydia and 0.13 (0.03 to 0.59) for syphilis; in the living-with-HIV cohort they were 0.43, 0.26 and 0.23, the last with a wide interval (0.04 to 1.29). Among those with a culture, tetracycline-resistant gonorrhea occurred in 5 of 13 participants in the doxycycline groups and 2 of 16 in standard care. The National Institutes of Health funded it [1].

ANRS 174 DOXYVAC enrolled HIV-negative men on PrEP at ten Paris hospitals with a bacterial STI in the previous 12 months. In a 2 by 2 design, 556 participants were randomized 2:1 to doxycycline PEP or none, and 1:1 to a meningococcal group B vaccine (4CMenB) or none; 545 were analyzed with median follow-up of 14 months. A first chlamydia or syphilis episode occurred at 8.8 per 100 person-years with doxycycline (35 events in 362 men) and 53.2 without (80 events in 183), an adjusted hazard ratio of 0.17 (0.12 to 0.26). The vaccine did not significantly reduce gonorrhea (58.3 versus 77.1 per 100 person-years; aHR 0.78, 0.60 to 1.01; p=0.061). The French research agency ANRS funded it [2].

### The null trial in women
dPEP Kenya randomized 449 Kenyan women aged 18 to 30 on HIV PrEP, 224 to 200 mg of doxycycline hyclate within 72 hours after condomless sex and 225 to standard care, followed quarterly for 12 months. There were 109 incident STIs: 50 with doxycycline (25.1 per 100 person-years) and 59 with standard care (29.0), a relative risk of 0.88 (0.60 to 1.29; P=0.51). Chlamydia made up 85 (78.0 percent) of them (35 versus 50; relative risk 0.73, 0.47 to 1.13). No serious adverse events were judged related to doxycycline and there were no HIV infections. In a random sample of 50 women assigned to doxycycline, it was detected in 58 of 200 hair samples (29.0 percent). All gonorrhea isolates were resistant to doxycycline. The National Institutes of Health funded it [3]. A secondary analysis found 27 trichomonas diagnoses in the doxycycline group and 29 in standard care (relative risk 0.96, 0.54 to 1.73) [4].

### Putting the trials together
CDC's 2024 guideline summarizes three large randomized trials in men who have sex with men and transgender women (the Kenyan trial in women was not among them) as showing a reduction of syphilis and chlamydia of more than 70 percent and of gonorrhea of about 50 percent [5][6]. A systematic review of four trials (1,727 participants, 73 percent men who have sex with men) found doxy-PEP cut any bacterial STI (hazard ratio 0.54, 95% CI 0.39 to 0.75; moderate certainty), chlamydia (relative risk 0.35, 0.15 to 0.82; low certainty) and syphilis (0.23, 0.13 to 0.41; high certainty), with no significant effect on gonorrhea (0.90, 0.64 to 1.26; very low certainty). Self-reported adherence was about 80 percent and one drug-related serious adverse event was reported [7].

A 2026 meta-analysis with trial sequential analysis of three trials in men and transgender women (1,278 participants) found a pooled relative risk of 0.41 for any bacterial STI (TSA-adjusted CI 0.20 to 0.85), 0.22 for chlamydia (0.12 to 0.39), 0.24 for syphilis (0.13 to 0.44) and 0.79 for gonorrhea (0.66 to 0.95). Heterogeneity was substantial (I-squared 89.1 percent), and the composite estimate did not reach its required information size (1,278 of 1,696) [8].

### Real-world data
In a Kaiser Permanente Northern California cohort of 11,551 people dispensed HIV PrEP (95.1 percent male), 2,253 (19.5 percent) were dispensed doxy-PEP. Among them, quarterly chlamydia positivity fell from 9.6 to 2.0 percent (relative risk 0.21, 0.16 to 0.27) and syphilis from 1.7 to 0.3 percent (0.20, 0.11 to 0.37); gonorrhea fell only from 10.2 to 9.0 percent (0.88, 0.77 to 1.00; P=0.048), with significant drops in rectal (0.81) and urethral (0.56) but not throat gonorrhea. Positivity stayed stable in people not dispensed doxy-PEP. This was a before-and-after observational comparison [9]. In King County, Washington, total syphilis diagnoses were an estimated 52.3 percent lower after implementation, but syphilis in pregnant people and congenital syphilis rose; see [Syphilis is back](/stis/syphilis-is-back) [10].

### Resistance data
In US national surveillance of 183,668 urethral gonorrhea isolates (1987 to 2022), tetracycline resistance was 19.7 percent in both 1987 and 2022, but high-level resistance rose from 2.8 to 14.6 percent, and in 2018 to 2022 samples was highest in men reporting male partners [13]. In King County, among 2,312 men who have sex with men with gonorrhea, tetracycline resistance was stable at a mean 27 percent until the first quarter of 2023, then rose to 70 percent by the second quarter of 2024, and high-level resistance rose from 2 to 65 percent between early 2021 and mid-2024. Taking more than three doses a month was associated with resistance, while any use of doxy-PEP was not. Among 703 men at a sexual health clinic, S. aureus colonization was less common in doxy-PEP users (27 versus 36 percent) but tetracycline-resistant S. aureus was more common (18 versus 8 percent), as was group A Streptococcus (9 versus 4 percent) [11].

In a DOXYVAC substudy of 78 gonorrhea isolates and 233 positive samples, all isolates were tetracycline-resistant, high-level tetM-mediated resistance was more frequent in the doxycycline arm (35.5 versus 12.5 percent; P=0.043), and decreased susceptibility to cefixime was more frequent (32.3 versus 10.0 percent; P=0.033). Ceftriaxone, fluoroquinolone and azithromycin MICs were similarly distributed and all isolates were susceptible to ceftriaxone and cefixime [12].

Elsewhere, resistance is already high: 92.2 percent by the European breakpoint across 2,993 isolates from eight countries in 2021 to 2024, leading the authors to conclude doxy-PEP will unlikely significantly reduce gonorrhea there and might select for multidrug-resistant strains [14]; 62.3 percent (2,231 of 3,579) in 22 European countries in 2024, higher in men who have sex with men (adjusted odds ratio 1.38, 1.06 to 1.79) [15]. In eligible men, S. aureus tetracycline non-susceptibility was more common than in the general population and linked to resistance to trimethoprim-sulfamethoxazole and clindamycin [16]. A small Italian cross-sectional study (153 men) found tetracycline exposure, not PrEP status, was independently associated with resistant nasal S. aureus; it is exploratory [17]. A clinical review says equitable implementation needs study of who is offered it, long-term STI incidence and resistance [18].

### How sure are we?
Fairly sure for syphilis and chlamydia in gay and bisexual men and transgender women: two independent randomized trials, two meta-analyses and large real-world cohorts agree [1][2][7][8][9]. Less sure for gonorrhea, where the benefit is smaller and depends on local resistance [7][11][14]. Unproven in women, where the one trial was undermined by low drug use [3]. Resistance and microbiome effects are real signals but their long-term cost is unknown [6][11].
