Doxy-PEP and PrEP aren't the same thing. Doxy-PEP is an antibiotic (doxycycline) taken after sex to lower the risk of certain bacterial STIs like syphilis and chlamydia. PrEP is medication taken to prevent HIV, a virus. They use different drugs against different targets, and you can use both.

200 mg
Dose

doxycycline, within 72 hours after sex

bacterial STIs
Reduces

syphilis, chlamydia, some gonorrhea

specific groups
For

MSM & trans women with a recent bacterial STI

everyone
Not for

evidence still limited for others

Doxy-PEP at a glance. Source: CDC.
Doxy-PEP at a glance
ItemValue
Dose200 mg — doxycycline, within 72 hours after sex
Reducesbacterial STIs — syphilis, chlamydia, some gonorrhea
Forspecific groups — MSM & trans women with a recent bacterial STI
Not foreveryone — evidence still limited for others

What each one is

The confusion is understandable. Both are pills, both are about prevention, and both come up in the same sexual-health conversations. But they work on completely different problems.

Doxy-PEP stands for doxycycline post-exposure prophylaxis. It's a single dose of an antibiotic you take after condomless sex to reduce the chance of picking up a bacterial STI CDC Doxy-PEP. Being an antibiotic, it only works against bacteria and has no effect on HIV or other viruses. You can read the full how-and-when in our doxypep guide.

PrEP stands for pre-exposure prophylaxis, and in everyday use it means HIV PrEP — medication taken on an ongoing basis (or before sex, in some regimens) to prevent HIV infection. It does nothing against bacterial STIs like gonorrhea, chlamydia, or syphilis.

The key differences

What infection they prevent

Doxy-PEP targets bacterial STIs only. It's been shown to reduce the risk of syphilis and chlamydia, and in some studies gonorrhea, though the effect on gonorrhea is less consistent because gonorrhea bacteria can resist doxycycline. PrEP prevents HIV, a virus doxycycline can't touch.

When you take it

Doxy-PEP is taken after sex, a reactive single dose. PrEP is taken before potential exposure as ongoing protection, so the medication is already in your system when sex happens. The "post" versus "pre" distinction is baked into the names.

How often you take it

With doxy-PEP, the dose is doxycycline taken as soon as possible within three days after sex, and you don't exceed that single dose in any 24-hour period CDC MMWR, 2024. If you have sex on three different days, you'd take it on three occasions. It's event-driven rather than a daily habit. PrEP is usually a sustained regimen kept up regardless of when you last had sex.

CDC guidance is for providers to discuss doxy-PEP specifically with gay and bisexual men and transgender women who've had at least one bacterial STI — gonorrhea, chlamydia, or syphilis — in the past year. There isn't yet enough evidence to weigh the benefits and harms for other groups, including cisgender women, so it's not broadly recommended for everyone. PrEP eligibility is based on HIV risk, a separate assessment.

Doxy-PEP vs PrEP at a glance

Doxy-PEPHIV PrEP
What it preventsCertain bacterial STIs (syphilis, chlamydia, sometimes gonorrhea)HIV (a virus)
MedicationDoxycycline (an antibiotic)Anti-HIV medication
TimingAfter sex (post-exposure)Before/around exposure (pre-exposure)
How oftenSingle dose within 72 hours after sex; not more than that per 24 hoursOngoing regimen
Who it's forGay/bisexual men and transgender women with a bacterial STI in the past 12 monthsPeople at higher risk of HIV
Protects against HIV?NoYes

Which one applies to you, and how to choose

It's not really an either/or. They address different risks, so plenty of people who use PrEP are also candidates for doxy-PEP, and they can be used together.

  • If your main concern is HIV, PrEP is the tool. Doxy-PEP won't help there.
  • If you've had a bacterial STI in the past year and you're in one of the groups CDC names, doxy-PEP is worth raising with your clinician.
  • If you fall outside those groups (for example, cisgender women), there isn't yet enough evidence to recommend doxy-PEP routinely, so the conversation may go differently.
  • If you want broad protection, no single pill covers everything. Condoms, vaccines (like HPV and hepatitis), PrEP, doxy-PEP, and regular testing each cover a different gap.

Doxy-PEP is a backstop, not a force field. It targets bacterial STIs only and works best alongside condoms, vaccination, and routine screening rather than replacing any of them.

The practical next step

In real-world use, doxy-PEP is a single pill you keep on hand and take after condomless sex, prescribed for specific higher-risk groups rather than handed out to everyone. It isn't a daily routine, and it isn't sold as a cure-all. Because the long-term effects on antibiotic resistance aren't fully known, CDC continues to monitor resistance as use grows, and offers it as a targeted tool rather than a routine pill for the whole population.

Whichever route you're considering, testing is the foundation. You can't act on an infection you don't know about, and both prophylaxis strategies assume you're screening regularly. If you've had a possible exposure, get tested — and check when to test after exposure first, since testing too early can miss an infection that hasn't become detectable yet.

When to talk to a clinician

Bring it up with a provider if you've had a bacterial STI in the past year, if you have new or multiple partners, or if you're already on PrEP and want to know whether doxy-PEP adds anything for you. A clinician can confirm whether you fit the groups in current guidance, write the prescription, and set you up with a testing schedule. Don't source doxycycline informally or take leftover antibiotics. The dose, timing, and follow-up matter, and so does tracking resistance responsibly.