How to Avoid and Decrease Problems with Gas
Medically reviewed by Drugs.com. Last updated on May 4, 2025.
Problems with gas may be caused by certain foods, swallowing too much air, and certain medical conditions. Some of these conditions include surgery of the intestines, irritable bowel syndrome (IBS), and lactose intolerance. Lactose intolerance is a condition that prevents your body from digesting lactose (sugar in milk). You may be able to relieve gas, bloating, and discomfort by avoiding foods that cause gas. Changes in eating habits and physical activity may also help.
DISCHARGE INSTRUCTIONS:
Follow up with your doctor as directed:
Write down your questions so you remember to ask them during your visits.
How to avoid or decrease problems with gas:
Problems with gas may be caused by certain foods, swallowing too much air, and certain medical conditions. Some of these conditions include surgery of the intestines, irritable bowel syndrome (IBS), and lactose intolerance. Lactose intolerance is a condition in which your body is not able to digest lactose (sugar in milk). You may be able to relieve gas, bloating, and discomfort by avoiding foods that cause gas. Changes in eating habits and physical activity may also help.
Drugs used to treat this and similar conditions
Tylenol
Tylenol is a pain reliever and a fever reducer used to treat many conditions such as headaches ...
Ozempic
Learn about Ozempic (semaglutide) for type 2 diabetes treatment, weight management, cardiovascular ...
Paracetamol
Paracetamol (Panadol, Calpol, Alvedon) is a widely used over-the-counter painkiller and fever ...
Dilaudid
Dilaudid (hydromorphone) is a narcotic pain reliever used to treat moderate to severe pain ...
Qutenza
Qutenza patches are used to treat neuropathic pain associated with postherpetic neuralgia and ...
Urecholine
Urecholine is used for abdominal distension, urinary retention
OxyContin
OxyContin (oxycodone) is an opioid pain reliever used to treat moderate to severe pain. Includes ...
Percocet
Percocet (acetaminophen and oxycodone) is used to relieve moderate to severe pain. Includes ...
Hydrocodone
Hydrocodone (Hysingla ER and Zohydro ER) is used for around-the-clock treatment of severe pain ...
Guidelines to follow:
Not all common gas-forming foods affect everyone the same way. Try avoiding all gas-forming foods for a few weeks until you feel better. Next, try adding 1 gas-forming food back to your diet at a time. Continue to add 1 gas-forming food every few days until you find the foods that are causing problems for you. Avoid only the gas-forming foods that you know are causing problems for you. This will give you a bigger variety of foods to choose from so that you can eat a balanced diet. You may be able to tolerate small servings of some gas-forming foods.
Gas-forming foods:
- Vegetables and legumes:
- Dried beans, such as kidney, pinto, garbanzos, lima, and navy
- Dried peas, such as split peas and lentils
- Broccoli, brussel sprouts, cabbage, and cauliflower
- Cucumbers and green peppers
- Onions, leeks, and chives
- Pickles and sauerkraut
- Radishes, rutabaga and turnips
- Other foods:
- Apples, pears, and peaches
- Prunes and raisins
- Large amounts of whole grain foods, such as whole-wheat bread or cereal
- Beer, ales, and other drinks that contain alcohol
- Carbonated drinks, such as soda
- Mannitol and sorbitol are sugar alcohols that are added to food and sugar-free gums and candy
- Dairy foods: Milk and milk products such as cheese, yogurt, and ice cream can be gas-forming if you are lactose intolerant. Ask if you have lactose intolerance and need to avoid dairy foods.
Other changes you can make:
- Do not use straws or drink from bottles with narrow openings. Drink less soda, beer, and other carbonated drinks.
- Eat and drink slowly. Do not chew gum or suck on hard candies. Eating or sipping drinks too quickly, chewing gum or sucking hard candy may cause you to swallow too much air.
- Do not increase your fiber intake too quickly, because it may cause problems with gas. Increase the amount of fiber you eat slowly by eating 1 new high-fiber food every 2 or 3 days. This gives your body more time to get used to the fiber without causing gas problems. Most people can get used to a high-fiber diet over a period of several weeks.
- Ask about taking lactase enzyme pills if you have lactose intolerance. These pills help break down lactose. There are also lactose-free milk products that you can try. These can help you to decrease the gas and bloating caused by lactose.
- Physical activity may help you pass gas if you have problems with bloating.
© Copyright Merative 2025 Information is for End User's use only and may not be sold, redistributed or otherwise used for commercial purposes.
The above information is an educational aid only. It is not intended as medical advice for individual conditions or treatments. Talk to your doctor, nurse or pharmacist before following any medical regimen to see if it is safe and effective for you.
Learn more about How to Avoid and Decrease Problems with Gas
Care guides
Further information
Always consult your healthcare provider to ensure the information displayed on this page applies to your personal circumstances.