How Yeast Infections Occur: Causes and Risk Factors

Yeast infections happen when a fungus called Candida, which already lives on your body in small amounts, multiplies out of control. Around 70 to 75% of women in the United States will experience at least one vaginal yeast infection in their lifetime, and about 9% deal with recurring episodes. The infection isn’t something you “catch” from the outside in most cases. It’s a shift in your body’s internal environment that lets a normally harmless organism take over.

Candida Already Lives on Your Body

Candida species are part of the normal microbiome. They live on your skin, in your gut, and in the vaginal tract. In healthy women, Candida is present in the vaginal flora about 20 to 30% of the time without causing any symptoms. It also colonizes the skin of the penis in men. Under normal conditions, your immune system and the surrounding bacterial community keep Candida populations small and dormant.

The trouble starts when something disrupts that balance. Candida shifts from a passive, yeast-like form into an aggressive form that produces thread-like filaments capable of burrowing into tissue. That transition is the core event behind a yeast infection, and a range of triggers can set it off.

How Protective Bacteria Keep Yeast in Check

In the vagina, bacteria from the Lactobacillus family act as a first line of defense. These bacteria ferment sugars and produce lactic acid, which keeps the vaginal pH low (acidic). That acidic environment directly inhibits Candida growth. Lactic acid also disrupts the outer membrane of yeast cells, making them more vulnerable.

For years, hydrogen peroxide production by Lactobacillus was thought to be a major antifungal mechanism. More recent evidence suggests it plays only a minor role against Candida, particularly in the low-oxygen vaginal environment where concentrations stay too low to do real damage to yeast. The primary weapon is lactic acid and the acidic pH it maintains.

When Lactobacillus populations drop, pH rises, and Candida faces less resistance. That’s why anything that kills off these protective bacteria opens the door for a yeast infection.

Antibiotics Are a Common Trigger

Broad-spectrum antibiotics are one of the most recognized causes of yeast infections. They wipe out harmful bacteria, but they also destroy Lactobacillus and other protective species. With the bacterial competition gone, Candida can expand rapidly into the space left behind.

The damage goes beyond simple bacterial depletion. Animal research has shown that antibiotic-driven disruption of gut and vaginal flora also weakens a specific branch of the immune response (the type that patrols mucosal surfaces for fungi), making tissue barriers more permeable to Candida. So antibiotics create a double hit: fewer protective bacteria and a temporarily weaker immune defense.

This is why yeast infections commonly follow a course of antibiotics for a sinus infection, urinary tract infection, or other illness. The onset can be rapid, often within days of starting or finishing the medication.

Hormones and Estrogen’s Role

Estrogen levels have a direct influence on yeast infection risk. Higher estrogen stimulates the cells lining the vaginal wall to mature and produce more glycogen, a stored form of sugar. Candida albicans, the most common species behind yeast infections, can use glycogen as its sole nutrient source. Non-albicans Candida species generally cannot, which helps explain why C. albicans dominates vaginal infections.

This estrogen-glycogen connection explains several patterns. Yeast infections are more common during pregnancy, when estrogen surges. They’re more frequent in women taking combined hormonal contraceptives. And in a study of postmenopausal women, those using estrogen therapy had significantly higher rates of C. albicans infection than those who weren’t, directly linking estrogen use to increased yeast colonization.

Before puberty and after menopause (without hormone therapy), vaginal yeast infections are relatively uncommon precisely because estrogen levels are low and there’s less glycogen available to fuel yeast growth.

Blood Sugar and Yeast Growth

High blood sugar creates favorable conditions for Candida throughout the body. In lab studies, elevated glucose concentrations dramatically increase yeast’s ability to form biofilms, which are structured colonies that adhere to tissue and resist the immune system. At high glucose levels, yeast cells activated genes responsible for building a dense protective matrix, producing thicker, more resilient colonies compared to low-glucose environments.

High glucose also triggers Candida to shift from its round, passive yeast form into elongated filaments, the invasive shape associated with active infection. This is why diabetes is one of the strongest risk factors for yeast infections in both women and men. Poorly controlled blood sugar essentially feeds the fungus while helping it build stronger defenses.

Weakened Immunity and Other Risk Factors

Your immune system normally keeps Candida confined to the surface of skin and mucous membranes. Conditions that suppress immune function, including HIV, immunosuppressive medications, and chemotherapy, allow Candida to proliferate and sometimes spread beyond local tissue into the bloodstream.

Other contributing factors include:

  • Moisture and warmth: Tight, non-breathable clothing and prolonged dampness (from sweating or wet swimwear) create the humid environment Candida thrives in.
  • Douching or harsh soaps: These disrupt vaginal pH and bacterial balance, mimicking the effect of antibiotics on protective flora.
  • Stress and sleep deprivation: Both suppress immune surveillance, giving Candida an opportunity to expand.

How It Happens in Men

Yeast infections aren’t exclusive to women. In men, Candida overgrowth most commonly affects the head of the penis, a condition called balanitis. The warm, moist environment beneath the foreskin in uncircumcised men provides ideal conditions for yeast, especially when combined with poor hygiene. Smegma, a mixture of shed skin cells, sweat, and natural oils that accumulates under the foreskin, serves as a breeding ground for both bacteria and fungi.

Diabetes is the most commonly identified underlying condition in men with yeast-related balanitis. Men whose sexual partners have recurrent vaginal yeast infections also face higher risk, as Candida can be passed back and forth during sex even though yeast infections aren’t classified as sexually transmitted infections.

What Symptoms Look Like

Vaginal yeast infections typically cause intense itching, a thick white discharge often described as cottage cheese-like, redness, swelling of the vulva, and burning during urination or sex. Vaginal pH stays in the normal range (below 4.5), which helps distinguish a yeast infection from bacterial vaginosis, where pH rises above 4.5.

In men, symptoms include redness, itching, or soreness on the head of the penis, a white patchy appearance, and sometimes a thick discharge under the foreskin.

Symptoms can develop quickly after a triggering event. Following a course of antibiotics, for example, signs of a yeast infection may appear within a few days. The peak age for recurrent infections in women is 25 to 34, likely reflecting the combined influence of high estrogen levels, sexual activity, and antibiotic exposure during those years.

How Yeast Infections Are Confirmed

Many people self-diagnose yeast infections based on symptoms, but studies show self-diagnosis is wrong roughly half the time. A reliable diagnosis involves examining a sample of vaginal discharge under a microscope, where budding yeast cells or thread-like filaments become visible. A yeast culture remains the gold standard, capable of identifying the specific Candida species involved.

Identifying the species matters because not all Candida behaves the same way. C. albicans, the most common culprit, forms visible filaments under the microscope. C. glabrata, the second most common species, does not form filaments and is harder to spot, sometimes requiring a culture to confirm. Different species may also respond differently to standard antifungal treatments, which is one reason recurrent infections deserve a proper lab diagnosis rather than repeated self-treatment.