Why Do I Have Diarrhea While Breastfeeding?

Diarrhea while breastfeeding is common and usually comes down to a handful of causes: hormonal shifts after delivery, dietary changes, dehydration, or medications you may be taking postpartum. Most cases resolve on their own within a few days, but understanding what’s behind it helps you manage symptoms and keep your milk supply steady.

Hormonal Changes After Delivery

Your body goes through dramatic hormonal swings in the weeks after giving birth, and your gut feels the effects. Oxytocin, the hormone released every time your baby latches, plays a direct role in how your digestive system moves food along. Interestingly, research in the American Journal of Physiology found that oxytocin normally acts as a brake on intestinal motility, slowing things down and giving your body more time to absorb water from stool. When oxytocin levels fluctuate rapidly, as they do during the early postpartum period and with each feeding session, your gut may not regulate transit speed as smoothly as it usually does.

Prostaglandins, compounds your body produces to help your uterus contract back to its pre-pregnancy size, also stimulate smooth muscle in the intestines. If you’ve noticed that loose stools seem to coincide with afterpains or cramping during feeds, prostaglandins are the likely culprit. This pattern tends to ease within the first few weeks postpartum as uterine contractions decrease.

Dietary Triggers to Watch For

Many new parents change their eating habits after delivery, whether that means grabbing quick, convenient meals, increasing caffeine to cope with sleep deprivation, or eating more dairy for calcium. Any of these shifts can upset digestion.

Caffeine is a well-known gut stimulant. The Mayo Clinic recommends breastfeeding mothers limit intake to two to three cups of caffeinated drinks per day. If you’ve been exceeding that, cutting back may be enough to firm things up. Dairy is another common offender. Some women develop a temporary lactose sensitivity postpartum, even if they tolerated dairy fine before pregnancy. If you suspect a particular food, try removing it from your diet for about a week and see if your symptoms improve.

High-sugar foods, artificial sweeteners (especially sugar alcohols found in protein bars and sugar-free snacks), and large amounts of fruit can also pull water into the intestines and loosen stools. It’s worth tracking what you eat for a few days alongside your symptoms to spot patterns.

Dehydration Makes It Worse

Breastfeeding alone increases your fluid needs significantly because you’re producing milk around the clock. Add diarrhea on top of that and you can become dehydrated quickly, which paradoxically can make digestive issues worse as your body struggles to maintain normal gut function.

The priority is replacing what you’re losing. Water is your best option, but if diarrhea is frequent, an oral rehydration solution helps restore electrolytes more effectively than water alone. A practical rule: drink a full glass of water every time you sit down to nurse, and keep sipping throughout the day. If your urine is dark yellow or you feel lightheaded, you’re already behind on fluids.

Postpartum Medications

Several medications commonly prescribed or recommended after delivery can cause loose stools. Stool softeners like docusate sodium are routinely suggested postpartum, especially after a cesarean section or if you had tearing during delivery. Their entire purpose is to loosen stool, so if you’re still taking one and experiencing diarrhea, it may be doing its job too well. Talk to your provider about whether you still need it.

Antibiotics are another frequent cause. If you were treated for an infection during labor, had a cesarean delivery, or are currently taking antibiotics for mastitis, they can disrupt the balance of bacteria in your gut and trigger diarrhea that lasts for days or even weeks after you finish the course. Eating probiotic-rich foods like yogurt or fermented vegetables can help restore gut bacteria more quickly.

Stomach Bugs and Infections

Sometimes diarrhea while breastfeeding has nothing to do with breastfeeding itself. Viral gastroenteritis (a stomach bug) is just as likely to hit you postpartum as at any other time, and noroviruses are among the most common culprits.

If you’re worried about passing an infection to your baby through breast milk, the evidence is reassuring. Very few infections warrant stopping breastfeeding. Your milk actually contains protective components, including antibodies and oligosaccharides, that actively block common diarrhea-causing pathogens like rotavirus, norovirus, Salmonella, and Campylobacter from infecting your baby’s gut cells. One milk protein, lactadherin, directly inhibits rotavirus from entering intestinal cells. In other words, continuing to breastfeed while you have a stomach bug helps protect your baby rather than putting them at risk.

The main transmission concern with a stomach bug is close contact, not breast milk. Thorough handwashing before handling your baby and before pumping or nursing is the most effective precaution.

Managing Diarrhea Safely

For most cases, the approach is straightforward: stay hydrated, eat bland foods when you can tolerate them, and identify any obvious triggers like excess caffeine or a medication side effect. Rice, bananas, toast, and broth are easy on the stomach and can help add bulk to stools.

If you need medication for relief, loperamide (the active ingredient in over-the-counter anti-diarrheal products) enters breast milk in minimal amounts and is unlikely to affect your baby at standard doses, according to the LactMed database maintained by the National Institutes of Health. It’s a reasonable short-term option when diarrhea is disrupting your ability to function or care for your baby.

Signs That Need Medical Attention

Most postpartum diarrhea clears up within a few days. But certain symptoms call for a prompt visit to your provider:

  • Fever of 100.4°F (38°C) or higher, which could signal an infection that needs treatment
  • Blood or mucus in your stool
  • Diarrhea lasting more than three days without improvement
  • Signs of dehydration like dizziness, very dark urine, dry mouth, or a rapid heartbeat
  • Severe abdominal pain that is sharp, stabbing, or doesn’t go away

Persistent diarrhea in the postpartum period occasionally points to conditions that developed or worsened during pregnancy, such as thyroid dysfunction or new-onset food sensitivities, both of which are treatable once identified.