Why Do I Keep Burping and My Stomach Hurts?

Persistent burping paired with stomach pain usually signals that something is irritating your upper digestive tract, whether that’s excess air, stomach acid backing up, or inflammation in the stomach lining itself. The combination is extremely common. Roughly 8% of people worldwide meet the criteria for functional dyspepsia, a catch-all diagnosis for recurring upper stomach discomfort with no visible structural cause, and many more experience these symptoms occasionally from dietary triggers or stress.

The good news is that most causes are manageable once you identify what’s driving the cycle. Here’s what’s most likely going on.

Swallowing Too Much Air

The simplest explanation is also the most overlooked. Every time you swallow, a small amount of air travels down into your stomach. Certain habits dramatically increase that volume: eating or drinking quickly, chewing gum, sucking on hard candy, drinking through a straw, smoking, or talking while eating. Carbonated drinks like soda and beer deliver air directly into your stomach with every sip.

When enough air accumulates, your stomach stretches. That stretch triggers both the urge to burp and a dull, pressure-like ache in your upper abdomen. This pattern is called aerophagia, and it’s classified as a functional gastrointestinal disorder. Your digestive tract is structurally fine, but the trapped air causes real discomfort, bloating, and repeated belching. If you use a CPAP machine for sleep apnea, that’s another common culprit. The pressurized air can leak into your esophagus and stomach, especially during swallowing, leading to the same bloating and pain cycle.

The fix here is behavioral. Slow down when you eat, skip the carbonation, and notice whether you’re unconsciously gulping air during anxious moments. Many people swallow air more frequently when stressed without realizing it.

Acid Reflux and GERD

Acid reflux is one of the most common reasons burping and stomach pain show up together. When stomach acid flows back into your esophagus, it creates a burning sensation in your chest or upper stomach. But it also triggers a reflex: you swallow more frequently to clear the acid from your esophagus, and each of those extra swallows brings more air into your stomach. The result is a feedback loop of acid irritation, more swallowing, more trapped air, and more burping.

If this happens more than twice a week, it’s generally classified as gastroesophageal reflux disease (GERD). You might also notice a sour taste in the back of your throat, a feeling of food coming back up, or worsening symptoms after large meals or when lying down. Fatty foods, coffee, alcohol, chocolate, and spicy dishes tend to relax the valve between your esophagus and stomach, making reflux worse.

Gastritis and H. Pylori Infection

Gastritis, or inflammation of the stomach lining, produces a gnawing or burning pain in the upper abdomen along with frequent burping, nausea, and a feeling of fullness after eating only a small amount. The inflammation disrupts normal digestion and can increase gas production in the stomach.

One of the most common causes of gastritis is a bacterium called H. pylori, which infects the stomach lining and can persist for years without treatment. It’s the leading bacterial cause of stomach ulcers, chronic gastritis, and duodenal ulcers. Risk factors include living in crowded households, drinking untreated water, and eating frequently outside the home. Many people carry the infection without knowing it, experiencing only vague symptoms like burping and mild stomach discomfort.

Diagnosis typically involves a breath test, stool test, or a biopsy taken during an endoscopy. If H. pylori is confirmed, the current recommended treatment is a 14-day course of combination antibiotics with an acid-reducing medication. Older treatment regimens have fallen out of favor because antibiotic resistance has dropped their success rate to as low as 30% in some cases. The newer protocols are significantly more effective, but you need to complete the full two weeks.

Gastritis can also be caused by overuse of anti-inflammatory painkillers like ibuprofen or aspirin, heavy alcohol use, or autoimmune conditions. If you’ve been taking painkillers regularly and notice worsening stomach pain with burping, that connection is worth paying attention to.

Foods That Trigger Gas and Pain

Certain foods are well-known gas producers, and when gas builds up in the stomach and upper intestine, it causes both burping and cramping. The usual suspects include:

  • Beans and lentils
  • Cruciferous vegetables like broccoli, cauliflower, cabbage, and Brussels sprouts
  • Dairy products if you have any degree of lactose intolerance
  • Fructose, found naturally in some fruits and added to soft drinks and processed foods
  • Sugar alcohols like sorbitol, common in sugar-free gum, candy, and protein bars
  • Bran and high-fiber cereals, especially if you’ve recently increased your fiber intake

What triggers gas for one person may not affect another at all. If you suspect food is the issue, keeping a simple log of what you eat and when symptoms flare can help you narrow it down within a week or two. Lactose intolerance is particularly worth investigating because it’s easy to test for and very common, affecting a large portion of adults worldwide.

Bacterial Overgrowth in the Small Intestine

Small intestinal bacterial overgrowth, or SIBO, happens when bacteria that normally live in the large intestine migrate upward and multiply in the small intestine. These bacteria ferment food earlier in the digestive process than they should, producing excess gas that causes bloating, burping, abdominal cramps, and altered bowel habits. About two-thirds of people with SIBO report abdominal distension, excessive gas, and a persistent feeling of fullness.

SIBO is more likely if you’ve had abdominal surgery, have a condition that slows gut motility (like diabetes or hypothyroidism), or frequently use acid-suppressing medications. It’s diagnosed with a breath test that measures hydrogen and methane levels after drinking a sugar solution. If your symptoms include diarrhea or alternating diarrhea and constipation alongside the burping and pain, SIBO is a reasonable possibility to explore with your healthcare provider.

Functional Dyspepsia

Sometimes all the tests come back normal and the symptoms persist anyway. This is functional dyspepsia, a diagnosis that applies to roughly 7 to 8% of the global population. It’s more common in women (about 9%) than men (about 7%), and it’s more prevalent in developing countries.

Functional dyspepsia means your stomach is unusually sensitive to stretching, acid, or normal digestive activity, even though there’s no visible damage or infection. Stress and anxiety play a significant role, likely through the gut-brain connection that makes your digestive system more reactive during periods of emotional strain. Treatment usually involves a combination of dietary changes, stress management, and sometimes low-dose medications that calm the nerve signals between your gut and brain.

Symptoms That Need Urgent Attention

Most burping and stomach pain is uncomfortable but not dangerous. However, certain patterns signal something more serious. Sudden, severe abdominal pain that doesn’t ease within 30 minutes can indicate a perforated ulcer, gallstones, or another acute condition. Continuous vomiting alongside the pain, blood in your stool or vomit, unexplained weight loss, difficulty swallowing, or a fever with abdominal tenderness all warrant prompt evaluation.

Pain that starts vague and then localizes to the lower right abdomen could indicate appendicitis. Upper abdominal pain that radiates to the back, worsens after eating, and comes with nausea and fever may point to pancreatitis. These conditions need emergency care, not a wait-and-see approach.

What You Can Do Right Now

If your symptoms are mild and recurring, a few changes often make a noticeable difference within days. Eat slowly, chew with your mouth closed, and avoid talking during meals. Cut back on carbonated drinks and chewing gum. Eat smaller, more frequent meals rather than large ones, which reduces the amount of stretching your stomach has to handle at once.

Over-the-counter gas relief products containing simethicone (sold under names like Gas-X) work by breaking up gas bubbles so they’re easier to pass. They’re safe and inexpensive, though clinical evidence for their effectiveness is limited. For acid-related symptoms, antacids or acid-reducing medications can help, but using them regularly for more than two weeks without improvement is a sign you need a proper evaluation to rule out H. pylori, an ulcer, or another treatable cause.