Gastritis, stomach ulcers, bloating and frequent burping can produce uncomfortable sensations close to the chest. They may occur at the same time as heart palpitations, but digestive symptoms do not automatically mean that the stomach is causing an abnormal heart rhythm.
Gastritis, stomach ulcers, bloating and burping can occur alongside heart palpitations, but they are not established as common direct causes of cardiac arrhythmias. Digestive discomfort may be mistaken for a heartbeat sensation, while pain, anxiety, caffeine, alcohol or a large meal may contribute to both symptoms. More importantly, gastritis or peptic ulcers can sometimes cause gastrointestinal bleeding or iron deficiency, leading to anemia and a faster or more forceful heartbeat. Vomiting can also cause dehydration and electrolyte disturbances. Rare reports describe gastrointestinal conditions occurring together with documented arrhythmias, sometimes called gastrocardiac or Roemheld syndrome, but this remains an incompletely understood and under-studied diagnosis.
When Stomach Symptoms and Palpitations Need Urgent Care
Seek urgent or emergency medical care if palpitations or upper-abdominal symptoms occur with:
- significant chest pain or pressure;
- severe or sudden shortness of breath;
- fainting or collapse;
- severe dizziness or near-fainting;
- a sustained very rapid or markedly irregular heartbeat while feeling seriously unwell;
- vomiting red blood or material that looks like coffee grounds;
- black, tarry stool or obvious blood in the stool;
- sudden severe abdominal pain that does not go away;
- cold clammy skin, confusion or signs of shock;
- rapid pulse together with significant gastrointestinal bleeding; or
- rapidly worsening symptoms.
A bleeding ulcer can cause a rapid heart rate because of blood loss and circulatory stress. Do not assume this is simply a “gas palpitation.”
Can Gastritis Directly Cause Heart Palpitations?
There is not strong evidence that uncomplicated gastritis commonly causes an electrical heart arrhythmia.
Gastritis means inflammation of the stomach lining. Many people with gastritis have no symptoms at all.
When symptoms do occur, they may include:
- upper-abdominal pain or discomfort;
- burning or gnawing indigestion;
- nausea;
- vomiting;
- early fullness while eating;
- feeling overly full after eating;
- reduced appetite; or
- weight loss in some patients.
Heart palpitations are not a defining symptom of gastritis itself.
A patient can have gastritis and palpitations simultaneously because of a shared trigger, because the digestive symptoms increase stress and heartbeat awareness, or because another condition is responsible for the palpitations.
How Can Gastritis Be Connected With Palpitations Indirectly?
Pain and stress
Significant pain can activate the sympathetic nervous system and make the heart beat faster or more forcefully.
Anxiety
Unexplained upper-abdominal or chest sensations can trigger anxiety, which can increase heart rate and heartbeat awareness.
Vomiting and dehydration
Repeated vomiting can reduce circulating fluid volume and alter electrolyte balance, producing a faster heartbeat or other symptoms.
Bleeding and anemia
Erosive gastritis or ulcers may bleed. Significant or chronic blood loss can reduce hemoglobin and cause compensatory tachycardia.
Iron or B12 deficiency
H. pylori gastritis and autoimmune gastritis may interfere with iron absorption, while autoimmune gastritis can also cause vitamin B12 deficiency and pernicious anemia.
Shared triggers
Alcohol, caffeine, nicotine, large meals, stress or medicines may aggravate digestive symptoms while independently contributing to palpitations.
Can Burping Cause Heart Palpitations?
Belching is the release of swallowed air or gas from the upper digestive tract.
Peptic ulcers and other forms of dyspepsia may cause:
- belching;
- bloating;
- upper-abdominal discomfort;
- early fullness; and
- nausea.
Patients sometimes notice a sequence such as:
bloating → chest discomfort → palpitation → burping → relief.
That temporal relationship is interesting, but it does not prove that the gas directly created an arrhythmia.
Feeling Better After Burping Does Not Diagnose the Cause
Burping can reduce pressure and discomfort in the upper digestive tract, which may reduce anxiety or make chest sensations less noticeable.
An arrhythmia may also stop spontaneously at about the same time. Therefore, relief after belching should not be used as proof that the heart rhythm was caused by stomach gas.
Why Can Gas and Heart Palpitations Feel So Similar?
The stomach, lower esophagus, diaphragm and heart all occupy neighboring regions of the chest and upper abdomen.
Digestive sensations can therefore be perceived as:
- pressure beneath the breastbone;
- fluttering in the upper abdomen;
- movement beneath the ribs;
- chest fullness;
- brief internal “jumps”; or
- pressure that changes after burping.
Genuine heart palpitations can also produce fluttering, pounding, skipping or forceful sensations in almost the same region.
See our dedicated article on stomach gas and heart palpitations .
Can a Stomach Ulcer Cause Heart Palpitations?
A peptic ulcer is an open sore in the lining of the stomach or duodenum.
The most common causes are:
- Helicobacter pylori (H. pylori) infection; and
- use of nonsteroidal anti-inflammatory drugs such as aspirin, ibuprofen or naproxen.
Typical ulcer symptoms include:
- burning or dull upper-abdominal pain;
- bloating;
- belching;
- early fullness;
- feeling overly full after meals;
- heartburn; and
- nausea.
The ulcer itself is not generally considered a direct cause of palpitations.
The more important cardiovascular connection is ulcer bleeding.
Ulcer Bleeding, Anemia and a Racing Heart
Peptic ulcers and erosive gastritis can cause gastrointestinal bleeding.
When blood loss is substantial or continues slowly over time, hemoglobin can fall.
Reduced hemoglobin means the blood carries less oxygen.
The cardiovascular system may compensate by increasing heart rate and cardiac output.
Symptoms can include:
- heart palpitations;
- faster pulse;
- fatigue;
- weakness;
- shortness of breath;
- dizziness;
- lightheadedness; or
- fainting when bleeding is significant.
Know the Signs of Gastrointestinal Bleeding
Seek prompt medical attention for:
- black or tarry stool;
- red or maroon blood in the stool;
- vomiting red blood;
- vomit resembling coffee grounds;
- dizziness or fainting;
- rapid pulse with weakness; or
- signs of shock.
A racing heart in this situation may represent compensation for blood loss rather than a primary heart rhythm disorder.
Can H. pylori Gastritis Be Connected With Heart Palpitations?
H. pylori is a major cause of chronic gastritis and peptic ulcer disease.
A more established route between H. pylori gastritis and palpitations is indirect:
H. pylori gastritis → impaired iron absorption or gastrointestinal bleeding → iron-deficiency anemia → faster or more forceful heartbeat.
H. pylori should therefore be diagnosed and treated for appropriate gastrointestinal reasons rather than as a generic treatment for unexplained palpitations.
If an actual arrhythmia is present, it still needs appropriate cardiac evaluation regardless of whether H. pylori is also found.
Autoimmune Gastritis, Vitamin B12 and Palpitations
Autoimmune gastritis can interfere with the stomach’s ability to absorb vitamin B12 and may eventually lead to pernicious anemia.
It may also interfere with iron absorption.
Therefore, a patient with chronic gastritis plus:
- persistent fatigue;
- weakness;
- shortness of breath;
- dizziness;
- pale appearance; or
- persistent racing or pounding heartbeat
may need evaluation for anemia rather than assuming the stomach is directly stimulating the heart.
What Is Gastrocardiac or Roemheld Syndrome?
The term gastrocardiac syndrome, sometimes called Roemheld syndrome, has been used to describe patients in whom gastrointestinal symptoms appear closely associated with cardiac-like symptoms such as palpitations, chest discomfort or breathlessness.
Proposed associated gastrointestinal conditions have included:
- GERD;
- hiatal hernia;
- significant gastric distension or bloating; and
- other upper gastrointestinal disorders.
Proposed mechanisms include autonomic or vagal effects, inflammation and mechanical relationships between structures in the upper abdomen and chest.
The Evidence Is Still Limited
Gastrocardiac syndrome is not supported by the same level of evidence as established arrhythmia diagnoses such as atrial fibrillation or SVT.
The literature contains reviews, observational associations and unusual case reports, including patients whose arrhythmias improved after treatment of GERD or a large hiatal hernia.
These reports make the gut-heart relationship worth studying, but they do not establish that routine gastritis, gas or burping commonly causes an arrhythmia.
Do Not Self-Diagnose “Roemheld Syndrome” Before Excluding Cardiac Causes
Chest pain, fainting, shortness of breath and irregular heart rhythms can have important cardiovascular causes. A gastrointestinal explanation should not be used to bypass appropriate cardiac evaluation.
Related guides: hiatal hernia and palpitations and GERD and heart palpitations.
Why Do I Burp and Get Palpitations After Eating?
Meals can expose several possible triggers at the same time.
For example:
- a large meal may cause fullness and bloating;
- carbonated drinks can increase belching;
- coffee or energy drinks may provide caffeine;
- alcohol can worsen digestive symptoms and trigger arrhythmias in susceptible people;
- reflux may become more noticeable after eating;
- blood flow and autonomic activity change during digestion;
- anxiety about the symptoms may amplify heartbeat awareness; and
- an independent PAC or PVC may simply happen at the same time.
If palpitations reliably occur after meals, record what you ate, meal size, caffeine, alcohol, digestive symptoms and the exact time of the palpitation. A repeatable pattern can help guide evaluation.
Can Bloating or Burping Stimulate the Vagus Nerve and Cause Palpitations?
The vagus nerve participates in both gastrointestinal and cardiovascular regulation, which makes a gut-heart interaction biologically plausible.
However, it is too simplistic to say:
“Gas presses on the vagus nerve and causes heart palpitations.”
That mechanism has not been established as a routine explanation for ordinary gas or burping.
Rare gastrocardiac cases and research on GERD, hiatal hernia and autonomic pathways suggest that gastrointestinal conditions may influence rhythm symptoms in selected patients, but the underlying mechanisms remain uncertain.
Better Clinical Question
Instead of asking only:
“Is my vagus nerve causing this?”
ask: “What rhythm is my heart actually in when the digestive symptom occurs?”
How Can You Tell a Stomach Sensation From a Heart Palpitation?
| Clue | More compatible with digestive symptoms | More compatible with a palpitation |
|---|---|---|
| Belching | Common with bloating or indigestion | Not required |
| Burning upper-abdominal pain | May occur with gastritis or ulcer | Not a typical rhythm sensation |
| Matches pulse | Often no | Often yes, although premature beats may complicate pulse perception |
| Skipped beat / thump | Less typical | Common with PACs or PVCs |
| Sudden sustained racing | Does not fit ordinary burping alone | May indicate sinus tachycardia or an arrhythmia |
| Black stool or vomiting blood | Possible GI bleeding | Rapid pulse may occur secondarily from blood loss |
If you repeatedly feel a flutter or skipped beat and cannot tell whether it is coming from the digestive tract or the heart, capturing an ECG during the symptom is more useful than relying on location alone.
What About GERD or Esophageal Spasm?
Symptoms arising from the esophagus can be particularly difficult to distinguish from cardiac symptoms because the esophagus lies in the chest.
GERD may cause:
- burning behind the breastbone;
- acid regurgitation;
- upper-abdominal or chest discomfort; and
- throat symptoms.
Esophageal spasm can produce significant chest pain.
Neither condition should automatically be assumed when new chest pain occurs, particularly in someone with cardiovascular risk factors.
See: GERD and heart palpitations and esophageal spasm and palpitations.
Can Treating Gastritis or an Ulcer Stop Palpitations?
It may help if the digestive disorder is contributing indirectly.
Examples include:
- correcting blood loss and anemia;
- treating confirmed H. pylori infection;
- reducing persistent pain or vomiting;
- correcting dehydration; or
- treating a genuine gastrointestinal condition that repeatedly coincides with symptoms.
But acid suppression is not an established general treatment for cardiac arrhythmias.
Do Not Use Stomach Medicine as an Antiarrhythmic Treatment
Antacids, H2 blockers and proton-pump inhibitors treat specific digestive conditions. They should not replace ECG evaluation or appropriate treatment when an arrhythmia is suspected.
What Causes Gastritis and Stomach Ulcers?
Finding the digestive diagnosis is more useful than simply labeling all upper-abdominal symptoms “gastritis.”
H. pylori
H. pylori infection is an important cause of chronic gastritis and one of the two major causes of peptic ulcer disease.
NSAIDs
Aspirin, ibuprofen, naproxen and related medicines can damage the protective stomach lining and contribute to gastritis, ulcers and gastrointestinal bleeding.
Do Not Stop Prescribed Aspirin or Blood-Thinning Medicine on Your Own
If a medication may be contributing to stomach bleeding or ulcer symptoms, contact the prescribing clinician promptly. Abruptly stopping medication prescribed for cardiovascular disease can also carry serious risks.
Alcohol
Heavy alcohol exposure can irritate and damage the stomach lining and contribute to acute erosive gastropathy.
Autoimmune gastritis
The immune system attacks cells in the stomach lining and may eventually impair iron and vitamin B12 absorption.
Stress and Spicy Foods Are Often Misunderstood
Ordinary emotional stress and spicy food are not considered the major causes of peptic ulcers. H. pylori and NSAID use are much more important. Certain foods may nevertheless worsen symptoms in an individual patient.
How Are Digestive Symptoms With Palpitations Evaluated?
When both symptom groups are present, it may be necessary to evaluate both systems rather than choosing one explanation too early.
12-lead ECG
An ECG during the actual sensation can determine whether the rhythm is:
- normal sinus rhythm;
- sinus tachycardia;
- PACs or PVCs;
- atrial fibrillation;
- SVT;
- bradycardia; or
- another electrical abnormality.
A Holter, patch or event recorder may be useful when symptoms repeatedly come and go.
See heart palpitations despite a normal ECG .
Complete blood count
A CBC can identify anemia when gastrointestinal bleeding or chronic iron deficiency is suspected.
Iron and vitamin testing
Ferritin and other iron studies may help identify iron deficiency. Vitamin B12 testing may be appropriate when autoimmune gastritis or pernicious anemia is suspected.
H. pylori testing
Depending on the situation, H. pylori may be tested using:
- urea breath testing;
- stool testing; or
- biopsy obtained during upper endoscopy.
Upper gastrointestinal endoscopy
Endoscopy allows clinicians to examine the esophagus, stomach and duodenum and may be used when ulcers, gastritis, bleeding or another upper-GI disorder needs investigation.
Other heart testing
Echocardiography or additional cardiac evaluation may be appropriate when structural heart disease is suspected or a documented arrhythmia requires further assessment.
Dr. Albana’s Note
When a patient tells me, “My stomach fills with gas, I burp, and then my heart starts jumping,” I do not immediately tell them that stomach gas is pressing on the heart or stimulating the vagus nerve. I first clarify what the patient means by a palpitation. Is there a skipped beat? A sustained racing rhythm? Or a flutter in the upper abdomen that may actually be digestive movement? I also look for anemia, dehydration, heavy NSAID use, H. pylori risk and any signs of gastrointestinal bleeding. A genuine gut-heart relationship may exist in selected patients, but the safest approach is to document what the heart is doing during the symptom rather than assuming every meal-related palpitation begins in the stomach.
When Should You Make a Medical Appointment?
Arrange medical assessment when:
- palpitations keep occurring with digestive symptoms;
- the rhythm feels irregular;
- episodes repeatedly last several minutes or longer;
- the symptoms are becoming more frequent;
- you have persistent upper-abdominal pain;
- you have recurrent vomiting;
- you are losing weight unintentionally;
- you have difficulty swallowing;
- you have persistent fatigue or weakness;
- blood tests have shown anemia or low iron;
- you regularly use NSAIDs;
- you have a history of peptic ulcer or H. pylori infection;
- symptoms regularly occur after meals; or
- palpitations continue after the digestive symptoms have been treated.
For broader cardiac triage, see when to worry about heart palpitations .
Urgent Warning Signs
Seek urgent or emergency medical care for:
- significant chest pain or pressure;
- severe or sudden shortness of breath;
- fainting or collapse;
- severe dizziness or near-fainting;
- a sustained very rapid or markedly irregular heartbeat while feeling seriously unwell;
- vomiting blood;
- vomit resembling coffee grounds;
- black, tarry stool;
- large amounts of blood in the stool;
- sudden severe abdominal pain;
- rapid pulse with signs of major blood loss;
- confusion or signs of shock; or
- rapidly worsening symptoms.
Most Asked Questions
Can gastritis cause heart palpitations?
Gastritis is not established as a common direct cause of cardiac arrhythmias. It may be connected indirectly through pain, anxiety, vomiting and dehydration, gastrointestinal bleeding, iron deficiency or anemia.
Can a stomach ulcer cause heart palpitations?
An uncomplicated ulcer does not usually directly cause an arrhythmia. However, an ulcer that bleeds can cause anemia or significant blood loss, leading to a rapid or forceful heartbeat.
Can burping cause heart palpitations?
Burping and palpitations may occur together, but there is not strong evidence that ordinary belching directly causes an arrhythmia. Digestive pressure, anxiety, shared meal-related triggers or an unrelated premature heartbeat may explain the timing.
Why do my palpitations stop after I burp?
Burping may relieve upper-abdominal pressure and reduce discomfort or anxiety, making the heartbeat less noticeable. An intermittent palpitation can also stop spontaneously. Relief after burping does not prove that gas caused the heart rhythm.
Can trapped gas cause an irregular heartbeat?
Ordinary gas has not been established as a common direct cause of arrhythmia. Rare gastrocardiac cases have been described, especially with significant hiatal hernia, reflux or gastric distension, but the evidence is limited and other cardiac causes should be excluded.
Can H. pylori cause heart palpitations?
H. pylori gastritis can contribute to iron deficiency and may also cause peptic ulcers or gastrointestinal bleeding. If anemia develops, a faster or more forceful heartbeat may result. This is a clearer clinical pathway than assuming H. pylori directly causes an arrhythmia.
Can gastritis cause low iron and palpitations?
Yes. H. pylori gastritis and autoimmune gastritis can interfere with iron absorption, and erosive disease may also bleed. Iron-deficiency anemia can cause fatigue, breathlessness, weakness and palpitations.
Can autoimmune gastritis cause palpitations?
Autoimmune gastritis can impair absorption of iron and vitamin B12, potentially causing iron-deficiency or pernicious anemia. The resulting anemia may contribute to a racing or pounding heartbeat.
Can ulcers make your heart race?
Significant ulcer pain may temporarily increase heart rate, while gastrointestinal bleeding can cause a rapid pulse because of blood loss. A persistent racing rhythm still needs appropriate assessment.
Can acid reflux cause palpitations?
GERD and palpitations sometimes occur together, and observational studies have examined possible relationships with arrhythmias. However, reflux should not automatically be considered the cause of an irregular heartbeat.
What is Roemheld or gastrocardiac syndrome?
It is a term used for gastrointestinal symptoms occurring in close association with cardiac-like symptoms such as palpitations. Proposed mechanisms include autonomic effects, inflammation and mechanical factors, but the syndrome remains under-studied and should not be self-diagnosed before important cardiac conditions are excluded.
Can stomach gas stimulate the vagus nerve?
The vagus nerve participates in both digestive and cardiovascular regulation, but the popular explanation that ordinary trapped gas simply presses on the vagus nerve and causes an arrhythmia has not been established as a routine mechanism.
Can gastritis symptoms feel like heart palpitations?
Upper-abdominal movement, fullness, reflux and chest discomfort may be confused with cardiac sensations. Matching symptoms with the pulse or, more reliably, an ECG recording can help determine whether the heart rhythm actually changed.
Can a normal ECG rule out stomach-related palpitations?
A normal ECG recorded during the exact symptom is reassuring about the electrical rhythm at that moment. A normal ECG recorded after the episode ended does not exclude an intermittent arrhythmia.
When should stomach symptoms with palpitations worry me?
Seek urgent care for palpitations with chest pain, severe breathlessness, fainting, severe dizziness, vomiting blood, black tarry stools, major bleeding, severe persistent abdominal pain or signs of shock.
Related Heart Palpitation Guides
Medical References
- National Institute of Diabetes and Digestive and Kidney Diseases. Symptoms & Causes of Gastritis & Gastropathy. NIDDK .
- National Institute of Diabetes and Digestive and Kidney Diseases. Definition & Facts for Gastritis & Gastropathy. NIDDK .
- National Institute of Diabetes and Digestive and Kidney Diseases. Symptoms & Causes of Peptic Ulcers. NIDDK .
- National Institute of Diabetes and Digestive and Kidney Diseases. Symptoms & Causes of Gastrointestinal Bleeding. NIDDK .
- Mayo Clinic. Heart Palpitations: Symptoms and Causes. Mayo Clinic .
- Mayo Clinic. Heart Palpitations: Diagnosis and Treatment. Mayo Clinic .
- Javaid MU, et al. Exploring Roemheld Syndrome: A Comprehensive Review With Proposed Diagnostic Criteria. Herz. 2024;49(6):448-455. PubMed .
- Noom MJ, et al. Resolution of Roemheld Syndrome After Hiatal Hernia Repair and LINX Placement: Case Review. Cureus. 2023. PubMed .
About the Medical Team
Dr. Albana Greca, MBBS, MMedSc
Family Physician / General Practitioner
Dr. Albana Greca has more than 20 years of experience in primary care, general medicine, chronic disease management, prevention, patient education and digital health.
Dr. Benard Shehu, MBBS, MS
Cardiologist
Dr. Benard Shehu has more than 19 years of cardiovascular experience, including clinical experience relevant to arrhythmias and cardiovascular disease.