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.
Pain that gets worse when you press on the spot where a rib meets the breastbone points toward costochondritis.
NCI notes that cancer often does not cause pain, so a lack of pain is not proof that all is well either.
Sudden crushing or squeezing chest pain is an emergency; call 911 rather than trying to sort out the cause yourself.
Choose how you want to understand this
The full explanation.
Pain in the chest wall that flares when you press on it is far more likely to be costochondritis than cancer. Costochondritis is inflammation of the cartilage that connects a rib to the breastbone, and MedlinePlus calls it a common cause of chest pain. Still, chest pain is never a symptom to shrug off, because a few causes are emergencies.
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 signature, which is why 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. What NCI asks you to watch is persistence: if a symptom does not get better after a few weeks, see your doctor so problems can be found and treated early.
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. It responds to rest, hot or cold compresses, and over-the-counter pain relievers such as ibuprofen or acetaminophen.
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 and pleurisy cause sharp pain that worsens with deep breathing or coughing. A blood clot in the lung or a collapsed lung can cause sudden pain with shortness of breath.
- 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. The point of testing is to rule out the serious causes, not to hunt for cancer in every sore rib.
How is the cause sorted out?
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 common, harmless cause gets 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
Some chest pain should not wait for a scheduled visit. MedlinePlus gives clear lines.
- 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 after a long period of sitting still, which can signal a blood clot.
- Contact your provider promptly if you have a fever or are coughing up yellow-green phlegm, if severe chest pain does not go away, or if any chest pain lasts longer than 3 to 5 days.
- After a costochondritis diagnosis, call back if the pain is getting worse, you develop trouble breathing, or you feel sharp pain with every breath.
And keep NCI's longer clock in mind: any symptom that has not improved after a few weeks has earned an appointment.
Sources
Words to know
Tap any term to see what it means.

Common questions
Is costochondritis a sign of cancer?
No. Costochondritis is inflammation of the cartilage that connects a rib to the breastbone. 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 to settle fully. Rest, hot or cold compresses, and over-the-counter pain relievers such as ibuprofen or acetaminophen are the usual care. Ask your provider what fits your situation.
When is chest wall pain worth a doctor visit?
NCI's general rule for symptoms is to see your doctor if they do not get better after a few weeks, so problems can be diagnosed and treated as early as possible. For chest pain specifically, MedlinePlus says to contact a provider for severe pain that does not go away, for pain lasting longer than 3 to 5 days, or if you have fever or are coughing up yellow-green phlegm.
Does cancer cause chest pain?
It can, 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.
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.
Speak With Trained Specialists & Human Navigators
Cancer Explained provides educational guidance, but does not replace trained specialists, social workers, or your medical team.
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
Immediate emergency guidance for fever (>100.4°F during chemo), severe pain, or shortness of breath.
Help Us Improve This Guide
Did this explanation answer your question and help you determine your next step?
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.
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.
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-08-21Next planned review: 2027-02-21
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. We do not employ clinicians and do not intend to — our work 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 checked line by line against the sources listed on it. That confirms the sources support what the page says. 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.
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. We do not employ clinicians and do not intend to — our work 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 checked line by line against the sources listed on it. That confirms the sources support what the page says. 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.
Related articles
Still have questions?
Educational answers, plain language
Free to print and share
