Doctors Note Logo

Published on: 9/22/2026

How do you get a yeast infection, and what raises your risk?

Yeast infections develop when Candida, a fungus that normally lives on the skin and in the vagina, mouth, and gut, overgrows after something disrupts the normal balance of yeast and bacteria. Risk rises with antibiotic use, pregnancy, hormonal birth control, uncontrolled diabetes, a weakened immune system, and trapped moisture from tight or damp clothing, douching, or scented hygiene products, and there are important nuances and less obvious triggers explained below. Yeast infections are not classified as sexually transmitted, but sexual activity can sometimes set off symptoms, which is one reason the full details below matter before you assume a cause.

Because itching, burning, and unusual discharge overlap with bacterial vaginosis, trichomoniasis, and irritant reactions, guessing wrong can mean days of treating the wrong problem. Take a free, instant, online symptom check to see what your symptoms may point to and what steps make sense next.

Last reviewed for medical accuracy: 09/22/2026

answer background

Explanation

How do you get a yeast infection, and what raises your risk?

A yeast infection (also called candidiasis) happens when the normally harmless yeast Candida overgrows on your skin or mucous membranes—most often in the vagina, mouth or digestive tract. Under healthy conditions, a balance of bacteria and yeast keeps Candida levels in check. But when that balance is disrupted, Candida can multiply and trigger symptoms such as itching, burning, discharge or soreness. Understanding how you get a yeast infection and what raises your risk can help you take steps to prevent it and seek treatment early.

What causes a vaginal yeast infection?
Most vaginal yeast infections are due to Candida albicans. This yeast lives in small numbers in the vagina, gut and on the skin. When something disturbs the normal vaginal environment—especially the balance of “good” bacteria (Lactobacillus species) and yeast—Candida can overgrow. Common triggers include:

  • Antibiotic use. Broad-spectrum antibiotics kill off protective bacteria, giving yeast room to multiply.
  • Hormonal shifts. Pregnancy, hormone replacement therapy or high-estrogen birth control pills can change vaginal pH and encourage yeast growth.
  • Elevated blood sugar. Uncontrolled diabetes provides extra sugar in vaginal fluids, feeding yeast.
  • Weakened immunity. HIV infection, chemotherapy or prolonged steroid use can impair your body’s ability to keep Candida in check.
  • Tight or non‐breathable clothing. Synthetic underwear and leggings trap heat and moisture, creating a cozy environment for yeast.
  • Personal care products. Scented soaps, douches or feminine sprays can irritate skin and alter vaginal pH.

Other factors such as stress, poor sleep or high-sugar diets may also indirectly raise your risk by affecting your immune function or the balance of bacteria and yeast.

How do you get a yeast infection in other areas?
While vaginal candidiasis is most common, yeast can cause infections in other parts of the body, including:

  • Oral thrush. Overgrowth of Candida in the mouth causes white patches, redness and soreness. It often appears in infants, older adults or people using inhaled steroids.
  • Skin infections. Warm, damp folds of skin (armpits, under breasts, groin) can develop red, itchy rashes when yeast multiplies.
  • Esophageal candidiasis. People with severely weakened immunity may have Candida invade the esophagus, leading to pain when swallowing.

Risk factors for these types mirror those for vaginal yeast: antibiotic use, immune suppression, diabetes and local moisture buildup.

Who is most at risk?
Certain groups are more prone to yeast infections:

  • Women of childbearing age. Hormones fluctuate during menstrual cycles and pregnancy, increasing susceptibility.
  • Pregnant women. Elevated estrogen and progesterone levels encourage yeast growth.
  • People with diabetes. High blood sugar fuels Candida.
  • Individuals on antibiotics. Even a short course can disrupt bacterial balance.
  • Those with weakened immune systems. HIV/AIDS, cancer treatments or chronic steroid therapy lower defenses.
  • Infants and older adults. Underdeveloped or waning immunity can let yeast flourish.
  • People who sweat heavily or wear tight clothing. Moist skin folds become yeast incubators.

Having one or more of these factors doesn’t guarantee you’ll get a yeast infection—but it does raise your odds.

Signs and symptoms to watch for
Vaginal yeast infections often cause:

  • Intense itching or irritation of the vaginal area
  • Pain or burning during urination or intercourse
  • Thick, white “cottage cheese” discharge without strong odor
  • Redness and swelling of the vulva

Oral thrush may appear as white patches on the tongue, inner cheeks or throat. Skin infections look like red, itchy rashes in skin folds.

Preventing yeast overgrowth
While you can’t eliminate Candida, you can reduce the chances it will get out of control. Try these simple steps:

  • Use antibiotics only when prescribed and follow the full course.
  • Choose breathable, cotton underwear and loose-fitting pants.
  • Change out of wet swimsuits or sweaty workout clothes promptly.
  • Avoid douching and scented feminine products; let your body’s natural balance stay intact.
  • Maintain good blood sugar control if you have diabetes.
  • Eat a balanced diet—limit added sugars and refined carbs that feed yeast.
  • Manage stress with adequate sleep, exercise and relaxation techniques.

When to seek medical advice
Mild yeast infections often resolve with over-the-counter antifungal creams or suppositories. However, talk to a healthcare professional if you experience:

  • Severe or persistent symptoms
  • More than four yeast infections in one year
  • Fever, chills or back pain (possible sign of a more serious infection)
  • Unusual vaginal odor
  • Blood in vaginal discharge

You might also consider a free, online symptom check, using the doctor approved Ubie Symptom Checker to help you decide whether it’s time to see a provider.

Treatment options
A variety of treatments can clear a yeast infection:

  • Over-the-counter antifungal creams or suppositories (clotrimazole, miconazole)
  • Prescription oral antifungals (fluconazole) for more severe or recurrent cases
  • Topical prescription treatments for skin or oral infections

Always follow the full course of treatment, even if symptoms improve quickly. Stopping early can let yeast regrow and make future infections harder to treat.

Key takeaways
Understanding how you get a yeast infection—and what raises your risk—can help you take simple preventive steps and recognize symptoms early. Keep in mind:

  • Yeast infections result from Candida overgrowth when the normal balance of bacteria and yeast is disrupted.
  • Antibiotics, hormonal changes, diabetes, weakened immunity and moisture are common triggers.
  • Prevention focuses on good hygiene, proper clothing, balanced diet and managing chronic conditions.
  • Mild cases respond well to over-the-counter treatments; seek medical care for severe, recurrent or complicated infections.

If you’re unsure whether your symptoms indicate a yeast infection or something more serious, speak to a doctor. Any fever, severe pain or unusual discharge warrants prompt medical attention. And remember, a quick visit to a healthcare professional can help you get relief and prevent complications.

(References)

  • * Akpan A, Morgan R. Oral candidiasis. Postgrad Med J. 2002 Aug;78(922):455-9. doi: 10.1136/pmj.78.922.455. PMID: 12185216; PMCID: PMC1742467.

  • * Gonçalves B, Ferreira C, Alves CT, Henriques M, Azeredo J, Silva S. Vulvovaginal candidiasis: Epidemiology, microbiology and risk factors. Crit Rev Microbiol. 2016 Nov;42(6):905-27. doi: 10.3109/1040841X.2015.1091805. 2015 Dec 21. PMID: 26690853.

  • * Cortés JA, Ruiz JF, Melgarejo-Moreno LN, Lemos EV. Candidemia in Colombia. Biomedica. 2020 Mar 1;40(1):195-207. doi: 10.7705/biomedica.4400. 2020 Mar 1. PMID: 32220174; PMCID: PMC7357379.

  • * Abe T, Futamura K, Goto N, Ohara K, Ogasa T, Tomosugi T, Okada M, Hiramitsu T, Narumi S, Watarai Y. Oral/oesophageal candidiasis is a risk factor for severe infection after kidney transplantation. Nephrology (Carlton). 2022 Jan;27(1):97-103. doi: 10.1111/nep.13959. 2021 Aug 21. PMID: 34390080; PMCID: PMC9291901.

  • * Thomas-Rüddel DO, Schlattmann P, Pletz M, Kurzai O, Bloos F. Risk Factors for Invasive Candida Infection in Critically Ill Patients: A Systematic Review and Meta-analysis. Chest. 2022 Feb;161(2):345-355. doi: 10.1016/j.chest.2021.08.081. 2021 Oct 18. PMID: 34673022; PMCID: PMC8941622.

  • * Fernandes Â, Azevedo N, Valente A, Dias M, Gomes A, Nogueira-Silva C, Henriques M, Silva S, Gonçalves B. Vulvovaginal candidiasis and asymptomatic vaginal colonization in Portugal: Epidemiology, risk factors and antifungal pattern. Med Mycol. 2022 May 5;60(5). doi: 10.1093/mmy/myac029. PMID: 35482711.

  • * Tatsuta K, Taki Y, Nakatani E, Higashizono K, Nagai E, Nishida M, Sato S, Ohata K, Watanabe M, Kanemoto H, Oba N. Risk Factors for Candidiasis as an Intra-Abdominal Infection after Gastrectomy in Patients with Gastric Cancer. Jpn J Infect Dis. 2022 Sep 22;75(5):461-465. doi: 10.7883/yoken.JJID.2021.893. 2022 Apr 28. PMID: 35491228.

  • * Cohen N, Orenbuch-Harroch E, Olshtain-Pops K, Lachish T, Korem M. Epidemiology, Clinical Characteristics and Risk Factors for Severity of Chronic Disseminated Candidiasis in Jerusalem, Israel. Mycopathologia. 2023 Dec;188(6):873-883. doi: 10.1007/s11046-023-00755-9. 2023 Jun 16. PMID: 37326819.

  • * Meyer L, Frossard J, Schreiber PW, Manuel O, Lamoth F, Khanna N, Boggian K, Walti L, Garzoni C, van Delden C, Mueller NJ, Neofytos D, Swiss Transplant Cohort Study. Invasive Candida infections in solid organ transplant recipients between 2008 and 2020. Am J Transplant. 2025 Dec;25(12):2634-2645. doi: 10.1016/j.ajt.2025.07.2480. 2025 Jul 30. PMID: 40744430.

  • * Rautemaa-Richardson R, Sobel JD, Stone N, De Seta F, Cassone A, Vieira-Baptista P, Comar M, Warris A, Roselletti E. State-of-the-Art Review: Managing Vulvovaginal Candidiasis. Clin Infect Dis. 2026 Mar 17;82(3):371-382. doi: 10.1093/cid/ciaf673. PMID: 41839452; PMCID: PMC13017020.

Thinking about asking ChatGPT?Ask me instead

Tell your friends about us.

We would love to help them too.

smily Shiba-inu looking

For First Time Users

What is Ubie’s Doctor’s Note?

We provide a database of explanations from real doctors on a range of medical topics. Get started by exploring our library of questions and topics you want to learn more about.

Was this page helpful?

Purpose and positioning of servicesUbie Doctor's Note is a service for informational purposes. The provision of information by physicians, medical professionals, etc. is not a medical treatment. If medical treatment is required, please consult your doctor or medical institution. We strive to provide reliable and accurate information, but we do not guarantee the completeness of the content. If you find any errors in the information, please contact us.