Can doxycycline help prevent syphilis after a high-risk exposure?
If you have had a high-risk sexual exposure, you may be wondering if taking doxycycline can prevent syphilis. Research shows that a single 200 mg dose of doxycycline taken within 72 hours after sex — called doxy-PEP — can significantly lower the chance of getting syphilis. This approach has been studied mainly in men who have sex with men and transgender women, and it is not yet standard for all groups. You should talk to your doctor about whether doxy-PEP is right for you.
What the research says
Several studies have looked at doxycycline as post-exposure prophylaxis (doxy-PEP) to prevent bacterial sexually transmitted infections (STIs). A 2025 meta-analysis of four randomized trials found that doxy-PEP reduced the risk of syphilis by 77% (relative risk 0.23; 95% CI 0.13 to 0.41) 10. An earlier 2018 trial in the ANRS IPERGAY study also showed a significant reduction in syphilis among men who have sex with men taking doxycycline after sex 9. A 2024 Australian consensus statement recommends doxy-PEP primarily for preventing syphilis in gay, bisexual, and other men who have sex with men at risk 11. A larger 2025 meta-analysis including both randomized and non-randomized studies found that doxycycline (either as PrEP or PEP) reduced syphilis risk by 80% (risk ratio 0.20; 95% CI 0.12 to 0.33) 7. These findings are consistent across different studies, but most evidence comes from men who have sex with men and transgender women, so it is less clear how well doxy-PEP works in other populations.
What to ask your doctor
- Is doxycycline post-exposure prophylaxis (doxy-PEP) appropriate for me after a high-risk sexual exposure?
- What is the recommended dose and timing — 200 mg within 72 hours after sex?
- Are there any side effects or risks, such as antibiotic resistance, that I should consider?
- Should I be tested for other STIs before starting doxy-PEP?
- How often can I use doxy-PEP, and is it safe for repeated use?
This question is drawn from common patient questions about this topic and answered using cited medical research. We do not provide individualized advice.