Chest pain when coughing may be caused by pleurisy, which is usually induced by colds and coughs, and common symptoms include coughing, chest pain, shortness of breath, chest tightness, and even dyspnea in serious cases. The degree of chest pain varies greatly, patients only have chest pain when coughing or taking a deep breath, or coughing or taking a deep breath may cause chest pain symptoms to persist or even worsen, for chest pain due to pleurisy, patients should pay more attention to rest, and need to be actively treated at the same time. In addition, pneumothorax is also one of the causes of chest pain when coughing, pneumothorax is typically characterized by sudden chest pain, followed by dyspnea, chest tightness, and may be accompanied by symptoms of irritating cough, if pneumothorax triggered by chest pain, the patient needs to fully inhale oxygen and bed rest, and should also try to minimize the speech.