Quick answer: Stress can contribute to constipation. The gut and brain are in constant two-way contact. Research links constipation with anxiety and depression, probably in both directions. Stress also works indirectly: it disrupts sleep, meals, exercise and toilet habits, and it makes people hold it in. The best way to see whether stress affects your bowels is to log stressful days next to your bowel movements for two weeks.
If your bowels seize up before exams, during a hard week at work or on a stressful trip, you're not imagining it. Many people notice their gut reacting to their mood. Usually that means diarrhea and urgency, but for others it means the opposite.
This guide explains what's known about stress and constipation, which part is the gut-brain link and which part is ordinary routine disruption, and how to tell from your own data.
Key takeaways
- Chronic constipation is classed as a disorder of gut-brain interaction (DGBI). These conditions involve changes in gut movement, gut sensitivity and how the brain processes gut signals [1].
- Constipation is linked with depression and anxiety in research. The relationship likely runs both ways [2][3].
- Much of stress's effect is indirect. Changes in routine, ignoring the urge to go, poor sleep and less activity all contribute [5][7].
- Some antidepressants can themselves cause constipation [5]. Don't stop them, but do mention the timing to your prescriber.
- A two-week log with a quick "stress note" each day can show whether hard weeks line up with slow bowels.
Can stress cause constipation?
It can contribute, though it's rarely the only factor. The gut and brain share a constant two-way link through nerves, hormones and the immune system.
The Rome Foundation, which sets the diagnostic criteria for these conditions, uses the term disorders of gut-brain interaction. These conditions are tied to changes in gut movement (motility), heightened gut sensitivity, immune and microbiome changes, and altered processing in the central nervous system [1]. Chronic constipation is one of the best-known examples, alongside IBS [1].
That doesn't mean constipation is "all in your head." It means the brain is part of the system that controls your bowels, so emotional state can affect how the gut behaves and how symptoms feel.
Stress also changes behavior in ways that affect your bowels:
- Your routine changes. NIDDK lists changes in daily routine, such as travel, as a cause of constipation [5].
- You hold it in. Busy, stressful days mean skipping the bathroom. Ignoring the urge is a listed cause [5].
- Sleep and mornings get disrupted. Colon activity rises sharply on waking and after meals [7]. Rushed mornings with no breakfast miss that window.
- You move less. Too little physical activity is another listed cause [5].
- You eat differently. Low fiber and low fluid intake both contribute [5].
Can anxiety cause constipation?
Anxiety and constipation often go together, but research can't yet say how much one causes the other.
A 2023 meta-analysis of functional gut disorders found that anxiety was significantly more common in people with these conditions than in those without [3]. A 2026 meta-analysis of observational studies found that constipation was associated with a higher risk of depression. The authors suggest the relationship may be bidirectional: gut problems may feed low mood, and depression may promote constipation [2]. In children, most studies in a 2023 systematic review found a significant link between psychological stress and functional constipation. Stressors included family, school and stressful life events [4].
These are observational studies. They show a link, not proof that anxiety causes constipation in a given person. That's why your own data is useful.
Is it stress or something else?
Stress is easy to blame and hard to measure. Before settling on it, rule out the common alternatives.
| What you notice | Could be | What to check |
|---|---|---|
| Constipation started with a new medicine | Medicine side effect: some antidepressants, opioid pain medicines, iron, calcium/aluminum antacids [5] | Ask your prescriber; don't stop on your own [6] |
| Bowels slow on trips, busy weeks or night shifts | Routine disruption, holding it in [5] | Protect a toilet window; see travel constipation |
| Constipation with belly pain that eases after a BM, worse with stress | Possibly IBS with constipation | See IBS and stress; talk to a doctor |
| Stress gives you loose stools and urgency instead | Stress-related diarrhea | See stress diarrhea |
| Constipation plus fatigue, feeling cold, weight changes | Possibly a thyroid problem; hypothyroidism is a listed cause [5] | See a doctor for a check |
| Constant, regardless of stress | Diet, fluids, activity or a chronic constipation disorder | Track fiber and fluids; see a doctor if it persists |
What helps stress-related constipation?
Treat both halves: the bowel habits stress disrupts, and the stress itself.
Protect your bowel routine:
- Keep a regular wake time and eat breakfast. Waking and meals are your colon's strongest daily triggers [7].
- Try for a bowel movement at the same time each day, 15–45 minutes after breakfast [6].
- Go when you feel the urge, even on busy days [6].
- Move daily. People who exercise regularly have a lower risk of constipation in observational data [8].
- Keep fiber and fluids steady, adding fiber gradually [6]. More on our regular poop schedule page.
Address the stress side:
- For people with disorders of gut-brain interaction, the Rome Foundation recognizes brain-gut behavior therapies, such as cognitive behavioral therapy and gut-directed hypnotherapy, as treatment options [9]. Ask your doctor whether a referral makes sense.
- If anxiety or low mood is affecting your daily life, that deserves care in its own right, separate from your bowels.
If you take an antidepressant and suspect it's constipating you, talk to your prescriber. There are usually options, and stopping suddenly can cause problems [6].
How to track stress and bowel movements
You're looking for whether high-stress days or weeks line up with slower, harder bowel movements. Two weeks of simple notes is enough to start.
Each day, record:
- Stress level: a quick note or 0–3 score ("deadline day, 3")
- Each bowel movement: time, Bristol type, straining
- No-go days
- Sleep and breakfast: did you sleep normally and eat breakfast?
- Held it in? yes/no
Illustrative example: a two-week stress log (summary)
This is an illustrative example, not real user data.
| Week | Avg. stress (0–3) | Days with breakfast | Times held it in | BMs | Hard stools (type 1–2) |
|---|---|---|---|---|---|
| Week 1 (project deadline) | 2.6 | 2 of 7 | 4 | 3 | 3 of 3 |
| Week 2 (normal week) | 0.9 | 6 of 7 | 0 | 6 | 1 of 6 |
Reading it: the stressful week had fewer bowel movements and harder stools. It also had skipped breakfasts and held-in urges. Stress may be acting partly through routine. That's encouraging, because routine is something you can protect even when the stress is unavoidable. This is a possible pattern, worth checking over another stressful stretch.
Our constipation diary guide has a printable layout you can add a stress column to.
For ongoing records, explore the Get Regular poop tracker. Compare the current logging workflow and access with the details you want to keep. An app record does not identify the cause of a bowel change.
When to see a doctor
Stress is a common contributor, but don't let it explain away warning signs. See a doctor if you have:
- Blood in or on your stool, or black, tarry stool
- Unintended weight loss
- New, persistent constipation, especially if you're over 50
- Severe belly pain, vomiting, a swollen belly or being unable to pass gas. Seek urgent care for these [5].
- Constipation alternating with thin stools
- Fever, or constipation that doesn't improve with self-care [5]
- A family history of colon or rectal cancer [5]
If anxiety or low mood feels overwhelming, or you have thoughts of harming yourself, contact a doctor or a crisis line right away. In the US, you can call or text 988.
Full checklist: when to see a doctor about bowel changes.
FAQ
How long does stress constipation last?
It often eases when the stressful period ends and your routine returns, but there's no fixed timeline. If constipation persists for weeks after things calm down, look for other causes and see a doctor.
Why does stress give some people diarrhea and others constipation?
Gut-brain interaction can push bowel habits either way. Disorders of gut-brain interaction include both constipation and diarrhea patterns [1]. Some people switch between the two. If that's you, see our guide to IBS and stress.
Can anxiety medication cause constipation?
Some antidepressants are a known cause of constipation [5]. If constipation started after a new medicine or dose, tell your prescriber. Don't stop or change it on your own [6].
Can holding in poop because of anxiety cause constipation?
Yes. Ignoring the urge to have a bowel movement is a listed cause of constipation [5]. If bathroom anxiety (for example, at work or school) makes you hold it in, building in a private, unhurried toilet window at home can help.
Sources
- Rome Foundation. What is a Disorder of Gut-Brain Interaction (DGBI)? https://theromefoundation.org/what-is-a-disorder-of-gut-brain-interaction-dgbi/
- Ren et al. Constipation is associated with an increased risk of depression: a systematic review and meta-analysis of observational studies. Transl Psychiatry. 2026. https://www.nature.com/articles/s41398-026-04138-8
- Yan et al. The role of psychological factors in functional gastrointestinal disorders: a systematic review and meta-analysis. Int J Colorectal Dis. 2023;38:65. https://link.springer.com/article/10.1007/s00384-023-04333-9
- Relationship between psychological stress with functional constipation in children: a systematic review. Pan Afr Med J. 2023;46:8. https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10620441/
- NIDDK. Symptoms & Causes of Constipation. https://www.niddk.nih.gov/health-information/digestive-diseases/constipation/symptoms-causes
- NIDDK. Treatment for Constipation. https://www.niddk.nih.gov/health-information/digestive-diseases/constipation/treatment
- Rao SSC, Sadeghi P, Beaty J, Kavlock R, Ackerson K. Ambulatory 24-h colonic manometry in healthy humans. Am J Physiol Gastrointest Liver Physiol. 2001;280:G629–G639. https://journals.physiology.org/doi/full/10.1152/ajpgi.2001.280.4.G629
- Sadler K, Arnold F, Dean S. Chronic Constipation in Adults. Am Fam Physician. 2022;106(3):299–306. https://www.aafp.org/pubs/afp/issues/2022/0900/chronic-constipation-adults.html
- Rome Foundation Working Team. A Rome Working Team Report on Brain-Gut Behavior Therapies for Disorders of Gut-Brain Interaction. https://theromefoundation.org/wp-content/uploads/A-Rome-Working-Team-Report-on-Brain-Gut-Behavior-Therapies-for-Disorders-of-Gut-Brain-Interaction.pdf
This article is for general education and isn't medical advice. Get Regular is a tracking app — it doesn't diagnose or treat any condition. If you have red-flag symptoms or ongoing changes in your digestion, talk to a doctor.