Doxy-PEP

One dose of the antibiotic doxycycline taken within 72 hours after sex to lower the chance of syphilis and chlamydia.

Key points

  • 200 mg of doxycycline, ideally within 24 hours and no later than 72 hours after sex.
  • Best evidence for syphilis and chlamydia, less for gonorrhoea.
  • It does not prevent HIV, herpes, HPV or other viral STIs.
On this page
  1. What it is
  2. How well it works
  3. How to use it
  4. STIs
  5. Good to know
  6. How to get it

What it is

Doxy-PEP (doxycycline post-exposure prophylaxis) is a single dose of the antibiotic doxycycline, taken after sex to stop some bacterial STIs from taking hold.2

The CDC recommends it for gay, bisexual and other men who have sex with men, and for trans women, who have had syphilis, chlamydia or gonorrhoea in the last 12 months.1 For cisgender women and heterosexual cisgender men there is not yet enough evidence to recommend it, so talk it through with a professional.1

How well it works

It works best against syphilis and chlamydia, and less well against gonorrhoea.1 Taking it as soon as possible after sex helps.

How to use it

  1. Take 200 mg of doxycycline after oral, anal or vaginal sex, ideally within 24 hours and no later than 72 hours.

  2. Swallow it with a full glass of water, ideally with food, and do not lie down for 1 hour afterwards.

  3. Take no more than 200 mg in 24 hours, even if you have sex again.

These steps follow the CDC guidance.12 While you use doxy-PEP, get tested for STIs every 3 to 6 months, because it does not prevent every infection.1

STIs

For HIV there are PrEP and PEP, and condoms help against most STIs. If a test comes back positive, telling your partners helps them get treated too.

Good to know

  • Possible side effects include nausea, an upset stomach and skin that burns more easily in the sun.2

  • Doxycycline is not usually used during pregnancy, so tell your clinic if you are or might be pregnant.3

  • Using antibiotics often can help bacteria become resistant to them, which is one reason the health bodies that recommend it limit it to the people who benefit most.1 Tell your clinic each time you use it.

How to get it

Recommendations differ between countries: some advise it for the groups above, others do not recommend it yet. Ask a sexual health service where you live whether it is offered, and never take antibiotics for this without a professional's advice.

About this article

Written by

LoveLust

Editorial team

Published October 21, 2026Updated October 22, 2026

How we write and check our content

Sources

  1. CDC (2024). Clinical guidelines on doxycycline post-exposure prophylaxis
  2. CDC. Preventing STIs with doxy PEP
  3. NHS. Doxycycline

This information is educational and does not replace assessment by a medical professional. LoveLust is not a medical device and does not diagnose, treat, cure or prevent any medical condition.

Keep track of it in LoveLust

Log protection, tests and your cycle privately, with reminders when they matter.

Open in the LoveLust app