Stomach pain paired with nausea is one of the most common reasons people seek medical attention, and the two symptoms travel together because of how your nervous system is wired. The most frequent causes are gastroenteritis (a stomach bug) and food poisoning, but stress, ulcers, gallbladder problems, and even conditions outside your abdomen can trigger the same combination. Understanding the pattern of your symptoms, especially where the pain is, when it started, and what makes it worse, helps narrow down what’s going on.
Why Pain and Nausea Happen Together
Your gut has its own branch of the nervous system, sometimes called the “second brain,” that communicates directly with your actual brain through a major nerve called the vagus nerve. When something irritates or inflames your stomach or intestines, sensory fibers in this nerve detect the mechanical and chemical changes and relay them to a cluster of structures in your brainstem. That brainstem region processes both pain signals and the vomiting reflex, which is why an upset stomach so often comes with the urge to throw up. It’s not two separate problems. It’s one alarm system with two outputs.
The Most Likely Culprits
Gastroenteritis and nonspecific abdominal pain together account for about 21% of all emergency visits for stomach pain. After those, the next most common diagnoses are gallstones, kidney stones, diverticulitis, and appendicitis, each representing roughly 4% of cases. That means for most people, the answer is something temporary and self-limiting, but it’s worth knowing the patterns that point to something more serious.
Stomach Bug or Food Poisoning
These are by far the most common explanation. A viral stomach bug, especially norovirus, typically hits 12 to 48 hours after exposure and brings waves of cramping, nausea, vomiting, and sometimes diarrhea. Bacterial food poisoning has a wider range: Salmonella symptoms appear anywhere from 6 hours to 6 days after eating contaminated food, while E. coli takes 3 to 4 days to show up. Most episodes, regardless of the germ, resolve within a few hours to several days on their own.
If you recently ate something questionable, or other people who shared a meal are also sick, food poisoning is the likely answer. If it’s circulating through your household or workplace, a virus is more probable.
Stress and Anxiety
Stress doesn’t just make your stomach feel bad psychologically. It creates real, measurable physical symptoms. When you’re anxious or under pressure, your nervous system sends signals to your gut that put the muscles involved in digestion into a fight-or-flight state. Those muscles can react by pushing waste through your system too quickly, causing nausea, cramping, bloating, and diarrhea. Your enteric nervous system can also start interpreting normal digestive activity as painful, so sensations you wouldn’t normally notice suddenly feel uncomfortable or sharp.
If your symptoms tend to flare during stressful periods, before big events, or alongside anxiety, this connection is worth paying attention to. The discomfort is not imaginary. It’s a well-documented neurological pathway.
Gastritis and Ulcers
If your stomach pain and nausea are recurring rather than a one-time event, inflammation of the stomach lining (gastritis) or a peptic ulcer may be responsible. The hallmark is a burning or gnawing pain in the upper abdomen. Timing relative to meals can vary: some people feel worse between meals and at night, while others notice it gets worse right after eating. Frequent use of anti-inflammatory painkillers like ibuprofen and infection with a specific type of bacteria are the two leading causes.
Gallbladder Problems
Gallbladder attacks tend to produce intense pain in the upper right side of the abdomen, often after a fatty meal. The pain can radiate to the back or right shoulder and is usually accompanied by nausea or vomiting. Episodes often last 30 minutes to a few hours and then ease, which distinguishes them from conditions like pancreatitis, where the pain is more constant, centered higher in the abdomen, and may radiate straight through to the back.
Patterns That Point to Something Serious
Most stomach pain with nausea passes on its own. But certain patterns suggest something that needs prompt medical evaluation.
Appendicitis has a distinctive signature: the pain typically starts around the belly button or upper abdomen, then migrates to the lower right side over several hours. This migration pattern is the single most useful clue, accurate about 80% of the time. The lower right abdomen becomes increasingly tender to touch, and pressing and releasing that area produces a sharp spike of pain. Nausea, loss of appetite, and sometimes a low fever accompany it. If your pain has followed this trajectory, don’t wait it out.
The American College of Emergency Physicians recommends seeking emergency care if your pain is sudden, severe, or doesn’t ease within 30 minutes. Continuous severe abdominal pain combined with nonstop vomiting can indicate a life-threatening condition. Other warning signs include a swollen and tender abdomen with fever and rapid pulse (which can signal pancreatitis), and in women of childbearing age, severe abdominal pain with vaginal bleeding (which may indicate an ectopic pregnancy).
Causes You Might Not Expect
About 10% of people who show up with abdominal pain actually have a urinary cause, like a kidney stone or urinary tract infection. Among adults 65 and older, roughly 10% have a respiratory infection behind their abdominal symptoms. A chest infection can irritate the diaphragm and produce pain that feels like it’s coming from the stomach, sometimes with nausea. If your stomach pain came on alongside a cough, fever, or difficulty breathing, the issue may not be in your abdomen at all.
What Helps While You Recover
For garden-variety stomach bugs and food poisoning, the priority is staying hydrated. Vomiting and diarrhea can drain fluids and electrolytes quickly. Oral rehydration solutions like Pedialyte work better than sports drinks because they contain the right balance of sugar, sodium, and other minerals. You can also make your own by mixing 4 cups of water with half a teaspoon of salt and 2 tablespoons of sugar.
The classic BRAT approach (bananas, rice, applesauce, toast) is still reasonable for a day or two, but you don’t need to limit yourself to just those four foods. Brothy soups, oatmeal, boiled potatoes, crackers, and unsweetened dry cereals are equally easy to digest and provide more nutritional variety while your gut recovers.
For nausea specifically, over-the-counter anti-nausea liquids containing a combination of simple sugars and phosphoric acid can help settle your stomach. The key with these is not to dilute them or drink any other fluids right before or after a dose. You can repeat a dose every 15 minutes until the nausea subsides, up to 5 doses in an hour. If you have diabetes or fructose intolerance, check with a pharmacist before using these products.
Avoid ibuprofen and aspirin when your stomach is already irritated, as they can worsen inflammation. If you need pain relief, acetaminophen is gentler on the stomach lining. Small sips of clear fluids, eaten ice chips, and resting in an upright or slightly reclined position all help keep nausea from escalating into active vomiting.