Excessive gas in your digestive tract can lead to flatulence (farting) and can cause bloating and abdominal pain or cramping. Everyone passes gas, with most people doing so 10 to 20 times per day. Gas is often treatable with diet and lifestyle changes, or with over-the-counter remedies, but with excessive gas you may need to find out the cause.
Gas can occur due to another medical condition such as food intolerance, celiac disease, or intestinal disease. Excessive gas can be a symptom of some cancers. These conditions and any related symptoms (such as blood in the stool) should be evaluated by a healthcare provider.
:max_bytes(150000):strip_icc():format(webp)/WomanWithGas-b849af8ffbf041cbbb4a258055fda3e3.jpg)
vitapix / Getty Images
1. Food Intolerance
There are certain foods that are gassy. These tend to be foods that take longer to be broken down and absorbed in the gut, providing them time to ferment and produce gas.
These include carbohydrates known as FODMAPs (fermentable oligosaccharides, disaccharides, monosaccharides, and polyols) that are especially gassy.
Foods and drinks that can cause excessive gas include:
- Beans and legumes
- Soy products, including tofu and soy milk
- Vegetables such as Brussels sprouts, broccoli, cauliflower, cabbage, radishes, asparagus, artichokes, onions, mushrooms, sprouts, and cucumbers
- Fruits such as apples, peaches, pears, and fruit juices
- Carbonated drinks
- Sweetened drinks with high-fructose corn syrup
- Alcoholic beverages such as beer, wine, champagne, and cider
- Sugar-free gum and candies made with sorbitol, mannitol, and xylitol
People with certain health conditions may be more prone to having gas after eating certain foods. For example, excessive gas can occur in people with lactose intolerance when they eat dairy products like milk, cheese, ice cream, and yogurt. Similarly, someone with gluten sensitivity may develop gas and other symptoms after eating wheat or other grain products that contain gluten.
Is Gassy Food Bad?
Many foods that cause gas are also good for you. If you gradually add them to your diet, your body should adapt and produce less gas over time. Simply eat smaller portions when first starting and increase your intake gradually as you are better able to tolerate the foods.
2. Swallowing Air
Gas can occur when you swallow extra air. Although some of the air will be expelled from the mouth when you belch or burp, the rest may travel through the digestive tract—moving in pockets with stool—and emerge from the anus as a fart.
There are certain habits that can cause you to swallow excess air:
- Eating too fast
- Drinking too fast
- Smoking
- Chewing gum
- Sucking on hard candy
- Drinking carbonated drinks
Some mechanical causes, like wearing loose-fitting dentures, can cause you to swallow more air. So can the use of continuous positive airway pressure (CPAP) to treat sleep apnea.
Anxiety can also cause you to swallow more air as it increases your respiratory rate and may even lead to hyperventilation.
Farting is perfectly normal and it occurs in healthy people many times a day. Even up to 25 episodes per day should not be a cause for concern.
3. Constipation
Constipation can cause bloating and gas. When unpassed stool in the colon ferments, it can lead to painful gas and bloating. Other symptoms of constipation include:
- Having fewer than three bowel movements a week
- Straining to have a bowel movement
- Hard, pebble-like stools
- Feeling like you haven't had a complete bowel movement
4. Celiac Disease
Celiac disease is an autoimmune condition that causes the body's immune system to mistakenly attack the small intestine in the presence of gluten, a protein found in certain grains such as wheat and barley. Celiac disease can cause several uncomfortable symptoms, including:
- Excessive gas and bloating
- Chronic diarrhea
- Constipation
- Fatigue
- Abdominal pain
- Weight loss
- Nausea and vomiting
- Pale stool or foul-smelling stool
5. Digestive Disease
Other conditions of the digestive tract may have excess gas as a symptom. These include the following:
- Diverticulitis occurs when tiny pouches called diverticula, which can form in your colon, become inflamed. The condition can cause abdominal pain, nausea and vomiting, constipation, and bloating/gas.
- Ulcerative colitis is a type of Inflammatory bowel disease (IBD) that affects the large intestine and rectum. People with this condition may have gas and bloating along with other symptoms like bloody diarrhea, fever, frequent bowel movements, and weight loss.
- Crohn's disease is an autoimmune condition where your immune system mistakenly attacks the tissue in your gastrointestinal tract. It can cause gas and bloating along with abdominal pain, diarrhea, fever, anemia, and weight loss.
- Irritable bowel syndrome (IBS) is a common condition that causes a range of digestive symptoms including gas and bloating, diarrhea and/or constipation, mucus in the stool, and chronic pelvic pain.
- Dumping syndrome is a problem that sometimes occurs after gastric bypass weight loss surgery. It happens when food from the stomach is "dumped" directly into the small intestine without being digested. Symptoms can include bloating, sweating, abdominal pain, nausea, dizziness/fainting, and diarrhea.
- Gastroesophageal reflux disease (GERD) is a condition where stomach contents back up into the esophagus. Gas is not caused by GERD, but it can contribute to reflux symptoms.
- Gastroparesis is a condition where food remains in the stomach for longer than it should. This can lead to symptoms such as bloating and gas, nausea and vomiting, and upper abdominal pain.
- Small intestine bacterial overgrowth (SIBO) can cause gas and bloating. This condition occurs when there is too much bacteria in the small intestine.
6. Cancer
Certain cancers may cause gas as a symptom. These conditions may also have other subtle symptoms in the early stages.
- Colorectal cancer can cause changes in bowel habits, which can include diarrhea and constipation, bloody or black stools, and frequent gas, bloating, and abdominal pain. Any changes in bowel habits should be evaluated by a healthcare provider.
- Stomach cancer can cause gas and bloating, frequent burping, indigestion, and stomach pain.
- Pancreatic cancer doesn't always cause symptoms in the early stages. As it advances, it can cause indigestion, weight loss, and changes in bowel habits including bloating and gas.
- Ovarian cancer can cause gastrointestinal symptoms as fluid builds up in the abdominal cavity. Besides excessive gas, someone with this type of cancer might experience symptoms like indigestion and feeling full too soon after beginning a meal.
7. Diabetes
Diabetes can cause lower gastrointestinal symptoms such as flatulence, constipation or diarrhea, abdominal pain, and bloating. These symptoms tend to be associated with poorer blood sugar control.
Diet and lifestyle changes, along with improved blood sugar control, are treatment options. When the symptoms are due to diabetic gastroparesis, a common digestive complication, it can be treated with Reglan (metoclopramide).
8. Medications
Some over-the-counter and prescription drugs also can cause gas and bloating, including:
- Aspirin
- Antacids
- Diarrhea medicines, such as Imodium (loperamide) and Lomotil (diphenoxylate/atropine)
- Opioid pain relievers
- Fiber supplements and bulking agents, such as Citrucel, Fiberall, and Metamucil
- Multivitamins and iron supplements
Does the Smell Mean Anything?
The smell of a fart can vary based on the foods you eat. Most gas, such as nitrogen among others, is odorless. Foods high in sulfur—such as eggs, cabbage, beef, beans, and onions—can cause smells some describe as "rotten eggs" by expelling hydrogen sulfide. Soluble fiber found in fruits and vegetables can also cause gas, but the gas doesn't tend to smell as bad. On its own, the smell of a fart is not an indication of any disease or medical condition.
How to Treat Excessive Gas
In most cases, farting is not a cause for concern. Even so, there are steps you can take to help reduce gas if you are prone to frequent farting.
Lifestyle Changes
Excessive gas often can be treated by changing the way you eat or by avoiding foods and medications that cause gas. You can:
- Slow down while eating.
- Avoid gulping beverages.
- Take smaller bites and chew your food completely.
- Try peppermint tea.
- Stop chewing gum.
- Quit smoking.
- Avoid hard-to-digest foods
- Exercise more to boost healthy digestion.
To swallow less air, avoid drinking carbonated beverages and using straws. Gradually add some insoluble fiber into your diet and try not to lie down immediately after eating.
OTC Medication
There are also over-the-counter (OTC) medications and supplements that can help if gas is causing distress or is accompanied by bloating, cramping, and abdominal pain.
OTC treatment options include:
- Simethicone: This is an anti-foaming agent found in products like Gas-X.
- Beano: This a supplement that contains an enzyme called alpha-galactosidase (α-GAL) that breaks up gas-producing carbohydrates.
- Laxatives: These OTC medications can move food through the intestine faster, reducing fermentation, but are only intended for treating occasional constipation.
- Lactase supplement: This includes products like Lactaid that prevent digestive symptoms in people with lactose intolerance.
- Probiotics: These supplements contain healthy bacteria that help restore the natural flora of the gut. This, in turn, helps suppress bacteria and fungi that promote fermentation and gas.
You can also apply a heating pad to your belly whenever you're gassy. The heat will relax muscles in the large intestine, causing them to release trapped gas.
Prescription Medications
Excessive gas can occur due to an underlying condition, and you may need to be treated for diabetes, irritable bowel syndrome, cancer, or another condition. Your healthcare provider may prescribe medication for conditions that lead to gas.
Keep in mind that some treatments also can cause gas. Radiation therapy and chemotherapy for cancer may cause gas, constipation, diarrhea, and other digestive symptoms. Talk with your healthcare provider about how to manage symptoms that may be related to your care.
When to See a Healthcare Provider
If the frequency of farting concerns you, speak with your healthcare provider. It may help to keep a diary so that you can describe when and how often you experienced farting, including what you ate, when, and the amount.
It is especially important to see a healthcare provider—including a specialist known as a gastroenterologist—if gas and bloating are severe, persistent, or accompanied by:
- Severe abdominal pain and cramping
- Frequent diarrhea
- Chronic constipation
- Unintentional weight loss
Other symptoms to report to a healthcare provider can include mucus or blood in the stool, chronic heartburn, or vomiting.
Summary
Gas is a normal part of life, especially after you've eaten and your food is digesting. However, gas becomes excessive when you fart more than 25 times per day. This is usually caused by something you ate—or the way you ate—but could also be caused by a medical condition or certain drugs.
Talk to your healthcare provider if you have excessive gas or if frequent farting is making you uncomfortable. By changing the way you eat or avoiding certain foods or medicines, you may be able to bring the symptom under control. Some over-the-counter drugs and supplements can also help.