Doctors Note Logo

Published on: 9/13/2026

Is sharp pain under my right rib cage when breathing a sign of a blood clot?

Sharp pain under the right rib cage that worsens when breathing can signal a pulmonary embolism (a blood clot in the lung), especially when paired with sudden shortness of breath, rapid heartbeat, coughing up blood, or leg swelling and calf pain. However, the same symptom is far more often caused by conditions like pleurisy, a muscle or rib strain, gallbladder inflammation, liver issues, pneumonia, or costochondritis. Risk factors such as recent surgery, long travel, pregnancy, hormone use, cancer, or a prior clot make a clot more likely and change how urgently you should be evaluated. There are several important distinctions to consider, including which warning signs mean you should call emergency services immediately. See below to understand more about each possible cause and what to do next.

Because chest and rib pain when breathing spans everything from a pulled muscle to a life threatening clot, guessing wastes the time that matters most. A free, instant, online symptom check lets you enter your exact symptoms, timing, and risk factors in a few minutes and get a clear, personalized picture of the likely causes. It also tells you whether to seek emergency care, book an appointment, or monitor at home, so you can walk into any visit with the right questions already prepared.

Last reviewed for medical accuracy: 09/13/2026

answer background

Explanation

Sudden sharp pain under your right rib cage when breathing can be alarming. While most often it isn’t caused by a blood clot, it’s important to understand when to worry and what other conditions might be at play. This guide walks you through possible causes, risk factors, and next steps—without hiding anything, but also without creating unnecessary anxiety.

Could it be a blood clot?

A blood clot in the lungs (pulmonary embolism) can cause sharp, stabbing chest pain that worsens with deep breaths. However, classic signs of a pulmonary embolism include:

  • Sudden onset of difficulty breathing (shortness of breath)
  • Rapid heart rate or palpitations
  • Lightheadedness or fainting
  • Coughing up blood

Pain from a pulmonary embolism is usually felt more toward the center or left side of the chest, though it can radiate. Having pain only under the right rib cage, without those other symptoms, makes a clot less likely—but not impossible.

Who’s at higher risk for a pulmonary embolism?

  • Recent surgery (especially hip, knee or abdominal procedures)
  • Long flights or car rides without moving
  • Active cancer or recent chemotherapy
  • Certain genetic clotting disorders
  • Pregnancy or recent childbirth
  • Use of hormone therapy or birth control pills
  • Obesity and smoking

If you have any of these risk factors and experience sudden sharp pain when you inhale deeply—especially combined with breathlessness or dizziness—seek immediate medical attention.

Other common causes of sharp right‐side rib pain

  1. Musculoskeletal Strain

    • Overuse of chest or back muscles (heavy lifting, strenuous exercise)
    • Sudden twisting motions
    • Repetitive coughing
      • Pain is often reproducible by pressing on the ribs or moving your torso
      • Usually improves with rest, ice or over‐the‐counter anti‐inflammatories
  2. Costochondritis (Inflammation of Rib Cartilage)

    • Tenderness along the costochondral junctions (where ribs meet sternum)
    • Sharp pain worsened by deep breaths, coughing or sneezing
      • No fever or shortness of breath
      • Often temporary and responds to NSAIDs
  3. Pleurisy (Inflamed Lung Lining)

    • Sharp, localized pain when breathing in or coughing
    • Often follows a viral infection or pneumonia
      • May be accompanied by cough, fever or chills
      • Antibiotics (if bacterial) or anti‐inflammatories can help
  4. Gallbladder Issues (Biliary Colic or Cholecystitis)

    • Pain under right rib cage, sometimes radiating to the back or right shoulder
    • Triggered by fatty or large meals
      • May be associated with nausea, vomiting or mild fever
      • Ultrasound can confirm gallstones or inflammation
  5. Liver Capsule Stretching (e.g., Hepatitis, Liver Congestion)

    • Dull ache or sharp twinges under right ribs
    • Possible jaundice (yellowing of skin/eyes), fatigue, dark urine
      • Lab tests (liver enzymes) and imaging help diagnose
  6. Kidney Stones or Infection

    • Pain may radiate from back around to the front under ribs
    • Often accompanied by urinary symptoms (painful urination, blood in urine)
      • CT scan or ultrasound confirms stones; urine tests detect infection
  7. Shingles (Herpes Zoster)

    • Burning or sharp pain in a band along one side of the torso
    • Rash appears days later as red blisters
      • Early antiviral treatment limits severity

When to worry and seek care right away

Even if a pulmonary embolism is unlikely, certain “red flag” signs warrant urgent evaluation:

  • Severe, unrelenting pain that doesn’t ease at rest
  • Difficulty breathing or shortness of breath
  • Rapid heart rate (over 100 beats per minute at rest)
  • Lightheadedness, fainting or confusion
  • Coughing up blood
  • High fever (over 101°F) or chills
  • Unexplained swelling in one leg

If you experience any of these, call emergency services or go to the nearest emergency department. Prompt diagnosis can be lifesaving.

How doctors evaluate rib‐area pain

  1. Medical History & Physical Exam
    • Onset, duration and triggers of the pain
    • Associated symptoms (fever, cough, digestive issues)
    • Recent injuries or activities
  2. Blood Tests
    • D-dimer (to rule out blood clots)
    • Liver and kidney function tests
    • Markers of infection or inflammation
  3. Imaging
    • Chest X-ray (pneumonia, rib fractures)
    • Ultrasound (gallbladder, liver, kidneys)
    • CT scan with contrast (pulmonary embolism, complex cases)
  4. Specialized Tests
    • ECG (to exclude cardiac causes)
    • Pulmonary angiography (rarely, for definitive clot detection)

Self-care tips for mild, non‐serious pain

If your pain is mild, you have no worrisome symptoms, and you’ve ruled out anything urgent, try these measures:

  • Rest and avoid heavy lifting or twisting movements
  • Apply a warm compress or ice pack to the painful area for 15–20 minutes
  • Take over‐the‐counter NSAIDs (ibuprofen, naproxen) as directed
  • Practice gentle stretching or breathing exercises to keep chest muscles flexible
  • Maintain good posture—slouching strains chest and back muscles

If pain persists beyond a week or gradually worsens, check in with your doctor.

Getting clarity on your symptoms

It can be hard to know when a symptom is serious. To help sort out your right‐side rib pain, you might consider doing a free, online symptom check, using the doctor approved Ubie Symptom Checker. This tool asks targeted questions and gives you tailored guidance on when to seek care.

Final thoughts

Sudden sharp pain under your right rib cage when breathing is rarely due to a blood clot—unless you have risk factors and other concerning signs. More often, it’s musculoskeletal, gastrointestinal or inflammatory. Still, if you ever worry you might have a pulmonary embolism or another serious condition, don’t wait: seek emergency care.

Always speak to a doctor about anything that could be life threatening or serious. Your health deserves timely, expert attention.

(References)

  • * Owens GM. Chest pain. Prim Care. 1986 Mar;13(1):55-61. PMID: 3633596.

  • * Rashford S. Acute pleuritic chest pain. Aust Fam Physician. 2001 Sep;30(9):841-6. PMID: 11676311.

  • * Sabol BJ, Basa RR, Wilkins CE. Malabsorption-associated warfarin resistance. Am J Health Syst Pharm. 2009 Sep 1;66(17):1548-53. doi: 10.2146/ajhp080477. PMID: 19710438.

  • * Söffker G, Kluge S. [Pulmonary embolism]. Dtsch Med Wochenschr. 2015 Jan;140(2):89-96. doi: 10.1055/s-0041-100003. Epub 2015 Jan 22. PMID: 25612280.

  • * Shah AY, Jamison M, Otero HJ, Jung L, Frank LH, Guerrera MF, Kirkorian AY. A 17-Year-Old With Chest Pain. Pediatrics. 2017 Mar;139(3). doi: 10.1542/peds.2016-0794. Epub 2017 Feb 3. PMID: 28159870.

  • * Alhassan S, Pelinescu A, Gandhi V, Naddour M, Singh AC, Bihler E. Clinical Presentation and Risk Factors of Venous Thromboembolic Disease. Crit Care Nurs Q. 2017 Jul/Sep;40(3):201-209. doi: 10.1097/CNQ.0000000000000159. PMID: 28557891.

  • * 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.

  • * Sedhai YR, Basnyat S, Bhattacharya PT. Pseudo-Wellens' syndrome in pulmonary embolism. BMJ Case Rep. 2018 Dec 19;11(1). doi: 10.1136/bcr-2018-227464. Epub 2018 Dec 19. PMID: 30573540; PMCID: PMC6303567.

  • * Settelmeier S, Hochadel M, Giannitsis E, Konstantinides S, Voigtländer T, Schmitt C, Haude M, Kerber S, Mudra H, Gonska BD, Senges J, Breuckmann F, Münzel T. Management of Pulmonary Embolism: Results from the German Chest Pain Unit Registry. Cardiology. 2021;146(3):304-310. doi: 10.1159/000513695. Epub 2021 Mar 10. PMID: 33691308.

  • * Zhang J, Zou H, Tang Y, Peng L, Pu J, Zeng J, Chen X, Yuan J, Yi Q, Zhou H. Impact of chest pain on mortality in patients with acute pulmonary embolism. Sci Rep. 2024 Dec 3;14(1):30038. doi: 10.1038/s41598-024-81520-w. Epub 2024 Dec 3. PMID: 39627382; PMCID: PMC11614855.

Thinking about asking ChatGPT?Ask me instead

Tell your friends about us.

We would love to help them too.

smily Shiba-inu looking

For First Time Users

What is Ubie’s Doctor’s Note?

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.