For roughly two decades, treating chlamydia was about as simple as medicine gets: one dose of azithromycin, swallowed in the clinic or at the pharmacy counter, and you were done. In 2021, the U.S. Centers for Disease Control and Prevention (CDC) changed the default. Today the preferred first choice for most adults and teenagers is a seven-day course of doxycycline, with single-dose azithromycin moved to the alternative list.
If your prescription says azithromycin, that does not mean you have been given the wrong thing. There are good reasons a clinician might still choose it. But if you have heard conflicting advice from a friend, a nurse, and an online forum, this guide lays out what changed, why it changed, how the two drugs compare head to head, and what you need to do after treatment so the infection does not come back.
The Short Answer
- Preferred by the CDC (2021): doxycycline 100 mg by mouth twice a day for 7 days for chlamydia at the genital, rectal, and throat sites in non-pregnant adults and adolescents.
- Alternative: azithromycin 1 gram as a single dose. Levofloxacin for 7 days is another alternative.
- Azithromycin remains the first choice in pregnancy (and when pregnancy cannot be ruled out), because doxycycline is generally avoided.
- Azithromycin also makes sense when a clinician is genuinely worried you may not finish a 7-day course.
- Whichever drug you take, avoid sex for 7 days after a single dose or until you finish the full 7-day course, get your partners treated, and plan a retest in about three months.
In This Guide
- What changed in 2021 and why
- Azithromycin vs doxycycline, head to head
- Who is likely to get which drug
- How to take each one properly
- Side effects and drug interactions
- What to do after treatment
- Getting tested first, and talking to partners
- Common mistakes that cause treatment problems
- Frequently asked questions
What Changed in 2021, and Why
Chlamydia, caused by the bacterium Chlamydia trachomatis, is one of the most commonly reported bacterial infections in many countries, and a large share of cases cause no symptoms at all. For years, both single-dose azithromycin and a week of doxycycline were listed as equally recommended options. Studies of infections in the genital tract showed cure rates for both that were high, generally in the mid-to-high nineties.
Two things shifted the balance. First, evidence accumulated that single-dose azithromycin performs less well than doxycycline when the infection is in the rectum. That finding matters because rectal chlamydia is common in both men who have sex with men and in women, and it is often not tested for at all. Second, a major randomized trial in young people attending a youth detention setting found that doxycycline cured 100 percent of urogenital infections while azithromycin cured about 97 percent, and the investigators could not show azithromycin was non-inferior. A three-percent difference sounds small, but across the very large number of infections treated each year it means many avoidable treatment failures.
There is also a quieter public health argument. Using azithromycin less broadly for chlamydia reduces the pressure that drives macrolide resistance in other organisms, including Mycoplasma genitalium and gonorrhea. In the same 2021 update, the CDC stopped recommending azithromycin as part of routine dual therapy for gonorrhea, moving to a single injection of ceftriaxone, and added doxycycline when chlamydia has not been ruled out.
So the current picture is not “azithromycin does not work.” It is “doxycycline works slightly better in some situations and fits better with the wider stewardship picture, so it is now the default, and azithromycin keeps a defined role.”
Azithromycin vs Doxycycline, Head to Head
Here is how the two regimens compare on the points people care about most. This table summarises the CDC-style standard adult regimens; your clinician’s prescription takes priority over any general summary.
| Feature | Doxycycline (preferred) | Azithromycin (alternative) |
|---|---|---|
| Standard adult regimen | 100 mg twice daily for 7 days | 1 gram once, as a single dose |
| Number of doses | 14 doses over a week | One session |
| Cure rate, genital infection | About 100% in the key trial | About 97% in the same trial |
| Rectal infection | More effective | Less effective in studies |
| Throat infection | Recommended regimen | Alternative |
| Pregnancy | Generally avoided | Recommended option |
| Best when | You can take tablets reliably for a week | Adherence is a worry, or pregnancy is possible |
| Typical stomach upset | Nausea, esophageal irritation if taken dry | Nausea, loose stools, cramping |
| Other notable effects | Sun sensitivity | Rare heart rhythm effects (QT prolongation) |
| Cost | Generic is inexpensive; delayed-release versions cost more | Generic is inexpensive |
Notice that the “winner” depends on the question. For effectiveness in the most vulnerable site (the rectum), doxycycline is ahead. For convenience, azithromycin is ahead. For pregnancy, azithromycin is the safer pick. A good prescriber weighs all three.
Who Is Likely to Get Which Drug
Rather than a one-size answer, think of these as common real-world scenarios.
Most Non-Pregnant Adults and Teens
Doxycycline for seven days. This is the standard recommendation for infection at any site, and it is the default in most clinics that follow current guidance.
Anyone Who Is Pregnant or Might Be
Azithromycin as a single dose. Doxycycline is generally avoided in pregnancy because of concerns about effects on the developing baby’s bones and teeth. Pregnant patients are usually asked to return for a follow-up test about four weeks after treatment to confirm the infection has cleared, and to be retested again in about three months.
People Who Are Unlikely to Finish a Week of Pills
This is the main place single-dose azithromycin still shines. If someone has no stable housing, a chaotic schedule, a history of not completing prescriptions, or is being treated in a setting where they may not return, a directly observed single dose can be the pragmatic choice. A treatment you actually take beats a better treatment you abandon on day three. The CDC itself notes that azithromycin is an option when non-adherence is a substantial concern, while acknowledging it may be less effective in some cases.
People Who Cannot Take Doxycycline
Allergy to tetracyclines or intolerance to the drug leads clinicians to azithromycin or sometimes levofloxacin. Tell your prescriber about any past reactions.
Children
Treatment for children depends on weight and age, and doxycycline is usually avoided in young children. Any chlamydia diagnosis in a child needs specialist input because it can raise concerns beyond the infection itself. Do not use adult doses for children.
People With Chlamydia and Gonorrhea Together
Co-infection is common. Gonorrhea is treated with a ceftriaxone injection, and when chlamydia has not been excluded, doxycycline is added. If you test positive for one infection, ask whether you were also tested for the other.
People With Mycoplasma genitalium or Persistent Symptoms
If symptoms continue after treatment, the cause may be a different organism, reinfection, or a treatment failure. Mycoplasma genitalium in particular can be stubborn and has growing macrolide resistance, which is another reason azithromycin is no longer relied on as heavily. Go back to your clinician rather than repeating the same medicine on your own.
How to Take Each One Properly
Taking Doxycycline for 7 Days
- Swallow each tablet with a full glass of water and stay upright for at least half an hour afterwards. Doxycycline can irritate the esophagus if it sticks on the way down.
- Take it with food if it upsets your stomach. Nausea is the most common complaint.
- Keep the two daily doses roughly 12 hours apart. Set phone alarms for the whole week.
- Separate it from calcium, iron, magnesium, and antacids by a couple of hours, because these bind the drug and reduce absorption. Dairy products can have a similar effect.
- Use sun protection. Doxycycline makes skin burn more easily, so wear sunscreen and cover up outdoors.
- Finish every tablet, even after any symptoms disappear.
Taking Single-Dose Azithromycin
- The dose is usually taken all at once, often as multiple tablets, so a clinic may supervise it.
- A light meal can ease nausea. Tablets can generally be taken with or without food.
- Avoid aluminum- or magnesium-containing antacids at the same time. They can reduce how much drug you absorb.
- If you vomit soon after the dose, contact the clinic or pharmacy promptly. They will tell you whether the dose needs repeating, so do not guess.
- The drug keeps acting for days. Even though it is one dose, azithromycin lingers in tissues for a long time; see our guide on how long azithromycin stays in your system for the science behind that.
Side Effects and Drug Interactions
Both drugs are generally well tolerated. Knowing what to expect keeps small side effects from scaring you into skipping doses.
Common Effects of Doxycycline
- Nausea and upset stomach, especially on an empty stomach.
- Heartburn or a burning sensation when swallowing (take with plenty of water).
- Sun sensitivity and easier sunburn.
- Yeast infections in some people, such as oral thrush or vaginal yeast infection.
Common Effects of Azithromycin
- Nausea, stomach pain, and loose stools. If diarrhea turns watery and frequent, read our detailed guide on azithromycin and diarrhea, including when it could signal C. diff.
- Headache or dizziness in some people.
- Rarely, a change in heart rhythm (QT prolongation), which is why people with certain heart conditions or on certain medicines need extra care.
Serious Reactions for Either Drug
Seek urgent help for hives, facial or throat swelling, trouble breathing, severe skin blistering or peeling, fainting, a racing or irregular heartbeat, severe persistent diarrhea, or yellowing of the eyes or skin.
Interactions and Precautions
- Blood thinners: azithromycin can affect warfarin levels in some people, so tell your clinician if you use it.
- Other QT-prolonging medicines: certain antipsychotics, antidepressants, and anti-arrhythmics can add to the heart-rhythm effect of azithromycin.
- Isotretinoin (acne medicine): doxycycline should generally not be combined with it because of a rare risk of raised pressure around the brain.
- Alcohol: neither drug is strictly forbidden with alcohol, but drinking can worsen nausea and make it harder to take your doses reliably. Our piece on alcohol and antibiotics discusses the same practical considerations for another common antibiotic.
Always give your pharmacist a full list of prescriptions, supplements, and over-the-counter products. For a broader look at interactions on this site, see our guide to antibiotic drug interactions.
What to Do After Treatment
Many people think treatment ends when the last tablet is swallowed. For chlamydia, what you do afterwards matters nearly as much as the drug itself.
1. Pause Sex Until You Are Clear
The CDC advises abstaining from sexual intercourse for 7 days after a single-dose regimen, or until you have completed a 7-day regimen and any symptoms have resolved. Having sex too soon can pass the infection to a partner or let you be reinfected. Condoms lower the risk but do not remove it during this window.
2. Make Sure Partners Are Treated
Recent sexual partners, generally anyone in the previous 60 days, should be tested and treated even if they feel perfectly well. If a partner is not treated, they can pass the infection straight back. Some areas allow expedited partner therapy, where a clinician can provide medicine or a prescription for partners without a separate visit. Ask your clinic whether that is available where you live.
3. Plan a Retest in About Three Months
Reinfection is common, so testing again around three months after treatment is recommended for most people, even if your partners were treated. During pregnancy, an earlier test-of-cure after treatment is advised, as mentioned above. Testing too soon after treatment can give a false positive because dead bacteria can linger, so follow the timing your clinician gives you.
4. Watch for Persistent or Returning Symptoms
Possible symptoms, when they occur, include burning on urination, unusual discharge, pain during sex, testicular pain or swelling, lower abdominal pain, or bleeding between periods. If these persist or return after treatment, seek follow-up care rather than repeating a prescription yourself.
5. Get Tested for Other Infections
If you have one sexually transmitted infection, it is sensible to be screened for others, including gonorrhea, syphilis, and HIV. Your clinic can guide you on what is appropriate.
Getting Tested First, and Talking to Partners
How Chlamydia Is Diagnosed
Chlamydia is confirmed with a nucleic acid amplification test (NAAT), which looks for the bacterium’s genetic material. Depending on your symptoms and exposure, the sample may be a urine specimen, a vaginal swab (which can often be self-collected), or a swab from the throat or rectum. If you have had oral or anal sex, ask for the matching sites to be tested, because a urine test alone will miss infections elsewhere. Results usually return within a few days, and some clinics treat on the day if symptoms or exposure make infection likely.
Home Test Kits and Telehealth
Mail-in and at-home collection kits are widely available and can be a good option if you are uncomfortable visiting a clinic. A positive result should still be followed by a proper prescription and a conversation about partners and follow-up. A negative result is only as reliable as the timing and the site that was sampled, so if you have symptoms or a known exposure, do not rely on a single negative test without professional advice.
Telling Your Partners
This is often the hardest part. A few things can make it easier. Keep the message factual and short: you tested positive for chlamydia, it is common and curable, and they should get tested and treated. Mention the time frame, since partners from roughly the past 60 days are the ones who need to be reached. If face-to-face feels impossible, anonymous notification services run by some health departments and websites can send a message on your behalf. Public health clinics can also help you plan the conversation.
Remember that the goal is not blame. Because chlamydia so often has no symptoms, many people carry it without knowing, and prompt treatment of everyone involved is what breaks the cycle of passing it back and forth.
Why Finishing and Following Up Matters
Untreated chlamydia can silently cause lasting damage. In women, it can ascend to the uterus and fallopian tubes, causing pelvic inflammatory disease, chronic pelvic pain, ectopic pregnancy, and infertility. In men, it can inflame the tubes behind the testicle and, less commonly, affect fertility. In pregnancy, it can be passed to the baby at birth, causing eye and lung infections. Because many people have no symptoms, a treatment that works and a follow-up test that proves it are your best protection.
Common Mistakes That Cause Treatment Problems
- Treating a partner’s “leftover” antibiotics as your own. The wrong drug or dose can fail and delay a proper diagnosis.
- Skipping doxycycline doses once symptoms fade. Fewer doses mean a higher chance the infection survives.
- Resuming sex too early. This is a major source of reinfection.
- Forgetting partners. Treating only yourself is the classic “ping-pong” scenario.
- Assuming a negative home test means you are in the clear. Timing, site of infection, and test type all matter. Confirm with a clinic when in doubt.
- Taking calcium, iron, or antacids with doxycycline. They reduce absorption and can weaken treatment.
- Ignoring rectal or throat exposure. If you had oral or anal sex, tell your clinician so they can test and treat the right sites.
- Not retesting. Reinfection is common, and it often has no symptoms.
If You Are Comparing Antibiotics More Generally
Azithromycin is one of several antibiotics people encounter, and each is chosen for specific infections. If you are curious how it differs from a penicillin-type drug, our explainer on amoxicillin vs azithromycin compares them across respiratory, throat, ear, and other infections. You can also see how quickly azithromycin tends to act for other infections in our guide to how long azithromycin takes to work.
Frequently Asked Questions
Is azithromycin still used to treat chlamydia?
Yes. It is an alternative regimen in current CDC guidance and remains the preferred option in pregnancy. Many clinicians also choose it when they worry a patient may not complete a seven-day course.
Why did the CDC switch from azithromycin to doxycycline?
Evidence showed doxycycline is more effective for rectal chlamydia and was at least as effective for genital infection in key trials, while azithromycin’s non-inferiority could not be demonstrated. Reducing unnecessary macrolide use also helps limit resistance in other infections.
Is a single dose of azithromycin enough to cure chlamydia?
For most urogenital infections, a single 1 gram dose cures the large majority of cases, around 97 percent in a major trial. It is less reliable for rectal infection, which is part of why doxycycline is now preferred.
How long after taking azithromycin can I have sex?
Wait at least 7 days after a single-dose treatment, and make sure all partners have also been treated and have waited. If you have symptoms, wait until they have resolved.
How long does it take azithromycin to cure chlamydia?
The antibiotic begins acting right away, but the full effect is judged over the following days to weeks. Symptoms often improve within about a week. A retest around three months later confirms there has been no reinfection.
What if I vomit after taking azithromycin?
Call your clinic or pharmacist soon. Whether you need a repeat dose depends on how long after the dose you vomited, so do not simply assume it worked or take extra on your own.
Can I drink alcohol with azithromycin or doxycycline?
Neither is strictly prohibited with alcohol, but it can worsen nausea and make it harder to stick to your regimen. It is wiser to avoid heavy drinking during treatment.
Does doxycycline work better than azithromycin for chlamydia?
Overall, yes, particularly for rectal infection, and that is why it is now the CDC’s first choice. Azithromycin still works well for many genital infections and fills important gaps.
Can chlamydia come back after treatment?
Yes, and it often does through reinfection from an untreated partner or a new exposure. Treating partners, avoiding sex until cleared, and retesting at about three months reduce the risk.
Do I need a doctor, or can I buy azithromycin without a prescription?
Chlamydia treatment needs a proper diagnosis and a prescription. Self-treating without testing can miss co-infections, use the wrong drug, and leave you with an untreated infection. Many clinics, pharmacies, and telehealth services offer testing and treatment discreetly.
The Bottom Line
Single-dose azithromycin did not stop working in 2021; the guidance simply caught up with better evidence. For most non-pregnant adults and teenagers, a seven-day doxycycline course is now the preferred treatment. Azithromycin is still a reliable alternative, the first choice in pregnancy, and a practical option when a one-time dose is the only realistic way to ensure treatment happens. Whichever drug you are given, the same rules protect you: take it exactly as directed, avoid sex until the waiting period is over, get partners treated, and retest in about three months.
Sources and Further Reading
- CDC: Chlamydial infections, STI Treatment Guidelines
- CDC: Sexually Transmitted Infections Treatment Guidelines, 2021
- PubMed Central: Adherence to the new CDC chlamydia treatment guidelines in adolescents
- The Journal of Family Practice: 2021 CDC guidelines on sexually transmitted infections
Related Reading on Azithromycin
- Azithromycin and diarrhea: probiotics, C. diff and when to call
- How long does azithromycin stay in your system?
- How long does a Z-Pack take to work?
Medical disclaimer: This article is for general education and is not a substitute for professional medical advice, diagnosis, or treatment. Chlamydia requires testing and a prescription from a qualified clinician. Guidelines change, so confirm current recommendations with your healthcare provider or your local health department.
