Vaginal & Intimate Health

Doctor P explains how to safely treat a yeast infection during pregnancy, why vaginal treatment is preferred, and what to know about the pill in the first trimester.

How To Get Rid Of A Yeast Infection While Pregnant

June 12, 2026

Weeks into your pregnancy, the symptoms started, and you recognized them immediately. The itching, the discharge, the particular texture that is hard to mistake. The next thought was about the baby. That fear deserves a direct answer before anything else. Yeast infections affect about 20 to 30 percent of pregnant women, so you are not navigating territory no one else has been in. And your discomfort and your baby’s safety are not the same thing. The infection stays in your vaginal space, and your baby is protected by the anatomy your body built specifically for this. Everything you need to understand and treat this safely is here.

Quick answer: Vaginal antifungal cream or suppository is the first-line treatment and is safe throughout all three trimesters. Oral fluconazole (Diflucan) should be avoided in the first trimester because it is systemic, crosses the placenta, and reaches developing organs. It may be used in limited cases during the second or third trimester. Always confirm the diagnosis and treatment plan with your provider before treating during pregnancy.

Doctor P, board-certified OB/GYN, walks through how to treat yeast infections safely during pregnancy, what to know about the oral pill, and how to protect your baby.

Will This Affect My Baby?

When patients ask me this question, I start with the anatomy. The short answer is no. Understanding why starts with the three layers of protection your body has already built between the infection and your baby.

Your Cervix Is Holding the Door Closed

Your baby grows inside your uterus, and throughout your entire pregnancy, your cervix stays tightly closed. It is the first physical barrier between the vaginal space, where the yeast infection lives, and the space where your baby is developing. Yeast and bacteria that are present in the vaginal canal cannot pass through a closed cervix. The infection has nowhere to go.

The Mucus Plug Adds a Second Layer

Inside the cervix sits the mucus plug, a dense concentration of mucus that blocks the opening between your vagina and your baby’s space. Mucus is effective at trapping and stopping pathogens. Even if yeast were to migrate upward toward the cervix, the mucus plug is already in the way. This is an additional layer of protection your body builds and maintains throughout pregnancy.

Your Baby Lives in a Sealed Sac

The third layer is the amniotic sac. Your baby is living inside a sealed, fluid-filled environment. When people talk about “water breaking,” that is the amniotic sac rupturing, and that rupture happens at the end of pregnancy during labor, not during a yeast infection at 12 or 20 or 30 weeks. Until it ruptures, the sac maintains its own closed environment separate from anything in the vaginal canal.

Those three layers, the cervix, the mucus plug, and the amniotic sac, mean a vaginal yeast infection has virtually no pathway to your baby. Your discomfort is real and worth treating. But the infection itself is not the threat you feared it was.

One practical note: if you have a yeast infection and no symptoms at all, treatment is optional. Yeast infections cause the most discomfort for you. If you are symptomatic, and most women are, get treated.

What Treatment Is Safe During Pregnancy?

Vaginal antifungal treatment, a cream or suppository applied directly inside the vagina, is the preferred option in all three trimesters. The goal is to address the infection exactly where it lives, without any systemic exposure.

Vaginal Cream and Suppositories

Vaginal antifungals work locally. They do not enter your bloodstream in any meaningful amount, which means they do not cross the placenta and they do not reach your baby. This makes them the safest option throughout pregnancy, from the first week through the third trimester.

Over the counter, you are probably familiar with miconazole (the active ingredient in Monistat) and clotrimazole. Both are topical antifungals. During pregnancy, your provider will often prescribe a different formulation, typically terconazole or butoconazole. These prescription options are better matched to the hormonal environment of pregnancy and tend to clear the infection more completely than what is on the drugstore shelf. If you suspect a yeast infection while pregnant, see your provider first rather than reaching for the OTC aisle. Confirmation of the diagnosis and a prescription for the right formulation is the better path.

For a complete breakdown of yeast infection treatment options outside of pregnancy, see the yeast infection treatment guide.

The Oral Pill and First Trimester Risk

Fluconazole, sold under the brand name Diflucan, is the oral antifungal pill used to treat yeast infections. Effective when you are not pregnant. During pregnancy, and especially in the first 14 weeks, the risk calculation is different.

Fluconazole is systemic. It travels through your stomach, through your liver, into your bloodstream, and reaches every organ in your body. That includes crossing the placenta to reach your developing baby. The first trimester is when your baby’s organs are forming. Two Danish cohort studies found that first-trimester fluconazole exposure carries measurable risk. A 2013 study published in the New England Journal of Medicine linked fluconazole use during pregnancy to an increased risk of cardiac birth defects, including tetralogy of Fallot. A 2016 JAMA study of over 3,000 fluconazole-exposed pregnancies found an association with spontaneous abortion. That JAMA study prompted an FDA drug safety communication the same year.

This is why your provider will steer you away from the pill in your first trimester. In my practice, I recommend vaginal treatment as the first step in every trimester, because it targets the infection where it is, with no systemic exposure at all.

In the second and third trimesters, fluconazole carries much lower risk and may be appropriate if vaginal treatment has not resolved the infection. Even then, vaginal treatment should come first. Talk to your provider if you have tried vaginal treatment and symptoms have not cleared.

How Long Will It Take to Clear?

Pregnancy changes how quickly your body clears infections. This is expected, and it does not mean your treatment is not working.

Allow 10 to 14 Days After Treatment Ends

Your immune system functions differently during pregnancy. It downshifts in specific ways to protect a genetically distinct fetus from being rejected, and that shift means your body clears infections more slowly than it would outside of pregnancy. Most yeast infections resolve in seven days when you are not pregnant. During pregnancy, give your body 10 to 14 days after completing treatment before you expect full symptom resolution.

If your treatment course ended on day seven, itching or discharge may persist through day 14 or a bit beyond. That is normal. It is not a sign of treatment failure. What is worth a follow-up call to your provider is no improvement at all after that window, or symptoms that are getting worse rather than better.

What About Breastfeeding?

Both vaginal antifungal treatment and oral fluconazole are safe to use while breastfeeding. Neither option reaches your baby through breast milk in any clinically meaningful amount, and neither affects your milk production.

If you are breastfeeding and experience a yeast infection, treat it the same way you would at any other point in adulthood. Confirm the diagnosis with your provider, use vaginal treatment first, and use the oral pill only if vaginal treatment has not cleared the infection. Your provider can confirm the right protocol for your specific situation.

For common mistakes to avoid during treatment, see what not to do with a yeast infection.

How to Prevent Yeast Infections During Pregnancy

Pregnancy raises your yeast infection risk because of real biological changes in your body. Prevention is not about eliminating that risk entirely. It is about reducing the conditions that make Candida growth easier.

Wear 100 Percent Cotton Underwear

Cotton absorbs moisture, and vaginal moisture increases significantly during pregnancy. Wearing 100 percent cotton underwear is one of the most practical daily steps you can take to keep the vaginal environment less hospitable to yeast. Synthetic fabrics trap moisture and heat close to the skin. Cotton lets your body breathe. If you take away nothing else from the prevention section, make it this one.

Choose Loose Clothing When You Can

Loose clothing improves airflow in the vaginal area. During pregnancy, this matters more than it does outside of pregnancy because your body is already generating more moisture and heat than usual. When you have the choice between fitted and loose, loose is the better option for vaginal health.

Consider Daily Probiotic Support

A randomized controlled trial published in Microorganisms (2022) found that a multi-strain Lactobacillus probiotic taken daily during pregnancy significantly reduced Candida recurrence and supported a stable, Lactobacillus-dominant vaginal microbiome compared to placebo, in a study of 78 pregnant women with vaginal candidiasis. Taking a daily probiotic containing Lactobacillus strains during pregnancy may help maintain a healthy vaginal microbiome and reduce the likelihood of recurrent yeast infections.

The site has a full breakdown of what to look for: the ultimate guide to choosing the right probiotics for every yeast infection.

Why Pregnancy Makes Your Body More Vulnerable

Understanding the mechanism behind yeast infections in pregnancy gives you a clearer picture of what your hormones are doing inside your body during this time.

During pregnancy, estrogen rises significantly. Higher estrogen increases vaginal glycogen, a form of sugar that Candida feeds on. Progesterone alters the vaginal pH and the local immune environment. Your immune system also modulates during pregnancy to prevent your body from rejecting a genetically distinct fetus, and that modulation means your body is less aggressive at clearing infections like yeast than it normally would be. This is a feature of pregnancy, not a flaw. It is your body protecting your baby.

The result is that approximately 20 to 30 percent of pregnant women experience at least one yeast infection during pregnancy, a meaningfully higher rate than outside of pregnancy. Your vulnerability right now is not about hygiene or immune weakness in a harmful sense. It is your body doing what pregnancy requires.

If you want to understand more about how hormones shape your body across pregnancy and beyond it, the Ultimate Hormone Assessment is a starting point. Doctor P created it to help women identify what their hormones are doing and where to focus.

Frequently Asked Questions

Is it okay to lose weight during the first trimester of pregnancy?

Monistat contains miconazole, an over-the-counter antifungal that can be used during pregnancy. That said, during pregnancy your provider will often prescribe a formulation better suited to the hormonal environment, such as terconazole or butoconazole. Confirm with your provider before using any OTC antifungal while pregnant, and get a proper diagnosis first. Vaginal symptoms during pregnancy are not always a yeast infection, and treating the wrong thing delays the right treatment.

Fluconazole is not recommended in the first trimester. Research published in the New England Journal of Medicine linked first-trimester fluconazole exposure to a small increased risk of cardiac birth defects, and a 2016 JAMA study found an association with spontaneous abortion at repeated doses. In the second and third trimesters, it may be used if vaginal treatment has not worked, but vaginal treatment is always the preferred first step. Talk to your provider before taking fluconazole at any point during pregnancy.

A vaginal yeast infection will not reach your baby. The infection stays in the vaginal space, blocked by the cervix, mucus plug, and amniotic sac. However, leaving it untreated means ongoing discomfort for you, and ongoing irritation can make it harder to distinguish a yeast infection from other vaginal infections, such as bacterial vaginosis, that do carry higher risks in pregnancy. See your provider so you can confirm what you are dealing with and treat it appropriately.

Allow 10 to 14 days after completing treatment before expecting full symptom resolution. Pregnancy slows the immune response, so clearing takes longer than it does outside of pregnancy. Itching or discharge may linger for a week or more after your treatment course ends, and that is normal. If symptoms are not improving at all after that window, or if they worsen, contact your provider for a follow-up.

No. Both vaginal antifungal treatment and oral fluconazole are safe to use while breastfeeding. Your milk production will not be affected, and your baby is not exposed to meaningful levels of either treatment through breast milk. Treat a yeast infection while breastfeeding the same way you would at any other time and confirm the plan with your provider.

Related Content

The Ultimate Hormone Assessment

Understand your hormonal imbalance type

Our signature 48-question quiz, designed to uncover the root of your symptoms!

The 7-Day Hormone Challenge

Instantly access actionable steps and data-driven strategies to conquer hormonal imbalance and gain quick wins day by day!

Program

The Madame Estrogen Mastermind

Access a comprehensive solution to say goodbye to your hormonal imbalance!

The Hormone Wellness Network

Embody hormone harmony. Unleash your inner wonder woman — masterclasses, accountability, sisterhood, access to Doctor P, and more!