Skip to main content
Also available in 4 other languages

العربيةไทยTiếng Việt简体中文

Beginner 8 min read

Costochondritis or Cancer? Chest Wall Pain Explained

Chest pain has many causes. Learn how costochondritis differs from chest pain that needs a cancer workup, and which symptoms need help right away.

This is general education — it cannot tell you what to do in your situation.

Instructions and urgent-contact thresholds vary by treatment and care team. If you are in treatment, follow the instructions your oncology team gave you, and contact them about any new or worsening symptom. If you think you may be having a medical emergency, call your local emergency number.

Source:MedlinePlus

Review status: AI-assisted, source checked. Not reviewed by a clinician. How we check pages

The short answer

This page explains the difference between costochondritis and chest wall pain that needs a cancer workup. It is general education, not individual medical advice.

  • Costochondritis is a common cause of chest pain, and it is inflammation of rib cartilage, not cancer.

  • A provider who finds tenderness where a rib meets the breastbone may diagnose costochondritis. Do not diagnose chest pain on your own.

  • NCI notes that cancer often does not cause pain, so a lack of pain is not proof that all is well either.

  • MedlinePlus says to call 911 or go to the emergency room right away for chest pain. The pain of costochondritis can be similar to the pain of a heart attack.

Choose how you want to read this

The whole article, with every detail and caution.

This page is for anyone with a sore spot on the chest wall who is worried it could be cancer. It explains costochondritis, other causes of chest pain, and when to get help.

Costochondritis is inflammation of the cartilage that connects a rib to the breastbone, and MedlinePlus calls it a common cause of chest pain. MedlinePlus says that if the area where the ribs meet the breastbone is tender and sore, costochondritis is the most likely cause. Still, chest pain is never a symptom to shrug off. MedlinePlus says the pain of costochondritis can be similar to the pain of a heart attack. A provider needs to examine chest pain.

What is costochondritis?

The ribs attach to the breastbone through pieces of cartilage, which is firm, flexible tissue. When that cartilage becomes inflamed, the result is costochondritis.

Often there is no known cause. MedlinePlus lists several possible triggers: an injury to the chest, hard or strenuous exercise, a viral infection, and strain from bouts of coughing. MedlinePlus also names infections after surgery as a possible cause.

The pain has a recognizable pattern.

  • It is sharp and felt at the front of the chest wall. It may spread toward the back or belly.
  • It gets worse with a deep breath or a cough.
  • There is tenderness when you press the spot where the rib joins the breastbone.
  • It eases with rest and quiet breathing.

That last exam finding matters. Pressing on the joint and reproducing the pain is how a provider recognizes costochondritis.

How is chest wall pain different from cancer pain?

Cancer pain does not have one single pattern, so the honest answer starts with context. NCI is direct about it: symptoms like these are most often caused by illness, injury, benign tumors, or other problems. A benign tumor is a growth that is not cancer.

NCI adds a point that cuts the other way. Often, cancer does not cause pain, so do not wait to feel pain before seeing a doctor. In other words, pain is neither proof of cancer nor is its absence proof of health. For general symptoms, NCI asks you to watch persistence: if a symptom does not get better after a few weeks, see your doctor so problems can be found and treated early. Do not wait that long with chest pain. See the section below.

Costochondritis usually follows the opposite course. MedlinePlus says the pain often goes away in a few days or weeks, though it can take up to a few months. MedlinePlus lists avoiding activities that make it worse, hot or cold compresses, and over-the-counter pain relievers. Ask your provider before taking any pain reliever, because some people should not take ibuprofen or naproxen.

So the practical difference is behavior over time. A tender spot that eases with rest and fades over weeks fits costochondritis. A change that persists, returns, or comes with other unexplained changes deserves a visit. Our page on cancer symptoms covers the changes doctors want to hear about.

What else causes chest pain?

MedlinePlus groups the causes by body system, and most have nothing to do with cancer.

  • Heart and blood vessels. Angina or a heart attack, which can feel like tightness, heavy pressure, squeezing, or crushing pain. Also pericarditis, which is inflammation of the sac around the heart.
  • Lungs. Pneumonia can cause sharp pain that worsens with deep breathing or coughing, and pleurisy usually feels sharp too. A blood clot in the lung or a collapsed lung can also cause chest pain. Sudden sharp pain with shortness of breath needs 911.
  • Digestive system. Heartburn, spasms of the esophagus, gallstones, and stomach ulcers.
  • Muscles, bones, and nerves. Costochondritis, strained muscles or tendons, and shingles.

This is why a provider may order a chest x-ray or other tests even when costochondritis seems likely. Tests help rule out serious causes such as heart and lung problems.

How is the cause found?

The visit usually starts with an exam. Tenderness when the provider presses where the rib joins the breastbone supports costochondritis. The story matters too: recent coughing fits, new exercise, an injury, or a viral illness all point toward an inflamed joint.

If the pattern does not fit, or if anything suggests the heart or lungs, tests come next. Getting checked is not overreacting. It is how a cause gets found and confirmed. If a symptom still worries you after a normal visit, say so. Our guide a symptom is not a diagnosis explains how to ask for a clear follow-up plan.

When to get help sooner

Chest pain should not wait for a scheduled visit. MedlinePlus gives clear lines.

  • Call 911 or go to the emergency room right away if you have new chest pain. MedlinePlus says the pain of costochondritis can be similar to the pain of a heart attack, so do not decide the cause on your own. Do not drive yourself.
  • Call 911 if you have sudden crushing, squeezing, tightening, or pressure in your chest; pain spreading to the jaw, left arm, or between the shoulder blades; or pain with nausea, dizziness, sweating, a racing heart, or shortness of breath.
  • Call 911 if sudden sharp chest pain with shortness of breath starts, especially after a long trip, bed rest, or other time without moving, or if one leg is swollen. This can signal a blood clot that has moved to the lung.
  • Call 911 if you know you have angina and the chest discomfort is suddenly stronger, comes on with lighter activity, lasts longer than usual, or happens at rest.
  • Call 911 if you have trouble breathing, gasping, or a feeling that you cannot get enough air (MedlinePlus).
  • Contact your provider right away if you have a fever or are coughing up yellow-green phlegm, if severe chest pain does not go away, if you have trouble swallowing, or if any chest pain lasts longer than 3 to 5 days.
  • If costochondritis has been diagnosed, call back right away if the pain gets worse or keeps going after pain medicine, you feel sharp pain with every breath, or you see pus, redness, or swelling around your ribs.
  • If you are getting chemotherapy, a temperature of 100.4°F (38°C) or higher means you should call your care team right away, day or night. Do not wait to see if it passes. Chills or other signs of infection need the same right-away call, even without a fever (CDC).

NCI says any symptom that has not improved after a few weeks needs a visit. That is the outer limit for general symptoms. For chest pain, use the shorter steps above.

Sources

Woman gestures toward her chest while describing symptoms to a clinician taking notes in an exam room.

Common questions

Is costochondritis a sign of cancer?

Costochondritis is inflammation of the cartilage that connects a rib to the breastbone, not a tumor. MedlinePlus does not list cancer among its causes. But chest pain has many causes, so a provider needs to examine it. MedlinePlus lists it among the musculoskeletal causes of chest pain, alongside strained muscles, and says it often has no known cause. It can follow a chest injury, hard exercise, a viral infection, or strain from coughing.

How long does costochondritis last?

MedlinePlus says the pain often goes away in a few days or weeks, though it can take up to a few months. It lists avoiding activities that make the pain worse, hot or cold compresses, and over-the-counter pain relievers. It says to talk with your provider before using ibuprofen or naproxen if you have heart disease, high blood pressure, kidney or liver disease, or past stomach ulcers or internal bleeding. It says people with liver disease should not take acetaminophen. If you are in cancer treatment, ask your care team before taking any pain reliever.

When is chest wall pain worth a doctor visit?

Chest pain can be an emergency. MedlinePlus says to call 911 or go to the emergency room right away for chest pain, because the pain of costochondritis can be similar to the pain of a heart attack. After costochondritis has been diagnosed, it says to contact your provider for trouble breathing, a high fever, pus, redness or swelling around the ribs, or pain that continues or gets worse after pain medicine. NCI's rule of seeing a doctor after a few weeks is for general symptoms. Do not wait that long with chest pain.

Does cancer cause chest pain?

It can. NCI lists chest discomfort or pain among the signs of lung cancer. But NCI stresses that symptoms like these are most often caused by illness, injury, benign tumors, or other problems. NCI also notes that cancer often does not cause pain at all, which is why it advises not waiting for pain before getting a persistent change checked.

Questions to ask your doctor

Being prepared helps you get the most out of your appointments. Save or print these questions.

Open my question list

Tap a question to save it to your list (kept on this device).

Your next step

Plain-language definitions for both sides of the comparison.

Look up related terms
Talk to a person

Talk with a trained specialist or navigator

Cancer Explained provides educational guidance, but does not replace trained specialists, social workers, or your medical team.

Free & Confidential

Talk to a trained cancer information specialist

Free, confidential assistance from NCI Cancer Information Service via phone, chat, or email.

Contact your oncology team

Locate after-hours contact numbers, portal messages, or urgent triage phone lines.

Find a patient navigator

Get one-on-one help with appointments, logistics, translation, and care coordination.

Find a genetic counselor

Discuss inherited mutation risk, family history, and genetic testing options.

Find an oncology social worker

Access emotional counseling, family support groups, and mental health resources.

Find a financial navigator

Locate copay assistance foundations, grant programs, and lodging/travel support.

Find a clinical-trial specialist

Search matching studies and speak with NCI trial information specialists.

Get urgent help

Fever of 100.4°F (38°C) or higher during chemo, severe pain, or trouble breathing: call your cancer care team right away, day or night. Call 911 for an emergency.

Know someone who needs this?

Plenty of people are looking for something like this and do not know where to start. If this would help a friend or someone you love, send it on — we have written an opening line so you do not have to stare at an empty message. You can change every word of it.

Email itText itWhatsApp

Your message is written and sent in your own email or messaging app — we never see who you send it to, and nothing is added to any list.

Prepared by Cancer Explained's AI-assisted editorial system

Written from federal health agency material and compared with the source cited below.

Plain-language explanation of the published sources cited on this page. AI-assisted, source-checked, not clinician-reviewed.

Sources last checked: 2026-08-21 what this meansLast updated: 2026-09-29Next planned review: 2027-02-21

Review details and limits

Cancer Explained does not originate medical claims. Every page restates guidance already published by the National Cancer Institute, the CDC, the USPSTF and the FDA, in plain language, with the source cited so you can check the original yourself. AI does the translating and organizing; automated checks test claims, citations, clarity and safety before anything publishes, and this is translation and navigation, not clinical judgment. Nothing here is personal medical advice, and no page can account for your particular situation.

Editorial status — Source checked. This page was written with AI assistance and then compared with the sources listed on it, looking for statements those sources do not back up. That check is not a sentence-by-sentence record and can miss errors. It is not a medical review, and it does not confirm the page is complete or right for your situation.

High-risk topic — talk to your care team. This topic can involve urgent, individual medical decisions. This page is general education only: it cannot tell you whether your situation is an emergency or what you personally should do. Follow your oncology team's instructions and contact them for individual guidance.

Human medical review: not completed. Pages here are not signed off by a clinician before they publish. That is not an oversight we are quietly working around: we restate published guidance and cite it, so the authority belongs to the source rather than to us, and every page names where its claims come from — you can verify us instead of trusting us. Where a volunteer clinician has reviewed a page, their name and credentials appear on it; where no name appears, no clinician has checked it. We are glad to have reviewers and are recruiting them, and we do not hold pages back waiting for one. Use this site to understand your situation and to ask better questions of the people treating you.

Our editorial processHow we use AIReport an error

More on this topic

Words to know

Tap any term to see what it means.

Browse the full glossary →

How this page was created

Cancer Explained does not originate medical claims. Every page restates guidance already published by the National Cancer Institute, the CDC, the USPSTF and the FDA, in plain language, with the source cited so you can check the original yourself. AI does the translating and organizing; automated checks test claims, citations, clarity and safety before anything publishes, and this is translation and navigation, not clinical judgment. Nothing here is personal medical advice, and no page can account for your particular situation.

Editorial status: Source checked — This page was written with AI assistance and then compared with the sources listed on it, looking for statements those sources do not back up. That check is not a sentence-by-sentence record and can miss errors. It is not a medical review, and it does not confirm the page is complete or right for your situation.

Human medical review: not completed. Pages here are not signed off by a clinician before they publish. That is not an oversight we are quietly working around: we restate published guidance and cite it, so the authority belongs to the source rather than to us, and every page names where its claims come from — you can verify us instead of trusting us. Where a volunteer clinician has reviewed a page, their name and credentials appear on it; where no name appears, no clinician has checked it. We are glad to have reviewers and are recruiting them, and we do not hold pages back waiting for one. Use this site to understand your situation and to ask better questions of the people treating you.

Read more about our editorial process, our use of AI, and our corrections policy.

Spotted a problem? Report an error — a factual mistake, broken or outdated source, confusing wording, or anything that seems unsafe. Please do not include names, medical record numbers, dates of birth, addresses, or other identifying medical information in your report.

After using this page, do you understand what to do next?

Anonymous — we only record the answer, never who gave it.