Doxycycline for Chlamydia: Course Length, Side Effects, and What to Expect

Published: Updated: Last reviewed: 6 min readDr. Michael Thompson
Doxycycline for Chlamydia: Dosage, Timeline, and What to Expect
On this page

Doxycycline is the CDC's recommended first-line treatment for chlamydia in most adults. It's taken by mouth as a 7-day course, and your healthcare provider sets the dose. It works better than single-dose azithromycin for rectal infection. Avoid sex until you finish the course and your partners are treated, and retest in about 3 months.

Doxycycline is the antibiotic I prescribe most often for chlamydia. It's inexpensive, well studied, and very effective when the full course is taken. The questions patients bring me are almost always practical ones: how to take it, what side effects to expect, and when it's safe to have sex again. This guide answers those.

Why Is Doxycycline the First-Line Treatment for Chlamydia?

The CDC's 2021 STI Treatment Guidelines recommend a 7-day course of doxycycline for adults and adolescents with chlamydia. Single-dose azithromycin, once the standard, is now an alternative. The change was driven by evidence:

  • Reviews of genital infection found treatment failure was more common with azithromycin among men.
  • Observational studies found doxycycline more effective for rectal chlamydia in both men and women.
  • In a randomized trial among men who have sex with men, cited by the CDC, rectal cure rates were 100% with doxycycline and 74% with azithromycin.

Rectal infection often goes untested, and the CDC notes it can occur in women even when they don't report anal sex. Doxycycline covers that possibility better.

How Does Doxycycline Compare With Other Chlamydia Treatments?

TreatmentCourseCDC statusMain consideration
Doxycycline
7 days, oral
Recommended for adults
Requires finishing a full week of doses
Doxycycline delayed-release
7 days, once daily
Equally effective option
Fewer stomach side effects, higher cost
Azithromycin
Single dose
Alternative; recommended in pregnancy
Less effective for rectal infection
Levofloxacin
7 days, oral
Alternative
Used when the others aren't suitable
Amoxicillin
7 days, oral
Alternative in pregnancy only
Not used outside pregnancy

Source: CDC STI Treatment Guidelines (2021), Chlamydial Infections. Your healthcare provider will determine the drug and dose.

For a full overview of treatment, including partners and pregnancy, see our chlamydia treatment guide. Amoxicillin has a narrow role, explained in will amoxicillin treat chlamydia?

How Should You Take Doxycycline?

Follow your prescription label and your pharmacist's directions. General guidance from MedlinePlus (NIH) includes:

  • Take it with a full glass of water. If it upsets your stomach, you can take it with food.
  • Stay upright for a while after each dose. I advise patients not to take it right before lying down, because the pill can irritate the esophagus.
  • Space it from certain products. Antacids, calcium supplements, magnesium laxatives, and iron can reduce absorption. Ask your pharmacist how far apart to take them.
  • Protect your skin. Doxycycline can make you sunburn more easily, so use sunscreen and limit sun exposure.
  • Finish every dose, even if you feel better after a day or two.

Our article on what to avoid during chlamydia treatment covers food, drinks, and activities in more detail.

What Side Effects Can Doxycycline Cause?

Most people finish the course without major problems. MedlinePlus lists these common side effects:

  • Nausea, vomiting, diarrhea, or loss of appetite
  • Vaginal itching or discharge from a yeast overgrowth
  • Sun sensitivity

Call your clinician right away if you develop a severe headache with blurred or double vision, a blistering or peeling rash, swelling of the face or throat, or watery or bloody diarrhea. MedlinePlus also notes that doxycycline may reduce the effectiveness of hormonal birth control, so ask your clinician whether you need a backup method.

Key point: If you vomit soon after a dose, miss several doses, or stop early because of side effects, tell your clinician. You may need a different treatment or a test to confirm the infection is gone.

Who Shouldn't Take Doxycycline?

The CDC advises against doxycycline in the second and third trimesters of pregnancy. Azithromycin is the recommended treatment for chlamydia in pregnancy. MedlinePlus notes that doxycycline can affect tooth and bone development in a fetus or young child. Tell your clinician if you are pregnant, could be pregnant, or are breastfeeding, and mention any allergy to tetracycline antibiotics.

How Long Until It Works, and When Can You Have Sex Again?

Symptoms, if you have them, often start to ease within a few days. But feeling better doesn't mean you're clear. The CDC recommends:

  1. No sex until the 7-day course is complete and your symptoms are gone.
  2. No sex until all partners are treated. Partners from the past 60 days should be evaluated and treated.
  3. No retest before 4 weeks, because the test can detect genetic material from dead bacteria.
  4. Retest at about 3 months to check for reinfection.

See sex after chlamydia treatment for timing questions, and when to retest after STI treatment for the follow-up plan.

When to Seek Urgent Care

Go to the ER immediately if you have:

  • Trouble breathing, or swelling of your face, lips, tongue, or throat after a dose
  • A blistering, peeling, or widespread rash, especially with fever
  • Severe lower abdominal or pelvic pain with fever, nausea, or vomiting
  • Sudden, severe testicular pain

See a clinician within 24 hours if:

  • You have a severe headache with blurred or double vision
  • You have watery or bloody diarrhea
  • You can't keep doses down or have missed several doses
  • Your symptoms haven't improved by the end of the course

Frequently Asked Questions

Does doxycycline cure chlamydia?

Yes, a full 7-day course clears chlamydia in the vast majority of people. When a test is positive again later, the CDC notes it's usually reinfection from an untreated or new partner rather than drug failure. No antibiotic works perfectly every time, which is one more reason retesting at 3 months is recommended.

What is the doxycycline dosage for chlamydia?

The CDC-recommended regimen is a 7-day oral course. Your healthcare provider will determine the exact dose and schedule based on the formulation, your health, and any other medicines you take. Don't use leftover or someone else's pills.

Can I drink alcohol while taking doxycycline for chlamydia?

Alcohol can worsen nausea and stomach upset and may make it easier to miss doses. Many clinicians suggest avoiding it during the course. Read more in alcohol and chlamydia treatment.

What if I miss a dose of doxycycline?

Take it as soon as you remember, unless it's almost time for the next dose. Don't double up. If you've missed more than one dose, call your clinician or pharmacist.

Is doxycycline for chlamydia the same as doxy-PEP?

No. Treatment uses a full 7-day course for a diagnosed infection. Doxy-PEP is a separate prevention strategy taken after sex by certain people at higher risk, described in the CDC doxy-PEP guidelines (2024). Ask your clinician if you're interested in prevention options.

Finished your course and need a retest, or think you may have chlamydia? Order a confidential chlamydia test or visit our chlamydia overview.

This article is for informational purposes only and does not replace advice from your healthcare provider.

Dr. Michael Thompson is an expert in sexually transmitted diseases with extensive clinical and research experience. He leads campaigns advocating for early diagnosis and prevention of diseases like HIV and gonorrhea. He collaborates with local organizations to educate both youth and adults about sexual health.