8 Common Causes of Vomiting and When to See a Doctor
Vomiting is a sudden, forceful expulsion of stomach contents through the mouth, and it can happen for all kinds of reasons, from minor digestive upsets to more serious medical issues. Occasional vomiting is often harmless, tied to food intolerance, overeating, or a mild stomach bug, but persistent or severe episodes can signal something that needs attention.
It’s the body’s natural defense mechanism, a way of clearing irritants, toxins, or infections from the stomach. Understanding what typically causes it can help you manage symptoms and recognize when it’s time to seek care.
Vomiting often shows up alongside nausea, dehydration, abdominal pain, fever, or dizziness. Common causes include viral or bacterial infections, food poisoning, motion sickness, medication side effects, migraines, and gastrointestinal conditions. In some cases, it can point to something more serious, like appendicitis, gallbladder disease, or a neurological issue. Below are eight of the most common causes, along with the signs that mean you should see a doctor promptly.
The 8 Most Common Causes
1. Viral gastroenteritis (stomach flu). A highly contagious intestinal infection, usually caused by norovirus or rotavirus. These viruses inflame the digestive tract lining, disrupting its ability to absorb water and nutrients. The body responds with intense nausea and forceful abdominal contractions to expel the pathogen. It typically comes with watery diarrhea, cramping, and often a cluster of chills, low-grade fever, muscle aches, and fatigue as the immune system fights the infection.
2. Acute food poisoning. This happens when contaminated food, carrying bacteria like Salmonella or E. coli, viruses, or bacterial toxins, irritates the stomach lining. Nerve receptors in the gut detect the problem and signal the brain’s vomiting center to forcefully clear it out. Onset varies widely: it can strike within 30 minutes if pre-formed toxins (like those from Staphylococcus aureus) are involved, or take up to 72 hours if a bacterial infection is multiplying in the intestines. It typically causes sudden sickness, stomach cramps, and fluid loss from both ends of the digestive tract.
3. Motion sickness. This is a sensory conflict rather than a stomach problem. When traveling by car, boat, or plane, the inner ear senses movement while the eyes, fixed on something stationary, tell the brain you’re still. The brain, unable to reconcile the mismatch, interprets it as possible poisoning and triggers vomiting through the chemoreceptor trigger zone (CTZ). It’s usually accompanied by cold sweats, pale skin, dizziness, and excess salivation, all of which fade once the motion stops.
4. Medication side effects. Some medications irritate the stomach lining directly, like NSAIDs or certain antibiotics, causing localized nausea. Others, like chemotherapy drugs or opioid pain relievers, act centrally: they circulate in the bloodstream and stimulate the brain’s chemoreceptor trigger zone directly, which then signals the stomach to empty.
5. Morning sickness during pregnancy. This affects up to 80% of pregnant people, driven largely by a sharp rise in human chorionic gonadotropin (hCG), which peaks around the same time morning sickness is at its worst. Combined with elevated estrogen, this heightens sensitivity to smells and tastes and stimulates the brain’s vomiting center directly. Despite the name, it can strike any time of day. It typically eases by weeks 14 to 16, though about 1% to 3% of pregnancies develop hyperemesis gravidarum, a severe form involving relentless vomiting, dangerous weight loss, and electrolyte imbalances that require IV fluids and medical care.
6. Migraine attacks. Vomiting is a core symptom of a true migraine, not just a reaction to pain. During an attack, hyperactive brainstem pathways stimulate the brain’s vomiting centers directly. Nausea typically builds early in the attack, peaking alongside one-sided head pain and sensitivity to light and sound.
7. Acid reflux and GERD. This chronic condition occurs when the lower esophageal sphincter, the muscle separating the esophagus from the stomach, weakens or relaxes improperly, letting acidic stomach contents flow backward. This causes burning inflammation and nausea. A large acid surge into the throat can trigger a gag reflex and sour regurgitation, and severe irritation can escalate into a full vomiting reflex, especially after large, fatty meals or lying down too soon after eating.
8. Excessive alcohol consumption. Alcohol irritates the stomach directly, causing acute gastritis and nausea, while its breakdown product, acetaldehyde, circulates through the bloodstream and triggers the brain’s vomiting center once concentrations get high enough. This dual effect is what produces the hangover vomiting cycle, along with pounding headaches and dehydration the next morning.
Red Flags That Mean It’s an Emergency
Most vomiting from a passing stomach bug or lifestyle mishap can be managed with rest and fluids. But certain accompanying symptoms mean it’s time to seek emergency care immediately.
Severe, localized, or constant abdominal pain. Mild, generalized cramping is normal with a stomach bug or food poisoning. But sharp, constant pain that settles in the lower right abdomen can point to appendicitis. Severe pain elsewhere can signal pancreatitis, a gallstone blockage, cholecystitis, or a bowel obstruction, especially if the abdomen feels rigid or is very tender to the touch.
High fever with a stiff neck. A fever above 102°F (39°C) paired with neck stiffness is a classic warning sign of meningitis, a fast-moving, dangerous infection of the membranes around the brain and spinal cord, requiring immediate treatment.
A sudden, “worst headache of your life.” An explosive headache that peaks within seconds, often called a thunderclap headache, can indicate a ruptured brain aneurysm or bleeding inside the skull and needs immediate imaging.
Confusion or altered mental state. Sudden confusion, extreme lethargy, or trouble staying awake can mean the brain is being deprived of oxygen or affected by a systemic crisis like sepsis, severe dehydration, or a metabolic emergency.
Signs of shock. Rapid, shallow breathing, a fast but weak pulse, cool clammy skin, or fainting when standing up can indicate shock, a life-threatening drop in blood pressure and circulation often caused by internal bleeding, trauma, or severe infection.
Chest pain or pressure. Vomiting paired with chest pain, crushing pressure, or shortness of breath should be treated as a possible heart attack, especially in anyone with cardiovascular risk factors. Nausea is a well-known early warning sign of cardiac events.
When to See a Doctor
Timelines by age. Because smaller bodies lose fluid reserves faster, the safe window before seeing a doctor is shorter for younger people:
- Infants under 2: Seek care after 12 hours of vomiting, or immediately for projectile vomiting
- Children over 2: Seek care after 24 hours, or sooner if they can’t keep any fluids down for 12 hours
- Healthy adults: Seek care after 48 hours, or sooner if unable to keep fluids down for 24 hours
For healthy adults, the critical factor isn’t just time, it’s whether you can keep any liquids down at all. Going more than 24 hours unable to retain even small sips of water, broth, or electrolyte solution warrants a doctor’s visit to prevent kidney injury.
For infants and children, contact a pediatrician if vomiting continues past 12 hours (infants) or 24 hours (older children), or if fluids can’t be kept down at all. Projectile vomiting in a newborn can indicate pyloric stenosis, a structural blockage requiring surgery.
Chronic conditions change the timeline. People managing diabetes, chronic kidney disease, or a compromised immune system shouldn’t wait out the standard windows. In diabetes specifically, persistent vomiting can quickly trigger diabetic ketoacidosis, so it’s best to contact a doctor at the first sign of an ongoing episode.
What Vomit Color Can Tell You
Red, brown, or black fluid always signals blood and should be treated as an emergency. Bright red material suggests fresh, active bleeding, sometimes from a Mallory-Weiss tear (a tear where the esophagus meets the stomach, often from violent retching), a bleeding ulcer, or a ruptured blood vessel. Dark, coffee-ground-like material means blood has been sitting in the stomach and reacting with stomach acid, indicating bleeding further down that still needs urgent evaluation.
Green or yellow fluid usually means bile is present. This is common when the stomach is empty, during a stomach bug, pregnancy sickness, or repeated food poisoning, and abdominal contractions push bile up from the small intestine. It looks alarming but is generally a normal response to an empty stomach rather than a structural emergency.
Clear fluid means the stomach has been fully emptied of food and bile, leaving just gastric secretions, mucus, or saliva. It isn’t concerning on its own, but going more than 24 hours without keeping down a sip of water can quickly lead to dehydration.
Orange fluid usually reflects recently eaten, partially digested food mixed with gastric juices. This is common with mild motion sickness or a brief bout of food poisoning and typically resolves as the stomach settles.
How Doctors Diagnose the Cause
The process usually starts with a detailed history: when vomiting started, how often it occurs, what the fluid looks like, and any accompanying symptoms like fever, headache, or diarrhea. Doctors will also ask about recent food, alcohol use, travel, a possible pregnancy, or new medications.
A physical exam follows, checking for dehydration (dry mouth, sunken eyes, skin that’s slow to bounce back when pinched), abdominal tenderness or rigidity, bowel sounds, and, if warranted, a basic neurological check including neck stiffness to rule out meningitis.
If needed, further testing may include a complete blood count to check for infection, a metabolic panel to check electrolytes and kidney function, a urinalysis to assess dehydration and ketones, or a stool sample to identify a specific bacteria or parasite. Imaging like an abdominal X-ray, ultrasound, or CT scan can reveal a bowel obstruction, gallstones, or appendicitis. If blood in vomit is a concern, an upper endoscopy lets a doctor directly examine the esophagus and stomach lining to find and often treat the source of bleeding.
Vomiting in Children vs. Adults
Children face much greater risk from vomiting than adults because of how quickly they can become dehydrated. Their smaller body mass and higher fluid turnover mean a bad bout of illness can deplete a significant portion of their body’s water within hours, disrupting the electrolytes needed for healthy heart and brain function.
Pediatric red flags that call for immediate care include a baby going more than three hours without a wet diaper, crying without tears, a dry or tacky mouth, unusual lethargy or difficulty waking, projectile vomiting in a newborn under two months, green or yellow bile in the vomit, any blood or coffee-ground material, a high fever, a sunken soft spot on an infant’s head, or a child drawing their knees to their chest in severe pain. When in doubt, it’s always safer to have a child evaluated early.
The Bottom Line
Occasional vomiting is usually temporary and resolves on its own, but recurrent or severe episodes shouldn’t be ignored. Paying attention to accompanying symptoms, duration, and severity can help you tell a minor episode apart from one that needs medical evaluation. Whether the cause turns out to be a mild stomach virus, food intolerance, or something more serious, knowing when and how to seek help is essential for protecting your health and avoiding complications like dehydration or electrolyte imbalance.

