The most common reason you’re throwing up is a stomach bug or something you ate. Gastroenteritis (viral infections like norovirus) and food poisoning account for the vast majority of sudden vomiting in otherwise healthy people. But vomiting is a broad symptom with dozens of possible triggers, and the timing, frequency, and what your vomit looks like can tell you a lot about what’s going on.
Stomach Bug vs. Food Poisoning
These two get lumped together because they feel almost identical, but the timeline helps separate them. Food poisoning symptoms usually set in quickly, sometimes within hours of eating contaminated food, and typically pass within a day or so. A stomach virus like norovirus has an incubation period of 12 to 48 hours, so you might not connect it to a specific meal. Salmonella takes 6 hours to 6 days to show up, and E. coli can take 3 to 4 days for most people, sometimes up to 10.
If multiple people who ate the same meal are also sick, food poisoning is the likely culprit. If people around you at work, school, or home are getting sick one by one over several days, it’s probably a virus spreading from person to person.
Timing After Eating Matters
When vomiting hits relative to your last meal gives useful clues. Nausea that starts 15 to 20 minutes after eating, especially fatty foods, can point to gallbladder problems. Infections from contaminated food can come on quickly and linger for days to weeks. If you’re consistently getting nauseous after meals regardless of what you eat, that pattern is worth tracking and bringing to a doctor, because it could signal something beyond a one-time illness.
Pregnancy
If there’s any chance you could be pregnant, that’s worth ruling out early. Morning sickness is common in early pregnancy and typically improves after the first three months. It can happen at any time of day despite the name.
Severe pregnancy vomiting, called hyperemesis gravidarum, is a different situation. It’s diagnosed when vomiting causes more than 5% loss of your pre-pregnancy body weight along with dehydration. If you’re pregnant and can’t keep any food or liquid down for an extended period, that needs medical attention rather than waiting it out.
Medications That Cause Nausea
If you recently started a new medication or changed your dose, that could easily be the cause. Common offenders include antibiotics, aspirin, ibuprofen, naproxen, and certain blood pressure medications. The nausea often hits because these drugs irritate your stomach lining or trigger the part of your brain that controls the vomiting reflex. Taking pills with food, or switching to a different formulation, can sometimes help. Don’t stop a prescribed medication without talking to your prescriber first, but do let them know what’s happening.
Other Common Triggers
Beyond infections and medications, vomiting can come from motion sickness, migraines, concussions, intense pain, heavy alcohol use, stress and anxiety, or even overeating. Most of these are self-limiting, meaning the vomiting stops once the trigger is removed. Hangovers resolve on their own. Motion sickness ends when the motion stops. Migraine-related vomiting settles as the headache cycle passes.
How to Stay Hydrated While Vomiting
Dehydration is the main risk when you’re throwing up repeatedly. Small, frequent sips work better than gulping a full glass of water, which your stomach is more likely to reject. Oral rehydration solutions (sold at most pharmacies and grocery stores) are designed to replace both water and the electrolytes you’re losing. They work by pairing sodium and glucose in a ratio that your gut absorbs efficiently even when it’s inflamed.
You don’t need to force yourself to eat. The old advice about sticking to bananas, rice, applesauce, and toast (the BRAT diet) is no longer recommended. Research shows that a restricted diet doesn’t help you recover from a stomach illness any faster. Once your appetite returns, you can go back to eating normally even if you still have some diarrhea. For infants and children, the same principle applies: offer breast milk, formula, or their usual foods as soon as they’re willing to eat.
Dehydration Signs in Children and Infants
Young children and infants get dehydrated faster than adults, and they can’t always tell you how they feel. With mild to moderate dehydration, you’ll notice a dry mouth, fewer tears when crying, and less frequent urination. For infants, fewer than six wet diapers per day is a red flag. A sunken soft spot on the top of an infant’s head is another early sign.
Severe dehydration looks more alarming: sunken eyes, cool or discolored hands and feet, wrinkled skin, and urinating only once or twice a day. At that point, a child needs medical care promptly, not just more fluids at home.
Signs That Need Immediate Attention
Most vomiting resolves on its own within a day or two. If it continues beyond two days, that warrants a visit to your doctor. But certain symptoms alongside vomiting signal something more urgent:
- Vomit that contains blood, looks like coffee grounds, or is green. Blood or coffee-ground material can indicate bleeding in your stomach or upper digestive tract. Green vomit (bile) can sometimes suggest a bowel obstruction.
- Severe abdominal pain or cramping. Intense, localized pain with vomiting could point to appendicitis, a bowel obstruction, or pancreatitis.
- Chest pain. Vomiting with chest pain needs emergency evaluation to rule out cardiac events.
- High fever with a stiff neck. This combination can indicate meningitis.
- Confusion or blurred vision. Neurological symptoms with vomiting may suggest a head injury, poisoning, or elevated pressure in the brain.
- Signs of dehydration you can’t correct. Excessive thirst, dark urine, dizziness when standing, and weakness mean you’re losing more fluid than you’re replacing.
If none of those apply and your vomiting started suddenly, the most likely explanation is a stomach bug or something you ate. Focus on small sips of fluid, rest, and eating when you feel ready. Your body is doing exactly what it’s designed to do: getting something out that doesn’t belong there.

