Costochondritis is a benign, self-limiting inflammation of the cartilage connecting your ribs to your breastbone. It can feel alarming because it causes sharp chest pain, but the core treatment is straightforward: pain relief, gentle stretching, and activity modification while the inflammation resolves on its own. Most cases clear up within a few weeks to a few months, though some people experience lingering symptoms for longer.
Pain Relief: Oral and Topical Options
Over-the-counter anti-inflammatory medications like ibuprofen and naproxen are the first-line choice for managing costochondritis pain. Acetaminophen is an alternative if you can’t tolerate anti-inflammatories. These won’t speed up healing, but they make the waiting period far more manageable.
Topical treatments are worth considering, especially if oral anti-inflammatories bother your stomach. Diclofenac gel, applied directly over the painful area, has been shown to be just as effective as oral anti-inflammatories for musculoskeletal pain, with dramatically fewer gut side effects. In one large study comparing the two forms, the topical group experienced abdominal pain at half the rate of the oral group (12% vs. 22%) and had far fewer dropouts due to digestive problems (6% vs. 16%). Topical diclofenac reaches your bloodstream at 5 to 17 times lower levels than the oral version, which explains the difference.
Other topical options include capsaicin cream, which works by depleting the nerve chemical responsible for transmitting pain signals, and lidocaine patches placed over the tender spot. Heat applied to the chest wall can also help loosen tight muscles and ease discomfort, particularly before stretching.
Stretches That Relieve Chest Wall Tightness
Gentle daily stretching of the chest and upper back muscles is one of the most effective things you can do for costochondritis. Tight pectoral muscles pull on the rib joints and make the pain worse, so opening up the front of the chest takes pressure off the inflamed cartilage. Aim to do these once a day, ideally after applying heat to the area.
Standing pec stretch: Stand in a doorframe with one hand on the frame above your head and the other at hip height. Lean your body forward until you feel a stretch across your chest. Hold for five slow breaths, then switch arms to stretch the other side.
Corner stretch: Face a corner with your elbows bent and one hand pressed into each wall at chest height. Lean forward until you feel a stretch across your chest and hold for 10 seconds.
Hands behind the head stretch: Sit in a chair with both feet flat on the floor. Interlace your fingers behind your head, squeeze your shoulder blades together, and push your chest outward. Adjusting the height of your hands on your head shifts the stretch between your shoulders and chest. Hold for 5 to 10 breaths.
Wall downward dog: Press your hands into a wall, then push your hips backward while bringing your head down between your arms. Keep a gentle bend in your arms and legs. You should feel a stretch from your armpits into your back and across your chest. Hold for 10 seconds, return to upright, and repeat 3 to 5 times.
Overhead side bend: Bring one arm overhead and lean to the opposite side, stretching the lateral trunk. Hold for five breaths, then repeat on the other side.
Activity Changes That Speed Recovery
Any movement that stresses the chest wall can aggravate costochondritis. Heavy lifting, push-ups, rowing, and other exercises that load the front of the chest are common culprits. You don’t need to stop exercising entirely, but you do need to modify. Lower body workouts and light cardio like walking are generally fine. The key test is simple: if it makes the pain worse, scale it back until the inflammation settles.
Everyday activities can be surprisingly irritating too. Wearing a seatbelt, hugging someone, carrying heavy bags, or even reaching overhead can reproduce the pain. Small adjustments help. Try padding the seatbelt strap with a folded towel, carrying bags on the less affected side, and being mindful of repetitive arm movements at work.
One important note: prolonged rest actually makes costochondritis worse, not better. Staying still for too long allows the chest muscles to stiffen, which increases pulling on the rib joints. Keep moving gently throughout the day, even when it’s uncomfortable.
Posture and Sleeping Position
Slouching rounds the shoulders forward and compresses the front of the chest, which puts more load on the inflamed cartilage. Sitting upright with your shoulders pulled slightly back opens the chest wall and reduces strain. If you work at a desk, set a reminder to check your posture every 30 minutes until it becomes habitual.
Sleeping can be tricky. Lying on the affected side puts direct pressure on the inflamed joints, while lying face down compresses the entire chest. Sleeping on your back or on the unaffected side, with a pillow hugged against your chest for support, tends to be the most comfortable position. Some people find that a slightly reclined position (propped up with pillows) reduces nighttime pain.
How Long Recovery Takes
Most cases of costochondritis resolve within several weeks, though it’s not unusual for symptoms to linger for a few months. The pain often comes and goes during that period rather than steadily improving in a straight line, so don’t be discouraged by flare-ups. They’re a normal part of the process and don’t mean you’re reinjuring yourself.
Some people develop a more persistent course, with symptoms lasting six months or longer. This is more common when there’s an ongoing aggravating factor, like poor desk posture, a physically demanding job, or a return to heavy exercise too soon. Identifying and addressing the trigger is usually what finally breaks the cycle.
When Chest Pain Isn’t Costochondritis
Costochondritis produces pain that’s localized to specific spots along the breastbone and can be reproduced by pressing on those spots or by certain movements. That reproducibility with touch is its hallmark feature. However, having chest wall tenderness doesn’t completely rule out other causes of chest pain, which is why a proper evaluation matters if you haven’t already had one.
Chest pain that radiates to both arms is a strong indicator of a cardiac event, carrying a likelihood ratio of 7.1 for heart attack. Pain accompanied by low blood pressure, shortness of breath, sweating, or lightheadedness warrants immediate medical attention. Costochondritis pain, by contrast, is typically sharp rather than pressure-like, worsens with movement or deep breathing, and doesn’t come with those systemic symptoms.
A related but distinct condition called Tietze syndrome looks similar but produces visible swelling over the affected rib joint. Costochondritis never causes swelling. If you can see or feel a lump at the painful spot, that’s a different diagnosis with a different management approach.
If Standard Treatment Isn’t Enough
For cases that don’t respond to over-the-counter anti-inflammatories, stretching, and activity modification, a doctor may offer a corticosteroid injection directly into the painful joint. This delivers a concentrated dose of anti-inflammatory medication to the exact source of the problem and can provide relief lasting weeks to months.
Physical therapy is another step up for stubborn cases. A therapist can identify specific muscle imbalances or postural patterns that keep re-aggravating the cartilage, and design a targeted program to correct them. This is particularly useful for people whose costochondritis keeps recurring.

