What Can I Take for Stomach Pain Relief?

What you should take for stomach pain depends on what’s causing it. A burning feeling after eating calls for a different remedy than bloating, cramping, or nausea. Most stomach pain responds well to over-the-counter options once you match the right product to your symptoms.

Burning or Acidic Pain

If your stomach pain feels like a burning sensation in your upper abdomen or chest, especially after meals, the problem is almost certainly excess acid. You have three tiers of relief to choose from, and they work on different timescales.

Antacids (like calcium carbonate or magnesium hydroxide tablets) work the fastest. They neutralize acid that’s already in your stomach, so you feel better within minutes. The tradeoff is that relief fades relatively quickly, usually within an hour or two. These are best for occasional flare-ups.

H2 blockers take about an hour to kick in, but the effects last 4 to 10 hours. They work by reducing the amount of acid your stomach produces in the first place. If you get burning pain at predictable times, like after dinner or when lying down at night, taking one before your trigger can prevent symptoms entirely.

Proton pump inhibitors (PPIs) are the strongest option. They shut down acid production more completely, but they take one to four days to reach full effect and are designed for daily use over a stretch of time, not one-off relief. If you’re reaching for antacids several times a week, a two-week course of a PPI is often more effective than chasing individual episodes.

Gas and Bloating

Trapped gas can cause surprisingly sharp pain, often in the upper abdomen or just below the ribs, that shifts location as the gas moves. Simethicone is the standard fix. It works physically rather than chemically, breaking large gas bubbles into smaller ones that are easier for your body to pass. The usual adult dose is 40 to 125 mg taken up to four times a day, after meals and at bedtime, with a maximum of 500 mg in 24 hours. It’s one of the gentlest stomach remedies available and is safe enough that infant-specific formulations exist as drops.

Peppermint oil capsules are worth trying if gas and bloating are a recurring problem, particularly if you suspect irritable bowel syndrome. Enteric-coated capsules (the coating keeps them from dissolving until they reach your intestines) relax the smooth muscles in your digestive tract, reducing both gas pain and cramping. A meta-analysis in the American Journal of Gastroenterology found that peppermint oil significantly improved abdominal pain in IBS patients compared to placebo. In the U.S., peppermint oil capsules are the only antispasmodic you can buy without a prescription.

Nausea and General Upset

When your stomach just feels “off,” with some combination of nausea, queasiness, and loose stools, bismuth subsalicylate (the active ingredient in Pepto-Bismol) covers a lot of ground. It treats diarrhea, heartburn, indigestion, and nausea all at once by coating the stomach lining and reducing inflammation. A few things to know: it contains a compound related to aspirin, so avoid it if you have an aspirin allergy, a bleeding disorder, gout, or kidney disease. It should not be given to children under 12, and teenagers with flu or chickenpox symptoms should avoid it too because of the risk of Reye’s syndrome.

Ginger is a well-studied natural alternative for nausea specifically. Clinical trials have used doses ranging from 250 mg to 1 g per day, split into three or four doses, and found that 1 g per day works about as well as higher doses. You can get this from ginger capsules, ginger chews, or strong ginger tea made from fresh root. It’s particularly useful during pregnancy or for motion sickness, when you want to avoid medications.

Cramping and Spasms

Crampy, squeezing pain in your lower abdomen often comes from your intestinal muscles contracting too forcefully. This is common with IBS, menstrual-related stomach pain, and stress. Peppermint oil capsules, mentioned above, are the go-to over-the-counter option. Chamomile tea has milder but real effects on intestinal and menstrual cramps. For more severe or persistent cramping, prescription antispasmodics like dicyclomine work by blocking the nerve signals that trigger muscle contractions, but these require a doctor’s involvement.

A heating pad placed over the painful area can also relax cramping muscles and is worth combining with whatever you take orally.

Diarrhea With Stomach Pain

If your stomach pain is tied to frequent loose stools, you have two main choices. Loperamide (Imodium) slows the movement of your intestines, giving them more time to absorb water. Bismuth subsalicylate (Pepto-Bismol) takes a broader approach, reducing inflammation and killing some bacteria. In a head-to-head comparison, loperamide provided faster and more complete relief of acute diarrhea than bismuth subsalicylate, with subjects rating it significantly better after 24 hours. If your primary goal is to stop the diarrhea quickly, loperamide is the stronger choice. If you also have nausea or general queasiness alongside the diarrhea, bismuth subsalicylate’s broader coverage may be more useful.

One important exception: if you have a fever along with bloody or mucus-filled diarrhea, skip both and see a doctor. These signs suggest an infection that your body needs to clear, and slowing your gut down can make things worse.

What to Avoid Taking

If your pain is in your stomach itself, do not take ibuprofen, aspirin, or other NSAIDs. These drugs work by blocking the production of prostaglandins, chemicals that cause pain and inflammation. The problem is that prostaglandins also protect your stomach lining. Blocking them can irritate an already-painful stomach, worsen ulcers, and even cause new damage. If you need a pain reliever alongside your stomach symptoms, acetaminophen (Tylenol) is much easier on the stomach and can be taken with or without food.

Stomach Pain in Children

Children’s options are more limited. Simethicone is safe at all ages, including infancy, and is available as drops for babies and chewable tablets for older kids. Calcium carbonate antacids made specifically for children (like Pepto Kids chewables) can help with acid-related discomfort. Do not give a child adult Pepto-Bismol or any bismuth subsalicylate product. Aspirin and aspirin-containing products should be avoided in children under 16 who have fever or viral symptoms because of the risk of Reye’s syndrome, a rare but serious condition affecting the brain and liver.

Signs That Need Medical Attention

Most stomach pain resolves on its own or with the remedies above. Certain patterns, though, signal something that over-the-counter products can’t fix: severe pain with a rigid or distended abdomen, vomiting blood or bile, signs of gastrointestinal bleeding (black or tarry stools, blood in stool), fainting, high fever alongside the pain, or pain following abdominal trauma. Pain that localizes to one specific spot, especially the lower right abdomen, deserves prompt evaluation. If you’re over 50 and experiencing new or unusual abdominal pain, or if you’re pregnant, the threshold for seeking care should be lower since the range of possible causes expands significantly in both groups.