Stomach ache and diarrhea are uncomfortable, disruptive, and often arrive without warning. The immediate goal is to settle your digestive system, prevent dehydration, and identify when this is a short-lived bug versus a sign of something more serious. Start by resting your stomach with clear fluids and bland foods, and focus on replacing lost fluids and electrolytes, as dehydration is the biggest risk during a bout of diarrhea.
What Causes Stomach Ache and Diarrhea Together?
When your stomach hurts and you have loose stools, your digestive tract is inflamed or irritated. The most common cause is a viral infection, often called the stomach flu, though it has nothing to do with the influenza virus. Norovirus and rotavirus are frequent culprits, spreading easily through contaminated food, water, or surfaces.
Bacterial infections from undercooked meat, unpasteurized dairy, or contaminated produce can also trigger these symptoms. Food poisoning typically comes on fast, sometimes within hours of eating. Less common causes include parasites, food intolerances like lactose intolerance, or digestive conditions such as irritable bowel syndrome (IBS).
Medications can be the culprit too. Antibiotics sometimes disrupt the natural balance of bacteria in your gut, leading to diarrhea. If you recently started a new medication and developed diarrhea, check with your pharmacist or doctor before stopping it.
What Should You Eat and Drink First?
Fluids come first. Diarrhea pulls water out of your body, and vomiting can make it worse. Clear liquids are your best starting point. Water is good, but it doesn’t replace the sodium, potassium, and other electrolytes you lose. Oral rehydration solutions are the most reliable option. These are available at most pharmacies and contain the precise balance of salts and sugars your body needs to absorb fluids.
Sipping is better than gulping. A stomach that is already irritated may reject a large volume of liquid all at once. Take small, frequent sips every few minutes. If you can keep fluids down, you can slowly introduce bland foods.
The BRAT diet is a well-known starting point. It stands for bananas, rice, applesauce, and toast. These foods are low in fiber, easy to digest, and gentle on an inflamed gut. Bananas also provide potassium, which diarrhea depletes. Other options include plain crackers, boiled potatoes without the skin, and clear broths.
Avoid dairy products, fatty foods, spicy foods, and anything high in sugar or artificial sweeteners during the first 24 to 48 hours. These can worsen diarrhea or prolong it. Caffeine and alcohol are also irritants that can dehydrate you further.
How To Help Stomach Ache And Diarrhea With Over-the-Counter Medications
Loperamide, sold under the brand name Imodium, is the most common over-the-counter anti-diarrheal medication. It works by slowing down the movement of your intestines, giving your body more time to absorb water and form solid stools. It can be very effective for mild to moderate diarrhea.
However, you should not use loperamide if you have a fever or blood in your stool. These signs can indicate a bacterial infection, and stopping the diarrhea could keep the infection in your system longer. When in doubt, skip the anti-diarrheal and let your body flush out the infection naturally.
Bismuth subsalicylate, sold as Pepto-Bismol, is another option. It reduces inflammation in the intestinal lining and may help kill some diarrhea-causing bacteria. It can turn your tongue and stool dark, which is harmless but can be alarming. Do not give bismuth subsalicylate to children or teenagers recovering from a viral illness because of the risk of Reye’s syndrome, a rare but serious condition.
For stomach cramping, some people find relief with antispasmodic medications, but these usually require a prescription. Over-the-counter pain relievers like acetaminophen can help with general discomfort, but avoid ibuprofen or aspirin because they can irritate the stomach lining further.
What Does Dehydration Look Like?
Dehydration is the main danger with diarrhea, and it can happen faster than you expect. Mild dehydration causes thirst, dry mouth, and darker urine. Moderate dehydration brings on fatigue, dizziness, and less frequent urination. Severe dehydration is a medical emergency.
In adults, signs of severe dehydration include extreme thirst, a racing heart, confusion, and an inability to urinate for many hours. In children and older adults, dehydration can progress more quickly. Children may have a dry diaper for several hours, no tears when crying, or sunken eyes and cheeks.
If you cannot keep any fluids down for more than 24 hours, or if you are vomiting repeatedly, seek medical care. You may need intravenous fluids to restore hydration safely.
When Should You See a Doctor?
Most cases of stomach ache and diarrhea resolve on their own within a few days. But certain symptoms should not be ignored. Seek medical attention if you have blood or mucus in your stool, a fever above 101°F (38.3°C), or severe abdominal pain that does not go away after passing stool.
Diarrhea lasting more than three days in adults warrants a medical evaluation. For children, contact a doctor if diarrhea lasts more than 24 hours, if there is blood in the stool, or if the child shows any signs of dehydration. Infants under six months old should be seen by a doctor sooner because dehydration can set in quickly.
If your stomach pain is severe enough that you cannot stand up straight, or if it is concentrated in the lower right side of your abdomen, seek emergency care. These symptoms can indicate appendicitis or other conditions that require immediate treatment. Also seek urgent care if diarrhea developed after recent international travel or after eating food that smelled or tasted spoiled.
Does Activated Charcoal or Probiotics Help?
Activated charcoal has become popular on social media as a remedy for diarrhea and stomach bugs. The idea is that charcoal binds to toxins in your gut and carries them out of your body. Some research does suggest it can help with certain types of poisoning, but there is little evidence that it helps with routine infectious diarrhea. It can also interfere with medications you are taking. Skip this unless a doctor specifically recommends it.
Probiotics are a different story. These are live bacteria and yeasts that may help restore the natural balance of your gut microbiome. Some studies suggest that certain probiotic strains, particularly Saccharomyces boulardii and Lactobacillus rhamnosus GG, can shorten the duration of infectious diarrhea by about a day.
The evidence is not strong enough to make probiotics a standard recommendation, but they are generally safe for healthy people. If you choose to take them, start after the acute phase has passed and you are keeping fluids down. The benefit, if any, is modest.
How Long Should You Stay on a Bland Diet?
Once your symptoms begin to improve, you can slowly add foods back into your diet. Start with easy-to-digest proteins like baked chicken without skin, scrambled eggs, or plain fish. Add cooked vegetables like carrots or green beans before trying raw ones.
Most people can return to a normal diet within two to three days. If a particular food triggers a return of symptoms, avoid it for a few more days and try again. Your gut lining needs time to heal, and rushing back to spicy or high-fiber foods can prolong your recovery.
Continue drinking extra fluids even after diarrhea stops. Your body needs to replenish the water and electrolytes it lost, and you may not feel thirsty even when you are behind on fluids.
Can You Prevent Stomach Aches and Diarrhea?
The most effective prevention is hand hygiene. Wash your hands thoroughly with soap and water before eating, after using the bathroom, and after changing diapers. Hand sanitizers work, but they are less effective against norovirus than soap and water.
Food safety matters too. Cook meats to safe internal temperatures, refrigerate leftovers promptly, and wash fruits and vegetables before eating. Be cautious with raw shellfish, which can carry the bacteria that cause vibrio infections and hepatitis A.
If someone in your household is sick, clean surfaces with a bleach-based disinfectant. Norovirus can survive on surfaces for days and is highly contagious. Wash contaminated laundry separately and handle soiled items with gloves if possible.
Frequently Asked Questions
How long does stomach ache and diarrhea usually last?
Most viral infections resolve within one to three days. If diarrhea lasts more than three days or is accompanied by a high fever or blood, see a doctor.
What is the fastest way to stop diarrhea?
Oral rehydration solutions and over-the-counter loperamide can help, but only if you do not have a fever or blood in your stool. Letting a mild infection run its course while staying hydrated is often safest.
Is it better to let diarrhea run its course or stop it?
For mild cases without fever, stopping diarrhea with loperamide is generally safe. If you have a fever or bloody stools, let your body clear the infection and seek medical advice.
Can I drink sports drinks for dehydration?
Sports drinks replace some electrolytes but contain too much sugar and too little sodium for severe dehydration. Oral rehydration solutions are the better choice.

