What Causes Sudden Stomach Pain, Diarrhea, and Vomiting
Sudden stomach pain, diarrhea, and vomiting are often caused by gastroenteritis, an inflammation of the stomach and bowel that irritates the digestive tract and causes cramping, loose stools, and vomiting. The same pattern can also come from food poisoning or a reaction to something you ate or drank. The main risk is dehydration, because your body loses water and salts through both vomiting and diarrhea. This page explains the causes, the warning signs, and when to seek medical care.
How gastroenteritis causes these symptoms
Gastroenteritis is the medical name for irritation and swelling of the stomach and intestines, and it is a frequent cause of this symptom pattern. The upset lining pushes food through faster than normal, which produces diarrhea and crampy abdominal pain. Vomiting often comes first and tends to ease as the bowel symptoms build. Viruses, bacteria, and contaminated food or water can all trigger gastroenteritis.
Food poisoning versus a stomach bug
Food poisoning and a viral stomach bug can look alike, because both cause sudden vomiting, diarrhea, and abdominal pain. Food poisoning often starts within hours of eating a suspect meal, while a viral infection tends to build over a day or two. The distinction matters less than watching for dehydration and blood in the stool. A clinician can advise on testing when symptoms are severe or persistent.
Watching for dehydration and danger signs
Dehydration is the most important complication of vomiting and diarrhea, especially in young children and older adults. Signs include a dry mouth, little or no urine, sunken eyes, and unusual tiredness or confusion. Blood in the vomit or stool, severe or one-sided abdominal pain, a stiff neck, or a high fever call for urgent medical assessment. These signs may point to a condition that needs treatment beyond home care.
Questions about sudden stomach pain and vomiting
What causes sudden stomach pain, diarrhea, and vomiting?
Gastroenteritis is a leading cause, along with food poisoning and reactions to contaminated food or water. These conditions irritate the stomach and bowel, which produces cramping, loose stools, and vomiting together. Less often, the pattern comes from another digestive or systemic illness. A clinician can help identify the cause when symptoms are severe or do not settle.
When should I seek urgent care for these symptoms?
Seek urgent care when you cannot keep fluids down, show signs of dehydration, or have blood in the vomit or stool. Severe or localized abdominal pain, a stiff neck, confusion, or a high fever also need prompt assessment. These features can signal a more serious problem than simple gastroenteritis. Do not wait for them to pass on their own.
How do I prevent dehydration from vomiting and diarrhea?
Sip small amounts of clear fluids often, and use an oral rehydration solution to replace lost salts. Take a few spoonfuls at a time if a full glass comes back up. Watch urine output and mouth moisture as practical signs of hydration. Seek care if fluids will not stay down or dehydration signs appear.
Can food poisoning cause vomiting and diarrhea together?
Yes, food poisoning can cause vomiting and diarrhea at the same time, often with crampy abdominal pain. Symptoms typically follow a suspect meal, though the timing varies with the cause. Most people improve with fluids and rest, but severe cases need medical review. Blood in the stool or signs of dehydration are reasons to seek care promptly.
Read next
-
Can You Go to Urgent Care for Nausea
-
How to Stop Nausea and Diarrhea During a Period
-
How to Treat Dehydration in Babies and Infants
-
How to Stop Vomiting and Diarrhea During a Period
-
Why a 5-Year-Old Has Diarrhea
-
What to Give a 5-Year-Old for Diarrhea and Vomiting
-
What Urgent Care Can Do for Diarrhea
-
What Helps with Nausea and Diarrhea
-
What Causes Sudden, Sharp, or Lower Stomach Pain and Diarrhea
-
How to Stop Nausea and Diarrhea Caused by GLP-1 Drugs and Weight-Loss Medications
Digestive symptoms
-
Can Spicy or Greasy Food Cause Stomach Pain and Diarrhea
-
Can Alcohol Cause Vomiting and Diarrhea?
-
How to Stop Vomiting and Diarrhea from Mounjaro
-
How to Rehydrate a 2-Week-Old Kitten
-
What to Give a Diabetic Dog with an Upset Stomach
-
Stomach Pain with Vomiting and Diarrhea: Causes and Treatment
-
How to Stop Nausea, Vomiting and Diarrhea on Mounjaro
-
What Causes Severe Stomach Pain and Diarrhea After Eating
-
What Causes Stomach Pain and Diarrhea After Eating
-
Dehydration in 2-Year-Olds: Signs, Symptoms, and When to Worry