Lung pain when coughing is commonly caused by pulling on the lungs, infection, and muscle pain. 1. Pulling on the lungs: violent coughing, resulting in violent contraction of the lungs, which in turn causes frictional pain in the pleura. 2. Infection: Inflammatory reactions such as pneumonia or tuberculosis of the lungs lead to irritation or pulling of the pleura which causes pain in the lungs. Since the dirty pleura has no nerves, only inflammation that reaches the level of the wall pleura will cause pulling pain. Treatment should be preferred to anti-infective therapy, such as penicillin. 3. Muscle pain: when coughing violently, due to the local intercostal muscles contracted violently, muscle soreness or lead to chest and rib localized pain. Cough-induced pain, we should consult a doctor in time, after clarifying the cause of the disease, standardize the use of medication under the guidance of the doctor.