Whether or not a bad stomach affects the heart depends on the specific situation.1. Mild short-term stomach discomfort does not affect the heart, and in the anatomical position, the stomach is separated from the heart by the diaphragm. So if there is a history of stomach problems, followed by a feeling of heart discomfort, it is also because the heart itself has hidden lesions. Gastric disease as a predisposing factor promotes the occurrence of heart disease.2. Prolonged suffering from chronic gastric disease can lead to a lack of nutrients in the body, which in turn aggravates the burden on the heart and can lead to cardiac discomfort.3. Much of the occurrence of gastric disease is caused by Helicobacter pylori infection, which not only causes gastric discomfort, but also leads to heart arrhythmia. It is important to note that the heart is a very important organ of the human body, whether it is not gastric discomfort caused by cardiac discomfort or the heart itself, you need to go to the hospital to do an electrocardiogram and timely treatment.