How Can You Get a Yeast Infection? Top Causes

Yeast infections happen when a fungus called Candida, which normally lives in small amounts on your skin and mucous membranes, multiplies beyond what your body can keep in check. Most of the time, this isn’t caused by catching something from the outside world. It’s an internal shift: something changes in your body’s environment, and the yeast that was already there takes advantage.

Understanding the specific triggers helps you recognize what’s actually putting you at risk and what you can change.

How Your Body Normally Keeps Yeast in Check

Your vaginal environment is home to beneficial bacteria, primarily Lactobacillus species, that act as natural gatekeepers against yeast. These bacteria produce lactic acid to keep the area slightly acidic, secrete compounds that directly inhibit Candida, and physically block yeast from attaching to tissue. As long as this bacterial population is healthy and well-fed, Candida stays in the background.

The fuel for these protective bacteria is glycogen, a form of sugar stored in the cells lining the vaginal walls. Estrogen drives glycogen production, so anything that shifts your estrogen levels or wipes out your Lactobacillus population can tip the balance and let yeast flourish.

Antibiotics Are the Most Common Trigger

Antibiotics kill bacteria. That’s their job. But they don’t distinguish between the harmful bacteria causing your sinus infection and the Lactobacillus keeping yeast in check. A course of broad-spectrum antibiotics can dramatically reduce your protective bacterial population, leaving Candida free to multiply with little competition. This is the single most common reason otherwise healthy people develop yeast infections.

The risk rises with longer courses and stronger antibiotics, but even a short round can be enough in some people. If you’ve noticed a pattern of yeast infections following antibiotic use, that connection is well established.

Hormonal Changes That Shift the Balance

Estrogen plays a complicated role. It fuels the Lactobacillus bacteria that protect you, but high levels of estrogen also directly encourage yeast overgrowth. This is why yeast infections are more common during pregnancy, when estrogen surges. It’s also why some people notice more frequent infections after starting hormonal birth control or hormone replacement therapy.

Vaginal estrogen treatments prescribed during menopause can have the same effect. On the flip side, when estrogen drops after menopause, glycogen production falls and Lactobacillus populations decline, which can also leave you vulnerable. The relationship isn’t simple: both high and low estrogen states carry risk, just through different pathways.

High Blood Sugar Feeds the Fungus

Candida thrives on sugar. In people with diabetes or poorly controlled blood sugar, elevated glucose in body tissues and secretions gives yeast exactly what it needs to grow aggressively. Research shows that glucose doesn’t just feed the fungus. It actively makes Candida more dangerous by enhancing its ability to adhere to tissue, form protective biofilms, resist antifungal medications, and switch into a more invasive form.

This is why yeast infections are significantly more common in people with diabetes, and why managing blood sugar is one of the most effective ways to reduce recurrence. People with diabetes who develop yeast infections are also more likely to have infections caused by a harder-to-treat species called Candida glabrata, which is naturally resistant to many standard antifungal medications.

Medications That Suppress Your Immune System

Your immune system is the other major force keeping Candida under control. Anything that weakens it can open the door to yeast overgrowth. The CDC lists several medication categories that increase your risk: corticosteroids (including inhaled steroids used for asthma), chemotherapy drugs, and other immunosuppressive medications.

Inhaled corticosteroids are a particularly common and overlooked cause of oral yeast infections, also known as thrush. The medication deposits directly on the tissues of the mouth and throat, suppressing the local immune response right where Candida lives. Rinsing your mouth after using an inhaler helps reduce this risk.

Moisture, Heat, and What You Wear

Candida loves warm, moist environments. Fabrics that trap heat and moisture against the skin create ideal conditions for yeast to multiply. Synthetic materials like nylon and spandex don’t allow airflow, holding sweat and warmth against the body. Cotton underwear is breathable and absorbent, which helps keep the area drier.

Sitting in a wet bathing suit, working out in tight leggings for hours, or wearing non-breathable underwear overnight all extend the amount of time your skin stays damp. Sleeping without underwear, or in loose-fitting cotton, lets the area air out and reduces moisture buildup. These habits won’t cause a yeast infection on their own, but in someone already prone to them, they can be the tipping point.

Sexual Activity and Partner Transmission

Yeast infections are not classified as sexually transmitted infections because you can develop one without any sexual contact. However, it is possible to pass yeast to a partner during vaginal, oral, or anal sex. About 15% of men develop an itchy rash on the penis after unprotected sex with a partner who has an active yeast infection.

Sexual activity can also contribute indirectly. Intercourse can introduce new microorganisms, cause micro-irritation to vaginal tissue, and disrupt the local pH. Lubricants, spermicides, and condoms with certain coatings may also irritate the area and shift conditions in favor of yeast growth.

Other Contributing Factors

Douching, scented soaps, and vaginal sprays disrupt the natural microbial balance and pH of the vagina. The vaginal ecosystem is self-cleaning; adding products to it tends to harm the protective bacteria more than the yeast, which is hardier and recovers faster.

Stress and sleep deprivation weaken immune function over time, which can make you more susceptible. A diet very high in refined sugar hasn’t been conclusively proven to cause yeast infections in people with normal blood sugar, but the biological mechanism is plausible: more circulating glucose means more fuel available for Candida in tissues throughout the body.

When Yeast Infections Keep Coming Back

Recurrent vulvovaginal candidiasis is defined as three or more symptomatic episodes within a single year. It affects fewer than 5% of women but carries a real burden in terms of discomfort, cost, and frustration. If you’re in this category, there’s often an identifiable underlying driver: uncontrolled diabetes, chronic immunosuppression, ongoing antibiotic use, or persistent hormonal changes.

Recurrent infections are also more likely to involve non-albicans species of Candida, particularly Candida glabrata, which now ranks as the second or third most common cause of yeast infections overall. This matters because Candida glabrata is innately resistant to the standard azole antifungal medications that work well against the more common Candida albicans. If over-the-counter treatments keep failing, the yeast causing your infections may not be the typical species, and identifying it changes the treatment approach significantly.