It rarely arrives at a convenient moment. Your stomach gurgles, cramps tighten, and suddenly you need a bathroom — urgently, and then again an hour later. If you are asking why do you get diarrhea, you are asking one of the most common health questions in the world. Almost everyone experiences it, usually for a short time, and usually because the digestive system is reacting to something it wants to move through quickly.
The reassuring news is that most episodes settle within a day or two with fluids, rest, and simple food. But diarrhea has many possible causes, from a passing stomach bug to medicines, food intolerances, and stress. This guide explains the most common reasons, what helps at home, how oral rehydration works, and — importantly — the red flags that mean you should seek medical care promptly.
Why Do You Get Diarrhea? The Short Answer
You get diarrhea when your bowel moves food and fluid through faster than usual, or when your intestines cannot absorb water properly. The result is loose, watery stool passed more often than normal. Infections are the most frequent trigger, but food, medicines, anxiety, and longer-term gut conditions can all produce the same result. In effect, diarrhea is often the body’s way of flushing something out — a germ, a toxin, or a food it cannot handle.
What Is Diarrhea, Exactly?
Diarrhea means passing loose or watery stools three or more times in a day, often with urgency, cramping, bloating, and sometimes nausea. Doctors usually group it by how long it lasts:
- Acute diarrhea lasts a day or two up to about two weeks, and is most often caused by an infection or something you ate.
- Persistent diarrhea lasts between two and four weeks.
- Chronic diarrhea lasts longer than four weeks and usually needs a doctor’s assessment to find the underlying cause.
Your digestive system normally absorbs most of the fluid from food as it passes through. When the bowel lining is irritated or inflamed, it absorbs less water and may even release extra fluid into the bowel. Food also moves through more quickly, leaving less time for absorption. The combination produces watery stools — and, if it continues, a real risk of dehydration, which is the main danger of diarrhea, especially for young children and older adults.
Gas and extra trips often travel together with bowel changes. If wind is your main issue, our guide on why do I fart so much explains the usual causes, and if belching is the bigger problem, see why do I burp so much.
Common Causes of Diarrhea
1. Viruses — the Classic Stomach Bug
Viruses are the leading cause of short, sharp episodes. Norovirus spreads extremely easily through contaminated hands, surfaces, and food, and often sweeps through families, schools, and workplaces. Rotavirus mainly affects young children. Viral diarrhea typically comes with cramps, nausea or vomiting, a mild fever, and general achiness, and it usually improves within one to three days without any specific treatment. Antibiotics do nothing for viruses — fluids and time are the main remedies.
2. Bacteria and Food Poisoning
Bacterial infections often come from food or water contaminated with organisms such as Salmonella, Campylobacter, certain strains of E. coli, or Shigella. Undercooked meat and eggs, unpasteurised milk, food left out too long, and poor kitchen hygiene are common routes in. Food poisoning tends to start hours to a couple of days after the meal, with cramps, diarrhea, vomiting, and sometimes fever. Some bacteria release toxins that irritate the bowel directly. Most cases settle on their own, but severe bacterial infections sometimes need medical treatment.
3. Parasites
Less commonly, parasites such as Giardia can infect the bowel, often from contaminated water while travelling or swimming. Parasitic infections tend to cause longer-lasting, greasy or particularly foul-smelling diarrhea with bloating, and they usually require specific medication, so persistent symptoms after travel deserve a doctor’s visit and often a stool test.
4. Food Intolerances and Sensitivities
Sometimes there is no germ at all — the problem is a food your gut struggles to handle. Lactose intolerance is the classic example: without enough of the enzyme lactase, the sugar in milk is not broken down properly, drawing water into the bowel and causing loose stools, bloating, and wind after dairy. Fructose (in fruit and many sweeteners), sorbitol and other sugar alcohols in “sugar-free” products, caffeine, alcohol, and very fatty or spicy meals can have a similar effect. Coeliac disease, in which gluten damages the small intestine, is a more serious food-related cause that a doctor should diagnose.

5. Medications and Antibiotics
Many medicines list diarrhea as a side effect. Antibiotics are famous for it: they disturb the helpful gut bacteria that keep you balanced. Occasionally they allow a bacterium called C. difficile to overgrow, causing severe diarrhea needing urgent treatment. Metformin, magnesium-containing antacids, and excess vitamin C or magnesium can also loosen stools. Never stop a prescribed medicine without asking your doctor or pharmacist first — but do tell them.
6. Stress and Anxiety
Your gut and brain are in constant conversation — the gut–brain axis. Stress and anxiety can speed up bowel movements: the familiar “nervous stomach” before an exam or big event. It usually settles once the situation passes.
7. Traveler’s Diarrhea
Travelling where water, food hygiene, or local germs differ from home can upset even a healthy gut. Traveler’s diarrhea is most often bacterial, from contaminated food or water, begins within the first week of a trip, and usually lasts three to five days. Bottled water, freshly cooked hot food, and fruit you peel yourself lower the risk.
8. IBS and Chronic Conditions — Topics for a Doctor
When diarrhea keeps returning or lasts for weeks, a longer-term condition may be behind it. Irritable bowel syndrome (IBS) can cause recurring diarrhea, sometimes alternating with constipation, with cramps that ease after passing stool. Other possibilities include inflammatory bowel disease (Crohn’s disease and ulcerative colitis), an overactive thyroid, and bile acid malabsorption. These are doctor topics, not self-diagnosis topics: chronic diarrhea, blood in the stool, or unexplained weight loss always deserves proper medical assessment.
At a Glance: Causes, Patterns, and What Helps
| Cause | Typical Pattern | What Helps |
|---|---|---|
| Viral stomach bug | Sudden, watery, nausea or mild fever; 1–3 days | Fluids, oral rehydration, rest |
| Food poisoning (bacterial) | Hours to 2 days after a suspect meal; cramps, sometimes fever | Rehydration; medical care if severe or bloody |
| Food intolerance | Follows a trigger food such as dairy; bloating and wind | Identify and reduce the trigger |
| Antibiotics / medicines | Begins during or soon after treatment | Ask your doctor or pharmacist; do not just stop |
| Stress and anxiety | Short episodes before stressful events | Calming routines; treat the anxiety |
| Traveler’s diarrhea | During or just after travel; 3–5 days | Oral rehydration; safe food and water |
| IBS / chronic conditions | Recurring or lasting over 4 weeks | Doctor assessment and tests |
What Helps at Home
For most short episodes, home care works well: replace lost fluids and salts, eat gently, and watch for warning signs.
Fluids and Oral Rehydration
Dehydration is the real risk, so drinking is the single most important treatment. Water is good, but you also lose salts and a little sugar, which is why oral rehydration solution (ORS) works better than water alone. Buy ready-made sachets from a pharmacy and mix them exactly as directed:
- Start early. Begin sipping as soon as diarrhea starts; do not wait until you feel very thirsty or weak.
- Little and often. Take small, frequent sips rather than large gulps, which can trigger nausea.
- Use ORS as directed. Mix with the stated amount of clean water — no stronger, no weaker — and sip after each loose stool.
- Keep going until your urine returns to a pale colour and you are passing it regularly.
- For children, follow the packet or a clinician’s guidance, and seek advice early — small children dehydrate faster.
Clear soups and diluted juices can supplement ORS. Avoid alcohol, limit caffeine, and be cautious with very sugary fizzy drinks, which can aggravate diarrhea.
Foods to Eat and Foods to Avoid
You do not need to stop eating; small, bland meals usually help once appetite returns. Gentle foods are best tolerated: rice, bananas, toast, boiled potatoes, oatmeal, clear soup, and plain yoghurt if dairy normally agrees with you. Until things settle, avoid fatty, fried, or spicy foods, rich sauces, alcohol, and sugar-free sweets containing sorbitol.
If loose stools reliably arrive with your cycle, our article on why do you poop more on your period explains why.
Medicines — Use With Caution
Anti-diarrheal medicines such as loperamide may help a short episode in adults, but should not be used when there is blood in the stool, a high fever, or severe pain, or for young children, unless a clinician advises it — slowing the bowel during a serious infection can be harmful. Paracetamol can ease aches and fever; follow packet directions. Probiotics help some people after antibiotics, though evidence is mixed. If unsure what is safe, ask a pharmacist.
When to See a Doctor: Red Flags
Most diarrhea is mild and brief, but these signs mean you should get medical care the same day, or urgently:
- Dehydration signs: very little or dark urine, extreme thirst, dry mouth, dizziness, or feeling faint — in babies, fewer wet nappies, no tears, or a sunken soft spot.
- Blood in the stool, black tarry stools, or mucus or pus.
- Severe or worsening abdominal pain, or a rigid, very tender tummy.
- Fever, especially above 39°C (102.2°F), or fever with shivering.
- Lasting more than 2 days in adults without improvement, or over 24 hours in young children; any diarrhea in a baby under three months needs prompt advice.
- Repeated vomiting so you cannot keep fluids down.
- Higher-risk people — infants, elderly people, pregnant women, and anyone with a weakened immune system or a condition such as kidney disease or diabetes — should seek advice early.
- Ongoing or recurring symptoms, unexplained weight loss, or symptoms that wake you at night.
Frequently Asked Questions
How long should diarrhea normally last?
Most acute episodes last one to two days and are clearly improving by then. Anything lasting more than two days without improvement in an adult, more than about 24 hours in a young child, or recurring over weeks should be checked by a healthcare professional.
Should I stop eating when I have diarrhea?
No. Small amounts of plain, bland food usually help recovery. Fluids matter most: sip water and oral rehydration solution regularly, and return to normal meals gradually as appetite and stools improve.
What is the best drink for diarrhea?
Oral rehydration solution is best, because it replaces water, salts, and a little sugar in the right balance. Water, clear soup, and diluted juice also help. Avoid alcohol, go easy on caffeine, and be cautious with very sugary drinks.
Is diarrhea always food poisoning?
No. Viruses are actually the most common trigger, and medicines, food intolerances such as lactose intolerance, stress, travel, and conditions like IBS can all cause diarrhea without any contaminated food being involved.
When is diarrhea an emergency?
Treat it as urgent if there is blood in the stool, severe abdominal pain, a high fever, repeated vomiting, or signs of dehydration such as passing very little urine or feeling faint — or if the person affected is a young baby, elderly, pregnant, or has a weakened immune system.
Conclusion
So, why do you get diarrhea? Usually because something — a virus, a bacterium, a food, a medicine, stress, or travel — has irritated your bowel or sped it up, so fluid passes through before it can be absorbed. Most episodes settle with rest, gentle food, and good rehydration. Knowing the red flags — dehydration, blood, severe pain, fever, or symptoms lasting over two days — helps you act quickly when it matters.
This article is for general information only and is not medical advice. If symptoms persist, speak to a healthcare professional.
1 Comment