What Antibiotics Cause Yeast Infections and How to Prevent Them

Penicillins, cephalosporins, and certain macrolide antibiotics carry the highest risk of triggering a yeast infection. Among women who take penicillin-type antibiotics like amoxicillin or ampicillin, the risk of developing a vaginal yeast infection is roughly four times higher than in women who don’t use antibiotics at all. Not every antibiotic carries the same level of risk, though, and understanding which ones are most likely to cause problems can help you prepare.

Which Antibiotics Carry the Highest Risk

A large study comparing antibiotic classes found that penicillins increased the risk of yeast infection the most, with about a fourfold increase. Cephalosporins came in second at roughly 3.3 times the baseline risk, and metronidazole raised the risk about 2.8 times. Quinolones (like ciprofloxacin or levofloxacin) and tetracyclines showed a notably lower association.

That said, not all drugs within a class behave the same way. A recent large-database study comparing oral antibiotics prescribed for acne found significant differences even among individual drugs. Azithromycin (a macrolide, commonly sold as a Z-Pack) carried the highest risk of vaginal yeast infection, more than doubling the likelihood compared to women who took no antibiotic. Doxycycline, a tetracycline, also raised the risk significantly, though by a smaller margin of about 24%. Azithromycin conferred roughly 66% greater risk than doxycycline when the two were compared head to head.

Minocycline and erythromycin, by contrast, did not show a statistically significant increase in yeast infection risk in that same study. So even within the tetracycline family, doxycycline appears riskier than minocycline. The pattern is clear: the broader the antibiotic’s spectrum of action, the more likely it is to disrupt the balance of bacteria that normally keep yeast in check.

Why Antibiotics Trigger Yeast Overgrowth

Your vagina naturally contains a mix of bacteria and a small amount of yeast, primarily a species called Candida. Lactobacillus bacteria dominate a healthy vaginal environment, producing lactic acid that keeps the pH low and makes it difficult for yeast to multiply. When you take a broad-spectrum antibiotic, it doesn’t just kill the bacteria causing your infection. It also wipes out protective Lactobacillus in the vagina and gut. With that competition removed, Candida can grow unchecked and cause the itching, burning, and discharge of a yeast infection.

Narrow-spectrum antibiotics, which target a smaller range of bacteria, are less likely to disturb this balance. That’s why penicillins and cephalosporins, which hit a wide variety of bacterial species, tend to cause more problems than drugs designed to target a narrower set of organisms.

When Symptoms Typically Appear

Yeast infection symptoms can develop at any point during a course of antibiotics or within the weeks that follow. Many women notice the first signs partway through their prescription, once enough protective bacteria have been killed off to let yeast gain a foothold. Research tracking women for six months after antibiotic treatment found elevated yeast infection rates across that entire window, meaning the risk doesn’t disappear the day you take your last pill. Your vaginal microbiome needs time to rebuild its normal bacterial population, and until it does, you remain more vulnerable.

The classic symptoms are the same as any yeast infection: itching or irritation around the vulva, thick white discharge (often compared to cottage cheese), burning during urination, and soreness or swelling. These can range from mild to intensely uncomfortable.

Who Is Most at Risk

Antibiotics are the trigger, but certain factors make some people far more susceptible than others. Female sex is the strongest predictor of genital yeast infections in general, and several conditions amplify that baseline risk.

  • Diabetes or high blood sugar. Poorly controlled blood sugar creates an environment where yeast thrives. Women with diabetes face a meaningfully higher rate of genital infections, especially when glucose levels run high.
  • History of prior yeast infections. If you’ve had a yeast infection in the past year, your one-year risk of another one can be roughly double that of someone with no history. Even infections more than five years ago still raise the odds, though by a smaller amount.
  • Higher BMI. Body weight is independently associated with greater risk, likely because of the way excess weight affects moisture, warmth, and hormonal balance in the genital area.
  • Pregnancy. Hormonal shifts during pregnancy change vaginal pH and sugar content, making yeast infections more common even without antibiotics. Adding an antibiotic on top increases the likelihood further.
  • Hormonal contraceptives. Birth control methods that raise estrogen levels can increase the amount of glycogen (a sugar yeast feeds on) in vaginal tissue.

If you fall into more than one of these categories and need antibiotics, you’re at considerably higher risk than average. That combination is worth mentioning to your prescriber.

Treatment Options

You don’t need to wait until your antibiotic course is finished to treat a yeast infection. Over-the-counter antifungal creams and suppositories work through a different mechanism than antibiotics and can be used at the same time.

For uncomplicated yeast infections, short courses are effective. Single-dose or one-to-three-day treatments with common antifungal creams or suppositories available at any pharmacy resolve most cases. A single oral antifungal tablet is another option and is often preferred for convenience. Most straightforward infections clear up within a few days of starting treatment, though some mild symptoms may linger slightly longer.

If you get recurrent yeast infections (four or more per year), the approach changes. A longer initial treatment of 7 to 14 days is typically recommended, sometimes followed by a maintenance regimen to prevent the infection from bouncing back. Recurrent infections warrant a conversation with a healthcare provider, because not all vaginal symptoms that feel like yeast are actually caused by Candida, and misdiagnosis can lead to ineffective self-treatment.

Reducing Your Risk During Antibiotic Use

The most practical step is awareness. If your prescriber has a choice between two equally effective antibiotics, one with a narrower spectrum may be less likely to disturb your vaginal flora. For acne treatment, for instance, minocycline appears to carry less yeast infection risk than doxycycline or azithromycin.

Probiotics are widely recommended, though the evidence specifically for preventing antibiotic-associated yeast infections is still evolving. Clinical trials have shown that probiotic supplementation, particularly strains of Lactobacillus, can improve cure rates for bacterial vaginal infections when used alongside antibiotics. The logic extends to yeast prevention: replenishing protective bacteria may help maintain the balance that antibiotics disrupt. Taking a probiotic during and after your antibiotic course is low-risk, though the results vary between individuals.

Other common-sense measures include wearing breathable cotton underwear, avoiding scented products in the genital area, and changing out of damp clothing quickly. None of these are a guarantee, but they reduce the warm, moist conditions that help yeast flourish. If you know from experience that you always get a yeast infection with antibiotics, some providers will prescribe a single dose of oral antifungal to take alongside your antibiotic as a preventive measure.