Costochondritis or Heart Pain? How to Tell the Difference

    Emergency Medicine
    Published: October 26, 2026
    7 min read
    Medically reviewed by the Emergency Plus medical team

    Costochondritis pain is usually sharp, sits in one spot beside the breastbone and hurts when you press it or move; heart pain is more often pressure or squeezing.

    Call 911 for chest pain that spreads to the arm, jaw or back, or comes with breathlessness, sweating or nausea. A first episode needs checking; Emergency Plus is open 24/7.

    You twist to lift the shopping out of the car boot, or you've been coughing for a week after a cold, and then a sharp stab catches you in the chest every time you breathe in deeply. The first thought is obvious: is this my heart? Often the cause is the chest wall itself, specifically inflammation of the cartilage joining the ribs to the breastbone, called costochondritis. It's painful and worrying but not dangerous, and it settles with time. The catch is that it can feel like heart pain, and you can't reliably tell them apart on your own. This guide explains the differences, when to call 911, and how to look after yourself once a doctor has confirmed the diagnosis.

    Costochondritis vs heart attack: what's the difference?

    The table below sums up the usual patterns. They are patterns, not rules: heart attacks can show up in unusual ways, especially in women, older people and people with diabetes.

    FeatureCostochondritisHeart attackPericarditis or lung causes
    What the pain feels likeSharp, stabbing or aching, in one spot beside the breastbonePressure, tightness, squeezing or heaviness in the centre of the chestPericarditis: sharp pain, often eased by sitting forward. Lung causes: sharp pain on breathing in
    Pressing and movingTender when you press the spot; worse with twisting, lifting, deep breaths or coughingUsually not affected by pressing or position, but this alone doesn't rule it outOften worse with breathing or lying flat; not usually tender to touch
    Other symptomsUsually none; you otherwise feel wellPain spreading to the arm, jaw, neck or back; breathlessness, sweating, nausea, light-headednessFever, cough, breathlessness, a fast heartbeat or coughing up blood
    Usual courseSettles over days to weeks; sometimes a few monthsA medical emergency; every minute mattersNeeds a doctor to find the cause; some causes are emergencies
    Where to goA doctor for the first episode; then rest, heat and pharmacist adviceCall 911 nowER or same-day doctor; call 911 if breathing is hard

    For the full list of heart attack signs, including the less obvious ones, see heart attack warning signs. For a wider look at chest pain from the heart, lungs and stomach, see chest pain: when to go to the ER.

    What are the symptoms of costochondritis?

    Almost all the ribs are joined to the breastbone by cartilage, and when this cartilage becomes inflamed it causes pain at the front of the chest. Typical symptoms are:

    • Sharp, stabbing or aching pain at the front or side of the chest, often beside the breastbone and on one side.
    • Tenderness when you press where a rib meets the breastbone.
    • Pain that's worse with deep breaths, coughing, sneezing, moving your upper body or lying down.
    • Pain that sometimes spreads to the back or the stomach area.
    • Pain that eases when you keep still and breathe quietly.

    What is Tietze syndrome?

    Tietze syndrome is a rarer cousin of costochondritis. The pain is in much the same place, but there is also swelling you can see or feel over the rib joint, usually at a single upper rib. Costochondritis normally causes no swelling. Neither is dangerous, but a doctor is the one to confirm which you have.

    Does chest wall pain when pressing rule out the heart?

    No. This is the most important point in this guide. Pain you can bring on by pressing one spot does point towards the chest wall, but it doesn't exclude the heart: you can have chest wall pain and a heart problem at the same time, and a spot can become sore simply because you keep prodding it to test it. So never self-diagnose costochondritis for a first episode. See a doctor if the pain is new and unexplained, or if you have any heart risk factors: high blood pressure, diabetes, high cholesterol, smoking, a family history of heart disease, or being roughly over 40.

    When you're seen, the doctor will ask about the pain and examine your chest, and may request tests from the laboratory or a chest X-ray to rule out other causes. Once a doctor has confirmed the diagnosis, similar episodes later are easier to manage, as long as you get checked again if the pattern changes.

    When should you go to the ER for chest pain?

    Call 911 for

    • Chest pain that feels like pressure, squeezing or heaviness, or a tight chest.
    • Chest pain that spreads to your arm, jaw, neck or back.
    • Chest pain with breathlessness, sweating, nausea, light-headedness or fainting.
    • Chest pain with difficulty breathing and a fast heartbeat, or coughing up blood.
    • Sudden, severe chest or back pain that feels like something tearing inside.

    Don't drive yourself to the emergency department, and don't wait to see if the pain goes away.

    Go to the ER now

    • New, unexplained chest pain, even if it hurts when pressed, especially if you have heart risk factors.
    • Chest pain after a fall, a car accident or a hard blow to the chest.
    • Chest pain with a high fever and feeling generally unwell.
    • Chest pain that comes on with exertion and eases with rest.

    Urgent care or a doctor the same day

    • Swelling, redness or warmth over the ribs or breastbone.
    • Chest wall pain that's getting worse or isn't easing with painkillers.
    • Sharp pain with every breath.
    • Chest pain after days of coughing, with mild breathlessness.

    Usually fine at home

    • Chest wall pain a doctor has already diagnosed as costochondritis, and it feels like your previous episodes.
    • Pain in one spot that's worse with movement, and you otherwise feel well.
    • Pain that's slowly improving over the days, with none of the signs above.

    What causes costochondritis, and can vaping or anxiety cause it?

    Often no clear cause is found. Medical sources link it to a chest injury, hard exercise or heavy lifting, repetitive upper-body movements, a lot of coughing during colds, flu or chest infections, some types of arthritis and, rarely, infection.

    Vaping: there's no strong evidence that vaping directly causes costochondritis. But if vaping leaves you coughing a lot, the coughing itself can strain and irritate the chest wall. Bear in mind that chest pain with breathlessness in someone who vapes may be coming from the lungs; see vaping lung warning signs.

    Anxiety: anxiety doesn't inflame the cartilage itself, but it can cause chest tightness, tense chest muscles and fast breathing, and it makes you more aware of any pain. Because a panic attack can feel like a heart attack, read panic attack or heart attack? and don't assume the pain is anxiety the first time.

    How long does costochondritis last, and how do you treat it at home?

    Costochondritis usually settles by itself over days to weeks, though for some people it lasts a few months. Once a doctor has confirmed the diagnosis, these steps help:

    • Rest from strain. For now, avoid heavy lifting, workouts and the movements that set the pain off, and build back up gradually as it eases.
    • Heat on the sore area a few times a day may help; some people find a cold pack more soothing.
    • Painkillers: ask a pharmacist. Anti-inflammatories such as ibuprofen are often used, but they aren't suitable for everyone, for example people with stomach ulcers, kidney or heart disease or high blood pressure. Stick to the dose on the label.
    • Deal with the cough if that's the trigger, and get advice if it lasts more than three weeks.

    If the pain drags on or keeps coming back with certain movements at work or in sport, physiotherapy can help with how you move and a gradual return to activity. The physiotherapy clinic at Emergency Plus runs 9:00–20:00 daily with no referral and isn't open 24 hours; new chest pain belongs in the emergency department, which is open 24/7.

    New chest pain and not sure what it is?

    If the pain is crushing or spreads to your arm or jaw, or comes with breathlessness or sweating, call 911 and don't drive yourself. Otherwise, emergency physicians at Emergency Plus in Dabouq, Amman are on site 24/7 with no appointment needed, with an on-site laboratory and X-ray and an Arabic and English speaking team.

    Call us 24/7: +962 79 247 1313

    Sources

    Medical disclaimer: This article is for general information only and is not a substitute for professional medical advice, diagnosis, or treatment. If you think you are experiencing a medical emergency, call 911 or go to the nearest emergency department immediately. Emergency Plus in Dabouq, Amman is open 24/7 — +962 79 247 1313.

    Costochondritis FAQ

    There's no strong evidence that vaping directly causes costochondritis. What is known is that heavy or long bouts of coughing can strain and irritate the chest wall, and coughing is a recognised trigger. So if vaping or a chest infection has left you coughing a lot, sore ribs can follow. But chest pain in someone who vapes can also come from the lungs, so new pain, breathlessness or coughing up blood needs a doctor.
    MedlinePlus says costochondritis usually goes away by itself within a few days or weeks, and the NHS notes it can last from a few weeks to several months. Avoiding the movements that make it worse, using heat and taking pharmacist-advised painkillers can help it settle. See a doctor again if the pain is getting worse, isn't easing with painkillers, or you develop a fever or swelling over the ribs.
    Not on its own. Pain that you can reproduce by pressing on one spot points towards the chest wall, but it doesn't rule out a heart problem, and both can happen at the same time. MedlinePlus warns that costochondritis pain can feel similar to a heart attack. If this is a new chest pain, or you have heart risk factors, get checked before assuming it's costochondritis.
    Tietze syndrome is a rarer condition similar to costochondritis. The cartilage where a rib meets the breastbone becomes inflamed and painful, but there is also visible or felt swelling over the joint, usually at one of the upper ribs and on one side. It tends to affect younger adults and usually settles with time. Costochondritis, by contrast, normally causes tenderness without swelling. A doctor can tell them apart on examination.
    Anxiety isn't a recognised direct cause of costochondritis. However, anxiety and panic can cause chest tightness, fast breathing and tense chest muscles that ache, and worrying about chest pain can make you notice it more. Because anxiety-related chest pain and heart pain can feel alike, don't assume it's anxiety the first time. Get checked, and call 911 if the pain comes with breathlessness, sweating or spreads to your arm or jaw.
    Yes. Emergency physicians are on site 24/7 at Emergency Plus in Dabouq, west Amman, and you can walk in without an appointment. The doctor will ask about your pain and examine you, and may request tests from the on-site laboratory or X-ray. If your chest pain is crushing, spreading to your arm or jaw, or comes with breathlessness or sweating, call 911 rather than driving yourself.