Question: what does it mean when you cough and your rib cage hurts?
Answer: If you feel a sharp pain when you cough, this can be a sign that you have strained one of the muscles that connect neighboring ribs, called intercostal muscles. Your intercostal muscles lie between your ribs and attach them to one another. They also stabilize your upper body and help you breathe.