What you take for an upset stomach depends on what is actually going on: acid creeping upward, nausea, bloating, diarrhea, or some combination. Over-the-counter antacids, acid reducers, bismuth-based products, ginger, peppermint, and rehydration fluids each target a different part of the problem. Picking the right one matters, because a remedy aimed at excess acid won’t do much for gas-related bloating, and an antidiarrheal won’t touch nausea. The good news is that most garden-variety stomach upset responds well to something you can grab at a pharmacy or even your kitchen.
Antacids for Fast but Short-Lived Relief
If your stomach feels like it’s burning or you have that familiar acidic discomfort after a meal, antacids are the fastest option. Products containing aluminum hydroxide, magnesium hydroxide, or calcium carbonate work by directly neutralizing the hydrochloric acid your stomach produces. The free hydroxide ions bind to acid and form water and harmless salts, raising the stomach’s pH within minutes.1F1000Research. An expert opinion on antacids: A review of its pharmacological properties and therapeutic efficacy That speed is their biggest selling point and their biggest limitation. In a controlled trial, calcium carbonate neutralized a meaningful amount of acid in the first 30 minutes, but its effect lasted only about an hour.2JAMA. Comparison of the Effects of Over-the-counter Famotidine and Calcium Carbonate Antacid on Postprandial Gastric Acid
Antacids are best for occasional, predictable discomfort, the kind you get after eating too fast or having a spicy meal. If you find yourself reaching for them daily, that’s a signal to look at longer-acting options or talk to a doctor, because the underlying problem likely needs more than repeated acid neutralization.
H2 Blockers and Proton Pump Inhibitors
When antacids wear off too quickly, the next step up is an acid reducer. These come in two main categories. H2 blockers, like famotidine, work by blocking the histamine receptors on the acid-producing cells in your stomach lining. The result is a dramatic drop in acid output without significantly affecting other stomach secretions.3PubMed. Famotidine, a new H2-receptor antagonist. Effect on parietal, nonparietal, and pepsin secretion in man H2 blockers take longer to kick in than antacids, usually 30 to 60 minutes, but they keep working for several hours. They remain a standard option for acid-related discomfort and peptic ulcer management.4Gastroenterology Clinics of North America. CONTROL OF GASTRIC ACID SECRETION: Histamine H2-Receptor Antagonists and H+K+-ATPase Inhibitors
Proton pump inhibitors, or PPIs, like omeprazole, are even more potent. They shut down the acid pumps in the stomach lining more completely, and they’re widely used for conditions like gastroesophageal reflux disease and for protecting the stomach when you’re taking medications that can damage it.5PubMed Central. Advantages and Disadvantages of Long-term Proton Pump Inhibitor Use PPIs aren’t really meant for popping once when your stomach hurts after dinner. They take a day or two to reach full effect and are designed for daily use over a course of treatment. If you’re dealing with a one-off upset stomach, an H2 blocker or antacid makes more sense. If your symptoms keep coming back week after week, a doctor may suggest a PPI course, but long-term use comes with its own considerations, including potential effects on nutrient absorption.
Bismuth Subsalicylate for Nausea, Diarrhea, and General Misery
Bismuth subsalicylate, the active ingredient in products like Pepto-Bismol, is the closest thing to a multi-tool for stomach trouble. It has antisecretory, anti-inflammatory, and antibacterial properties, making it useful for nausea, diarrhea, and that general queasy discomfort that doesn’t fit neatly into one category.6PubMed Central. Is There a Role for Bismuth in Diarrhea Management? In laboratory models, bismuth subsalicylate inhibited fluid accumulation caused by bacterial toxins by anywhere from about 50% to over 90%, depending on the toxin type and timing of administration.7Clinical Infectious Diseases. Antisecretory and Antiinflammatory Properties of Bismuth Subsalicylate
There is an important catch, especially for parents. Bismuth subsalicylate contains salicylate, the same compound family as aspirin. Each tablespoon yields about 130 mg of salicylate.8JAMA Pediatrics. Hidden Salicylates Because of the association between salicylates and Reye’s syndrome, children and teenagers recovering from flu or chickenpox should not take it. The “salicylate” part of the name is easy to miss on the label if you’re not looking for it. Anyone with an aspirin allergy should also steer clear.
Ginger and Peppermint
If you’d rather reach for something less pharmaceutical, ginger has the strongest evidence among herbal options for stomach upset, particularly nausea. Ginger extracts speed up gastric emptying and stimulate contractions in the stomach, largely through the action of compounds called gingerols and shogaols. A systematic review of double-blind, placebo-controlled trials found potential benefits for nausea and vomiting from various causes, though researchers noted additional studies are still needed.9PubMed. Can nausea and vomiting be treated with ginger extract? In practical terms, ginger tea, ginger chews, or ginger capsules are all reasonable delivery methods. Ginger ale is the traditional folk remedy, though most commercial brands contain very little actual ginger.
Peppermint works through a different path entirely. It relaxes smooth muscle in the gut, mainly by blocking calcium channels in the intestinal wall. Studies on both animal and human tissue have confirmed that menthol, peppermint oil’s key component, directly inhibits the muscle contractions that cause cramping and spasms.10PubMed Central. Review article: The physiologic effects and safety of Peppermint Oil and its efficacy in irritable bowel syndrome and other functional disorders This makes peppermint a better choice for crampy, spasm-type discomfort and bloating than for nausea. Peppermint tea is the mildest form; enteric-coated peppermint oil capsules deliver a more concentrated dose to the intestines. One caution: peppermint can relax the valve between your esophagus and stomach, which means it can worsen heartburn or reflux in some people. If acid is your main problem, peppermint may help the cramps but make the burning worse.
Staying Hydrated When Your Stomach Is in Revolt
When vomiting or diarrhea is part of the picture, what you drink matters as much as what you take. Dehydration is the main danger from a stomach bug, and plain water alone doesn’t replace the sodium, potassium, and glucose your body is losing. Oral rehydration solutions are formulated so that sodium and glucose arrive at the intestinal lining in the right ratio to trigger maximum fluid absorption. Research suggests the optimal sodium-to-glucose ratio sits around 0.73, and solutions in that range are significantly more effective at promoting absorption than those with different ratios.11Scientific Reports. Potency of Oral Rehydration Solution in Inducing Fluid Absorption is Related to Glucose Concentration
You don’t necessarily need a pharmacy product. In a trial comparing Pedialyte, Gatorade, and a flavored oral rehydration solution in adults with viral gastroenteritis, all three corrected dehydration and improved bowel symptoms. The researchers did find that low potassium levels persisted in the Gatorade group, likely because sports drinks contain less potassium than medical oral rehydration solutions.12PubMed. Oral rehydration for viral gastroenteritis in adults: a randomized, controlled trial of 3 solutions The takeaway: for mild cases, almost any electrolyte drink helps; for severe or prolonged illness, a proper oral rehydration solution with adequate potassium is safer. Sipping slowly and frequently works better than gulping, which can trigger more vomiting.
Probiotics and Fermented Foods
Probiotics occupy an interesting space between food and medicine. There is reasonable evidence supporting specific strains for specific situations. Research has shown, with a level the investigators considered well-demonstrated, that certain probiotics can shorten antibiotic-associated diarrhea, help prevent recurrence of diarrhea caused by Clostridium difficile, and reduce the duration of rotavirus diarrhea in infants. Fermented milks containing Lactobacillus rhamnosus GG and the yeast Saccharomyces boulardii have the most clinical support in these roles.13The American Journal of Clinical Nutrition. Protection from gastrointestinal diseases with the use of probiotics
Where probiotics fall short is in the “I just feel bloated and miserable” category of stomach upset. The evidence for general digestive discomfort is much thinner than the marketing implies. Yogurt with live cultures is unlikely to hurt and may help, particularly if your upset stomach is related to lactose, since the bacteria in yogurt pre-digest some of the lactose. But grabbing a random probiotic supplement off the shelf when your stomach hurts is largely guesswork; the strain, dose, and your particular situation all matter.
Enzyme Supplements for Gas and Bloating
Gas and bloating sometimes get lumped in with “upset stomach,” but the mechanism is different. When undigested sugars, particularly oligosaccharides from foods like beans, lentils, and certain vegetables, reach your colon, bacteria ferment them and produce gas. Alpha-galactosidase, the enzyme in products like Beano, breaks down those sugars before bacteria get to them. In a randomized, placebo-controlled trial in children with gas-related symptoms, alpha-galactosidase significantly reduced bloating and flatulence compared to placebo, though it did not help with abdominal distension or spasms, which have different underlying causes.14PubMed Central. Efficacy and tolerability of α-galactosidase in treating gas-related symptoms in children: a randomized, double-blind, placebo controlled trial Similar findings have been observed in adults with irritable bowel symptoms, where a full dose of the enzyme reduced overall symptoms and bloating after ingestion of foods high in those fermentable sugars.15American Journal of Gastroenterology. Increasing Symptoms in Irritable bowel symptoms with Ingestion of Galacto-Oligosaccharides Are Mitigated by alpha-Galactosidase Treatment
The limitation here is specificity. Alpha-galactosidase only works on the particular sugars it’s designed to break down. If your gas comes from lactose, you need a lactase supplement instead. If it comes from swallowed air or carbonated drinks, no enzyme will help. Matching the enzyme to the food source is the key to getting any benefit.
Anti-Nausea Medications
When nausea is the dominant symptom, particularly from motion sickness or inner-ear disturbance, over-the-counter antihistamines like dimenhydrinate (Dramamine) or meclizine are the standard first-line options. They work by blocking histamine receptors in the brain’s vomiting center, and some have additional anticholinergic activity that contributes to their preventive effect.16PubMed Central. Motion sickness: an overview These medications work best when taken before the nausea starts, which is why the advice is to take them 30 to 60 minutes before a boat trip or long car ride rather than waiting until you already feel sick. Drowsiness is the main side effect, and it can be significant.
For more persistent nausea or gastroparesis, where the stomach empties too slowly, prescription prokinetic drugs like metoclopramide can help by speeding up gastric motility. Metoclopramide is the only medication currently approved for gastroparesis in the United States, and its recommended use is limited to less than three months due to the risk of movement-related side effects.17PubMed Central. New Developments in Prokinetic Therapy for Gastric Motility Disorders Domperidone, which works similarly but doesn’t cross into the brain as readily, is available through an FDA expanded access program but isn’t broadly approved. These are not grab-from-the-shelf options; they require a doctor’s involvement.
When Painkillers Are the Problem
Sometimes the upset stomach isn’t random; it’s caused by the ibuprofen or aspirin you took for a headache. Nonsteroidal anti-inflammatory drugs damage the stomach lining through several routes. Aspirin, the best-studied offender, penetrates the mucous layer that protects the stomach wall, damages the epithelial cells beneath, and allows acid to flood back through the breach. It also suppresses prostaglandin production, and prostaglandins are critical for maintaining mucus secretion, bicarbonate production, and blood flow to the stomach lining.18The American Journal of Medicine. Mechanisms of nonsteroidal anti-inflammatory drug-induced gastric damage: Actions of therapeutic agents Other NSAIDs like ibuprofen and naproxen are believed to cause damage primarily through the same prostaglandin-blocking mechanism, making the stomach more vulnerable to its own acid.19PubMed. Prostaglandins, NSAIDs, and gastric mucosal protection: why doesn’t the stomach digest itself?
If you know your stomach is sensitive to NSAIDs but you need them for pain or inflammation, taking them with food and using the lowest effective dose for the shortest time helps reduce risk. An H2 blocker or PPI taken alongside can provide a protective buffer. Switching to acetaminophen (Tylenol), which doesn’t affect the stomach lining in the same way, is another option for pain that doesn’t require anti-inflammatory action.
Stomach Upset During Pregnancy
Pregnancy-related nausea is one of the most common reasons people search for safe stomach remedies. The management approach here follows a specific sequence. Guidelines recommend starting with nonpharmacological methods: ginger, vitamin B6, acupressure, and dietary changes like eating small, frequent meals. These approaches have demonstrated benefit and carry minimal risk.20PubMed Central. Optimal management of nausea and vomiting of pregnancy Among herbal options, ginger is the only one that has been tested in clinical trials specifically in pregnant women, and while safety concerns have been raised in the literature for various herbs, clinical evidence of actual harm from ginger is lacking.21Complementary Therapies in Nursing and Midwifery. Use of anti-emetic herbs in pregnancy: women’s choices, and the question of safety and efficacy
When nonpharmacological strategies aren’t enough, the combination of vitamin B6 and doxylamine (an antihistamine) is the only medication marketed specifically for pregnancy-related nausea and vomiting.20PubMed Central. Optimal management of nausea and vomiting of pregnancy Bismuth subsalicylate should be avoided during pregnancy because of its salicylate content, and many common anti-nausea drugs require a conversation with your provider about risk versus benefit.
The Gut-Brain Connection and Stress-Related Stomach Trouble
A surprisingly large portion of stomach upset has no clear dietary or infectious cause. Stress, anxiety, and emotional distress can produce very real nausea, cramping, and altered bowel habits through the bidirectional communication system between the brain and the gut. The brain constantly receives sensory input from the digestive tract, integrates it with information from the environment, and sends signals back that can alter motility, secretion, and sensitivity in the gut.22PubMed Central. The brain-gut axis in abdominal pain syndromes This is especially relevant in conditions like irritable bowel syndrome and functional dyspepsia, where the stomach and intestines are structurally normal but functionally out of sync.
For stress-related stomach problems, the usual over-the-counter remedies might take the edge off, but they won’t solve the underlying issue. Strategies that calm the nervous system, including deep breathing, regular physical activity, adequate sleep, and sometimes cognitive behavioral therapy, can be more effective long-term than any pill for this particular type of upset stomach. If your stomach consistently acts up during stressful periods but feels fine on vacation, that pattern itself is diagnostic information worth sharing with a doctor.
Warning Signs That Need Medical Attention
Most stomach upset resolves on its own or with simple over-the-counter measures within a day or two. But roughly one in ten people who visit a general practitioner for persistent stomach discomfort report at least one alarm symptom, including things like unexplained weight loss, difficulty swallowing, blood in the stool, black or tarry stools, jaundice, or anemia.23PubMed. ‘Alarm symptoms’ in patients with dyspepsia: a three-year prospective study from general practice Any of these warrant prompt medical evaluation rather than another trip to the pharmacy aisle.
Other situations that call for a doctor rather than self-treatment include stomach pain that is severe or localized to one spot, vomiting that lasts more than 24 hours, inability to keep fluids down, signs of dehydration (dark urine, dizziness on standing, dry mouth), or stomach upset that keeps returning despite appropriate over-the-counter treatment. A stomach that hurts after every meal for weeks is telling you something different than a stomach that hurts once after questionable leftovers.