Waking Up to Poop: 6 Causes and Treatments

Waking Up to Poop? Here’s What Your Body’s Trying to Tell You

Having a bowel movement in the middle of the night can be disruptive — and possibly a sign of a bigger issue.
Waking Up to Poop? Here’s What Your Body’s Trying to Tell You
iStock

You might stir from slumber to pee on occasion, but a sudden urge to poop in the middle of the night? Now, that’s a different story. And it might make you wonder why you’re pooping so much all of a sudden.

You’ll want to pay attention to how long you’ve been dealing with this nighttime disturbance. Waking up to poop every once in a while might not actually be a problem, says Niket Sonpal, MD, a New York City-based internist and gastroenterologist.

“[But] if it becomes a chronic, regular occurrence where you are sleeping and being woken up and physically compelled to go relieve yourself, that could signal something that needs a doctor’s attention,” he says.

“Nocturnal bowel movements are considered an ‘alarm symptom’ and can signal something is wrong,” says Maia Kayal, MD, assistant professor in the division of gastroenterology at the Icahn School of Medicine at Mount Sinai in New York City.

There may be some factor that overactivates bowel receptors to stimulate a bowel movement in the middle of the night or causes damage to the bowel wall, she explains.

Here’s what might be going on if you’re frequently waking up to poop.

1. You Have an Infection

A viral or bacterial gastrointestinal (GI) infection can cause you to poop more than usual, and it can lead to a sudden urge to poop in the middle of the night.

If you get the stomach flu (viral gastroenteritis), for instance, you may have watery diarrhea accompanied by abdominal cramping, nausea, vomiting, a low-grade fever, and headache or muscle aches.

“In most cases, viral GI infections ease up on their own. Patients just have to take it easy and replenish their fluids consistently,” says Dr. Sonpal. If you choose to see a doctor, they might opt to take a stool sample to identify the bacteria or virus at play and recommend treatment from there, Sonpal says.

You could also have food poisoning, another type of infection.

”[Foodborne] GI infections cause activation of the immune system and the release of inflammatory mediators and cytokines that can directly act on the bowel and stimulate diarrhea,” Dr. Kayal says. They can also produce toxins that damage the bowel, another factor that contributes to loose, unhealthy stools, she says.

See your doctor if you also have a fever, bloody diarrhea, or severe abdominal pain, or if you have dark urine or get dizzy while standing, which are symptoms of dehydration, Kayal says.

2. It’s Something You Ate

One relatively benign reason you might wake up with the urge to poop is if you made some big dietary changes.

Certain foods can cause excessive bowel movements or diarrhea, especially when you eat a lot of them.

 They could cause nighttime pooping if you eat them close to bedtime.

These foods can include:

  • Sugar and sugar alternatives, such as xylitol and sorbitol

  • Foods high in insoluble fiber, including nuts, dried fruit, and popcorn

  • Fatty or fried foods
  • Milk or other dairy products (if you’re lactose intolerant)
  • Spicy food
  • Caffeine, which is found in coffee, tea, soda, energy drinks, and chocolate

3. You Have a Digestive Condition

Certain digestive conditions, such as inflammatory bowel disease (IBD), could cause you to wake up in the night to poop.

IBD, which includes Crohn’s disease and ulcerative colitis, is marked by long-term inflammation that eventually damages the GI tract.

 IBD flares can affect you at any time of day, including waking you up to poop in the middle of the night, Kayal says.

What differentiates IBD from another cause are other symptoms that tag along with pooping at night.

“You will typically lose weight when you poop and have other symptoms like abdominal pain, bloody diarrhea, fluffy poop or floating poop, fecal urgency, or oral ulcers in addition to nocturnal bowel movements,” Kayal says.

4. You’re Sleep-Deprived

If you have a digestive condition like IBD, a lack of sleep or poor sleep quality can cause your symptoms to flare up.

 A buildup of restless nights can throw off your bathroom schedule during the day, causing you to wake up with the urge to poop.

5. Your Medication Has Some Surprising Side Effects

Are you taking a new medication? If your nocturnal bowel movements are new, consider any recently prescribed or over-the-counter medication you’re taking. Kayal says that medications like antibiotics, chemotherapy drugs, and drugs that contain magnesium, like antacids, may keep you from having healthy stools.

Antibiotics, for example, can change the balance of gut bacteria and may lead to side effects like diarrhea.

6. It’s Something Else

Hyperthyroidism, or an overactive thyroid, and, rarely, neuroendocrine tumors are two additional conditions to have on your radar if you’re waking up to poop, Kayal says.

Hyperthyroidism is when the thyroid gland makes too much thyroid hormone, which can speed up your metabolism. In addition to more frequent bowel movements, symptoms can include weight loss, a fast or irregular heartbeat, hand tremors, sweating, fatigue, muscle weakness, and fine, brittle hair.

Neuroendocrine tumors are rare cancerous tumors that can occur anywhere on the body, including in the GI system, like the small intestine, rectum, and pancreas.

“These conditions cause increased bowel movements in general by acting on different bowel receptors or by damaging the bowel lining,” Kayal says.

When to See a Doctor

Occasionally waking up to poop in the middle of the night may not be cause for concern.

But if you’re pooping a lot all of a sudden, including at night, and experiencing long-lasting symptoms like blood in the stool, abdominal cramping, weakness and fatigue, fever, or weight loss, visit your doctor to get a diagnosis and treatment.

If you seek treatment for frequent nocturnal bowel movements, your doctor will offer options based on the cause. They will most likely start by getting a sense of your symptoms and may take a stool sample as well. Then they can prescribe medication or suggest lifestyle changes to ease symptoms.

The Takeaway

  • Waking up to poop every so often might not be an issue, but if it’s starting to happen consistently, it could indicate an underlying health condition that requires attention.
  • Potential causes of nighttime bowel movements include infections, dietary changes, certain medications, and digestive conditions like IBD, among others.
  • If you have other serious symptoms accompanying nighttime bowel movements, such as blood in the stool, severe abdominal pain, weight loss, or fever, see your doctor.
EDITORIAL SOURCES
Everyday Health follows strict sourcing guidelines to ensure the accuracy of its content, outlined in our editorial policy. We use only trustworthy sources, including peer-reviewed studies, board-certified medical experts, patients with lived experience, and information from top institutions.
Resources
  1. Viral gastroenteritis (stomach flu): Symptoms & causes. Mayo Clinic. April 30, 2025.
  2. Is something in your diet causing diarrhea? Harvard Medical School. August 8, 2023.
  3. Artificial sweeteners and other sugar substitutes. Mayo Clinic. January 10, 2023.
  4. Foods for Constipation. Johns Hopkins Medicine.
  5. Inflammatory Bowel Disease (IBD) Basics. Centers for Disease Control and Prevention. June 21, 2024.
  6. Salwen-Deremer J et al. People With IBD Want to Talk About Sleep: Recommendations on What to Ask and How to Respond to Sleep Complaints. Gastroenterology. February 2022.
  7. Antibiotics. Cleveland Clinic. May 24, 2023.
  8. Hyperthyroidism: Symptoms & causes. Mayo Clinic. November 30, 2022.
  9. Neuroendocrine tumors: Symptoms & causes. Mayo Clinic. June 23, 2023.
  10. Frequent bowel movements: When to see a doctor. Mayo Clinic. October 31, 2024.

Yuying Luo, MD

Medical Reviewer

Yuying Luo, MD, is an assistant professor of medicine at Mount Sinai West and Morningside in New York City. She aims to deliver evidence-based, patient-centered, and holistic care for her patients.

Her clinical and research focus includes patients with disorders of gut-brain interaction such as irritable bowel syndrome and functional dyspepsia; patients with lower gastrointestinal motility (constipation) disorders and defecatory and anorectal disorders (such as dyssynergic defecation); and women’s gastrointestinal health.

She graduated from Harvard with a bachelor's degree in molecular and cellular biology and received her MD from the NYU Grossman School of Medicine. She completed her residency in internal medicine at the Icahn School of Medicine at Mount Sinai, where she was also chief resident. She completed her gastroenterology fellowship at Mount Sinai Hospital and was also chief fellow.

Jessica Migala

Author

Jessica Migala is a freelance writer with over 15 years of experience, specializing in health, nutrition, fitness, and beauty. She has written extensively about vision care, diabetes, dermatology, gastrointestinal health, cardiovascular health, cancer, pregnancy, and gynecology. She was previously an assistant editor at Prevention where she wrote monthly science-based beauty news items and feature stories.

She has contributed to more than 40 print and digital publications, including Cosmopolitan, O:The Oprah Magazine, Real Simple, Woman’s Day, Women’s Health, Fitness, Family Circle, Health, Prevention, Self, VICE, and more. Migala lives in the Chicago suburbs with her husband, two young boys, rescue beagle, and 15 fish. When not reporting, she likes running, bike rides, and a glass of wine (in moderation, of course).