Doxy-PEP: What It Is, Who It's For, and How It Works

Doxy-PEP means taking the antibiotic doxycycline within 72 hours after oral, anal or vaginal sex without a condom to lower the chance of syphilis, chlamydia and gonorrhea. CDC recommends clinicians offer it to gay and bisexual men and transgender women who had a bacterial STI in the past 12 months. It needs a prescription and doesn't prevent HIV or herpes.

Written by STD Clear Editorial Team · Published November 30, 2026 · Based on CDC guidance. General education, not personal medical advice.

A doctor in a white coat talks with a patient across his desk

What is doxy-PEP?

Doxy-PEP stands for doxycycline postexposure prophylaxis. Doxycycline is a common antibiotic, and "postexposure prophylaxis" means you take it after a possible exposure to stop an infection from taking hold. According to CDC's patient guidance, you take it within 72 hours after anal, oral or vaginal sex to lower the chance of some STIs.

It's newer than HIV PEP and works differently. HIV PEP is a 28-day course of HIV medicines started within 72 hours of a possible HIV exposure. Doxy-PEP is a single antibiotic dose aimed at bacterial STIs only. CDC published its first clinical guidelines on doxy-PEP in June 2024.

How does doxy-PEP work?

Syphilis, chlamydia and gonorrhea are caused by bacteria. A dose of doxycycline soon after sex can kill those bacteria before an infection gets established. CDC guidance says the dose is 200 mg, taken ideally within 24 hours and no later than 72 hours after sex, and no more than 200 mg in any 24 hours, however many times you had sex that day (CDC guidelines).

That's the guidance, not a personal instruction. Your clinician decides whether doxy-PEP fits you and how to take it, and will check your other medicines first.

One thing it can't do: CDC notes the doxy-PEP dose isn't strong enough to treat an STI you already have. If you have symptoms or a positive test, you need full treatment from a clinician.

Test for everything in one visit

The Complete Panel covers 12 tests for $249. Results in 1–2 days.

Get tested

Who should take doxy-PEP?

CDC's 2024 guidelines say providers should counsel gay, bisexual and other men who have sex with men (MSM) and transgender women who had at least one bacterial STI (syphilis, chlamydia or gonorrhea) in the past 12 months about the benefits and harms of doxy-PEP, and offer them a prescription using shared decision-making (CDC guidelines).

CDC also says doxy-PEP could be discussed with MSM and transgender women who haven't had a recent STI but expect sexual activity that raises their exposure, using shared decision-making. The trials didn't directly study this group.

For cisgender women, cisgender heterosexual men, transgender men and other queer and nonbinary people assigned female at birth, CDC says the data are limited and asks clinicians to use clinical judgment and shared decision-making. It makes no recommendation for these groups at this time.

What does doxy-PEP prevent, and what doesn't it prevent?

Doxy-PEP is an antibiotic, so it only works on bacterial STIs. CDC says it does not prevent other common STIs, such as HIV or herpes, which are viruses.

  • For HIV, ask a clinician about PrEP or PEP. CDC's guidelines pair doxy-PEP with HIV testing and linking people to PrEP.
  • CDC's patient page also recommends hepatitis A and B vaccines, the two-dose mpox vaccine, and testing for HIV and viral hepatitis.
Doxy-PEP lowers the chance ofDoxy-PEP does not prevent
SyphilisHIV
ChlamydiaHerpes (HSV-1, HSV-2)
Gonorrhea (less reliably)HPV and other viral infections

Does doxy-PEP work?

In men who have sex with men and transgender women, yes. CDC's guidelines summarize three trials (CDC guidelines):

  • DoxyPEP (San Francisco and Seattle, 501 participants): doxy-PEP significantly reduced chlamydia, gonorrhea and syphilis. Among people taking HIV PrEP, the relative risk was 0.12 for chlamydia, 0.13 for early syphilis and 0.45 for gonorrhea, compared with no doxy-PEP.
  • DOXYVAC (France): doxy-PEP was associated with lower rates of chlamydia, syphilis and gonorrhea.
  • IPERGAY (France, 232 participants): doxy-PEP reduced chlamydia and syphilis, but there was no significant difference for gonorrhea.
  • Gonorrhea is the weak spot. It was reduced less than chlamydia and syphilis, and in one trial not significantly.

Does doxy-PEP work for women?

Not in the one large trial so far. The dPEP study in Kenya enrolled 449 cisgender women and found no significant reduction in bacterial STIs (CDC guidelines). Hair testing found doxycycline in only 29% of samples from women in the doxy-PEP group, so many may not have been taking it, and that may explain part of the result.

Because of that, CDC makes no recommendation on doxy-PEP for cisgender women at this time. A clinician can still discuss it case by case. Our STD testing for women page covers screening, which remains the main protection for women.

What are the side effects of doxy-PEP?

CDC says most people take doxycycline without significant side effects. The ones to know about:

  • Nausea, upset stomach and diarrhea. In the IPERGAY trial, stomach side effects were more common with doxy-PEP (53%) than without it (41%).
  • Sun sensitivity, so use sunscreen or cover up.
  • Irritation of the esophagus. CDC advises taking it with food and at least 8 ounces of water and not lying down for an hour afterward.
  • Interactions. CDC says not to take it within 2 hours of dairy, antacids, or supplements with iron, calcium or magnesium.

Does doxy-PEP cause antibiotic resistance?

That's the main open question. The trials found more tetracycline-resistant Staph aureus in the nose in one study and tetracycline-resistant gonorrhea in another. CDC's guidelines flag possible resistance and changes to gut and skin bacteria as risks to monitor, and say long-term effects aren't known yet (CDC guidelines). This is one reason CDC recommends reassessing the need for doxy-PEP every 3 to 6 months.

How do you get doxy-PEP?

Doxy-PEP needs a prescription from a clinician. CDC advises talking with a healthcare provider and getting the prescription ahead of time, so you have the medicine with you when you need it, and not sharing your prescription with anyone.

STD Clear doesn't prescribe doxy-PEP. Ask your primary care doctor, an LGBTQ+ health clinic, or an HIV PrEP provider. CDC notes some free or low-cost clinics offer confidential testing and can prescribe doxycycline. Your local health department is a good place to start; our state STD testing guides link to each state's official clinic finder.

Do you still need STD testing on doxy-PEP?

Yes. CDC's guidelines say people starting doxy-PEP should be tested for bacterial STIs at the body sites they use for sex, then every 3 to 6 months, along with HIV screening (CDC guidelines). Doxy-PEP lowers risk; it doesn't remove it. Gonorrhea in particular can still get through, and HIV, herpes and hepatitis aren't covered at all.

Regular testing catches what slips past. The Core Panel covers chlamydia, gonorrhea, HIV and syphilis, and the Complete Panel adds herpes, hepatitis and more. Order online and visit a nearby lab, or find STD testing near you. A urine test only checks the genital site, so ask a clinician about throat or rectal swabs if those are exposure sites.

This article is general information, not medical advice. Talk with a clinician before starting doxy-PEP or any antibiotic.

The short version

  1. Doxy-PEP is a single dose of doxycycline taken after sex, not a daily pill and not a vaccine.
  2. CDC's 2024 guidelines recommend it for gay, bisexual and other men who have sex with men and transgender women who had syphilis, chlamydia or gonorrhea in the past 12 months.
  3. It lowers the chance of bacterial STIs. It does nothing against viruses such as HIV, herpes or HPV.
  4. The one large trial in cisgender women found no significant benefit, so CDC makes no recommendation for women yet.
  5. You still need STI testing every 3 to 6 months while you use it.

Related tests

Frequently asked questions

What is doxy-PEP?

Doxy-PEP is a dose of the antibiotic doxycycline taken within 72 hours after sex to lower the chance of syphilis, chlamydia and gonorrhea. It needs a prescription from a clinician.

Who is doxy-PEP recommended for?

CDC recommends clinicians offer doxy-PEP to gay, bisexual and other men who have sex with men and transgender women who had syphilis, chlamydia or gonorrhea in the past 12 months, using shared decision-making. For others, CDC asks clinicians to use clinical judgment.

Does doxy-PEP work for women?

The one large trial in cisgender women, in Kenya, found no significant reduction in bacterial STIs, possibly because many participants weren't taking it. CDC makes no recommendation for cisgender women at this time.

Does doxy-PEP prevent HIV?

No. Doxy-PEP is an antibiotic and only works against bacterial STIs. It doesn't prevent HIV, herpes or HPV. For HIV, ask a clinician about PrEP or PEP.

What are the side effects of doxy-PEP?

CDC says most people have no significant side effects. Possible ones include nausea, upset stomach, diarrhea and sun sensitivity. Taking it with food and water and staying upright for an hour helps.

How effective is doxy-PEP?

In trials of men who have sex with men and transgender women, doxy-PEP greatly reduced chlamydia and syphilis. It reduced gonorrhea less, and in one trial not significantly.

Do I still need STD tests if I take doxy-PEP?

Yes. CDC recommends STI testing at the body sites you use for sex every 3 to 6 months, plus HIV screening, while you're on doxy-PEP.

Sources

  1. CDC: Clinical Guidelines on the Use of Doxycycline Postexposure Prophylaxis for Bacterial STI Prevention, United States, 2024 (MMWR)
  2. CDC: Preventing STIs with Doxy PEP
  3. CDC: Preventing HIV with PEP

This article is for general education and isn't a substitute for medical advice. If you have symptoms or a possible HIV exposure in the last 72 hours, seek care right away.

Stop wondering. Get a clear next step.

Order now and get tested today. Panels from $119, lab fees included. Most results in 1–2 days.