Gut health

Can ibuprofen make you gassy?

It can. Gas and bloating are listed side effects of ibuprofen, and gas is listed for naproxen, another common anti-inflammatory painkiller. If you take one often and notice more gas, keep a simple log and take it to the clinician who prescribed or recommended it rather than stopping a prescribed medicine on your own.

Draft awaiting clinical review by Dr. Ambily Kushal, RD, MS, PhD. Not published on the live site until reviewed.

Why can ibuprofen cause gas?

Ibuprofen and other NSAIDs can irritate the stomach and the lining further down the gut. Their drug information lists gut side effects, including gas.

The official drug information for ibuprofen lists constipation, diarrhea, and gas or bloating among its more common side effects. Naproxen lists constipation, diarrhea and gas. These effects are usually mild, but they are worth noting if they began around the time you started taking a painkiller regularly.

NSAIDs are also a common cause of stomach ulcers, and an ulcer does not always cause sharp pain. It can show up as bloating or discomfort after meals. That is one reason ongoing gut symptoms on a regular painkiller deserve a conversation with your doctor.

What else could be causing the gas?

Most gas comes from swallowed air and from gut bacteria breaking down carbohydrates that were not fully digested. A new medicine is one clue among several.

  • Foods with fiber, some sugars and sugar substitutes, which gut bacteria ferment.
  • Eating quickly, chewing gum or drinking fizzy drinks, which add swallowed air.
  • Digestive conditions such as irritable bowel syndrome, lactose intolerance or SIBO, which a doctor diagnoses.

How does a dietitian work out whether the painkiller is part of it?

A dietitian lines up when you take the medicine, what you eat and when symptoms happen. The pattern goes to your prescriber, who decides about the medicine.

  • A two-week food, medicine and symptom log that records when you took each painkiller.
  • A look at the foods most likely to cause gas for you, changed one or two at a time rather than all at once.
  • Simple changes to how you eat, such as slower meals and fewer fizzy drinks, so the remaining pattern is easier to read.
  • A short written summary you can share with your doctor or pharmacist.

Should I stop taking ibuprofen?

Don’t stop or change a prescribed medicine on your own. Any change to a medicine is a decision for the clinician who prescribed it.

If it is an over-the-counter painkiller you chose yourself, ask a pharmacist or your doctor before switching, because other pain relievers carry their own risks. Bring your log and the full list of medicines and supplements you take to that pharmacist or doctor.

Which symptoms need a doctor right away?

Black or tarry stools, vomiting blood or material that looks like coffee grounds, or severe stomach pain need urgent care. These can be signs of bleeding.

Book a doctor visit soon if gas or bloating comes with weight loss you cannot explain, ongoing diarrhea or constipation, or symptoms that keep getting worse.

What patients say about this kind of care

One patient valued being asked strategic questions to get to possible root causes, which is how a medicine pattern gets noticed.

“She was very strategic, asking questions to get to the possible root causes”
Patient

One patient working on gut health valued being listened to and given clear information about what was going on.

“She listened to me and gave me so much important, vital information about my gut health.”
Patient working on gut health

One patient said they could now understand how one thing affects another, such as a daily medicine and gut symptoms.

“She took time to break down the science of it all. I can now understand how one thing affects the other.”
Patient

Excerpts from patient reviews of Dr. Ambily Kushal, quoted word for word. Each describes one person’s care; individual experiences vary and are not a promise of results.

Frequently asked questions

Does naproxen cause gas too?

It can. Gas is listed among the side effects of naproxen. Other NSAIDs carry similar stomach and gut warnings, so ask your pharmacist about the one you take.

Is gas from ibuprofen dangerous?

Gas on its own is usually not dangerous. It matters more when it comes with warning signs such as black stools, vomiting blood or severe pain, which need urgent care.

Can a dietitian tell me to stop my painkiller?

No. A dietitian can help you spot a pattern and bring it to your prescriber, but any change to a prescribed medicine is their decision.

Should I cut out high-fiber foods?

Not all at once. Fiber matters for gut health, and cutting many foods together makes it hard to see what helps. A dietitian changes one or two things at a time.

What should I bring to a first visit about gas?

A food and symptom log if you have one, plus a list of the medicines and supplements you take and when, for your dietitian and doctor to review. A first visit is $140, self-pay.

Work with a dietitian on this

Gut health dietitian care

The guide explains what that care involves, who it suits, when to see your doctor first, and what a month of care looks like.

Dietitians on CognitiveMind.ai who focus on gut and digestive health

See all 5 dietitians

Sources

  1. Ibuprofen: MedlinePlus Drug Information (MedlinePlus (National Library of Medicine))
  2. Naproxen: MedlinePlus Drug Information (MedlinePlus (National Library of Medicine))
  3. Symptoms & Causes of Gas in the Digestive Tract (NIDDK, National Institutes of Health)
  4. Symptoms & Causes of Peptic Ulcers (Stomach or Duodenal Ulcers) (NIDDK, National Institutes of Health)

Related reading

Our condition guides are general education, not medical advice. Talk with your doctor about your own diagnosis, tests and medicines.