Costochondritis and Tietze Syndrome: Telling Chest Wall Pain From Heart Pain, How Long It Lasts, Which Painkillers Help
💔 A sharp pain in the front of the chest is one of the most frightening things a person can feel, and the first thought is almost always the heart. In a large share of adults with chest pain, the real source is the chest wall itself: the cartilage that joins the ribs to the breastbone. This condition is called costochondritis, and a less common swollen form is called Tietze syndrome. 🔍 This guide explains how chest wall pain differs from heart pain, which checks a doctor does first, how long the pain tends to last, and how to use simple medicines such as ibuprofen, naproxen, diclofenac gel and paracetamol safely, plus stretches, heat and the red flags that mean the chest needs urgent attention.
🩻 What costochondritis is, and what it is not
🦴 Each rib is joined to the breastbone (sternum) by a strip of flexible cartilage. Where the bone of the rib meets the cartilage, and where the cartilage meets the sternum, there are small joints. Costochondritis is irritation and inflammation of these joints, which makes them tender to press and painful to move. It is not an infection in most cases, it does not damage the heart or lungs, and it does not turn into anything more serious. 📖 Older articles sometimes use the word “chest wall syndrome” or “anterior chest wall pain” for the same picture.
🤔 The difficulty is that the pain sits right over the heart, so it causes real fear. Costochondritis is a diagnosis made after more dangerous causes have been considered, not before. That is why a first episode of chest pain, especially in someone over 35 or with heart risk factors, deserves a medical check even if the pain feels muscular.
⚖️ Costochondritis or Tietze syndrome?
🔎 The two names are often mixed up. The key difference is visible swelling: Tietze syndrome causes a firm, tender lump over one rib joint, while costochondritis causes tenderness without any swelling. Both are treated in much the same way, but the pattern helps a doctor decide how much testing is needed.
💡 Swelling can last longer than the pain in Tietze syndrome, sometimes for months. A new lump on the chest wall should always be shown to a doctor, because a small number of swellings in this area come from infection or, rarely, a tumour of the cartilage or bone.
💬 What the pain feels like
📌 People describe costochondritis as a sharp, stabbing or aching pain at the front of the chest, close to the breastbone. The pain gets worse with certain movements and with pressure on the spot, which is the most useful clue. It may spread a little across the chest or into the shoulder, but it rarely travels down the arm or into the jaw the way heart pain can.
- 📌 Worse on deep breaths, coughing, sneezing or laughing
- 📌 Worse when twisting, reaching up, lifting or pushing
- 📌 Worse lying on the front or on the sore side
- 📌 Pressing on the joint brings back the same pain the person has been feeling
- 📌 Often present at rest, then flares with movement during the day
🧬 Why it happens: common triggers
🔍 In many people no single cause is found. Repeated strain on the rib cage is the most common trigger, and often the person can link the start of the pain to a week of heavy coughing, a new gym routine or moving house.
🧫 A small group of cases are true infections of the cartilage, usually after chest surgery, an injection into a vein or a wound. Infected cartilage causes redness, heat, swelling and often fever, which is a different picture from ordinary costochondritis and needs prompt medical care. People who also have widespread body pain may find that chest wall tenderness is part of a broader pain condition; see fibromyalgia: why it hurts everywhere.
❤️ The first question: could this be the heart?
🚨 Before anyone settles on costochondritis, the heart, lungs and large blood vessels need to be considered. Tenderness on pressing the chest does not rule out a heart attack: a small share of people with heart disease also have a tender chest wall. Doctors look at the whole picture: age, risk factors, the type of pain and what brings it on.
| 🔎 Feature | 🩻 Chest wall pain | ❤️ Heart pain (angina, heart attack) |
|---|---|---|
| Type of pain | Sharp, stabbing, pinpoint | Pressure, tightness, heaviness, squeezing |
| Pressing the chest | Reproduces the same pain | Usually no change |
| Movement and breathing | Clearly worse with twisting, deep breath | Not much change with position |
| Effort, stairs, cold air | Little link | Brought on by effort, eases with rest |
| Spread | Local, sometimes to the shoulder | Arm, jaw, neck, back, upper stomach |
| Other symptoms | Usually none | Sweating, nausea, breathlessness, faintness |
📖 Heart pain that comes on with effort is explained in angina: types, symptoms and treatment. If there is any doubt, treat the pain as cardiac until proven otherwise and call emergency services rather than waiting to see if it passes.
🤚 How a doctor examines the chest wall
🧑⚕️ Doctors also check the skin. A band of burning pain on one side, followed by a rash a few days later, points to shingles rather than costochondritis; see shingles: more than a skin rash.
🧪 Tests that may be done
📋 There is no blood test or scan that proves costochondritis. Tests are used to rule out other causes, and how many are needed depends on age, symptoms and risk.
🧭 Other chest wall causes that look similar
🔍 Several other problems also cause pain that changes with movement or pressure. Telling them apart matters because some need a different treatment.
| 🔎 Condition | 📋 Clues | 🧭 What usually helps |
|---|---|---|
| Rib fracture or bruise | Clear injury, very sharp point pain, bruising | Pain relief, breathing exercises |
| Slipping rib syndrome | Pain at the lower ribs, clicking or popping | Avoiding triggers, sometimes a nerve block |
| Pulled chest muscle | Pain along a muscle after effort, worse when using the arm | Rest from the trigger, gradual use |
| Pleurisy | Sharp pain on breathing, often with a viral illness or fever | Treat the cause, anti-inflammatories |
| Shingles | Burning band on one side, rash appears later | Antivirals started early |
| Reflux | Burning behind the breastbone, after meals or lying down | Acid-reducing medicines |
⏳ How long costochondritis lasts
📅 This is the question most patients ask after hearing the diagnosis. Most cases improve within a few weeks, but it is common for some soreness to linger for two or three months, and a minority have pain on and off for a year or longer. Flares can return after another bad cold or a heavy workout. The pain usually becomes less sharp and more of a dull ache as it settles.
💊 The first-line plan: anti-inflammatory tablets
📋 Non-steroidal anti-inflammatory drugs (NSAIDs) are the usual first choice. They reduce both pain and the low-grade inflammation in the rib joints, and a short regular course tends to work better than taking a tablet only when the pain is bad. A typical plan is a regular dose with food for 1 to 2 weeks, then a review. If the pain is clearly better, the dose is reduced or stopped; if not, the diagnosis is looked at again.
📖 A wider comparison of common painkillers and who should avoid NSAIDs is in which painkiller to choose. Only one NSAID should be taken at a time: combining ibuprofen with naproxen or diclofenac raises side effects without better relief.
🟦 Ibuprofen: a short course with food
💊 Ibuprofen is the most familiar option and has one of the lower stomach risks among NSAIDs at usual doses. For chest wall pain, adults commonly take 400 mg three times a day with food, which is within the usual non-prescription limit of 1200 mg daily. A doctor may advise up to 600 mg three times daily for a short time if pain is strong and there are no risk factors. 📆 It acts within about an hour and lasts 6 to 8 hours, which suits people whose pain is worse in the daytime.
📋 How it is commonly used
💊 400 mg up to 3 times daily, with or after food
⏱️ Doses spaced at least 6 hours apart
📅 Regular for 7 to 14 days, then review
⚠️ Watch for
➖ Indigestion, stomach pain, black stools
➖ Rising blood pressure, ankle swelling
➖ Wheeze in people with aspirin-sensitive asthma
➖ Can weaken the heart-protective effect of low-dose aspirin if taken just before it
🟪 Naproxen: fewer doses a day
🕒 Naproxen lasts longer than ibuprofen, so it is taken twice a day. A common adult dose is 250 to 500 mg twice daily with food, which many people find easier to keep up during a regular course. Its effect on the heart and blood vessels appears to be among the more neutral of the traditional NSAIDs, which is one reason some doctors prefer it for people with mild heart risk who still need an anti-inflammatory. Its stomach risk is a little higher than low-dose ibuprofen.
Twice daily dosing, steady relief through the night
Slightly more stomach upset than ibuprofen
Naprosyn (Naproxen)
🧴 Diclofenac tablets and diclofenac gel
🧴 Because the inflamed joints sit just under the skin, a topical NSAID can reach them well. Diclofenac gel rubbed gently over the tender spots three to four times a day gives real relief with far less of the drug reaching the bloodstream, so stomach, kidney and blood pressure effects are much smaller than with tablets. It is a sensible first step for older adults and for anyone who cannot take NSAID tablets easily. Wash the hands afterwards and avoid broken skin.
⚠️ Diclofenac tablets work well but carry a higher heart and blood vessel risk than ibuprofen or naproxen. They are best avoided by anyone with heart disease, a past stroke or poor circulation in the legs, and used for the shortest time possible by everyone else.
🟩 Meloxicam and celecoxib: once-daily options
📆 For people who need anti-inflammatory treatment for several weeks, or whose stomach does not tolerate ibuprofen, a doctor may suggest a once-daily drug. Meloxicam is taken as 7.5 mg once a day, increased to 15 mg if needed, and is gentler on the stomach than many older NSAIDs at the lower dose. Celecoxib, a COX-2 selective drug, causes fewer stomach ulcers again, usually at 200 mg a day, as one dose or split into two.
💡 Neither drug is free of risk to the heart and kidneys, and celecoxib should not be used by people allergic to sulfonamide medicines. The once-daily convenience is useful, but the same rules on blood pressure and kidney function apply.
💊 Paracetamol when NSAIDs are not suitable
🟢 Paracetamol (acetaminophen) does not reduce inflammation, but it does ease pain and is safe for the stomach, heart and kidneys at normal doses. Adults usually take 500 mg to 1 g up to four times a day, with no more than 4 g in 24 hours, and lower limits for people with liver disease, heavy alcohol use or low body weight. It suits people who cannot take NSAIDs, and it can be combined with an NSAID gel. Check cold and flu remedies for hidden paracetamol to avoid a double dose. ✅ Paracetamol 500mg
🛡️ Protecting the stomach on an NSAID course
🔥 NSAIDs reduce the protective lining of the stomach. For people over 65, those with a past ulcer or bleed, and those also taking aspirin, steroids, SSRIs or blood thinners, doctors usually add a proton pump inhibitor such as omeprazole 20 mg once daily, taken before breakfast, for as long as the NSAID is used. Taking the tablet with food helps with indigestion but does not prevent ulcers on its own.
⚠️ Who should avoid or limit NSAID tablets
| 🚫 Situation | 📝 Why |
|---|---|
| Active or past stomach ulcer or bleeding | High risk of a new bleed |
| Heart failure, recent heart attack, stroke | Fluid retention, higher clot risk |
| Kidney disease | Can reduce kidney blood flow and function |
| Uncontrolled high blood pressure | Pressure tends to rise further |
| Taking warfarin or other anticoagulants | Much higher bleeding risk |
| Asthma worsened by aspirin or NSAIDs | Can trigger an attack |
| Pregnancy, especially from 20 weeks | Effects on the baby kidneys and heart vessels |
💡 People taking blood pressure tablets such as ACE inhibitors or water tablets need extra care, because the combination with an NSAID can strain the kidneys, especially during dehydration. A pharmacist can check the full list of medicines in a few minutes.
🚫 Why tramadol and other opioids are rarely needed
💊 Tramadol is an opioid painkiller that is sometimes prescribed for moderate to severe pain when simpler medicines fail. For costochondritis it is rarely the right choice, because the pain comes from inflamed joints that respond to anti-inflammatory treatment, local measures and time. Opioids do not treat the inflammation, and the pain often lasts weeks, which is exactly the setting where dependence becomes a real risk.
📌 If chest pain is so severe that a strong painkiller seems necessary, that alone is a reason to recheck the diagnosis rather than to escalate the medicine. Severe pain is not typical of simple costochondritis.
🔥 Heat, ice and daily habits
♨️ Simple local measures add to the effect of medicines. Most people find warmth more soothing than cold for chest wall pain: a warm shower, a heat pad on a low setting or a warm wheat bag for 15 to 20 minutes a few times a day. Some prefer a cold pack in the first days after a strain. Either is fine as long as there is a cloth between the pack and the skin.
🧘 Stretches that help the chest wall
🤸 Once the sharpest pain has eased, gentle stretching helps the rib joints move more freely. Stretches should feel like a mild pull, never a sharp stab; if one brings back the original pain, stop it and try again a few days later. Repeat each two or three times, once or twice a day.
🌬️ Breathing, coughing and sleep
😮💨 Many people start to breathe shallowly to avoid the pain, which leaves the chest stiff and the person tired and anxious. A few slow, deep breaths every hour keep the rib cage moving and the lungs clear, especially after a chest infection. When a cough is the trigger, treating the cough is part of treating the pain. Holding a folded pillow firmly against the chest during a cough or sneeze supports the sore joints and reduces the jolt.
- 🛏️ Sleep on the back or the pain-free side, with a pillow to hug for support
- 🛏️ A long-acting option such as naproxen taken with the evening meal may help night pain
- 🛏️ Avoid sleeping flat on the front until the tenderness eases
- 🛏️ A warm shower before bed relaxes the chest muscles
💉 When pain does not settle
📅 If pain is still significant after 4 to 6 weeks of sensible treatment, the first step is to review the diagnosis: look again for an inflammatory arthritis, an injury, a nerve problem or a cause outside the chest wall. If the picture still fits costochondritis, a doctor may offer a local injection of a steroid with a numbing medicine into the most tender joint, which helps some people with long-lasting pain. A physiotherapist can also work on the upper back, ribs and posture, which often contribute to stubborn cases.
Inflammatory markers, X-ray or scan if not done
Steroid with local anaesthetic into one joint
Posture, upper back mobility, breathing work
😰 Costochondritis and the fear loop
🧠 Chest pain and worry feed each other. Fear of a heart problem makes the chest muscles tense and the breathing shallow, which makes the chest wall hurt more, which then feels like proof that something is wrong. Some people check their pulse many times a day or press the sore spot repeatedly to see if it is still there, which keeps it irritated. Once a doctor has confirmed the heart is fine, accepting the diagnosis and leaving the spot alone is part of getting better.
Sharp pain when turning
“Is this my heart?”
Tight muscles, shallow breaths
Pressing the spot, pulse checks
Irritated joints, stiff chest
📖 If chest pain comes in sudden waves with a racing heart, breathlessness and a sense of doom, panic attacks may be part of the picture; see panic disorder: when fear hits fast.
🗿 Myths and facts about chest wall pain
📅 A realistic recovery timeline
Heart ruled out, gel and NSAID started, triggers paused
Pain less sharp, tablets reduced, stretches begin
Mild ache with effort, gradual return to sport
Occasional flares after coughs or heavy lifting
🏋️ Returning to the gym is best done in steps. Start with lighter weights and fewer chest-loading exercises, and increase only if the next morning is no worse. Running, cycling and walking are usually fine early on, while push-ups, bench press and swimming butterfly or front crawl are often the last to return.
🚨 When to call for help
⛔ Call emergency services now if chest pain comes with:
🔹 Pressure, tightness or heaviness, especially spreading to the arm, jaw, neck or back.
🔹 Sweating, nausea, breathlessness, fainting or a feeling of doom.
🔹 Sudden breathlessness with sharp pain on breathing, coughing blood or a swollen calf.
🔹 Tearing pain that goes through to the back.
📅 See a doctor within days if: the pain is new and you are over 35 or have heart risk factors; there is fever, redness or a hot swelling over the ribs; pain followed an injury; pain wakes you every night; or you have unexplained weight loss.
📖 People who have already had a heart attack or a stent should never assume new chest pain is muscular; see after a heart attack or stent: the first year.
❓ Frequently asked questions
What is costochondritis?
It is inflammation of the cartilage joints where the ribs meet the breastbone. It causes sharp chest pain that is tender to press and worse with movement, but it does not harm the heart or lungs.
How can I tell costochondritis from a heart attack?
Chest wall pain is sharp, local and reproduced by pressing. Heart pain is usually pressure or tightness, may spread to the arm or jaw, and comes with sweating or breathlessness. If in doubt, call emergency services.
What is the difference between costochondritis and Tietze syndrome?
Tietze syndrome causes a visible, firm swelling, usually over one joint of the second or third rib. Costochondritis causes tenderness without swelling, often over several joints.
How long does costochondritis last?
Most cases improve within a few weeks, some soreness can linger for two to three months, and a minority have flares for a year or longer.
Is ibuprofen or naproxen better for costochondritis?
Both work. Ibuprofen is taken up to three times daily and has a slightly lower stomach risk; naproxen is taken twice daily. The choice depends on age, stomach and heart health.
Does diclofenac gel work for chest wall pain?
Yes, the inflamed joints lie close to the skin, so gel applied three to four times a day can ease pain with fewer side effects than tablets.
Is tramadol used for costochondritis?
Rarely. Opioids do not treat the inflammation and carry risks of drowsiness, constipation, seizures and dependence. Severe pain is a reason to recheck the diagnosis.
Can I exercise with costochondritis?
Walking and gentle stretching help. Pause push-ups, heavy lifting and other chest-loading exercises until the pain eases, then return gradually.
Can anxiety cause costochondritis?
Anxiety does not inflame the rib joints, but it causes muscle tension and shallow breathing that make chest wall pain feel worse and last longer.
When should I see a doctor about chest wall pain?
For any new chest pain if you are over 35 or have heart risk factors, and promptly for fever, a red hot swelling, pain after injury, night pain or pain lasting beyond 4 to 6 weeks.
📑 Sources and editorial
- 📘 Primary care guidance on the assessment of acute chest pain
- 🩻 Clinical reviews of costochondritis, Tietze syndrome and chest wall syndromes
- ❤️ Cardiology guidelines on ruling out acute coronary syndrome
- 💊 Prescribing information and safety reviews for ibuprofen, naproxen, diclofenac, meloxicam and celecoxib
- 🧴 Reviews of topical NSAIDs for musculoskeletal pain
- 🛡️ Guidance on gastroprotection with proton pump inhibitors during NSAID use
- ⚠️ Safety communications on tramadol and opioid use in non-cancer pain
- 📖 Related reading: which painkiller to choose, angina, fibromyalgia, shingles, panic disorder
- 🛒 Related products: Motrin (Ibuprofen), Naprosyn (Naproxen), Emulgel (Diclofenac), Jonac (Diclofenac Gel), Voltaren (Diclofenac), Mobic (Meloxicam), Celebrex (Celecoxib), Paracetamol 500mg, Prilosec (Omeprazole)
- 🩺 RXshop Editorial Team — reviewed by Emily Chen, MD — Internal medicine
Medical Disclaimer: The information in this article is for educational and informational purposes only and is not a substitute for professional medical advice, diagnosis, or treatment. Always seek guidance from a qualified healthcare provider with any questions you may have regarding a medical condition, and before starting, stopping or changing any medication.