Our Services
Medical Information
Helpful Resources
Published on: 9/15/2026
Sharp rib pain when breathing in is often eased with rest, gentle heat or ice, slow controlled breathing, and over-the-counter anti-inflammatories, though relief depends on the cause, which can range from a strained muscle or costochondritis to a rib fracture, pleurisy, pneumonia, or a blood clot in the lung. There are several important factors to consider, including red flags that need urgent care, so review the complete details below before deciding how to treat it. Because the same stabbing pain can come from harmless inflammation or a serious lung or heart problem, guessing wrong can delay treatment that matters. A free, instant, online symptom check can help you sort likely causes based on your specific symptoms and point you toward the right next step. It takes about a minute, requires no signup, and gives you clear language to bring to a clinician if care is needed.
Last reviewed for medical accuracy: 09/14/2026
Sharp rib pain with breathing can be startling—and uncomfortable. While many causes are harmless and resolve on their own, some require prompt attention. Understanding why you feel that stabbing sensation and learning simple relief strategies can help you breathe easier.
Pleurisy
– Inflammation of the thin lining around your lungs (the pleura)
– Pain typically worsens when you inhale or cough
– Often linked to viral infections, pneumonia or autoimmune conditions
Chest Wall Pain
– Involves structures outside the lung—ribs, muscles and cartilage
– Costochondritis (inflammation of rib cartilage) is a frequent culprit
– Can result from overuse, mild trauma or persistent coughing
Muscle Strain
– From heavy lifting, intense workouts or repetitive motions
– Aching or sharp pain that worsens with certain movements, including deep breaths
Rib Fracture or Bruise
– Direct trauma (falls, impact in contact sports)
– Sharp pain, tenderness to touch and sometimes bruising
Lung Conditions
– Pneumonia, pulmonary embolism or collapsed lung (pneumothorax)
– Often accompanied by fever, shortness of breath or rapid heartbeat
While most rib pain is not life-threatening, immediate care may be needed if you experience:
If any of these occur, call emergency services or go to the nearest urgent care. For non-emergency guidance, consider a free, online symptom check using the doctor approved Ubie Symptom Checker.
Even if pain originates from the chest wall, it’s wise to support overall lung health:
Keep a simple pain diary:
Reviewing this with your clinician can guide more targeted treatment if pain persists.
If any of the following develop, consult a doctor without delay:
For non-urgent guidance, you could try a free, online symptom check using the doctor approved Ubie Symptom Checker.
If sharp rib pain lingers beyond 2–3 weeks despite self-care, or if imaging (X-ray or ultrasound) reveals issues, you may be referred to:
Sharp rib pain on inhalation often stems from benign causes such as chest wall pain or pleurisy, and usually improves with self-care:
However, never ignore signs of serious lung issues or life-threatening emergencies. If you’re uncertain, consider a free, online symptom check using the doctor approved Ubie Symptom Checker and always speak to a doctor about anything that could be serious or life-threatening. Your health and breathing deserve prompt, expert attention.
(References)
* Kass SM, Williams PM, Reamy BV. Pleurisy. Am Fam Physician. 2007 May 1;75(9):1357-64. PMID: 17508531.
* Forero M, Adhikary SD, Lopez H, Tsui C, Chin KJ. The Erector Spinae Plane Block: A Novel Analgesic Technique in Thoracic Neuropathic Pain. Reg Anesth Pain Med. 2016 Sep-Oct;41(5):621-7. doi: 10.1097/AAP.0000000000000451. PMID: 27501016.
* Reamy BV, Williams PM, Odom MR. Pleuritic Chest Pain: Sorting Through the Differential Diagnosis. Am Fam Physician. 2017 Sep 1;96(5):306-312. PMID: 28925655.
* Rahman A, Saraswat A. Pericarditis. Aust Fam Physician. 2017 Nov;46(11):810-814. PMID: 29101915.
* de Wolff JF, Fawcett KM. Non-Cardiac Chest Pain. Acute Med. 2019;18(4):260. PMID: 31912061.
* Akinlade O. Taking Black Pain Seriously. N Engl J Med. 2020 Sep 3;383(10):e68. doi: 10.1056/NEJMpv2024759. 2020 Aug 18. PMID: 32809299.
* Makowski M, Makowska JS, Zielińska M. Refractory Angina-Unsolved Problem. Cardiol Clin. 2020 Nov;38(4):629-637. doi: 10.1016/j.ccl.2020.07.009. 2020 Sep 17. PMID: 33036723.
* Maloney J, Wie C, Pew S, Covington S, Maita M, Kozinn R, Sabin M, Freeman J, Kraus M, Strand N. Post-thoracotomy Pain Syndrome. Curr Pain Headache Rep. 2022 Sep;26(9):677-681. doi: 10.1007/s11916-022-01069-z. 2022 Jul 11. PMID: 35816220.
* Peterson TA, Turner SP, Dolezal KA. Acute Pericarditis: Rapid Evidence Review. Am Fam Physician. 2024 May;109(5):441-446. PMID: 38804758.
* Cremer PC, Klein AL, Imazio M. Diagnosis, Risk Stratification, and Treatment of Pericarditis: A Review. JAMA. 2024 Oct 1;332(13):1090-1100. doi: 10.1001/jama.2024.12935. PMID: 39235771.
We would love to help them too.
For First Time Users
We provide a database of explanations from real doctors on a range of medical topics. Get started by exploring our library of questions and topics you want to learn more about.
Was this page helpful?
Purpose and positioning of servicesUbie Doctor's Note is a service for informational purposes. The provision of information by physicians, medical professionals, etc. is not a medical treatment. If medical treatment is required, please consult your doctor or medical institution. We strive to provide reliable and accurate information, but we do not guarantee the completeness of the content. If you find any errors in the information, please contact us.