Doctors Note Logo

Published on: 9/17/2026

Can anxiety or stress cause diarrhea only at night?

Yes, anxiety and stress can trigger nighttime diarrhea, since the gut-brain axis speeds up intestinal motility and heightens gut sensitivity, and worry often peaks when you finally lie down in a quiet, dark room. That said, diarrhea that happens only at night is considered a warning sign by many clinicians, because it can also point to infections, microscopic colitis, inflammatory bowel disease, diabetic neuropathy, bile acid malabsorption, medication effects, or food eaten late in the day. Clues that matter include whether the stools wake you from sleep, blood or mucus, fever, weight loss, and how long the pattern has lasted, and there are several important distinctions to consider below.

Because stress-related and disease-related nocturnal diarrhea can feel identical, the fastest way to sort out which pattern fits you is to review your specific symptoms rather than guess. Take a free, instant, online symptom check to see which causes match your situation, which red flags warrant prompt medical care, and what to discuss at your next appointment.

Last reviewed for medical accuracy: 09/17/2026

answer background

Explanation

Can anxiety or stress cause diarrhea only at night?

Many people wake up in the middle of the night with an urgent need to use the bathroom—and wonder whether stress or anxiety might be to blame. If you’ve ever typed “diarrhea waking me up at night” into a search engine, you’re not alone. Below, we explore what the research says, why this happens, when to worry, and what you can do about it.

What we know about stress, anxiety, and your gut
• The gut-brain axis
– Your digestive tract and your nervous system are in constant communication via nerves (especially the vagus nerve) and signaling chemicals (neurotransmitters and hormones).
– When you feel anxious or stressed, your body releases cortisol and adrenaline. These “fight-or-flight” hormones can speed up gut motility (the rate at which food and waste move through your intestines), which may cause loose stools or diarrhea.

• Irritable bowel syndrome (IBS) and functional diarrhea
– Chronic stress and anxiety are strong triggers for IBS, which often presents as abdominal pain, bloating, and changes in bowel habits (diarrhea, constipation, or both).
– About one in three people with IBS report diarrhea as their main symptom (IBS-D). Nighttime flares aren’t typical, but they can occur if stress levels spike late in the day.

• Sleep, stress hormones, and gut function
– Cortisol follows a daily rhythm: it’s usually low in the evening and peaks upon waking. Chronic stress can flatten this rhythm, leading to higher nighttime cortisol, which can activate your gut.
– Poor sleep and fragmented rest further dysregulate hormone levels, making you more susceptible to stress-induced gut symptoms.

Why diarrhea at night often needs a broader look
While stress and anxiety can play a role, diarrhea that consistently wakes you up at night deserves careful evaluation. Functional disorders like IBS tend to spare sleep—if you’re up every night, it may point to other causes:

• Inflammatory bowel disease (IBD)
– Crohn’s disease and ulcerative colitis often cause night-time diarrhea along with blood in the stool, weight loss, and fever.

• Infections
– Persistent infections (Giardia, certain bacteria) can cause ongoing loose stools, bloating, and nighttime urgency.

• Malabsorption syndromes
– Conditions such as celiac disease, lactose intolerance, or chronic pancreatitis can lead to diarrhea, especially if trigger foods are eaten late in the evening.

• Medications
– Some antibiotics, magnesium-based antacids, or certain diabetes drugs can cause loose stools. If you take medication at night, consider this possibility.

• Endocrine issues
– Hyperthyroidism (overactive thyroid) can speed up your metabolism and gut motility, sometimes causing nocturnal diarrhea.

• Sleep disorders
– Sleep apnea and other disorders that disrupt your normal sleep cycle can indirectly affect stress hormones and gut function.

When to be concerned: alarm symptoms
If you have any of the following alongside diarrhea that wakes you up, talk to a doctor promptly:

  • Blood or pus in your stool
  • Unexplained weight loss
  • Severe abdominal pain
  • Persistent fever over 100.4°F (38°C)
  • Signs of dehydration (dizziness, extreme thirst, dark urine)
  • Recent travel to areas with high rates of infectious diarrhea

Managing stress-related nighttime bowel troubles
Even if anxiety or stress is a factor, it helps to treat both mind and body. Here are practical steps:

  1. Tackle stress and anxiety
    • Mindfulness and relaxation
    – Try deep breathing, progressive muscle relaxation, or guided imagery before bed.
    • Cognitive techniques
    – Challenge anxious thoughts that may peak at night and write them down earlier in the evening.
    • Professional support
    – Consider counseling or cognitive-behavioral therapy (CBT), which has evidence for improving gut-brain symptoms.

  2. Optimize your evening routine
    • Regular mealtimes
    – Eat dinner at least 2–3 hours before bedtime to give your gut time to process food.
    • Choose gut-friendly foods
    – Avoid high-fat meals, large portions, and known triggers (dairy, spicy foods, artificial sweeteners).
    • Limit stimulants
    – Cut back on caffeine, alcohol, and nicotine in the late afternoon and evening.

  3. Improve sleep hygiene
    • Consistent schedule
    – Go to bed and wake up at the same time each day, even on weekends.
    • Bedroom environment
    – Keep your room cool, dark, and quiet. Use earplugs or a white-noise machine if needed.
    • Wind-down period
    – Spend 30–60 minutes before bed on low-stimulus activities (reading, light stretching).

  4. Support your gut directly
    • Hydration and electrolytes
    – Drink clear fluids and consider an oral rehydration solution if you’re losing a lot of fluid.
    • Probiotics
    – Some strains (Lactobacillus and Bifidobacterium) may help regulate bowel function, though evidence is still emerging.
    • Fiber adjustments
    – Soluble fiber (oats, bananas, applesauce) can thicken stools; start slowly to avoid gas and bloating.

When stress-management alone isn’t enough
If lifestyle changes and anxiety reduction don’t relieve your nighttime diarrhea, it’s time for a deeper look. You might consider a free, online symptom check, using the doctor approved Ubie Symptom Checker. This quick tool can help you gauge whether you need to pursue tests such as:

  • Blood work (CBC, thyroid function)
  • Stool studies (infection, inflammation markers)
  • Endoscopy or colonoscopy (to rule out IBD or celiac disease)
  • Imaging (abdominal ultrasound or CT scan)

Tips for your doctor visit
• Keep a symptom diary
– Note timing, stool consistency, diet, stress levels, and any other symptoms.
• List your medications and supplements
– Include doses and timing (especially anything you take at night).
• Share your mental-health history
– Be honest about anxiety, depression, or sleep problems, as they inform your care plan.

Key takeaways
• Anxiety and stress can speed up gut motility via the gut-brain axis, potentially causing diarrhea that even wakes you up at night.
• True nocturnal diarrhea (disturbing sleep more than once a month) often warrants evaluation for organic causes like IBD, infection, or malabsorption.
• Managing stress, improving sleep hygiene, adjusting diet, and supporting your gut flora can help—but aren’t a substitute for medical evaluation if alarm signs appear.
• Consider a free, online symptom check, using the doctor approved Ubie Symptom Checker to decide if you need further tests or a specialist referral.
• Always speak to a doctor about any symptoms that are severe, persistent, or life-threatening.

Living with nighttime diarrhea can be frustrating, but understanding the possible role of stress and when to seek help puts you back in control. If sleep-disrupting diarrhea continues, reach out to your healthcare provider—or start with the Ubie Symptom Checker—to get the answers and treatment you need.

(References)

  • * Malchiodi L. Thyroid Storm. Am J Nurs. 2002 May;102(5):33-5. doi: 10.1097/00000446-200205000-00032. PMID: 12006852.

  • * Tack J. Functional diarrhea. Gastroenterol Clin North Am. 2012 Sep;41(3):629-37. doi: 10.1016/j.gtc.2012.06.007. Epub 2012 Jun 28. PMID: 22917168.

  • * Naftali T. [MEDICAL CANNABIS]. Harefuah. 2016 Feb;155(2):79-82, 133. PMID: 27215115.

  • * Spiller R. Impact of Diet on Symptoms of the Irritable Bowel Syndrome. Nutrients. 2021 Feb 9;13(2). doi: 10.3390/nu13020575. Epub 2021 Feb 9. PMID: 33572262; PMCID: PMC7915127.

  • * Akbarali HI, Muchhala KH, Jessup DK, Cheatham S. Chemotherapy induced gastrointestinal toxicities. Adv Cancer Res. 2022;155:131-166. doi: 10.1016/bs.acr.2022.02.007. Epub 2022 Mar 21. PMID: 35779873; PMCID: PMC10033220.

  • * Okunaka M, Kano D, Uesawa Y. Nuclear Receptor and Stress Response Pathways Associated with Antineoplastic Agent-Induced Diarrhea. Int J Mol Sci. 2022 Oct 17;23(20). doi: 10.3390/ijms232012407. Epub 2022 Oct 17. PMID: 36293277; PMCID: PMC9604027.

  • * Tang X, Xiong K, Fang R, Li M. Weaning stress and intestinal health of piglets: A review. Front Immunol. 2022;13:1042778. doi: 10.3389/fimmu.2022.1042778. Epub 2022 Nov 24. PMID: 36505434; PMCID: PMC9730250.

  • * Ijiri M, Akioka K, Kitano T, Miura H, Ono HK, Terashima R, Fujimoto Y, Matsuo T, Yamato O, Kawaguchi H. Acupuncture Treatment Improves Transport Stress in Microminipigs Through the Acupoint in Ears. In Vivo. 2023 Sep-Oct;37(5):2100-2104. doi: 10.21873/invivo.13307. PMID: 37652514; PMCID: PMC10500517.

  • * Fu ZL, Yang Y, Ma L, Malmuthuge N, Guan LL, Bu DP. Dynamics of oxidative stress and immune responses in neonatal calves during diarrhea. J Dairy Sci. 2024 Feb;107(2):1286-1298. doi: 10.3168/jds.2023-23630. Epub 2023 Sep 29. PMID: 37776998.

  • * Zhang L, Wang HL, Zhang YF, Mao XT, Wu TT, Huang ZH, Jiang WJ, Fan KQ, Liu DD, Yang B, Zhuang MH, Huang GM, Liang Y, Zhu SJ, Zhong JY, Xu GY, Li XM, Cao Q, Li YY, Jin J. Stress triggers irritable bowel syndrome with diarrhea through a spermidine-mediated decline in type I interferon. Cell Metab. 2025 Jan 7;37(1):87-103.e10. doi: 10.1016/j.cmet.2024.09.002. Epub 2024 Oct 3. PMID: 39366386.

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.