Overview
Everyone has gas. It's made when your body breaks down food, and you also swallow air when you eat and drink.
Bloating that comes and goes with meals is usually harmless. Bloating that doesn't go away, or keeps getting worse, can be a sign of a health problem.
When to get medical care
Causes
Common causes include swallowing air, constipation, overeating, acid reflux (GERD), irritable bowel syndrome, and trouble digesting milk (lactose) or other foods. Foods and sweeteners with fructose or sorbitol can cause gas, and so can some medicines. Less often, bloating comes from fluid in the belly, celiac disease, a problem with the pancreas, or a tumor, including ovarian cancer.
OwieClear has pages on 9 conditions that can cause bloating or gas. Each shows how soon to get care.
Common causes
- ConstipationOften treated at home
Having fewer bowel movements than usual or hard, difficult stools.
- Gas and indigestionOften treated at home
Gas, bloating, burping, and mild belly discomfort after eating.
- Lactose intoleranceOften treated at home
Trouble digesting the sugar in milk.
- Irritable bowel syndrome (IBS)See a doctor if it doesn't get better
A long-term condition that causes belly pain, bloating, and changes in bowel habits.
- Bowel obstruction (blocked intestine)May need emergency care
A blockage that stops food and gas from passing through the bowel.
- Celiac diseaseSee a doctor if it doesn't get better
An immune reaction to gluten, a protein in wheat, barley, and rye.
- Parasite diarrhea (giardia, cryptosporidium, or cyclospora)See a doctor if it doesn't get better
Gut infections from parasites in untreated water (lakes, streams, pools) or contaminated produce.
- Problems after fertility treatment (OHSS)Often needs care today
After fertility medicines or IVF, the ovaries can swell and leak fluid, causing belly bloating, pain, nausea, and fast weight gain.
- Small intestinal bacterial overgrowth (SIBO)See a doctor if it doesn't get better
Too many bacteria in the small intestine, causing bloating, gas, belly pain, diarrhea, and sometimes poor absorption of nutrients.
What you can do at home
- Eat slowly. Eating fast makes you swallow more air.
- Skip chewing gum and fizzy drinks.
- Cut back on foods that give you gas, like beans, lentils, cabbage, and onions.
- Limit sweeteners like sorbitol and foods high in fructose.
- Treat constipation. Soluble fiber like psyllium usually causes less gas than bran.
- Keep a food diary to find which foods set it off.
- If you smoke, quit.
Medicines
Over-the-counter simethicone (like Gas-X) may ease gas. Charcoal capsules can help too, but they turn your stool dark.
At the doctor
The doctor will check for causes that need treatment.
Questions you may be asked
- When the bloating happens, and whether it's linked to certain foods
- Your bowel habits
- Other symptoms, like pain, diarrhea, or weight loss
- Medicines, sugar-free gum or candy, and fizzy drinks
The exam
The doctor will look at and press on your belly.
Tests
- Blood tests, including a test for celiac disease
- An ultrasound or CT scan of the belly
- A breath test for lactose intolerance
Check your symptoms
Most symptoms have more than one possible cause. The symptom checker looks at all of your symptoms together, plus your age, and shows how soon to get care.
Sources
Last updated 2026-11-13.