What Causes Yeast Infections: Fungi, Hormones & More

Yeast infections happen when a fungus called Candida, which normally lives in small numbers on your skin and inside your body, grows out of control. The most common culprit is Candida albicans, and the shift from harmless resident to infection-causing invader comes down to changes in your body’s environment: disrupted protective bacteria, hormonal shifts, a weakened immune response, or conditions that give the fungus extra fuel to grow.

How a Normal Fungus Becomes a Problem

Candida lives on most people without causing any trouble. In its dormant, rounded yeast form, it coexists peacefully with other microorganisms. The problem starts when conditions change and Candida switches into an elongated, thread-like form called hyphae. This shape is far more invasive. It can physically penetrate your cells and burrow into tissue, which is what produces the irritation, swelling, and discharge of an active infection.

Several environmental shifts trigger this transformation. A rise in local pH (meaning the environment becomes less acidic), the presence of certain proteins in blood serum, higher body temperature, and even nutrient starvation can all flip the switch. Candida can actually manipulate its own surroundings by releasing ammonia, which raises the pH around it and encourages further growth in the invasive form. Strains that can’t make this shape change are significantly less able to cause disease.

The Role of Protective Bacteria

Your body’s first line of defense against yeast overgrowth, particularly in the vagina, is Lactobacillus bacteria. These beneficial microbes produce lactic acid that keeps the vaginal pH between 4 and 4.5, an acidic range that suppresses Candida growth and prevents it from shifting into its invasive form. Lactobacillus species also produce hydrogen peroxide and other small antimicrobial molecules that directly inhibit the fungus.

Anything that depletes these protective bacteria opens the door. The most common disruptor is antibiotics. Broad-spectrum antibiotics kill harmful bacteria, but they also wipe out Lactobacillus populations. The risk of developing a vaginal yeast infection is highest in the second week after starting antibiotics, with one large surveillance study finding the risk was nearly 11 times higher compared to people taking unrelated medications like antidepressants. The elevated risk persisted through the first and third weeks of treatment as well. This is why yeast infections so often follow a course of antibiotics for a completely unrelated problem like a sinus or urinary tract infection.

Hormonal Changes and Estrogen

Estrogen plays a direct role in yeast infection risk. Higher estrogen levels stimulate the vaginal lining to produce more glycogen, a stored form of sugar. Candida albicans can use glycogen as its sole nutrient source, something that non-albicans Candida species generally cannot do. In one study, all 34 C. albicans samples tested were able to feed on glycogen, while 26 non-albicans species could not.

This explains why yeast infections cluster around specific life events. Pregnancy raises estrogen dramatically, making yeast infections more common throughout gestation. Hormonal contraceptives, particularly high-dose estrogen formulations, carry increased risk for the same reason. Many people notice infections tending to flare in the luteal phase of their menstrual cycle, the stretch between ovulation and the start of a period, when estrogen and progesterone are both elevated.

Blood Sugar and Diabetes

Elevated blood glucose creates a hospitable environment for Candida in two distinct ways. On the fungal side, high glucose concentrations directly increase the organism’s ability to stick to cells, invade tissue, and resist stress. On the human side, chronic hyperglycemia weakens multiple immune functions: white blood cells become less effective at migrating toward infection, engulfing pathogens, and killing them once captured.

People with poorly controlled diabetes, both type 1 and type 2, experience yeast infections at significantly higher rates than those with normal blood sugar. This applies to vaginal infections, oral thrush, and skin infections in warm, moist folds. Bringing blood sugar under better control typically reduces the frequency of these infections.

Your Immune System’s Antifungal Defense

Your immune system has a specialized pathway for keeping Candida in check. A type of immune cell called Th17 produces signaling molecules that recruit neutrophils (your body’s first-responder white blood cells) to mucosal surfaces like the mouth and vagina. These Th17 cells also trigger the production of natural antifungal proteins, including defensins and cathelicidins, that can kill fungi directly.

When this pathway is compromised, yeast infections become more frequent and harder to resolve. HIV, immunosuppressive medications taken after organ transplants, chemotherapy, and chronic corticosteroid use all weaken this defense. Even temporary immune suppression from severe stress or illness can be enough to tip the balance in Candida’s favor.

Clothing, Moisture, and Local Environment

Candida thrives in warm, moist conditions. Tight-fitting clothing and synthetic fabrics create exactly that environment in the vulvovaginal area. Synthetic underwear absorbs less sweat than cotton, trapping moisture against the skin and raising local temperature. Research confirms that this combination promotes colonization by Candida species and disrupts the normal microbial balance of the area.

Cotton and other breathable fabrics reduce moisture retention and support healthier microbial profiles. Beyond fabric choice, other habits that increase local moisture matter too: sitting in a wet bathing suit for extended periods, wearing workout clothes long after exercising, or using panty liners daily can all contribute. The goal is keeping the area dry and ventilated, since Candida has a much harder time gaining a foothold in a cooler, drier environment.

What About Sugar in Your Diet?

The idea that eating too much sugar feeds yeast infections is widespread, but the clinical evidence is thin. A controlled study of 28 healthy volunteers found no correlation between habitual refined carbohydrate intake and Candida levels in the mouth or gut. Even when participants were placed on a deliberately high-sugar diet, the frequency of Candida-positive samples and the concentration of the fungus did not increase.

This is different from the blood sugar connection in diabetes. In diabetic patients, glucose levels in the blood and tissues are chronically elevated to a degree that a healthy person’s body would never allow, regardless of how many cookies they eat. A functioning metabolism keeps blood sugar within a tight range. So while managing diabetes is clearly important for preventing yeast infections, cutting sugar from an otherwise healthy person’s diet is unlikely to make a meaningful difference.

Recurrent Infections and Resistant Species

Recurrent yeast infections, defined as three or more symptomatic episodes in a single year, affect fewer than 5% of women but carry a significant quality-of-life and financial burden. In many of these cases, the usual suspects like antibiotics or hormonal shifts don’t fully explain the pattern, and a less obvious cause may be at work.

One increasingly recognized factor is infection by non-albicans species. While Candida albicans has traditionally been the dominant cause, Candida glabrata now accounts for roughly 30% of Candida infections identified in U.S. surveillance. In some regions, it has become the most common species. This matters because C. glabrata is inherently less susceptible to fluconazole, the standard first-line antifungal. About 5% of tested C. glabrata isolates showed outright resistance to fluconazole in CDC surveillance data from 2017 to 2021. If you’re treating recurrent infections with over-the-counter antifungals and they keep coming back, a resistant species may be the reason, and getting a culture rather than relying on symptoms alone becomes important.

Other factors that contribute to recurrence include ongoing immunosuppression, undiagnosed or undertreated diabetes, and genetic variations in the Th17 immune pathway that make some people inherently less able to keep Candida populations in check.