Diarrhea is loose, watery stool that happens more often than normal. It usually means something has upset your digestive system, and your body is trying to flush it out quickly. Most cases come from infections, food, or medications, and they typically clear up on their own within a few days.
What Does Diarrhea Come From Causes Explained
Diarrhea happens when your intestines cannot absorb water properly, or when they push contents through too fast. Instead of forming solid stool, the colon releases watery waste. The causes fall into a few main groups: infections, food reactions, medications, and chronic digestive conditions.
The most common cause worldwide is infection. Viruses, bacteria, and parasites can all trigger diarrhea. Viral gastroenteritis — often called the stomach flu — is the leading cause of acute diarrhea in adults. It spreads easily through contaminated food, water, or contact with an infected person.
Bacterial infections come from undercooked meat, unpasteurized dairy, or contaminated produce. Parasites are less common in the United States but can be picked up from contaminated water, especially when traveling. Each type of infection works differently, but the result is the same: your gut lining becomes irritated and stops absorbing fluids normally.
What Happens Inside Your Body During Diarrhea
Your intestines normally absorb most of the water from what you eat and drink. The small intestine takes in nutrients and fluids, and the colon reabsorbs the rest. When something disrupts this process, water stays in the stool.
Infections often damage the lining of the small intestine. The damaged cells cannot absorb water or sugars properly, so fluid builds up in the gut. Some bacteria also release toxins that make the intestines secrete extra water into the bowel. The result is loose, frequent stool.
In other cases, the muscles of the intestine contract too quickly. Food and water move through the system before the colon has time to reabsorb fluids. This is why stress and anxiety can cause diarrhea — the nervous system directly affects how fast your gut moves.
Food Poisoning and Contaminated Food as Causes
Food poisoning is one of the most common reasons people develop sudden diarrhea. It happens when you eat food contaminated with bacteria, viruses, or toxins. Symptoms usually start within hours to a few days after eating the contaminated food.
Common sources include raw or undercooked poultry, eggs, seafood, and unpasteurized milk. Ground meats are a frequent culprit because bacteria on the surface get mixed throughout during grinding. Fresh produce can also carry contamination from soil or water.
Most foodborne illness clears up within 24 to 48 hours without treatment. The main risk is dehydration, especially in older adults, young children, and people with weakened immune systems. If diarrhea lasts more than three days or comes with a high fever or bloody stool, medical care is needed.
Medications That Cause Diarrhea
Many common medications list diarrhea as a side effect. Antibiotics are among the most frequent causes because they disrupt the normal balance of bacteria in your gut. When helpful bacteria are reduced, harmful bacteria can overgrow and cause loose stool.
Other medications that commonly cause diarrhea include:
- Metformin, used for type 2 diabetes
- Nonsteroidal anti-inflammatory drugs like ibuprofen
- Laxatives, when used too often
- Certain blood pressure medications
- Magnesium supplements
If a medication is causing diarrhea, do not stop taking it without talking to your doctor first. Some medications must be tapered off gradually. Your doctor may be able to adjust the dose or switch you to a different drug.
Chronic Conditions That Cause Persistent Diarrhea
When diarrhea lasts more than four weeks, it is considered chronic. This usually points to an underlying digestive condition rather than a passing infection.
Irritable bowel syndrome, or IBS, is a common cause of chronic diarrhea. It affects how the gut moves and how sensitive it is to stimulation. People with IBS often have diarrhea, constipation, or both, along with bloating and abdominal pain. The exact cause is not fully understood, but stress and certain foods can trigger symptoms.
Inflammatory bowel disease — including Crohn’s disease and ulcerative colitis — causes inflammation in the digestive tract. This leads to frequent diarrhea, often with blood or mucus. These conditions require medical treatment and long-term management.
Celiac disease is another cause. In people with celiac disease, eating gluten damages the small intestine lining. This impairs absorption and leads to diarrhea, weight loss, and nutrient deficiencies. Lactose intolerance can also cause diarrhea because the body cannot break down lactose, the sugar in milk.
When Diarrhea Becomes Dangerous
Most diarrhea does not require medical treatment. But some warning signs mean you should seek care promptly.
Dehydration is the biggest concern. Signs include extreme thirst, dry mouth, dark urine, dizziness, and fatigue. In severe cases, dehydration can cause confusion, rapid heartbeat, and fainting. Older adults and young children are at higher risk.
Seek medical attention if you have any of the following:
- Diarrhea lasting more than three days
- Blood or black, tarry stool
- High fever above 101°F
- Severe abdominal or rectal pain
- Signs of dehydration
Blood in the stool can indicate a bacterial infection that may need antibiotics. Black, tarry stool can signal bleeding in the upper digestive tract. These symptoms should never be ignored.
How to Manage Diarrhea at Home
The most important treatment for diarrhea is replacing lost fluids and electrolytes. Water alone is not enough because your body also loses sodium, potassium, and chloride. Oral rehydration solutions — available at pharmacies — contain the right balance of these electrolytes.
Clear fluids like broth, diluted juice, and sports drinks can help, but they do not replace electrolytes as effectively as oral rehydration solutions. Avoid sugary drinks and caffeine, which can make diarrhea worse by drawing more water into the gut.
Eating small, bland meals can help. The BRAT diet — bananas, rice, applesauce, and toast — is a traditional recommendation. These foods are easy on the stomach and low in fiber. However, current guidance suggests eating a more varied diet as soon as you feel able, including cooked vegetables, lean meats, and yogurt with live cultures.
Over-the-counter anti-diarrheal medications like loperamide can reduce the frequency of stool. But they should not be used if you have a high fever or blood in your stool, because stopping diarrhea too quickly can trap harmful bacteria in your system. Antidiarrheal medications are also not recommended for young children without a doctor’s approval.
Preventing Diarrhea From Spreading
Good hand hygiene is the single most effective way to prevent the spread of infectious diarrhea. Wash your hands thoroughly with soap and water after using the bathroom, before eating, and after changing diapers. Hand sanitizer is helpful but not as effective as soap and water against some germs, particularly norovirus.
Food safety practices matter too. Cook meat to safe internal temperatures, refrigerate leftovers promptly, and wash fruits and vegetables before eating. Avoid unpasteurized dairy products and raw or undercooked eggs and meat.
When traveling to areas with poor sanitation, drink bottled water and avoid ice made from tap water. Peel fruits yourself and avoid raw vegetables that may have been washed in contaminated water.
Frequently Asked Questions
How long does diarrhea usually last?
Acute diarrhea typically lasts 1 to 3 days. If it continues beyond 3 days, you should see a doctor.
Can stress really cause diarrhea?
Yes. Stress and anxiety can speed up gut movement through the nervous system, leading to loose stool. This is more common in people with irritable bowel syndrome.
Is it safe to take anti-diarrheal medication?
It is safe for most adults with mild diarrhea, but avoid it if you have a fever or blood in your stool. Children should not take these medications without a doctor’s guidance.
When should I go to the emergency room for diarrhea?
Go to the emergency room if you show signs of severe dehydration, have blood in your stool, or cannot keep fluids down for more than 24 hours.

