Condition guide
Costochondritis: symptoms, causes, treatment and how long it lasts
Costochondritis is inflammation where your ribs join the bone in the middle of your chest (breastbone). It can cause sharp chest pain, especially when moving or breathing, and the pain may be worse when you press on the area. It usually gets better on its own, over a few weeks to several months. Chest pain should always be checked to rule out more serious causes.
Last checked: 2026-10-11
Key facts
At a glance.
-
What it is
The NHS describes costochondritis as inflammation where your ribs join the bone in the middle of your chest (breastbone).
-
Symptoms
Sharp pain in the front or side of the chest. The NHS says it may be worse when moving your upper body, lying down, breathing deeply or when you press the middle of your chest or your ribs.
-
How long it lasts
The NHS says it usually gets better on its own over time and can last for a few weeks to several months.
-
Treatment
Painkillers that help with inflammation, like ibuprofen, may be recommended. For very bad pain that does not improve, a steroid injection or local anaesthetic may be offered.
-
Causes
The NHS says it is not always known what causes it, but it has been linked to a chest injury, repetitive upper body movements such as lifting, a lot of coughing, and infection.
-
Get it checked
The NHS says you should always get medical advice for unexplained chest pain that does not go away, to rule out other, more serious conditions.
-
Emergency signs
Call 999 for sudden chest pain, pain spreading to the arm, neck or jaw, a tight chest, or chest pain with difficulty breathing, a fast heartbeat or coughing up blood.
What are the symptoms of costochondritis?
The NHS says costochondritis may cause sharp pain in the front or side of your chest. The pain may be worse in the situations below.
Because chest pain has many possible causes, including some that are serious, the NHS says it is important to get chest pain checked and not to assume it is costochondritis.
-
When you move your upper body.
-
When you lie down.
-
When you breathe deeply.
-
When you press on the middle of your chest, or your ribs.
What is costochondritis?
The NHS describes costochondritis as inflammation where your ribs join the bone in the middle of your chest, the breastbone (sternum). It can cause sharp chest pain, especially when moving or breathing.
NICE CKS lists costochondritis among the musculoskeletal causes of chest pain, alongside conditions such as rib fracture and spinal disorders. It is therefore a cause of pain in the chest wall rather than a problem with the heart or lungs, but a clinician needs to assess you to say so.
How is costochondritis treated?
The NHS says costochondritis usually gets better on its own, over time. Treatment is aimed at easing the pain while this happens.
| Treatment | What the NHS says |
|---|---|
| Time | It usually gets better on its own and can last for a few weeks to several months |
| Anti-inflammatory painkillers | Painkillers that help with inflammation, like ibuprofen, may be recommended to help with the pain |
| Steroid injection | If you have very bad pain that does not get better over time, you may be offered a steroid injection to help reduce inflammation |
| Local anaesthetic | May be offered to ease very bad pain that does not get better |
How long does costochondritis last?
The NHS says costochondritis can last for a few weeks to several months. It usually gets better on its own over time.
If the pain is very bad or does not get better over time, the NHS says you may be offered a steroid injection or local anaesthetic. Speak to a GP if pain is not settling or is getting worse.
What causes costochondritis?
The NHS says it is not always known what causes costochondritis, but it has been linked to the following.
-
An injury to your chest.
-
Repetitive upper body movements, like lifting.
-
Coughing a lot.
-
Infection.
Is it costochondritis or something more serious?
Chest pain has many causes and, as the NHS says, in most cases is not caused by a heart problem. It also says not to self-diagnose, but to see a GP if you are worried, and that you should always get medical advice for unexplained chest pain that does not go away.
The table gives the NHS descriptions of other common causes of chest pain, which is why a clinician needs to consider them before costochondritis is diagnosed.
| Chest pain pattern | Possible cause named by the NHS |
|---|---|
| Starts after eating, bringing up food or bitter fluid, feeling full and bloated | Heartburn or indigestion |
| Starts after chest injury or exercise, may be worse when you breathe in, better when resting the muscle | Chest sprain or strain |
| Sharp, continuous pain triggered by worries or stress, faster heartbeat, sweating, dizziness | Anxiety, depression or panic attack |
| Worse when you breathe in, coughing up yellow or green mucus, high temperature | Chest infection, pneumonia or pleurisy |
| Tingling skin, then a rash that turns into blisters | Shingles |
| Sudden, sharp, stabbing pain that gets worse when you breathe deeply or lie down | Pericarditis |
| Squeezing pressure, pain spreading to arm, neck, jaw, with sweating, sickness or breathlessness | Angina or a heart attack, which is an emergency |
When to get urgent help for chest pain
The NHS costochondritis advice says to get help from NHS 111 if you think you have costochondritis, because it is important to get chest pain checked to rule out other, more serious conditions.
It says to call 999 if you have any of the following, and not to drive yourself to A&E.
-
Chest pain that started suddenly, or spreads to your arm, neck or jaw, or your chest feels tight. This could be a heart attack.
-
Chest pain with difficulty breathing, your heart beating fast, or coughing up blood. This could be a pulmonary embolism.
-
Sudden chest or back pain that can feel like something being torn inside, and causes shortness of breath and problems with walking, vision and speaking.
What to expect from a GP or NHS 111 assessment
The NHS page on costochondritis does not describe specific tests. In general terms, NICE CKS says that to find the cause of chest pain a clinician takes a medical history and performs an examination, with further investigations arranged based on the suspected cause. It says emergency admission is needed for clinical features suggesting a serious cause, and that routine referral is appropriate for chest pain of unknown cause that persists despite management in primary care.
Depending on your symptoms and the suspected cause, further tests such as an ECG may be arranged to look for other causes. Do not delay seeking help for new or worrying chest pain.
NHS and private pathways
On the NHS, chest pain is assessed urgently through NHS 111, a GP or, where it could be serious, 999 and A&E. Costochondritis is usually managed in primary care with advice and painkillers, with injections considered if the pain is very bad.
Some people choose a private consultation for quicker access to an examination, ECG or imaging. A private clinic is not appropriate for sudden or severe chest pain, which needs the emergency route. In every case, tell your GP about the result so your records stay complete.
Frequently asked
Questions people ask.
Quick, plain-English answers to the questions we hear most.
-
What is costochondritis?
The NHS describes it as inflammation where your ribs join the bone in the middle of your chest (breastbone). It can cause sharp chest pain, especially when moving or breathing, and usually gets better on its own over time.
-
What does costochondritis pain feel like?
The NHS says it may cause sharp pain in the front or side of the chest. It may be worse when you move your upper body, lie down, breathe deeply, or press on the middle of your chest or your ribs.
-
How long does costochondritis last?
The NHS says it usually gets better on its own, over time, and can last for a few weeks to several months. See a GP if the pain is very bad or does not get better over time, as treatments such as injections can be considered.
-
What causes costochondritis?
The NHS says it is not always known, but it has been linked to a chest injury, repetitive upper body movements such as lifting, coughing a lot, and infection.
-
How is costochondritis treated?
The NHS says painkillers that help with inflammation, like ibuprofen, may be recommended. If you have very bad pain that does not get better over time, you may be offered a steroid injection or local anaesthetic to ease it.
-
Is costochondritis serious?
Costochondritis itself usually gets better on its own. The concern is that other, more serious causes of chest pain need to be ruled out, which is why the NHS says to get chest pain checked and to call 999 for emergency signs.
-
Can costochondritis be mistaken for a heart attack?
It can be, which is why chest pain must be checked. The NHS says to call 999 for chest pain that started suddenly, spreads to the arm, neck or jaw, or makes the chest feel tight, as this could be a heart attack.
-
Can coughing cause costochondritis?
The NHS lists coughing a lot as one of the things costochondritis has been linked to, along with chest injury, repetitive upper body movements such as lifting, and infection. It also says the cause is not always known.
-
Should I see a GP or call 111?
The NHS says to get help from NHS 111 if you think you have costochondritis, so chest pain can be checked to rule out other conditions. You should always get medical advice for unexplained chest pain that does not go away.
-
When is chest pain an emergency?
The NHS says to call 999 for sudden chest pain or tightness, pain spreading to the arm, neck or jaw, chest pain with difficulty breathing, a fast heartbeat or coughing up blood, or sudden severe chest or back pain with breathlessness. Do not drive yourself to A&E.
Where this comes from
Sources and checking.
This guide is for information, not medical advice.
Your GP or consultant knows your history and can tell you which parts apply to you. If your symptoms are severe, rapidly worsening, or come with red-flag features, seek urgent medical care. Figures and availability change, so treat them as a guide and confirm with the provider.
Published 2026-10-11, next review 2027-10-11.
-
NHS: Costochondritis, https://www.nhs.uk/conditions/costochondritis/ , retrieved October 2026
-
NHS: Chest pain, https://www.nhs.uk/symptoms/chest-pain/ , retrieved October 2026
-
NICE CKS: Chest pain, https://cks.nice.org.uk/topics/chest-pain/ , retrieved October 2026
Related guides
Keep reading.
-
Chest pain
Causes of chest pain and when to get help.
Read guide -
Tietze syndrome
A similar rib cartilage condition with swelling.
Read guide -
Angina
Chest pain from reduced blood flow to the heart.
Read guide -
Pericarditis
Inflammation around the heart that can cause sharp chest pain.
Read guide -
Pleurisy
Lung lining inflammation that hurts on breathing in.
Read guide -
Acid reflux
A common cause of burning chest discomfort.
Read guide -
Shingles
A painful rash that can start with chest pain.
Read guide -
ECG
A heart tracing used when chest pain is assessed.
Read guide -
Chest X-ray
Imaging used to look for lung causes of chest pain.
Read guide