Some people experience heart pain when they cough. The heart is located in the chest area, so when you feel heart pain, it may not necessarily be a heart problem, but also a problem with other organs. 1. Pneumonia may cause a cough accompanied by heart pain. Pneumonia affects the chest tissues and when a person coughs, these damaged chest tissues are stretched and naturally pain is felt. When you have pneumonia, you should not self-medicate, but need to go to the hospital and have a treatment plan developed by your doctor. 2. Bronchitis may also lead to heartburn when coughing. As some patients cough for too long and with a high frequency, it causes muscle strain in the chest area. When the muscle is strained, the nerve will feel pain when the muscle is strained again when coughing. If you encounter this situation, you can take some pain medication after consulting your doctor. 3, coughing heartache may also be induced by pleurisy. Pleurisy causes patients to experience heart pain, chest tightness and coughing, and this pain is usually associated with coughing or breathing. If these symptoms occur together, then it may not be a simple cough, but pleurisy. Coughing heartburn can also be caused by having both cough and myocarditis. As to what exactly is the cause of the coughing heartache, it is still necessary to have a detailed examination at the hospital to be sure.