The only proven option: doxyPEP

Bedroom in soft morning light with a made bed

Doxycycline post-exposure prophylaxis, doxyPEP, is the only antibiotic approach after sex that large studies have shown to work.

One dose of 200 mg, taken within 72 hours after sex without a condom, lowers the risk of syphilis and chlamydia by more than three quarters and gonorrhoea by about half. Read more in what is doxyPEP.

What does not work

OptionWorks to prevent STIs?Why
DoxyPEP (doxycycline 200 mg)YesProven in large studies
Leftover antibiotics at homeNoWrong type or dose, raises resistance
Amoxicillin after sexNoNot shown to prevent STIs
Antibiotics against HIVNoHIV is a virus, antibiotics do not work
Daily doxycycline before sexNot advisedOnly studied on a small scale

Why "just any antibiotic" is a bad idea

Taking the wrong antibiotic, or the wrong dose, does not protect you but does give bacteria a chance to become resistant. That makes future infections harder to treat, for you and for others. DoxyPEP is a specific dose of a specific medicine, used only after a real risk.

Antibiotics do not replace testing

Whatever you take, test for STIs every three months if you have sex without condoms, and always when you have symptoms. Testing finds what prevention misses.

Frequently asked questions

Can you take antibiotics after sex to prevent an STI?
Yes, but only one approach is proven: doxyPEP, a single 200 mg dose of doxycycline within 72 hours after sex. It lowers the risk of syphilis and chlamydia, and partly gonorrhoea.
Can I use leftover antibiotics after sex?
No. Other antibiotics, such as amoxicillin, have not been shown to prevent STIs, and the wrong dose can help bacteria become resistant.
Do antibiotics after sex protect against HIV?
No. Antibiotics do not work against viruses. After a possible HIV exposure you need HIV PEP, started within 72 hours at a clinic or emergency department.
What about a bladder infection after sex?
Some women get recurring bladder infections after sex. A doctor can prescribe a specific antibiotic for that. It is a different medicine and a different reason than doxyPEP.