What Causes You to Throw Up and When to Worry

Vomiting is triggered when your brain’s vomiting center receives signals that something is wrong, whether that’s a stomach infection, a toxin in your food, conflicting signals from your senses, or even intense stress. The causes range from everyday and harmless to serious, and understanding the trigger usually comes down to timing: how quickly symptoms started, what you were doing or eating beforehand, and whether other symptoms came along with it.

Viral and Bacterial Infections

The single most common reason people throw up is infection. Norovirus is the leading cause of vomiting and diarrhea in the United States, and it hits fast. Symptoms typically start 12 to 48 hours after exposure, often beginning with sudden, forceful vomiting that may be accompanied by watery diarrhea, stomach cramps, and a low fever. Most people recover within one to three days without treatment, though dehydration is the main risk, especially in young children and older adults.

Bacterial food poisoning has a wider timeline. Salmonella symptoms can appear anywhere from 6 hours to 6 days after eating contaminated food, while E. coli typically takes 3 to 4 days but can show up as early as one day or as late as ten. The vomiting from food poisoning often comes with loose stools and stomach cramps, and the onset usually gives you a clue: if you threw up within a few hours of a meal, a bacterial toxin is a likely culprit. If it took a day or more, the bacteria itself may be multiplying in your gut.

Motion Sickness and Sensory Conflict

Reading in a car, sitting on a boat, or wearing a virtual reality headset can all make you nauseated for the same reason. Your brain constantly compares what your eyes see, what your inner ear senses about balance and movement, and what your muscles report about body position. When those signals don’t match, your brain interprets the mismatch as a sign that something has gone wrong, possibly that you’ve ingested a toxin affecting your perception. Vomiting is the body’s default protective response.

This is why you’re more likely to feel carsick as a passenger than as a driver. The driver’s eyes track the road and anticipate turns, keeping visual input aligned with the inner ear’s sense of motion. A passenger looking at a phone sees a still screen while their inner ear registers every curve and stop. The greater the conflict, the worse the nausea. Focusing on the horizon or getting fresh air helps because it gives your brain visual confirmation of the motion your inner ear is detecting.

Pregnancy-Related Nausea

Up to 80% of pregnant people experience some degree of nausea during the first trimester, and for a long time the exact cause wasn’t clear. Recent research has identified a hormone called GDF15, produced by the fetus and placenta, as the primary driver of morning sickness. Interestingly, the severity depends partly on how much GDF15 a person was exposed to before pregnancy. Those with lower pre-pregnancy levels of the hormone tend to react more strongly when levels surge, experiencing worse nausea and vomiting.

Most pregnancy nausea improves by the second trimester. A small percentage of pregnant people, between 0.3% and 10.8%, develop a severe form called hyperemesis gravidarum, which involves persistent vomiting that can lead to weight loss, dehydration, and the need for medical support.

Stress and Anxiety

Throwing up before a big exam, a job interview, or during a panic attack is surprisingly common. When you’re under stress, your body releases a flood of hormones that activate the fight-or-flight response. This survival mode redirects blood flow away from your digestive system and toward your muscles and brain, essentially telling your gut to shut down non-essential operations. The result is nausea, stomach churning, and sometimes vomiting.

Stress-related vomiting tends to follow a pattern. It happens in high-anxiety situations, resolves once the stressor passes, and isn’t accompanied by fever or diarrhea. Some people experience it chronically if they live with an anxiety disorder, and the gut-brain connection can become a self-reinforcing loop: you feel anxious, your stomach gets upset, and the upset stomach makes you more anxious.

Medications and Medical Treatments

Almost all medications can cause nausea and vomiting, but some are far more likely to do it than others. Chemotherapy is the most well-known offender. Pain medications in the opioid family cause nausea in 20% to 50% of patients, both during short-term and long-term use. Certain antidepressants that increase serotonin activity in the brain trigger nausea at similar rates, particularly in the first few weeks of use. Anesthesia is another common trigger. Inhaled anesthetic agents are the strongest risk factor for post-operative vomiting, which is why nausea after surgery is so common.

If you’ve recently started a new medication and notice nausea or vomiting, the timing is usually the giveaway. Drug-related nausea often starts within days of beginning the medication and may fade as your body adjusts over a week or two.

Digestive System Problems

When vomiting becomes a recurring pattern rather than a one-time event, a digestive condition may be the cause. Gastroparesis, where the stomach empties too slowly, leads to nausea and vomiting after meals because food sits in the stomach far longer than it should. Acid reflux can trigger vomiting when stomach acid irritates the esophagus enough to activate the gag reflex. Gallbladder problems, bowel obstructions, and appendicitis can all cause vomiting as well, usually alongside significant abdominal pain.

Cyclic vomiting syndrome is a less well-known condition that causes sudden, repeated episodes of severe nausea and vomiting. These episodes follow a predictable pattern with four phases: a warning phase marked by intense sweating, nausea, and pale skin; a vomiting phase that can last hours or days; a recovery phase; and a well phase between episodes. Other symptoms during an episode can include extreme thirst, sensitivity to light and sound, headaches, and drowsiness. The condition is more common in children but can affect adults too.

Other Common Triggers

Alcohol causes vomiting through direct irritation of the stomach lining and by reaching blood levels that your body treats as toxic. Your brain triggers vomiting as a way to stop more alcohol from being absorbed. Concussions and other head injuries can cause vomiting because of pressure changes or disruption in the brain’s balance centers. Migraines frequently involve nausea and vomiting even without any stomach involvement, because the same brainstem pathways that process pain signals also control the vomiting reflex.

Overeating is a simpler and more mechanical cause. When the stomach is stretched beyond its comfortable capacity, stretch receptors in the stomach wall send signals to the brain that can trigger the urge to vomit. Eating too quickly makes this more likely because your brain doesn’t register fullness until about 20 minutes after you’ve started eating.

Warning Signs That Need Urgent Attention

Most vomiting resolves on its own within a day or two. But certain accompanying symptoms suggest something more serious is going on. Vomit that contains blood, looks like coffee grounds, or has a green color may indicate bleeding or a bowel obstruction. A severe headache with vomiting, especially one unlike any headache you’ve had before, could signal a neurological emergency. Chest pain, confusion, blurred vision, a high fever with a stiff neck, or signs of dehydration like dark urine, dizziness when standing, and extreme thirst all warrant prompt medical evaluation.

Dehydration is the most common complication of prolonged vomiting. In children, even a 5% drop in body weight from fluid loss is considered clinically significant. For anyone who can’t keep fluids down for more than 24 hours, or who shows signs of dehydration, getting medical help sooner rather than later prevents the situation from escalating.