PDF download Download Article PDF download Download Article

Intestinal gas (bloating) is typically caused by the fermentation of undigested food in the large intestine by "friendly" bacteria. [1] Fermentation produces gas, which distends and bloats the intestines and causes discomfort. Components of food that human digestive systems commonly have trouble completely digesting include insoluble plant fiber, excessive amounts of fructose, milk sugar (lactose) and gluten protein. [2] [3] Passing gas, dietary modifications and certain medicines can help you alleviate gas pain from bloating.

Method 1
Method 1 of 2:

Getting Rid of Gas Pains Naturally

PDF download Download Article
  1. Probably the most straightforward method of alleviating abdominal pain from gas accumulation is getting rid of it by passing the gas (also called flatulating or farting). Most peoples and cultures regard passing gas in public as bad manners, so be discreet about it and go to the bathroom to pass gas. To help facilitate passing gas, go for a leisurely walk outside and/or lightly massage your abdomen in a downward manner, which may help push the gas out of your large intestine.
    • The gas produced by fermenting bacteria in your large intestine is a combination of nitrogen, carbon dioxide, methane and sulfur compounds — which contribute to the foul odor.
    • Flatulence often becomes more common with age, often due to a decreased production of digestive enzymes.
  2. Another way to pass gas, albeit from the opposite end, is by burping or belching. Although you don't make much impact on lower intestinal gas by belching, it can certainly get rid of excess gas in the stomach and upper intestinal tract. Accumulation of air in the stomach can occur from gulping liquids or eating food too quickly, drinking through a straw, chewing gum and smoking. The accumulated air can be relieved easily, quickly and painlessly by belching. [4] Although drinking too much carbonated liquid can cause bloating, a few sips of something fizzy is helpful for promoting belching and gas release.
    • Natural remedies sometimes used to encourage belching include ginger, papaya, lemon juice and peppermint.
    • Much like passing gas, many peoples and cultures (but not all) regard loudly belching in public as bad manners, so act accordingly.
    Advertisement
  3. [5] Some foods have a tendency to create intestinal gas because they are difficult to digest or contain compounds that irritate the stomach or intestines. [6] Common gas-causing or bloating foods include beans, peas, lentils, cabbage, onions, broccoli, cauliflower, prunes, and mushrooms. [7] Eating too much insoluble fiber (found in most veggies and the skins of some fruits), fructose sugar (found in all fruit, particularly sweet berries) and gluten (found in most grains such as wheat, barley and rye) can also lead to bloating, flatulence and diarrhea. [8] If you love to eat raw veggies and fruit, then eat smaller portions, chew them slowly and allow more time for digestion.
    • People with celiac disease are particularly sensitive to gluten, which irritates their intestines and triggers abdominal pain and bloating. [9]
    • Other intestinal disorders that cause people to be more sensitive to bloating include irritable bowel syndrome (IBS), ulcerative colitis and Crohn's disease.
  4. Ginger, raw honey, peppermint, chamomile, cinnamon, cucumber, banana, pineapple, fennel and flax seeds, probiotic yogurt, and kale.
  5. Lactose intolerance is the inability to produce enough (or any) lactase enzyme, which is needed to properly digest and break down milk sugar (lactose). [10] Undigested lactose ends up in the large intestine and provides a substrate for friendly bacteria to ferment and use as food — which produces gas as a byproduct. Symptoms of lactose intolerance include flatulence, bloating, abdominal cramps and diarrhea. As such, reduce or avoid dairy product consumption if you suspect a lactose intolerance problem, particularly cow's milk, cheese, whipping cream, ice cream and milkshakes.
    • The ability to make lactase drops off rapidly after childhood, which means there's more risk of lactose intolerance as you get older. [11]
    • If you want to continue to consume dairy products without the risk of gas and abdominal pain due to lactose intolerance, then buy some lactase enzyme capsules from a health food store or pharmacy. Take a few enzyme capsules before you indulge in food that contains dairy.
  6. Gas pains can be caused by acid in the stomach. Baking soda is a base, which will work against the acid to calm the gas pains.
  7. Advertisement
Method 2
Method 2 of 2:

Getting Rid of Gas Pains Medicinally

PDF download Download Article
  1. Aside from eating gassy foods and being lactose intolerant, there are many medical conditions that cause bloating and abdominal pain. As such, if you have frequent gas pains, make an appointment with your family physician and get a physical examination in order to rule out anything serious. Medical conditions that typically cause bloating and stomach pain include gastrointestinal infections (viral, bacterial and parasitic), stomach ulcers, intestinal blockage, irritable bowel syndrome, ulcerative colitis, celiac disease, food allergies, intestinal or stomach cancer, gallbladder disease and acid reflux. [12]
    • If your gas pains are caused by an infection or food poisoning, your doctor might recommend short-term antibiotics. However, over-use of antibiotics kills friendly intestinal bacteria and can actually lead to more GI symptoms. [13]
    • Certain medications often lead to bloating and flatulence such as non-steroidal anti-inflammatory drugs (ibuprofen, naproxen), laxatives, antifungal medicines and statins (for high cholesterol), so talk to your doctor about your prescriptions drugs. [14]
    • Your doctor may want a stool sample and may check the blood for celiac disease and do a breath test for lactose intolerance. An X-ray or colonoscopy may be necessary in some cases.
  2. Normal food digestion, especially of protein-rich meals, takes lots of stomach acid, which is concentrated hydrochloric (HCl) acid. [15] A lack of stomach acid production (a common condition of aging) can lead to inadequate protein digestion, which can ferment in the intestines and produce gas. As such, ask your doctor about testing for stomach acid production and then consider taking supplemental HCl if you no longer produce enough naturally.
    • To help with protein digestion, eat your meat, poultry or fish course at the beginning of a meal instead of starting with bread and/or salad. The stomach tends to dump the hydrochloric acid in as soon as you start eating, but carbohydrates need very little (compared to protein) to digest.
    • Betaine hydrochloride is a popular supplemental form of HCl that you can get at most health food stores. Remember to take the tablets after you eat, not before or during your meal.
  3. As noted above, a common reason some foods cause intestinal gas is because the human body can't digest certain complex sugar compounds (such as insoluble fiber and sugars called oligosaccharides). Taking over-the-counter products with alpha-galactosidase (Beano, Suntaqzyme, Bean-zyme) can help correct this problem because the enzyme breaks down complex sugars before they reach your intestines and start to ferment. [16] Take a tablet containing alpha-galactosidase right before you start eating foods high in fiber (most veggies, fruit and legumes) to help prevent gas formation and abdominal pain.
    • The sugar enzyme is derived from food-grade mold called Aspergillus niger, which can cause an allergic reaction in people sensitive to molds and penicillin.
    • Alpha-galactosidase breaks down galactose into glucose effectively, but it may interfere with diabetic medication. Consult with your doctor if you're diabetic and thinking of taking products that contain it.
  4. Probiotic supplements contain strains of healthy bacteria that are normally found in your large intestine. These "friendly" bacteria can be destroyed by over-using antibiotics, taking laxatives, drinking too much alcohol, consuming heavy metals and getting colonoscopies. An imbalance of healthy intestinal bacteria leads to digestive problems and GI symptoms. If you think you're at risk for bacterial imbalance in your intestines, then consider taking probiotic supplements to get relief from gas pain. [17] Probiotics are safe and commonly found in health food stores.
    • Probiotics are available as tablets, capsules or powders and must be taken on a regular basis in order to maintain effective concentrations/colonies in your large intestine. Whichever supplement you choose should be enteric coated or microencapsulated to survive being digested by stomach acid, so it can make it to the intestines and still be viable. [18]
    • Fermented foods are also a good source of friendly bacteria and include natural yogurt, buttermilk, kefir, fermented soy products (natto, miso, soy sauce, tofu), sauerkraut and even unpasteurized beer.
  5. Constipation is infrequent bowel movements or difficult passage of stools, which can happen from eating way too much fiber (or almost none at all) or not drinking enough fluids. [19] Chronic constipation is usually defined as fewer than 3 bowel movements a week for many weeks or months, but most cases of constipation last for just a few days. Constipation can lead to intestinal pain and cramping that's similar to gassy pain, but the cause of the discomfort is often very different. Medicinal treatment for constipation involves taking laxatives, which promote bowel movements. Laxatives work by either bulking up your stool (FiberCon, Metamucil, Citrucel), softening your stool, helping fluids move through your colon (milk of magnesia) or lubricating your colon (mineral oil, cod liver oil). [20]
    • Elderly people with poor diets usually get constipation from not consuming enough fiber, which is why eating prunes or drinking prune juice is often recommended.
    • Constipation in children and younger adults is more often caused by eating too much fiber at a time, such as carrots or apples.
    • If constipation is caused by eating way too much fiber, then gas production and bloating from bacterial fermentation is possible too. As such, much of the advice above for getting rid of gas pains would apply.
  6. Advertisement

Expert Q&A

Search
Add New Question
  • Question
    Which drinks cause bloating?
    Peter Gardner, MD
    Board Certified Gastroenterologist
    Peter W. Gardner, MD is a board certified physician who has practiced Gastroenterology and Hepatology for over 30 years. He specializes in diseases of the digestive system and liver. Dr. Gardner earned his Bachelor’s degree from the University of North Carolina and attended Georgetown Medical School. He completed his residency in Internal Medicine and then his fellowship in Gastroenterology at the University of Connecticut. He is a previous Chief of Gastroenterology at Stamford Hospital and remains on the staff. He is also on the staff of Greenwich Hospital and New York (Columbia) Presbyterian Hospital. Dr. Gardner is an Approved Consultant in Internal Medicine and Gastroenterology with the American Board of Internal Medicine.
    Board Certified Gastroenterologist
    Expert Answer
    Beverages that can trigger bloating include coffee, fructose-rich drinks, beer and carbonated sodas with artificial sugar (aspartame or sorbitol).
  • Question
    What typically causes gastritis?
    Peter Gardner, MD
    Board Certified Gastroenterologist
    Peter W. Gardner, MD is a board certified physician who has practiced Gastroenterology and Hepatology for over 30 years. He specializes in diseases of the digestive system and liver. Dr. Gardner earned his Bachelor’s degree from the University of North Carolina and attended Georgetown Medical School. He completed his residency in Internal Medicine and then his fellowship in Gastroenterology at the University of Connecticut. He is a previous Chief of Gastroenterology at Stamford Hospital and remains on the staff. He is also on the staff of Greenwich Hospital and New York (Columbia) Presbyterian Hospital. Dr. Gardner is an Approved Consultant in Internal Medicine and Gastroenterology with the American Board of Internal Medicine.
    Board Certified Gastroenterologist
    Expert Answer
    Gastritis is typically caused by eating on an empty stomach. It can also be caused by things like anti-inflammatory drugs, drugs like Motrin, Advil, and Aleve. Chronic gastritis is not that common, but it is typically caused by a bacteria called H. pylori. That requires a course of antibiotics to treat and has to be diagnosed with a specific test.
  • Question
    What do I do about gas moving in my upper stomach?
    Chris M. Matsko, MD
    Family Medicine Physician
    Dr. Chris M. Matsko is a retired physician based in Pittsburgh, Pennsylvania. With over 25 years of medical research experience, Dr. Matsko was awarded the Pittsburgh Cornell University Leadership Award for Excellence. He holds a BS in Nutritional Science from Cornell University and an MD from the Temple University School of Medicine in 2007. Dr. Matsko earned a Research Writing Certification from the American Medical Writers Association (AMWA) in 2016 and a Medical Writing & Editing Certification from the University of Chicago in 2017.
    Family Medicine Physician
    Expert Answer
    Gas in your upper stomach is called bloating. If you digest the gas, and the gas goes into the small bowel it will come out the anus. Otherwise you will probably belch.
Ask a Question
      Advertisement

      Tips

      Show More Tips

      Tips from our Readers

      The advice in this section is based on the lived experiences of wikiHow readers like you. If you have a helpful tip you’d like to share on wikiHow, please submit it in the field below.
      • Avoid drinking liquids too fast because this causes you to swallow excess air, which can cause gas and bloating.
      • Try laying on your side and gently rubbing your stomach. This works for me when I have bloating and pain.
      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Name
      Please provide your name and last initial
      Thanks for submitting a tip for review!
      Advertisement

      References

      1. Muhammad Khan, MD, MPH. Board-Certified Gastroenterologist. Expert Interview. 24 August 2021.
      2. http://www.mayoclinic.org/diseases-conditions/gas-and-gas-pains/in-depth/gas-and-gas-pains/art-20044739?pg=2
      3. Muhammad Khan, MD, MPH. Board-Certified Gastroenterologist. Expert Interview. 24 August 2021.
      4. http://www.nhs.uk/Conditions/Flatulence/Pages/Causes.aspx
      5. Muhammad Khan, MD, MPH. Board-Certified Gastroenterologist. Expert Interview. 24 August 2021.
      6. Peter Gardner, MD. Board Certified Gastroenterologist. Expert Interview. 25 August 2020.
      7. http://www.mayoclinic.org/diseases-conditions/gas-and-gas-pains/in-depth/gas-and-gas-pains/art-20044739?pg=2
      8. Muhammad Khan, MD, MPH. Board-Certified Gastroenterologist. Expert Interview. 24 August 2021.
      9. Peter Gardner, MD. Board Certified Gastroenterologist. Expert Interview. 25 August 2020.

      About This Article

      Article Summary X

      To get rid of gas pains in your stomach, try passing gas naturally by massaging your lower abdomen or going for a walk. Eat smaller portions and chew slowly to allow more digestion time, especially with gassy foods like veggies, sugary fruits, and gluten. Avoid dairy and eat non-bloating foods like cucumbers, bananas, kale, and cinnamon. To ease gas pains caused by stomach acid, drink a mixture of water with 1-2 spoonfuls of baking soda. If you have frequent gas pains, ask a doctor about taking medications like hydrochloric acid, laxatives, or probiotics. To learn more from our Physician co-author, such as what over-the-counter medications to try, keep reading!

      Did this summary help you?
      Thanks to all authors for creating a page that has been read 1,182,349 times.

      Reader Success Stories

      • Anonymous

        Sep 28, 2016

        "I found all of the details supplied in both sections to be informative. It has made me feel better now that I ..." more
      Share your story

      Did this article help you?

      Advertisement