Doxycycline reliably cures chlamydia and is the recommended first-line treatment for it. It also cures syphilis (as an alternative when penicillin can’t be used), lymphogranuloma venereum, and a handful of rarer bacterial STIs. But it does not work against all sexually transmitted infections, and for some, like gonorrhea, resistance has made it essentially useless as a standalone treatment. The picture gets more interesting when you look at the newer preventive use of doxycycline, which is reshaping how public health officials think about this decades-old antibiotic.
Chlamydia Is the Clearest Win
If you’re diagnosed with a genital chlamydia infection, doxycycline is the drug most likely to clear it completely. In a closely monitored trial where patients took the medication under direct observation, doxycycline achieved a 100% cure rate, while the other commonly prescribed antibiotic, azithromycin, came in at about 97%.1PubMed Central. Azithromycin versus Doxycycline for Urogenital Chlamydia trachomatis Infection That gap may sound small, but it’s meaningful enough that treatment guidelines now favor doxycycline as the first-choice option for uncomplicated chlamydia.
The standard regimen is 100 mg taken twice a day for seven days. The main practical downside compared to azithromycin, which is a single dose, is that you have to remember to take pills for a full week. Skipping doses or stopping early can reduce effectiveness, so finishing the course matters. Despite that inconvenience, the slightly better cure rate has pushed most guidelines firmly toward doxycycline, with azithromycin reserved for people who can’t tolerate it or are unlikely to complete a week-long course.
In men with symptomatic chlamydial urethritis specifically, the advantage of doxycycline over azithromycin appears even larger, with pooled data from multiple studies suggesting doxycycline’s edge widens to around 7 percentage points in that group. Across all patient groups combined, the advantage is smaller but still consistently in doxycycline’s favor.
Syphilis When Penicillin Isn’t an Option
Penicillin remains the gold standard for treating syphilis, and for good reason: it has been effective for decades and has the deepest evidence base. But some people are allergic to penicillin, and that’s where doxycycline steps in. For early syphilis (primary and secondary stages), a 14-day course of doxycycline produces outcomes that look comparable to a single injection of benzathine penicillin.
In a study comparing the two, no patients in the doxycycline group experienced serological failure, compared with about 5.5% in the penicillin group, though the difference wasn’t statistically significant given the study size.2Clinical Infectious Diseases. Doxycycline Compared with Benzathine Penicillin for the Treatment of Early Syphilis Those results held up in a separate multi-center study of people living with HIV, where doxycycline and penicillin produced similar response rates at both six and twelve months of follow-up.3PLoS ONE. Comparison of Serological Response to Doxycycline versus Benzathine Penicillin G in the Treatment of Early Syphilis in HIV-Infected Patients: A Multi-Center Observational Study
It’s worth noting that the evidence base for doxycycline in syphilis is thinner than for chlamydia. Most guidelines still describe it as a second-line or alternative treatment rather than the default. If you can tolerate penicillin, your doctor will almost certainly recommend it first. Doxycycline’s role here is as a reliable backup, not a replacement.
Lymphogranuloma Venereum
Lymphogranuloma venereum, or LGV, is caused by specific aggressive strains of the same bacterium that causes chlamydia. It tends to cause more severe symptoms, including rectal inflammation and swollen lymph nodes, and has become increasingly common among men who have sex with men in recent years. The traditional recommended treatment has been a longer course of doxycycline, typically 21 days, but emerging evidence suggests shorter courses work just as well.
A study of 52 people treated with just seven days of doxycycline found that every single case was successfully cleared.4PubMed. Effective Treatment of Lymphogranuloma Venereum With a 7-Day Course of Doxycycline Another study looking at both 7-day and 14-day courses found negative test results in 59 out of 60 patients.5PubMed. Observed Treatment Responses to Short-Course Doxycycline Therapy for Rectal Lymphogranuloma Venereum in Men Who Have Sex With Men A third study comparing 7-day and 21-day regimens directly found 100% cure in both groups.6PubMed. Rectal Lymphogranuloma Venereum Among Men Who Have Sex With Men: 7 Versus 21 Days Doxycycline Effectiveness The consistency of these findings across multiple studies is striking. While some guidelines still call for the longer course, the trend is clearly toward shorter treatment, which is easier for patients to complete.
Donovanosis and Other Rare Bacterial STIs
Donovanosis (also called granuloma inguinale) is a bacterial STI caused by Klebsiella granulomatis that produces painless but destructive genital ulcers. It’s rare in most of the world but still seen in parts of the tropics and occasionally elsewhere. Doxycycline is one of the recommended treatments, and case reports show good responses with courses lasting at least 21 days.7PubMed Central. Donovanosis in a child victim of sexual abuse: response to doxycycline treatment8PubMed Central. Chronic gluteal donovanosis due to Klebsiella granulomatis: First autochthonous case in Morocco Treatment typically continues until the ulcers have fully healed, which can take several weeks.
Doxycycline also plays a role in treating non-gonococcal urethritis, a condition most commonly caused by chlamydia but sometimes caused by other organisms like Ureaplasma species. Against Ureaplasma parvum, doxycycline cleared about three-quarters of infections, performing better than azithromycin, which failed in over half of cases when U. parvum was the sole pathogen.9PubMed Central. Efficacy of standard therapies against Ureaplasma species and persistence among men with non-gonococcal urethritis enrolled in a randomized controlled trial This is a somewhat underappreciated use of the drug, since many cases of urethritis that don’t respond to initial treatment turn out to involve these less commonly tested organisms.
Where Doxycycline Falls Short on Its Own
Two important STIs illustrate the limits of doxycycline: gonorrhea and Mycoplasma genitalium.
Gonorrhea is the big one. The bacterium Neisseria gonorrhoeae has developed high rates of tetracycline resistance, with roughly 45% of strains showing resistance in surveillance data.10Oxford Academic (Journal of Antimicrobial Chemotherapy). Doxycycline in the management of sexually transmitted infections That number has only grown in the years since. Current guidelines do not recommend doxycycline for gonorrhea treatment at all.11Journal of Antimicrobial Chemotherapy. Important considerations regarding the widespread use of doxycycline chemoprophylaxis against sexually transmitted infections If you have gonorrhea, you need a different antibiotic, typically an injection of ceftriaxone. This is a common source of confusion, since people sometimes assume that because doxycycline treats chlamydia (and the two infections are frequently diagnosed together), it must also treat gonorrhea. It does not.
Mycoplasma genitalium is a subtler story. Doxycycline alone cures only about 30 to 40% of M. genitalium infections, which is far too low to rely on as a standalone treatment.12Open Forum Infectious Diseases. Treatment Approaches for Refractory Mycoplasma genitalium Infection However, doxycycline has become a critical first step in what’s called a sequential treatment strategy. You take doxycycline for seven days first to knock down the bacterial load, then follow with a second antibiotic chosen based on resistance testing, typically azithromycin or moxifloxacin. This two-step approach produces cure rates above 90%.13PubMed. Resistance-Guided Antimicrobial Therapy Using Doxycycline-Moxifloxacin and Doxycycline-2.5 g Azithromycin for the Treatment of Mycoplasma genitalium Infection: Efficacy and Tolerability So while doxycycline doesn’t cure M. genitalium by itself, it’s an indispensable part of the regimen that does.
Doxycycline also does nothing against viral STIs. Herpes, HIV, HPV, and hepatitis B are caused by viruses, not bacteria, and no antibiotic will touch them. This should go without saying, but the growing public conversation about doxycycline’s preventive use sometimes creates the impression that it’s a broad-spectrum STI shield. It is not.
Pelvic Inflammatory Disease
Pelvic inflammatory disease, or PID, isn’t a single STI but rather an infection of the upper reproductive tract that often arises as a complication of untreated chlamydia or gonorrhea. Doxycycline is a core part of the standard treatment regimen, but it’s used in combination with other antibiotics rather than alone. The most widely recommended combination is ceftriaxone plus doxycycline plus metronidazole.14PubMed. Treatment of uncomplicated pelvic inflammatory disease: CNGOF and SPILF Pelvic Inflammatory Diseases Guidelines
A randomized trial found that adding metronidazole to the ceftriaxone-and-doxycycline combination improved outcomes and better cleared certain organisms from the upper genital tract.15Clinical Infectious Diseases. A Randomized Controlled Trial of Ceftriaxone and Doxycycline, With or Without Metronidazole, for the Treatment of Acute Pelvic Inflammatory Disease The takeaway for patients is that if you’re being treated for PID, the doxycycline is doing important work against the chlamydial component, but the other drugs in the combination are covering organisms that doxycycline can’t handle on its own.
Doxy PEP and Prevention
One of the most talked-about developments in sexual health over the past few years is the use of doxycycline as post-exposure prophylaxis, commonly called “doxy PEP.” This means taking a single 200 mg dose within 72 hours after unprotected sex to prevent bacterial STIs from establishing themselves. It’s a fundamentally different use of the drug: prevention rather than treatment.
The landmark trial that put doxy PEP on the map found dramatic reductions in STI rates. Among people taking HIV pre-exposure prophylaxis (PrEP), those assigned to doxy PEP had an overall STI rate of about 11% per quarter compared to 32% in the standard-care group. Chlamydia risk dropped by roughly 88%, and syphilis by about 87%. Gonorrhea rates also fell, though by a smaller margin, roughly 55%.16PubMed Central. Postexposure Doxycycline to Prevent Bacterial Sexually Transmitted Infections Similar reductions were seen among people already living with HIV in the same trial.
Real-world data from a public STI clinic in Philadelphia found comparable results, with doxy PEP users experiencing a 62% overall reduction in STI rates, including a 72% reduction in chlamydia and a 51% reduction in gonorrhea.17PubMed Central. Doxycycline post-exposure prophylaxis is effective and highly acceptable in an urban public sexually transmitted disease clinic: Philadelphia, 2019–2023 The smaller effect on gonorrhea is consistent with the high baseline resistance of gonorrhea bacteria to tetracyclines. Doxy PEP clearly works best against the STIs that doxycycline also treats well when given as a full course: chlamydia and syphilis.
The Resistance Concern
Widespread use of any antibiotic invites resistance, and the expansion of doxy PEP has sparked serious debate among infectious disease specialists. The worry isn’t so much about chlamydia, which has remained susceptible to tetracyclines. The concerns center on two fronts: further accelerating gonorrhea’s already high tetracycline resistance, and promoting resistance in non-STI bacteria that live on and in the body.
A study of doxy PEP users found something nuanced. People taking doxy PEP were actually less likely to carry Staphylococcus aureus overall, but among those who did carry it, tetracycline-resistant strains were more than twice as common compared to non-users. Colonization with tetracycline-resistant Group A Streptococcus was also more common in doxy PEP users.18PubMed. Potential Impact of Doxycycline Post-Exposure Prophylaxis on Tetracycline Resistance in Neisseria gonorrhoeae and Colonization With Tetracycline-Resistant Staphylococcus aureus and Group A Streptococcus These aren’t STI organisms, but they can cause skin infections and strep throat, so the implications extend beyond sexual health.
For chlamydia and M. genitalium treatment specifically, the rise of doxycycline resistance would be a serious problem, since doxycycline is either the first-line treatment or an essential component of sequential therapy for both. Experts have called for enhanced surveillance of doxycycline resistance across STI pathogens, including genomic sequencing of treatment failures.11Journal of Antimicrobial Chemotherapy. Important considerations regarding the widespread use of doxycycline chemoprophylaxis against sexually transmitted infections The situation is an ongoing balancing act between the clear short-term benefits of preventing infections and the long-term risk of losing an effective antibiotic.
Practical Tips If You’re Prescribed Doxycycline for an STI
Doxycycline is generally well tolerated, but a few practical details can make or break the experience. The most common side effects are nausea and stomach upset, which are much less likely if you take the medication with food. Dairy products used to be considered off-limits with older tetracyclines, but doxycycline’s absorption is less affected by calcium, so taking it with a meal that includes dairy is usually fine.
One underappreciated risk is esophageal irritation. Doxycycline capsules are acidic and can cause painful ulcers if they get stuck in the esophagus. The capsule form has been shown to remain in the esophagus much longer than the tablet form.19PubMed Central. Esophageal Ulceration Following the Ingestion of a Single Dose of Doxycycline: A Case Report The fix is simple: drink a full glass of water when you swallow the pill, and stay upright for at least ten minutes afterward. Don’t take it right before lying down to sleep.
Sun sensitivity is another common issue. Doxycycline makes your skin more prone to sunburn, and the effect can be surprisingly strong for some people, particularly during a seven-day or longer course. Wearing sunscreen and avoiding prolonged direct sun exposure during treatment helps.
Doxycycline is generally avoided in pregnancy. While some researchers have argued that the risks of doxycycline in early pregnancy may be overstated compared to older tetracyclines, current guidelines still steer pregnant patients toward azithromycin or amoxicillin for chlamydia treatment. Children under eight are typically not given doxycycline either, due to concerns about tooth discoloration, though short courses may be acceptable in certain situations according to more recent guidance.
Quick Reference of STIs and Doxycycline’s Role
- Chlamydia: First-line cure. Seven-day course at 100 mg twice daily. Near-100% efficacy.
- Syphilis (early): Effective alternative when penicillin can’t be used. Fourteen-day course.
- LGV: Curative, with growing evidence that seven days works as well as the traditional 21.
- Donovanosis: Effective treatment, usually three weeks or longer until lesions resolve.
- Non-gonococcal urethritis: Often effective, especially against Ureaplasma parvum.
- Mycoplasma genitalium: Not curative alone (only about 30-40% cure rate), but essential as the first step in sequential therapy that achieves over 90% cure.
- Gonorrhea: Not recommended. High resistance rates make it unreliable.
- Viral STIs (herpes, HIV, HPV, hepatitis): No effect. These require antiviral medications, not antibiotics.
- Pelvic inflammatory disease: Used as part of a multi-drug regimen, not alone.
The consistent theme across all of these is that doxycycline excels against intracellular bacterial pathogens and struggles where resistance has already taken hold. If you’re being treated or tested for an STI, the most useful thing you can do is make sure the prescribing clinician knows your full sexual history and any drug allergies, so the right antibiotic gets matched to the right infection from the start.