Doxycycline After Sex to Prevent Chlamydia, Gonorrhea and Syphilis


Doxycycline is a long-established antibiotic. Since 2018, randomized trials have tested a new use for it: one dose taken in the days after sex, to stop a bacterial infection before it takes hold. In men who have sex with men and in transgender women, the trials found large drops in chlamydia and syphilis. The one randomized trial in cisgender women, meaning women assigned female at birth, found no significant reduction. Protection against gonorrhea was smaller from the start, and a 2026 study from southern California reports that it faded to no measurable protection as resistant strains spread. This page sets out those results by infection and by population, along with what the 2024 United States guideline states and what remains unknown.


Table of Contents

  1. What Doxycycline Postexposure Prophylaxis Is
  2. The DoxyPEP Trial in San Francisco and Seattle
  3. The IPERGAY Substudy in France
  4. The DOXYVAC Trial in Paris
  5. The dPEP Trial in Kenyan Women Found No Significant Reduction
  6. Pooled Results and Results Outside the Trials
  7. What the 2024 Centers for Disease Control and Prevention Guideline States
  8. Resistance in Gonorrhea
  9. Resistance in Other Bacteria
  10. Side Effects the Studies Measured
  11. Gut and Vaginal Microbiome Research
  12. What Is Not Known
  13. Key Research Papers
  14. Connections
  15. Featured Videos

What Doxycycline Postexposure Prophylaxis Is

"Prophylaxis" means prevention, and "postexposure" means after the possible contact. Doxycycline postexposure prophylaxis (doxy-PEP) is a dose of the antibiotic taken after condomless sex, whether or not a partner is known to be infected. It differs from treatment, which starts after an infection is found, and from a daily preventive pill, which is taken regardless of sex. A few studies on this page tested a daily schedule, and they are labelled as such.

Doxycycline belongs to the tetracycline family of antibiotics. The 2024 federal guideline from the Centers for Disease Control and Prevention (CDC) describes it as well absorbed, with a half-life of about 12 hours. Chlamydia and syphilis are caused by bacteria that the antibiotic has long been used against. The same report states that doxycycline is not a recommended treatment for gonorrhea because of elevated resistance, although it still works against many strains in the United States. That difference between the three germs runs through every result below.

The method targets bacteria only. The trials measured chlamydia, gonorrhea and syphilis. Human immunodeficiency virus (HIV), herpes simplex and human papillomavirus are viruses, which an antibiotic does not act on. Many infections also go unnoticed. In the IPERGAY substudy, 72 of 102 infections (71%) caused no symptoms, and the trials tested participants on a fixed schedule.

Three terms recur below. "Relative risk" and "hazard ratio" compare two groups: 1.0 means no difference, and 0.25 means about one quarter the rate. The "confidence interval" is the range the true value plausibly falls in, and an interval that crosses 1.0 means the difference could be chance. "Open-label" means participants knew which group they were in. All four main trials were open-label, with no placebo pill.

The DoxyPEP Trial in San Francisco and Seattle

This United States trial enrolled men who have sex with men and transgender women who had a bacterial sexually transmitted infection in the past year. Everyone was either taking preexposure prophylaxis against human immunodeficiency virus or living with that virus, and the results were reported separately for these two groups. The trial gave 200 mg of doxycycline within 72 hours after condomless sex, compared with standard care, with testing every three months.

The 2023 report covered 501 people. The share of three-month periods with an infection was:

By infection, the relative risks were:

The final report, published in 2025, covered 637 people enrolled. Infections appeared in 12.0% of three-month periods with doxycycline (129 of 1,077) against 30.5% with standard care (139 of 455), relative risk 0.39 (0.31 to 0.49). The randomized phase ended early because the method was working, and those still enrolled were offered doxycycline. In that open extension, when people already knew the result, infections appeared in 13% of periods among those continuing and 17% among those newly starting.

The IPERGAY Substudy in France

This is the earliest of the four main trials, published in 2018. It enrolled 232 men who have sex with men and who used tenofovir disoproxil fumarate plus emtricitabine to prevent human immunodeficiency virus. The trial gave a single 200 mg dose within 24 hours after sex, compared with no prophylaxis, with a median follow-up of 8.7 months. Participants took a median of 680 mg per month.

So the gonorrhea result was already uncertain in the earliest trial.

The DOXYVAC Trial in Paris

DOXYVAC enrolled men who have sex with men at ten Paris hospitals. None had human immunodeficiency virus; all used preexposure prophylaxis and had a bacterial infection in the prior 12 months. The trial gave 200 mg (two 100 mg pills) within 72 hours after condomless sex, with no more than three doses per week, compared with no prophylaxis. It also tested the meningococcal group B vaccine against gonorrhea, as a separate question in the same men. Of 556 randomly assigned, 545 were analyzed, with a median follow-up of 14 months.

The 2024 federal guideline cites earlier results from this trial by infection: an adjusted hazard ratio of 0.49 (0.32 to 0.76) for gonorrhea, 0.11 (0.04 to 0.30) for chlamydia and 0.21 (0.09 to 0.47) for syphilis. Those are initial figures from a smaller group of 502 men, not the final analysis above.

The dPEP Trial in Kenyan Women Found No Significant Reduction

This is the only randomized trial of the after-sex method in cisgender women named in the 2024 federal guideline. It enrolled 449 Kenyan women aged 18 to 30 who were using preexposure prophylaxis against human immunodeficiency virus. The trial gave 200 mg of doxycycline hyclate within 72 hours after condomless sex, compared with standard care, for 12 months.

Two findings bear on how to read this null result. First, the drug was often not there to measure. Among 50 randomly selected women in the doxycycline group, it was detected in 58 of 200 hair samples (29.0%), although women reported dosing coverage in 78% of weekly surveys, according to the 2024 federal guideline. The trial's authors state that use was low. Second, every gonorrhea sample tested from the trial was resistant to doxycycline. The 2024 federal guideline says that nonadherence might explain the lack of efficacy, and that other reasons, such as biological differences, still need to be explored. The trial cannot separate these explanations.

One small observational study from Tokyo points in a different direction, but it tested something else. Forty female sex workers at a private clinic took daily doxycycline, 100 mg per day. Their overall infection rate fell from 232.3 to 79.2 per 100 person-years compared with their own earlier rate, an incidence rate ratio of 0.33. The fall in chlamydia was of marginal statistical significance, syphilis cases dropped to zero, and gonorrhea did not change significantly. It had no comparison group and no after-sex dosing, so it does not settle the question the Kenyan trial raised.

Pooled Results and Results Outside the Trials

A 2026 meta-analysis pooled three randomized trials with 1,278 participants, all men who have sex with men or transgender women at high risk. The pooled relative risks were 0.22 (0.12 to 0.39) for chlamydia, 0.24 (0.13 to 0.44) for syphilis and 0.79 (0.66 to 0.95) for gonorrhea. The authors describe the gonorrhea benefit as smaller and long-term resistance as uncertain.

Studies from clinics and cities measure what happens once people use the method in ordinary life. They are observational, so other changes over the same period may account for part of what they show.

What the 2024 Centers for Disease Control and Prevention Guideline States

The Centers for Disease Control and Prevention published its clinical guideline in June 2024. The points below are what the report itself states.

Other countries read the same evidence differently. The 2024 federal guideline describes position statements ranging from recommending against widespread use, because of resistance concerns, to conditional use for people at risk of syphilis, to case-by-case use. The 2025 national guideline from the British Association for Sexual Health and HIV is written for the prevention of syphilis specifically.

This guideline predates several findings on this page, including the 2025 and 2026 gonorrhea resistance data below. Decisions about prescription medicines belong with a clinician.

Resistance in Gonorrhea

Gonorrhea is the infection most studied for resistance, for two reasons: the protection against it was weakest, and the bacterium has a long record of acquiring resistance to antibiotics. Tetracycline resistance was already widespread before this method existed. A 2025 systematic review of 80,645 samples from 51 countries put median resistance at 54.2%, with a range from 4.0% to 100.0%. It was highest in East Asia and the Pacific (82.1%) and sub-Saharan Africa (81.6%), and lowest in North America (26.5%). Only 9% of the studies included women. The review's authors conclude that high and rising resistance limits the method's potential against gonorrhea.

A plasmid-borne gene called tetM is central to the newer data. A plasmid is a small piece of DNA that bacteria can pass among themselves, and this gene gives high-level resistance to tetracyclines.

The strongest single finding comes from southern California. Effectiveness against gonorrhea fell from 42.3% (2.7 to 65.8) before statewide rollout to −15.0% (−51.1 to 11.4) in the first half of 2025. It was 47.2% when tetM was in 20.0% to 29.9% of local samples, and −8.5% when it was in 50% or more. Effectiveness against chlamydia and syphilis was sustained. The authors state that protection against gonorrhea might not be durable, and that risk-benefit considerations "should assume limited or transient benefits" for gonorrhea prevention.

A further question is whether doxycycline use could also weaken the drugs used to treat gonorrhea, a concern known as co-selection. So far the signal is small and inconsistent. In the DOXYVAC substudy, all samples remained susceptible to ceftriaxone and cefixime, though samples with reduced cefixime susceptibility tied to one gene variant were more frequent with doxycycline (32.3% against 10.0%). In Milan, reduced ceftriaxone susceptibility appeared in 5 of 77 exposed episodes against 3 of 298 unexposed, with no fully resistant samples. In Melbourne, ceftriaxone resistance stayed rare, at 3 of 11,334 samples over ten years. These counts are small, and the DOXYVAC and Melbourne authors call for continued monitoring.

Resistance in Other Bacteria

An antibiotic dose reaches every bacterium in the body, not only the one it was taken for. Researchers call the effect on the others "off-target."

Colonization with a resistant germ is not the same as illness from it. None of the abstracts read for this page report a rise in resistant infections that made people sick. The Staphylococcus and Streptococcus studies measure carriage, not disease.

Side Effects the Studies Measured

Serious harm attributed to the drug was rare in the trials. Stomach complaints were the most common problem.

The trials ran for months, while real use may last years. To look further, a systematic review gathered 67 studies of doxycycline taken for eight weeks or more, many of them on acne, rosacea and malaria prevention. Adverse events ranged from 0% to above 50%, most often nausea, vomiting, abdominal pain, rash, headache and dizziness. In a meta-analysis of 18 placebo-controlled trials, gastrointestinal and skin effects were more likely on doxycycline. Stopping because of side effects was relatively uncommon in most studies, and the authors call for more research on metabolic effects. These were daily schedules, so they do not exactly match an after-sex dose.

The 2024 federal guideline lists the effects most associated with doxycycline as sun sensitivity and gastrointestinal symptoms, including erosion and ulceration of the esophagus, and states that most resolve when the drug is stopped. Its counseling points include taking the dose on a full stomach with a full glass of liquid and not lying down for one hour afterward, to prevent esophagitis. None of the abstracts read for this page report results in pregnancy.

Gut and Vaginal Microbiome Research

The microbiome is the community of microbes living in and on the body. When the federal guideline appeared, the report noted that no studies yet existed on long-term, intermittent doxycycline use and the microbiome. Some have appeared since.

Together, these studies describe a gut community that looks much the same after six to twelve months, while carrying a larger share of resistance genes. What this means for later infections is not established, and the DoxyPEP authors call for further studies and population-level surveillance.

What Is Not Known

Key Research Papers

  1. 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. Postexposure Doxycycline to Prevent Bacterial Sexually Transmitted Infections. N Engl J Med. 2023;388(14):1296-1306. PubMed PMID: 37018493
  2. Luetkemeyer AF, Donnell D, Cohen SE, Dombrowski JC, Grabow C, Haser G, Brown C, Cannon C, Malinski C, Perkins R, Nasser M, Lopez C, Suchland RJ, Vittinghoff E, Buchbinder SP, Scott H, Charlebois ED, Havlir DV, Soge OO, Celum C. Doxycycline to prevent bacterial sexually transmitted infections in the USA: final results from the DoxyPEP multicentre, open-label, randomised controlled trial and open-label extension. Lancet Infect Dis. 2025;25(8):873-883. PubMed PMID: 40147465
  3. Molina JM, Charreau I, Chidiac C, Pialoux G, Cua E, Delaugerre C, Capitant C, Rojas-Castro D, Fonsart J, Bercot B, Bébéar C, Cotte L, Robineau O, Raffi F, Charbonneau P, Aslan A, Chas J, Niedbalski L, Spire B, Sagaon-Teyssier L, Carette D, Mestre SL, Doré V, Meyer L. Post-exposure prophylaxis with doxycycline to prevent sexually transmitted infections in men who have sex with men: an open-label randomised substudy of the ANRS IPERGAY trial. Lancet Infect Dis. 2018;18(3):308-317. PubMed PMID: 29229440
  4. 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. 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. Lancet Infect Dis. 2024;24(10):1093-1104. PubMed PMID: 38797183
  5. 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. Doxycycline Prophylaxis to Prevent Sexually Transmitted Infections in Women. N Engl J Med. 2023;389(25):2331-2340. PubMed PMID: 38118022
  6. Sesay FA, Oware K, Violette LR, Donnell D, Odoyo JB, Omollo V, Mogaka FO, McClelland RS, Balkus JE, Bukusi EA, Baeten JM, Stewart J. Trichomonas vaginalis Among Cisgender Women Taking Doxycycline Postexposure Prophylaxis. J Infect Dis. 2026;233(2):411-415. PubMed PMID: 41063661
  7. Bachmann LH, Barbee LA, Chan P, Reno H, Workowski KA, Hoover K, Mermin J, Mena L. CDC Clinical Guidelines on the Use of Doxycycline Postexposure Prophylaxis for Bacterial Sexually Transmitted Infection Prevention, United States, 2024. MMWR Recomm Rep. 2024;73(2):1-8. PubMed PMID: 38833414
  8. Saunders J, Deering J, Dewsnap C, Drayton R, Gilmore J, Grant A, Hunt DW, Kohli M, Lyons F, Mohammed H, Samba P, Weil B, White J, Medland N, Fifer H. British Association for Sexual Health and HIV (BASHH) UK national guideline for the use of doxycycline post-exposure prophylaxis (DoxyPEP) for the prevention of syphilis, 2025. Int J STD AIDS. 2025;36(10):756-764. PubMed PMID: 40505019
  9. Yamamoto S, Onozuka D, Ishiuchi T, Konishi K, Kutsuna S. Doxycycline postexposure prophylaxis for sexually transmitted infections: A systematic review and meta-analysis with trial sequential analysis. Int J Infect Dis. 2026;172:109053. PubMed PMID: 42612786
  10. Traeger MW, Leyden WA, Volk JE, Silverberg MJ, Horberg MA, Davis TL, Mayer KH, Krakower DS, Young JG, Jenness SM, Marcus JL. Doxycycline Postexposure Prophylaxis and Bacterial Sexually Transmitted Infections Among Individuals Using HIV Preexposure Prophylaxis. JAMA Intern Med. 2025;185(3):273-281. PubMed PMID: 39761062
  11. Sankaran M, Glidden DV, Kohn RP, Nguyen TQ, Bacon O, Buchbinder SP, Gandhi M, Havlir DV, Liebi C, Luetkemeyer AF, Nguyen JQ, Roman J, Scott H, Torres TS, Cohen SE. Doxycycline Postexposure Prophylaxis and Sexually Transmitted Infection Trends. JAMA Intern Med. 2025;185(3):266-272. PubMed PMID: 39761052
  12. Menza TW, Berzkalns A, Cannon CA, Balkus J, Kerani RP, Dombrowski JC, Golden MR. The Population-Level Impact of Doxycycline Postexposure Prophylaxis on Syphilis in King County, WA: An Interrupted Time Series Analysis. Clin Infect Dis. 2026;83(2):267-273. PubMed PMID: 41885610
  13. Yechezkel M, Helekal D, Kapadia B, Hong V, Pomichowski ME, Reyes IAC, Davis GS, Müller NF, Grad YH, Tartof SY, Lewnard JA. Durability of doxycycline effectiveness against gonorrhoea after implementation of post-exposure prophylaxis in southern California, USA: a retrospective, test-negative, observational study. Lancet Infect Dis. 2026;26(8):819-831. PubMed PMID: 42107388
  14. Chen YT, Lin KY, Sun HY, Huang YS, Liu WD, Chuang YC, Cheng A, Sheng WH, Hsieh SM, Pan SC, Wu UI, Su LH, Su YC, Liu WC, Wu PY, Luo YZ, Chang HY, Chen LY, Hung CC. Trends of bacterial sexually transmitted infections with doxycycline post-exposure prophylaxis among people using pre-exposure prophylaxis for HIV. Sex Transm Infect. 2026;102(7):475-478. PubMed PMID: 42575699
  15. Do K, Unemo M, Kenyon C, Hocking JS, Kong FYS. Tetracycline-resistant Neisseria gonorrhoeae global estimates-impacts on doxycycline post-exposure prophylaxis implementation and monitoring: a systematic review. JAC Antimicrob Resist. 2025;7(4):dlaf120. PubMed PMID: 40636396
  16. 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. Antimicrobial-Resistant Neisseria gonorrhoeae Infections in Men Using Doxycycline Postexposure Prophylaxis: A Substudy of the ANRS 174 DOXYVAC Trial. Clin Infect Dis. 2026;82(6):1065-1074. PubMed PMID: 41208026
  17. Soge OO, Thibault CS, Cannon CA, McLaughlin SE, Menza TW, Dombrowski JC, Fang FC, Golden MR. Potential Impact of Doxycycline Post-Exposure Prophylaxis on Tetracycline Resistance in Neisseria gonorrhoeae and Colonization With Tetracycline-Resistant Staphylococcus aureus and Group A Streptococcus. Clin Infect Dis. 2025;80(6):1188-1196. PubMed PMID: 40036749
  18. Latt PM, Aung ET, Soe NN, Sherry NL, Aguirre I, De Petra V, Kong FYS, Williams E, Roydhouse P, Chow EPF. Antimicrobial resistance in Neisseria gonorrhoeae among men who have sex with men: a 10-year analysis with implications for doxycycline post-exposure prophylaxis. J Clin Microbiol. 2026;64(10):e0096526. PubMed PMID: 42788724
  19. Raccagni AR, Sagramoso C, Capra N, Lolatto R, Cirillo DM, Carletti S, Loi G, Bruzzesi E, Castagna A, Nozza S. Impact of doxycycline post-exposure prophylaxis on Neisseria gonorrhoeae antimicrobial resistance to doxycycline and ceftriaxone in Milan, Italy. Clin Microbiol Infect. 2026:S1198-743X(26)00271-5. Online ahead of print. PubMed PMID: 42217672
  20. Grennan T, Mohammed S, Edward J, Tattersall T, Gupta AK, Seto J, Dennehy M, Romney MG, Zhang W, Li J, Trigg J, Lima VD, Juwono S, Wong J, Zhang G, Montaner JSG, Hull MW. A Pilot, Randomized Controlled Trial of Dual Daily HIV and Sexually Transmitted Infection Pre-exposure Prophylaxis Using Tenofovir Disoproxil Fumarate/Emtricitabine and Doxycycline in Gay, Bisexual, and Other Men Who Have Sex With Men and Transgender Women: The DuDHS Study. Clin Infect Dis. 2026;82(6):1054-1062. PubMed PMID: 39882974
  21. Berçot B, Charreau I, Rousseau C, Delaugerre C, Chidiac C, Pialoux G, Capitant C, Bourgeois-Nicolaos N, Raffi F, Pereyre S, Le Roy C, Senneville E, Meyer L, Bébéar C, Molina JM. High Prevalence and High Rate of Antibiotic Resistance of Mycoplasma genitalium Infections in Men Who Have Sex With Men: A Substudy of the ANRS IPERGAY Pre-exposure Prophylaxis Trial. Clin Infect Dis. 2021;73(7):e2127-e2133. PubMed PMID: 33305785
  22. Tsai MJ, Sun HY, Chen YT, Lin KY, Liu WD, Huang YS, Chen GJ, Wu TY, Su LH, Su YC, Liu WC, Hung CC. Impact of doxycycline post-exposure prophylaxis on the prevalence of resistance-associated mutations of Mycoplasma genitalium among high-risk people. Int J Infect Dis. 2026;170:108829. PubMed PMID: 42202900
  23. Chan PA, Le Brazidec DL, Becasen JS, Martin H, Kapadia J, Reno H, Bachmann L, Barbee LA. Safety of Longer-Term Doxycycline Use: A Systematic Review and Meta-Analysis With Implications for Bacterial Sexually Transmitted Infection Chemoprophylaxis. Sex Transm Dis. 2023;50(11):701-712. PubMed PMID: 37732844
  24. Chu VT, Glascock A, Donnell D, Grabow C, Brown CE, Ward R, Love C, Kalantar KL, Cohen SE, Cannon C, Woodworth MH, Kelley CF, Celum C, Luetkemeyer AF, Langelier CR. Impact of doxycycline post-exposure prophylaxis for sexually transmitted infections on the gut microbiome and antimicrobial resistome. Nat Med. 2025;31(1):207-217. PubMed PMID: 39363100
  25. Manoharan-Basil SS, Vanbaelen T, Kenyon C. Threshold effects of doxycycline postexposure prophylaxis (PEP) on the gut resistome and microbiome: Evidence from change-point analyses. Int J Infect Dis. 2026;163:108322. PubMed PMID: 41422940
  26. Knodel S, Main L, DeLeon M, Lamont A, Edward J, Gupta AK, Noel-Romas L, Mohammed S, Tattersall T, Wong J, Hull M, Grennan T, Burgener AD. Impact of doxycycline pre-exposure prophylaxis (doxyPrEP) for sexually transmitted infections on the microbiome of men who have sex with men on HIV PrEP. Nat Commun. 2025;16(1):6143. PubMed PMID: 40610420
  27. Abe S, Mizushima D, Ando N, Kawashima A, Uemura H, Shibata S, Moro H, Kikuchi T, Gatanaga H, Oka S, Shiojiri D. Doxycycline pre-exposure prophylaxis prevents sexually transmitted infections without affecting vaginal bacterial flora in female sex workers. JAC Antimicrob Resist. 2025;7(2):dlaf054. PubMed PMID: 40390838

PubMed Topic Searches

  1. PubMed: doxycycline postexposure prophylaxis randomized trials
  2. PubMed: doxycycline prophylaxis and gonorrhea resistance
  3. PubMed: doxycycline prophylaxis, microbiome and resistance genes
  4. PubMed: doxycycline prophylaxis in cisgender women

Back to Table of Contents

Connections