Why Do I Have Diarrhea?
The honest verdict
This is usually not an allergy
Diarrhea is rarely caused by an allergy. The vast majority of cases are due to infections (viral gastroenteritis, food poisoning), dietary factors (spicy foods, sugar substitutes, excessive caffeine), medications (especially antibiotics), or chronic digestive conditions like irritable bowel syndrome (IBS) or inflammatory bowel disease (IBD). True food allergies can cause diarrhea, but they nearly always present with other allergic signs โ hives, swelling of the lips or tongue, itching, or difficulty breathing โ within minutes to a few hours of eating the trigger food. If diarrhea occurs without any of these accompanying allergy symptoms, a non-allergic cause is far more likely.
This is a general research summary, not a diagnosis. It can't tell you what's causing your symptom โ a clinician can.
Check this first
When diarrhea is an emergency
Most of the time this can be handled calmly. But a few signs mean you shouldn't wait. Match what you're seeing to the right level of care below.
If any emergency sign below is present, call 911 or go to the ER now.
- Emergency
Blood or pus in the stool (bright red, maroon, or black/tarry) โ go to the ER (possible serious infection, IBD flare, or bleeding).
Call 911 or go to the ER now
- Urgent
Diarrhea with severe abdominal pain that is constant or worsening โ seek urgent care or ER (possible appendicitis, obstruction, or pancreatitis).
Get seen today โ urgent care or same-day visit
- Urgent
Signs of severe dehydration: dry mouth, extreme thirst, little or no urination, dark urine, dizziness, confusion, or rapid heart rate โ seek medical attention urgently.
Get seen today โ urgent care or same-day visit
- See a doctor
Diarrhea with high fever (over 101ยฐF/38.3ยฐC) or fever lasting more than 2-3 days โ see a clinician (possible bacterial infection needing treatment).
Book a routine visit with a clinician
- See a doctor
Diarrhea lasting more than 3-5 days without improvement, or chronic diarrhea (lasting more than 2-4 weeks) โ see a clinician for evaluation.
Book a routine visit with a clinician
When in doubt, err toward getting seen. These tiers are a general guide, not a substitute for a clinician's judgment about your specific situation.
Key facts
Diarrhea is the second leading cause of death in children under 5 worldwide, but in the U.S., most cases resolve without medical intervention.
True food allergies affect about 4-6% of children and 3-4% of adults in the U.S., and diarrhea alone is rarely the only symptom.
Antibiotic-associated diarrhea affects about 5-25% of people taking antibiotics, and most cases are mild and resolve after stopping the medication.
What's causing it
The same symptom can come from very different places. Here are the usual suspects for Digestive tract โ the intestines (small and large bowel) and colon, where water absorption and stool formation occur, tagged by mechanism and how common each one is โ so you can see where an allergy actually fits.
Viral gastroenteritis (stomach flu)
The most common cause of acute diarrhea. Viruses like norovirus or rotavirus infect the intestines, causing watery diarrhea, vomiting, nausea, and sometimes low-grade fever. It typically resolves on its own within a few days with rest and hydration.
Food poisoning (bacterial infection)
Bacteria like Salmonella, E. coli, or Campylobacter from contaminated food cause diarrhea, often with cramping, nausea, vomiting, and fever. Symptoms usually appear within hours to a few days after eating contaminated food and resolve in most cases without antibiotics.
Medication side effects (especially antibiotics)
Many medications can cause diarrhea as a side effect. Antibiotics are a common culprit โ they disrupt the normal balance of gut bacteria, allowing harmful bacteria like C. difficile to overgrow. Other medications include laxatives, antacids containing magnesium, and some blood pressure or diabetes drugs.
Dietary triggers and intolerances
Spicy foods, greasy foods, excessive caffeine or alcohol, and sugar substitutes (sorbitol, xylitol found in sugar-free gum and candies) can trigger diarrhea. Lactose intolerance โ the inability to digest milk sugar โ causes diarrhea, bloating, and gas after consuming dairy. These are not allergies.
Irritable bowel syndrome (IBS)
IBS is a chronic condition affecting the large intestine, causing recurrent abdominal pain with diarrhea (IBS-D), constipation, or both. The cause is not fully understood but involves altered gut motility and sensitivity. Stress and certain foods often trigger flares.
Food allergy
True food allergies (e.g., to milk, eggs, peanuts, tree nuts, shellfish) can cause diarrhea, but almost always with other symptoms: hives, swelling of the lips or tongue, itching, vomiting, or trouble breathing. Diarrhea alone from a food allergy is very rare. Food protein-induced enterocolitis syndrome (FPIES) is a delayed allergic reaction causing vomiting and diarrhea, typically in infants, without typical allergy signs.
Is this an allergy? Usually, no
It's a common assumption, so it's worth being clear about โ and pointing you toward what's more likely going on.
Diarrhea is usually not an allergy. True food allergies can cause diarrhea, but they almost always occur with other allergic symptoms โ hives, swelling of the lips or tongue, itching, vomiting, or difficulty breathing โ within minutes to a few hours of eating the trigger. If diarrhea happens without these accompanying signs, a non-allergic cause (infection, medication, dietary trigger, or IBS) is far more likely. Food intolerances like lactose intolerance cause diarrhea but are not allergies and do not involve the immune system. FPIES is a rare delayed allergic reaction in infants that causes vomiting and diarrhea without typical allergy signs.
Because an allergy is unlikely to be the driver, the most useful next step is a clinician who can look at the actual cause โ not an allergy test.
Relief you can try at home
If your symptom is mild and you have no red-flag signs, these gentle steps often help. They soothe โ they don't replace figuring out the cause.
- 1
Stay hydrated
Diarrhea causes fluid and electrolyte loss. Sip clear fluids like water, broth, or oral rehydration solutions (Pedialyte, Hydralyte) throughout the day. Avoid sugary drinks, soda, and fruit juice, which can worsen diarrhea.
- 2
Eat bland, easy-to-digest foods
The BRAT diet โ bananas, rice, applesauce, and toast โ is gentle on the stomach. Other options include plain crackers, boiled potatoes, and clear soups. Avoid dairy, fatty or fried foods, spicy foods, and high-fiber foods until symptoms resolve.
- 3
Rest your digestive system
Give your gut a break by eating small, frequent meals rather than large ones. Avoid caffeine, alcohol, and nicotine, which can irritate the digestive tract and worsen diarrhea.
- 4
Consider over-the-counter options cautiously
Loperamide (Imodium) can reduce the frequency of watery stools in adults. However, do not use it if you have bloody diarrhea, a high fever, or suspected bacterial infection โ it can make the infection worse. Always follow label directions and consult a clinician if unsure.
Stop any step that makes things worse. If the symptom isn't easing within a few days, check in with a clinician.
When to see a doctor
See a clinician if diarrhea lasts more than 3-5 days without improvement, or if it becomes chronic (lasting more than 2-4 weeks). Seek medical attention for bloody or black/tarry stools, severe abdominal pain, high fever (over 101ยฐF/38.3ยฐC), or signs of dehydration (dry mouth, little or no urination, dizziness, confusion). Diarrhea in infants, young children, older adults, or people with weakened immune systems should be evaluated sooner. If you have known food allergies and diarrhea occurs with hives, swelling, or trouble breathing, treat as a potential allergic reaction and seek emergency care.
โFrequently Asked Questions
It is very rare for a food allergy to cause only diarrhea. True food allergies trigger an immune response that typically produces symptoms in multiple systems โ hives, itching, swelling of the lips or tongue, vomiting, or trouble breathing โ alongside diarrhea. If diarrhea occurs alone, a food intolerance (like lactose intolerance), infection, medication side effect, or IBS is a much more likely explanation.
A food allergy involves the immune system and can be life-threatening; symptoms include hives, swelling, trouble breathing, and vomiting, and they appear quickly after eating the trigger. A food intolerance does not involve the immune system โ it is a digestive problem (e.g., lacking the enzyme to digest lactose) that causes diarrhea, bloating, and gas but never hives or breathing trouble. Intolerances are uncomfortable but not dangerous.
Go to the ER for diarrhea with blood or pus in the stool, severe abdominal pain that is constant or worsening, or signs of severe dehydration (dry mouth, little or no urination, dizziness, confusion, rapid heart rate). Diarrhea in an infant or older adult with dehydration also warrants emergency care.
Yes โ stress and anxiety can trigger diarrhea through the gut-brain connection. Stress alters gut motility and can speed up transit time, leading to loose stools. This is especially common in people with IBS, where stress is a well-known trigger for symptom flares.
Acute diarrhea from a viral infection or food poisoning typically lasts 1-3 days and resolves on its own. Diarrhea lasting more than 3-5 days should be evaluated by a clinician. Chronic diarrhea (lasting more than 2-4 weeks) may indicate an underlying condition like IBS, IBD, or a malabsorption disorder.
Medically reviewed by
Dr. Chet TharpeMD
Last reviewed July 2026
Related Articles
Tooth Pain: Causes, Relief & When to Worry
Tooth pain is rarely caused by allergies โ it's almost always dental (cavities, infection, gum disease, or a cracked tooth). Learn common causes, home care, and red-flag signs that need urgent dental or medical attention.
Read moreTongue Tingling: Causes, Relief & When to Worry
Tongue tingling can be allergic (oral allergy syndrome) or non-allergic (nerve, vitamin deficiency). Learn causes, red-flag signs, and when to see a doctor.
Read moreTongue Swelling: Causes, Relief & When to Worry
Tongue swelling can be a sign of an allergic reaction or other conditions. Learn common causes, when it's an emergency, and how to find relief.
Read moreWeight Gain: Causes, Relief & When to Worry
Weight gain is rarely caused by allergies โ it's usually linked to diet, activity, hormones, or medications. Learn common causes, when to see a doctor, and red-flag signs that need medical evaluation.
Read moreUnexplained Weight Loss: Causes & When to Worry
Unexplained weight loss is rarely an allergy โ it's usually linked to metabolism, digestion, infection, or serious illness. Learn common causes and red-flag signs that need medical evaluation.
Read moreTongue Sores: Causes, Relief & When to Worry
Tongue sores are rarely caused by allergies โ most are canker sores, irritation, or infections. Learn common causes, home care, and red-flag signs that need medical attention.
Read moreThe best next step is a real clinician
This symptom is usually not driven by an allergy, so an allergy test won't give you the answer. A primary care doctor or the right specialist can examine what's actually going on and guide you from there.
Curex focuses on at-home allergy testing and immunotherapy, which isn't the right fit for this symptom โ and never a substitute for medical care.
This content is for informational purposes only and does not constitute medical advice, diagnosis, or treatment. It cannot tell you what is causing your diarrhea or whether it is an allergy. If you have any emergency sign โ trouble breathing, fast-spreading swelling, sudden weakness or confusion, or severe pain โ call 911 or go to the nearest emergency room. For anything that is new, worsening, or persistent, see a licensed healthcare provider. Curex focuses on at-home allergy testing and immunotherapy, which is not the appropriate care for this symptom and never a substitute for a clinician.