Gastropericardial fistulae are rare and may cause fatal complications such as acute purulent carditis and cardiac tamponade. The present report describes a case of a gastropericardial fistula caused by a peptic ulcer perforating a retrosternal reconstructed gastric tube 2 years after subtotal esophagectomy for esophageal cancer. Surgical intervention involved left thoracotomy, pericardium fenestration, and drainage of the pericardium and left thoracic cavity. The patient suffered postoperative complications including septic shock, acute respiratory distress syndrome, and cardiac insufficiency; however, he recovered after successful surgical intervention. In this case, the withdrawal of proton pump inhibitors and the patient's sustained drinking habit after esophageal replacement surgery may have caused peptic ulcers in the gastric tube. Early diagnosis and surgical treatment of gastropericardial fistulae are essential to avoid fatal complications.