Alternating Diarrhea and Constipation: What the Pattern Actually Means

Alternating diarrhea and constipation has a short list of likely causes. What drives the switch, what helps, and when to see a doctor.

  • Written by Jeff Wilson

Between diarrhea and constipation, it's impossible to pick which one is worse. Both can be miserable, and swinging between them can be harder to manage than dealing with either one alone.

When it goes on past a few days, the reason gets harder to pin down. Often it comes back to how fast things are moving through your colon, which on its own is not a sign of disease by default

The hope is that the cause is something ordinary: a medication, a food, or a few days away from your normal routine. Once you find which one, the swing usually settles on its own. When nothing lines up, the pattern itself is worth attention, and what else is happening alongside it decides how quickly to act.

What Your Colon Is Actually Doing

One of your colon's main jobs is pulling water out of whatever passes through it. How long stool sits there is a big part of what it ends up feeling like.

Too slow, and too much water gets absorbed. You get hard, dry, difficult stool. 

Too fast, and the water stays in. It arrives loose or watery.

So when stools alternate, shifting transit speed can be part of the story. Sometimes your routine causes the shift, and occasionally nothing is moving while liquid slips past a blockage. Diet and medication can also change stool consistency directly.

Common Reasons the Pattern Swings

These range from everyday explanations to problems that need a doctor's attention.

Laxative and Fiber Cycling

This is a common and understandable pattern. You are constipated, take a stimulant laxative or a large dose of magnesium, and it works harder than expected. The colon empties, you get a day of loose stool, you back off everything, and two or three days of nothing follow.

A sudden fiber increase can do something similar. Going from almost no fiber to a large supplement dose overnight often brings gas, cramping, and looser stool, and things can swing back once you stop.

Travel, Dehydration, and Schedule Shifts

Your bowel movements are influenced by sleep, meal timing, and physical activity. Disrupt all three at once and constipation can become more likely.

Travel is a common trigger: different schedules, less water, unfamiliar bathrooms, and less walking. Then you get home, eat normally, and things loosen up again.

Low fluid intake can also contribute to harder stool, particularly when fiber intake is high.

Medications That Push Your Gut in Both Directions

Everyday drugs can affect bowel movements, some by slowing the gut and some by speeding it up. People can also take medications with opposing effects at the same time.

Opioid pain medication. Slows the gut reliably. Constipation is one of the most common side effects and can persist while you take the medication.

Iron supplements. Can harden stool and slow things down. A 2015 meta-analysis found oral ferrous sulfate more than doubled the odds of gastrointestinal side effects compared with placebo. Constipation was among the commonly reported individual side effects.

Antibiotics. Often loosen stool during or after a course. Several mechanisms are involved, including changes to the gut microbiome.

Magnesium antacids and supplements. Poorly absorbed magnesium salts can pull water into the bowel. High doses commonly cause diarrhea, and the effect depends on the form and dose.

GLP-1 medications. They can slow gastric emptying and commonly cause gastrointestinal symptoms. Constipation and diarrhea are both reported, and the effects on bowel movements are not explained by delayed gastric emptying alone.

Antidepressants. Effects depend on the class. Tricyclics more often cause constipation, while SSRIs more often loosen stool.

If your pattern started within a few weeks of a new prescription, bring that timing to your prescriber. Do not stop a prescribed medication on your own.

IBS With Mixed Bowel Habits

IBS is a real diagnosis, officially a disorder of gut-brain interaction, with its own criteria. The mixed subtype involves both hard and loose stool, but alternating stools alone do not meet the criteria.

The current Rome V criteria require recurrent abdominal pain or discomfort averaging at least three days per month over the previous three months. The pain or discomfort must be associated with at least two of three features: it is related to having a bowel movement, comes with a change in stool frequency, or comes with a change in stool form. Symptoms must have started at least six months before diagnosis.

For IBS with mixed bowel habits, more than 25% of bowel movements are Bristol stool types 1 or 2 and more than 25% are types 6 or 7. The subtype is based on stool form on days when at least one abnormal bowel movement occurs.

Alternating stools without the required abdominal pain or discomfort do not meet the IBS criteria. A clinician can often make the diagnosis from the symptom pattern and medical history, while using testing when the history or examination suggests another condition.

Foods That Pull Water Into the Gut

Some carbohydrates are poorly absorbed in the small intestine, so they can draw water into the bowel and get fermented further down. The effect generally increases with the amount consumed. (pmc.ncbi.nlm.nih.gov)

Sugar alcohols are common examples: sorbitol, mannitol, xylitol, and maltitol in sugar-free gum, protein bars, and diet candy. Undigested lactose can behave similarly if you do not produce enough lactase, as can excess fructose from some juices or dried fruit.

Intake varies day to day, so the effect can too. That is part of why the pattern can look random until you write down what you ate.

Overflow Diarrhea, the Version That Looks Like Relief

With fecal impaction, a hard mass of stool gets stuck and liquid stool from above leaks around it. Treating the leakage like ordinary diarrhea can make the blockage worse.

What you experience is days of constipation followed by watery leakage, sometimes with little warning or control. It feels like the constipation finally broke. It did not.

Ongoing bloating or fullness, discomfort that does not ease afterward, and little or no formed stool in between can point toward impaction, although none proves it. Anti-diarrheal medication can worsen the blockage by slowing the bowel further.

Suspected impaction should be assessed by a clinician rather than treated at home as ordinary diarrhea.

Conditions Worth Ruling Out

A smaller group of diagnoses can produce alternating stools, and most bring symptoms beyond the bathroom.

Celiac disease, inflammatory bowel disease, thyroid dysfunction, and structural narrowing of the colon can all cause irregular bowel habits. What raises concern is the company they keep: unintended weight loss, blood, fever, joint pain, fatigue, or symptoms that wake you at night.

Those symptoms raise concern for an underlying condition, but their absence does not rule one out. If the pattern persists without a clear explanation, it is worth having it looked at either way.

 

What Actually Helps

Most of these either steady your transit or remove a trigger from the sections above.

Stop the cycling first. If you are bouncing between laxatives and nothing, that loop hides your baseline. Rather than escalating and quitting on your own, ask a pharmacist or clinician how to come off what you are taking.

Add fiber slowly and favor soluble. Psyllium has good evidence and can help normalize stool consistency. In a primary care trial, psyllium improved overall IBS symptoms compared with placebo, while bran did not show a consistent benefit and was less well tolerated. (bmj.com) Build up gradually rather than taking a large dose at once.

Drink enough to support the fiber. Not drinking enough fluid can make constipation worse, particularly when increasing fiber. Pale yellow urine is a rough gauge of hydration for many healthy adults.

Eat on a schedule. The gut's contractions increase after meals, so a regular breakfast gives many people a predictable morning cue.

Give yourself an unhurried window. Try 15 or 20 minutes after a meal with your feet slightly elevated. Responding to the urge rather than repeatedly delaying it can help establish a regular bathroom routine.

Cut sugar alcohols for two weeks. Check labels on anything sugar-free. For some people, that single change settles the whole thing.

Walk. Regular physical activity can help keep bowel movements regular. In a 12-week trial of psychiatric inpatients, an aerobic exercise program reduced colonic transit time, although the study population was limited. (pmc.ncbi.nlm.nih.gov)

Keep two weeks of notes. Track stool form, pain, food, medications, and timing. It's one of the most useful things you can hand a doctor.

When to See a Doctor

Use these three tiers to decide how fast to move, based on what is happening alongside the alternating stools.

Mention It at Your Next Visit. The pattern has run for weeks but is stable, mild, and comes with nothing worse than bloating or occasional cramping. Bring your notes and medication list.

See a Doctor Soon, Within Days to a Week. A new change in bowel habits that persists without an obvious explanation deserves an evaluation, particularly if it continues for several weeks. Other reasons to make an appointment sooner include unintentional weight loss, blood or mucus in stool, symptoms that wake you from sleep, persistent unexplained fatigue that could suggest anemia, or a family history of colorectal cancer, IBD, or celiac disease. Constipation that no longer responds to what used to work and any suspicion of overflow diarrhea also warrant evaluation.

Doctor's noteDr. Chethan Ramprasad says the most useful thing to bring your doctor is a clear before-and-after. On Dying of Embarrassment, his advice was to "write down on a piece of paper what exactly is normal and what has been the change."

Age and personal risk also matter. Routine colorectal cancer screening for average-risk adults begins at 45, but screening is separate from evaluating a new bowel-habit change. The USPSTF recommendation applies to adults 45 and older who do not have signs or symptoms of colorectal cancer and are at average risk.

Go to Urgent or Emergency Care. Severe, constant abdominal pain. Vomiting plus an inability to pass stool or gas. A hard, visibly swollen abdomen. Black, tarry stool or significant red blood. Signs of dehydration such as dizziness on standing, barely urinating, or confusion. High fever with abdominal pain.

Telling a One-Off From a Pattern

The hard part is not spotting a bad bathroom day, it is knowing whether this month looks different from the last three. That is difficult to reconstruct from memory once you are in an exam room. Throne builds a continuous record of your own baseline, so when something shifts you can show your doctor a timeline instead of an estimate.

FAQ

Can you be constipated and have diarrhea at the same time?

Yes. With fecal impaction, a hard mass of stool blocks the colon and liquid stool leaks around it, which feels like diarrhea while you are still backed up. Bloating and fullness that do not ease afterward can point toward it, though not everyone has them. This needs a clinician, and anti-diarrheal medication can make the blockage worse.

Does alternating diarrhea and constipation mean I have IBS?

Not on its own. IBS with mixed bowel habits does cause this swing, but the diagnosis requires recurring abdominal pain or discomfort alongside changes in stool frequency or form. Medications, sugar alcohols, dehydration, and laxative cycling can produce the same pattern without IBS.

Is alternating diarrhea and constipation a sign of colon cancer?

Usually not, and it is rarely the only sign. Blood in stool, unintended weight loss, or unexplained anemia alongside the change raises more concern. Even without those, a persistent new change in bowel habits is worth getting checked. Routine screening for average-risk adults starts at age 45, but screening recommendations apply to people without signs or symptoms.

Should I take fiber if my stools keep alternating?

Soluble fiber such as psyllium can help normalize stool consistency. It has evidence for improving overall IBS symptoms, while coarse bran is less reliable and can worsen symptoms for some people. Increase fiber gradually and drink enough fluid to support the added fiber.

How long should I wait before seeing someone?

If the pattern is mild, stable, and has an obvious trigger like travel or a new supplement, giving it a couple of weeks to settle is reasonable. If it persists with no clear cause, book an appointment rather than waiting out a set number of weeks. Anything with blood, weight loss, night symptoms, or severe pain skips the waiting entirely.

Bijkerk, C. J., de Wit, N. J., Muris, J. W. M., Whorwell, P. J., Knottnerus, J. A., & Hoes, A. W. (2009). Soluble or insoluble fibre in irritable bowel syndrome in primary care? Randomised placebo controlled trial. BMJ, 339, b3154. https://doi.org/10.1136/bmj.b3154

Hattori, K., Akiyama, M., Seki, N., Yakabe, K., Hase, K., & Kim, Y.-G. (2021). Gut microbiota prevents sugar alcohol-induced diarrhea. Nutrients, 13(6), 2029. https://pmc.ncbi.nlm.nih.gov/articles/PMC8231616/

Kim, Y. S., Song, B. K., Oh, J. S., & Woo, S. S. (2014). Aerobic exercise improves gastrointestinal motility in psychiatric inpatients. World Journal of Gastroenterology, 20(30), 10577–10584. https://doi.org/10.3748/wjg.v20.i30.10577

National Institutes of Health, Office of Dietary Supplements. Magnesium: Health Professional Fact Sheet. https://ods.od.nih.gov/factsheets/Magnesium-HealthProfessional/

Setya, A., Mathew, G., & Cagir, B. (2023). Fecal impaction. In StatPearls. https://ncbi.nlm.nih.gov/books/NBK448094

Sizar, O., Genova, R., & Gupta, M. (2023). Opioid-induced constipation. In StatPearls. https://ncbi.nlm.nih.gov/books/NBK493184

Sottotetti, F., & Cena, H. (2024). Dietary recommendations for the management of gastrointestinal symptoms in patients treated with GLP-1 receptor agonist. Diabetes, Metabolic Syndrome and Obesity, 17, 4817–4824. https://doi.org/10.2147/DMSO.S494919

Tolkien, Z., Stecher, L., Mander, A. P., Pereira, D. I. A., & Powell, J. J. (2015). Ferrous sulfate supplementation causes significant gastrointestinal side-effects in adults: A systematic review and meta-analysis. PLOS ONE, 10(2), e0117383. https://doi.org/10.1371/journal.pone.0117383

U.S. Preventive Services Task Force. (2021). Screening for colorectal cancer: US Preventive Services Task Force recommendation statement. JAMA, 325(19), 1965–1977. https://doi.org/10.1001/jama.2021.6238

Young, V. B., & Schmidt, T. M. (2004). Antibiotic-associated diarrhea accompanied by large-scale alterations in the composition of the fecal microbiota. Journal of Clinical Microbiology, 42(3), 1203–1206. https://doi.org/10.1128/JCM.42.3.1203-1206.2004

Rome Foundation. Rome V Diagnostic Criteria for Irritable Bowel Syndrome. https://theromefoundation.org/rome-v-criteria/

This content is for informational purposes only and is not intended as medical advice. Throne products are not medical devices and are not intended to diagnose, treat, cure, or prevent any disease. Consult your physician with any health-related questions.

Your cart

0

Well poop.

Your cart is empty. Ready when you are.

Throne clipped onto the side of a toilet

Meet Throne

Know your gut health and hydration score, every time you go.

18 reviews

See how it works

30-day money-back guarantee · Free shipping

“Something I’ve learned already in one week of using Throne is that I get very dehydrated after I drink my coffee… I’m building a new habit so quickly that I wouldn’t be able to do from a lab test.”

Lauren, Biohacker Babes
0 items in your cart. Subtotal $0.00 USD.