Doxycycline: How Many Days Should You Take It?

Navigate the complexities of Doxycycline treatment duration for optimal health outcomes.

The number of days you take doxycycline depends almost entirely on what you are treating, and the range is enormous. A single 200 mg dose taken after sex can help prevent certain sexually transmitted infections, while a seven-day course handles chlamydia, ten days covers early Lyme disease, and some chronic skin or gum conditions call for months of low-dose use. There is no universal “doxycycline course length,” which is why your prescription might look nothing like someone else’s.

Chlamydia and Other STIs

For uncomplicated chlamydia, the standard course is 100 mg twice a day for seven days. This regimen has been remarkably effective. In a directly observed treatment study, doxycycline achieved a 100% cure rate for urogenital chlamydia, outperforming the single-dose azithromycin alternative, which came in at about 97%. Another trial found similarly high eradication rates, with doxycycline clearing the infection in 97% of women and 99–100% of men. Because of this track record, seven-day doxycycline has become the first-line recommendation for uncomplicated chlamydia in most guidelines.

For syphilis, the picture changes. Primary and secondary syphilis typically call for 100 mg twice daily for 14 days when a penicillin injection is not an option. Pelvic inflammatory disease regimens that include doxycycline usually also run 14 days. So even within sexually transmitted infections, the “right” number of days shifts depending on the specific organism and the site of infection.

Post-Exposure Prophylaxis After Sex

One of the newer uses of doxycycline is not treatment at all but prevention. Known as doxy-PEP, it involves taking a single 200 mg dose within 72 hours after condomless sex. Three large randomized trials showed this strategy cut syphilis and chlamydia infections by more than 70% and gonorrhea by roughly half. A systematic review and meta-analysis found the reduction was strongest for syphilis (about 77%) and chlamydia (about 65%), with gonorrhea showing a less consistent benefit.

The CDC’s 2024 guidelines now recommend this approach for men who have sex with men and transgender women who have had a bacterial STI in the past year. The maximum frequency is 200 mg every 24 hours, and doxy-PEP is not a daily pill. You take it only when you have had a potential exposure. This represents a genuinely different model of antibiotic use compared to a fixed multi-day course, and it raises its own questions about resistance, which are worth keeping in mind.

Lyme Disease

For early Lyme disease, the most commonly prescribed duration is 10 to 14 days of doxycycline at 100 mg twice daily. There has been a persistent assumption that longer is better, but the evidence says otherwise. A randomized, double-blind trial compared 10 days of doxycycline to 20 days and found no meaningful difference in cure rates at 30 months. The complete response rate was about 90% in the 10-day group and roughly 84% in the 20-day group, with the difference not being statistically significant. Adding an intravenous dose of ceftriaxone at the start did not help either.

A larger observational study from a Lyme-endemic area reinforced this finding. The two-year treatment-failure-free survival rate was about 99% regardless of whether patients received antibiotics for 10 days or fewer, 11 to 15 days, or 16 days or longer. The group treated longest actually reported lower social-functioning scores on a quality-of-life survey, suggesting that prolonged treatment brought side effects without added benefit. A 2025 systematic review and meta-analysis found no significant difference between shorter and longer courses for the erythema migrans stage of Lyme disease, though the authors cautioned that the studies were small and the analysis was underpowered to prove non-inferiority definitively.

All of this applies to early, localized Lyme disease. Later-stage Lyme involving joint inflammation or neurological symptoms follows different protocols, often with longer courses or intravenous antibiotics. A single prophylactic dose of 200 mg given within 72 hours of a tick bite is a separate strategy used to prevent Lyme from developing in the first place, not to treat an established infection.

Rocky Mountain Spotted Fever and Other Rickettsial Infections

Rocky Mountain spotted fever (RMSF) is one of the conditions where doxycycline is considered essential, and delays in starting it can be fatal. The standard adult regimen is 100 mg twice daily for 7 to 10 days, with treatment continuing until the patient has been fever-free for at least three days. Severe cases may require intravenous dosing. In children, the dose is weight-based. Because RMSF can progress rapidly to organ failure, treatment is started empirically based on clinical suspicion long before lab results come back. The “three days afebrile” rule means the course length can vary from patient to patient.

Malaria Prevention

Travelers heading to areas where malaria is endemic can take doxycycline as a preventive measure. The typical regimen is 100 mg once daily, starting one to two days before entering the malaria zone, continuing every day while there, and then for 28 days after leaving. That last stretch is the part people tend to skip, which matters because the drug works against malaria parasites during a specific phase of their life cycle in the liver, and stopping early leaves a window for late-developing infections. A CDC expert meeting report reviewed the evidence supporting doxycycline as a prophylactic option, and the drug remains one of three main choices alongside atovaquone-proguanil and mefloquine. For a two-week trip, you could be taking doxycycline for over six weeks total.

Acne and Rosacea

For moderate to severe acne, doxycycline is often prescribed at 50 to 100 mg daily for anywhere from six weeks to three months, sometimes longer. In these cases, the drug is working partly through its anti-inflammatory properties, not just by killing bacteria. Rosacea is treated similarly, and the most widely used systemic agents for rosacea are oral tetracycline derivatives including doxycycline. For rosacea specifically, a 40 mg modified-release formulation (sometimes labeled as “sub-antimicrobial dose”) is often prescribed for 12 to 16 weeks. At that dose, doxycycline suppresses inflammation without reaching concentrations that kill bacteria, which in theory reduces the risk of driving antibiotic resistance.

These long-duration courses raise a fair question about side effects and gut health. Any antibiotic taken for weeks will alter intestinal bacteria. Animal research has shown that doxycycline can reduce the richness and number of bacterial species in the gut. Whether this translates to clinically significant harm in humans taking sub-antimicrobial doses is not well settled, but it is part of the reason dermatologists try to step patients down from oral doxycycline to topical treatments once symptoms improve.

Gum Disease at a Sub-Antimicrobial Dose

One of the most unusual uses of doxycycline is in periodontal disease, where a dose of just 20 mg twice daily is taken as an add-on to standard scaling and root planing. At this dose, the drug is not acting as an antibiotic. It works by inhibiting certain enzymes that break down connective tissue in the gums. Randomized placebo-controlled trials have shown that this regimen is safe and effective when taken for at least three months and up to 24 months. One study found that continuous therapy for 12 weeks reduced destructive enzyme activity in gum fluid and improved attachment levels, and that the benefits required sustained treatment to be maintained. Patients on placebo lost about 0.8 mm of gum attachment over 36 weeks, while those on the highest sub-antimicrobial regimen essentially lost none. No emergence of doxycycline-resistant bacteria was observed at these low doses.

Can You Stop When You Feel Better?

The traditional advice to “finish the full course” even after you feel well has been questioned in recent years. A growing body of evidence suggests that for many common infections, shorter antibiotic courses work just as well as longer ones. A 2024 review in JAC-Antimicrobial Resistance noted that shorter treatments have been shown to be non-inferior to longer courses for infections that benefit from antibiotics, and that stopping based on symptom resolution could help personalize treatment and reduce unnecessary drug exposure.

That said, this is a principle with important exceptions. With doxycycline specifically, some conditions demand the full course regardless of how quickly symptoms resolve. RMSF can rebound fatally if treatment is cut short. Malaria prophylaxis depends on those 28 post-travel days. And the seven-day chlamydia course is already quite short. The safest approach is to follow your prescribed duration and discuss early stopping with whoever prescribed the drug rather than making the call on your own.

How to Take It Without Making Yourself Miserable

Doxycycline is notorious for causing esophageal irritation, and sometimes outright ulcers, when it gets stuck on the way down. Case reports describe patients developing esophageal ulcers from even a single dose. The pattern is remarkably consistent: patients who develop this problem almost always took the pill at bedtime, just before lying down, or without enough water.

The prevention rules are simple:

  • Stay upright: Sit or stand for at least 10 to 30 minutes after swallowing the pill.
  • Drink plenty of water: A full glass, not a sip.
  • Avoid bedtime dosing: Take it earlier in the evening if your second daily dose is in the PM.

Absorption is another practical issue. Drinking milk with doxycycline can reduce how much gets into your bloodstream by roughly 30% on average. Antacids and mineral supplements, particularly those containing calcium, magnesium, iron, or aluminum, also significantly reduce absorption. The practical fix is to separate doxycycline from dairy, antacids, and mineral supplements by at least two hours. Doxycycline can generally be taken with food otherwise, which helps reduce the nausea it sometimes causes.

Children and Doxycycline

For decades, doxycycline was avoided in children under eight because older tetracycline antibiotics are known to permanently stain developing teeth. This led to a blanket avoidance that persisted long after evidence began suggesting doxycycline was different from its older relatives. A review of six studies covering at least 338 children exposed to doxycycline before age eight found no meaningful difference in tooth discoloration between treated children and controls. One study that specifically examined children who received doxycycline at an average age of about five found no tetracycline-like staining or enamel defects in any of the 38 subjects, despite treatment courses averaging about 12 days. A larger study including children in both the 0–7 and 8–12 age groups found no significant difference in dental abnormalities based on the number of days the drug was prescribed.

Based on this evidence, recommendations have shifted. Short courses of doxycycline (under 21 days) are now considered acceptable regardless of age. This matters most for conditions like RMSF, where doxycycline is the treatment of choice and delays or substitutions can be dangerous.

Kidney Disease and Drug Clearance

Unlike most tetracyclines, doxycycline does not need dose adjustments for kidney impairment. A pharmacokinetic study in patients with chronic kidney disease found no significant changes in the drug’s half-life or total exposure compared to patients with normal kidneys. The drug’s elimination stays stable because a decrease in kidney function is offset by other clearance mechanisms. This is one of the reasons doxycycline is often preferred over other antibiotics in patients with reduced kidney function.

When Your Dog Gets Doxycycline for Months

If you have ever had a dog treated for ehrlichiosis, a tick-borne disease, you may have been surprised by the prescription length. The standard canine regimen for ehrlichiosis is 28 days, and in practice many dogs end up on much longer courses. A study of 68 dogs treated for ehrlichiosis found an average treatment duration of 85 days with tetracycline or doxycycline, ranging from 14 to 360 days. Research into optimal duration showed that both three-week and four-week courses cleared the organism from the blood and tissues of experimentally infected dogs. However, when treatment was delayed until the chronic stage of disease, blood samples remained intermittently positive for the pathogen even after a full 28-day course. The lesson from veterinary medicine echoes the human side: starting early matters, and the same drug can require vastly different durations depending on how far an infection has progressed.