Health Guides › Primary Care & Prevention
Costochondritis (chest wall pain)
Sources last checked: December 5, 2026
In this condition, the flexible tissue that joins the ribs to the sternum becomes swollen and painful. MedlinePlus lists it among frequent sources of chest discomfort, and a reason is often not identified. The ache usually sits at the front of the chest, flares with a deep breath or a cough, and hurts when that spot is pressed.[1]
1 Recommended diet
What guidelines describe about eating. Not a personal meal plan.
- The sources checked for this guide do not describe a specific diet for costochondritis.
2 Physical therapy and exercise
What guidelines describe about activity and therapy. Not an exercise prescription.
- MedlinePlus advises steering clear of movements that aggravate the discomfort. AAFP notes that a stretch of rest from those activities is commonly suggested.[1, 2]
- Possible triggers listed include vigorous workouts, lifting heavy objects, and the strain of a cough.[1]
- A clinician may suggest physical therapy. AAFP reports that a stretching program guided by a physical therapist was tied to a small drop in pain among people whose symptoms had lasted more than a year.[1, 2]
3 Integrative medicine approaches
Only what the cited evidence reviews or guidelines say, including where evidence is weak.
4 Medicines available
Types of medicines guidelines describe. Your clinician decides what fits you.
- Nonprescription anti-inflammatory pills such as ibuprofen or naproxen may lessen discomfort and swelling. MedlinePlus says people with heart, blood-pressure, kidney, or liver problems, or a history of ulcers or bleeding in the stomach or gut, should check with a clinician first.[1]
- A clinician may instead suggest acetaminophen when it is considered safe. MedlinePlus says this option is not for people who have liver disease.[1]
- Other options AAFP describes, though high-quality evidence is lacking, include anti-inflammatory gels, lidocaine patches, and capsaicin cream. AAFP notes that a corticosteroid injection may help when other measures have not.[2]
- MedlinePlus also says to check the caution statements on the package and stay within the amount listed there.[1]
5 Good questions to ask your doctor
Questions written for this site, each tied to a point in the sources.
6 Things to avoid
Items the cited sources warn about.
7 What your care team may do
Typical steps described in the sources. Not a prediction for any one person.
- The visit usually includes questions about the history and a check of the junction of the ribs and the sternum.[1, 2]
- Tenderness at the junction of the ribs and the breastbone often supports this diagnosis, but AAFP notes that chest-wall tenderness does not rule out a heart attack, so other tests (including a chest x-ray or a heart evaluation) may still be ordered.[1, 2]
- MedlinePlus says symptoms often ease over days to weeks, and sometimes last as long as a few months. AAFP reports that most people recover in a few weeks with conservative care, and one study found that 91% were pain-free after three weeks of rest and anti-inflammatory medicine.[1, 2]
- Once the diagnosis is made, MedlinePlus suggests getting back in touch with a clinician for difficulty breathing, a high fever, redness, pus, or swelling along the ribs, discomfort that stays or worsens despite pain medicine, or a sharp catch with each breath.[1]
- A separate MedlinePlus chest-pain topic says to seek emergency care for pain that will not let up, a crushing or tight feeling in the chest, or chest pain together with nausea, sweating, light-headedness, or shortness of breath.[3]
✓ Original sources
→ Related guides
Coronary artery disease (coronary heart disease) · Acid reflux and GERD (gastroesophageal reflux disease) · Acute bronchitis (chest cold)