Doctors Note Logo

Published on: 9/25/2026

Sharp pain under the right breast that comes and goes: when to worry

Sharp, intermittent pain under the right breast is often caused by muscle strain, costochondritis (rib cartilage inflammation), trapped gas, acid reflux, or irritation of the nerves running along the ribs, but it can also signal gallbladder problems, liver inflammation, kidney stones, shingles, or a lung issue such as pleurisy or pulmonary embolism. Warning signs that warrant urgent care include pain with shortness of breath, fever, vomiting, yellowing skin or eyes, pain spreading to the back or shoulder, or pain that worsens after eating fatty foods. Several factors matter here, including where the pain radiates, what triggers it, and how long each episode lasts. See below to understand more about the specific red flags and the conditions most often mistaken for one another.

Because right-sided rib pain has so many possible sources, the fastest way to narrow the list is to have your exact symptoms assessed: take a free, instant, online symptom check to see which causes best match your pattern and whether you should be seen today, book a routine visit, or simply monitor at home.

Last reviewed for medical accuracy: 09/25/2026

answer background

Explanation

Sharp Pain Under the Right Breast That Comes and Goes: When to Worry

Experiencing a sharp pain under your right breast that comes and goes can be unsettling. Most of the time, these twinges are harmless and related to muscle strain or simple stomach upset. However, sometimes they signal a more serious issue that needs prompt attention. Below is a clear, straightforward guide to help you understand possible causes, warning signs, and when to seek medical care.


Common Causes

  1. Muscle and Cartilage Issues

    • Costochondritis: inflammation of the rib-cartilage junction, often tender to the touch.
    • Muscle strain: from heavy lifting, sports or repetitive movements.
  2. Digestive Tract Problems

    • Acid reflux (GERD): a burning or sharp pain after eating, especially spicy or fatty foods.
    • Peptic ulcer: a sharp or gnawing pain in the upper abdomen that may radiate under the right breast.
    • Biliary colic (gallstones): intense, cramp‐like pain that comes in waves, often after a fatty meal.
  3. Gallbladder and Bile Duct Disorders

    • Gallstones: hardened deposits in the gallbladder that block bile flow and cause colicky pain.
    • Cholecystitis: inflammation of the gallbladder, leading to constant, severe pain, often with fever or nausea.
  4. Lung and Pleural Conditions

    • Pleurisy: inflammation of the lung lining, causing sharp pain that worsens with deep breaths or coughing.
    • Pneumonia: infection leading to chest pain, cough, fever, and sometimes breathlessness.
  5. Liver‐Related Pain

    • Stretching of the liver capsule (hepatomegaly): from hepatitis or congestion, producing a dull ache or sharp twinge under the right breast.
  6. Other Causes

    • Shingles: early rash or burning pain in a dermatomal distribution (often before the rash appears).
    • Referred pain: from kidney stones, pancreatitis or spinal issues.

When to Worry: Red Flags

Most mild, intermittent pains resolve on their own. However, seek urgent medical attention if you experience any of the following:

  • Severe, Unrelenting Pain
    Pain that suddenly spikes to 7/10 or higher and doesn’t improve with rest or over-the-counter pain relief.

  • Fever and Chills
    Could indicate an infection like cholecystitis, pneumonia or even sepsis.

  • Jaundice (Yellowing of Skin/Eyes)
    Suggests bile duct obstruction or liver dysfunction.

  • Persistent Nausea or Vomiting
    Especially if you can’t keep fluids down for more than 24 hours.

  • Shortness of Breath, Chest Tightness
    May signal a lung problem such as pulmonary embolism or severe pneumonia.

  • Rapid Heart Rate or Low Blood Pressure
    Signs of a potentially life-threatening condition.

  • Neurological Symptoms
    Weakness, dizziness, or fainting spells.

If you notice any of these warnings, head to the nearest emergency department or call your local emergency number immediately.


How to Narrow Down the Cause

  1. Track Your Pain

    • When does it start? (after meals, with movement, at rest)
    • How long does it last? (seconds, minutes, hours)
    • What makes it better or worse? (food, position, deep breaths)
  2. Check for Other Symptoms

    • Digestive: bloating, heartburn, changes in bowel habits.
    • Respiratory: cough, sputum, wheezing.
    • Systemic: fever, night sweats, weight loss.
  3. Try Simple Remedies

    • Over-the-counter antacids or acid-blocking medications for suspected reflux.
    • Heat pad or gentle stretching for muscle pain.
    • Light meals if gallbladder discomfort is likely.
  4. Use a Symptom Checker
    For a quick overview of possible causes, consider a free, online symptom check, using the doctor approved Ubie Symptom Checker.


Self-Care Tips

  • Dietary Adjustments
    • Eat smaller, more frequent meals.
    • Avoid high-fat, spicy, or acidic foods that can trigger gallbladder or reflux pain.
    • Stay well hydrated.

  • Posture and Movement
    • Sit upright for at least 30 minutes after eating.
    • Practice gentle stretches or yoga to relieve chest wall tension.
    • Avoid heavy lifting and sudden twisting motions.

  • Stress Management
    • Deep breathing exercises can ease both musculoskeletal and digestive discomfort.
    • Mindfulness and relaxation techniques help reduce tension-related pain.

  • Medications
    • Antacids or H2 blockers for reflux.
    • Non-steroidal anti-inflammatory drugs (NSAIDs) for musculoskeletal pain (unless contraindicated).
    • Always follow dosage instructions and check with a pharmacist if you’re on other medications.


When to See Your Doctor

Even if your pain seems mild, it’s wise to discuss recurring or unexplained episodes with a healthcare professional. Make an appointment if you notice:

  • Pain that returns regularly or gets progressively worse.
  • New symptoms such as unexplained weight loss, persistent indigestion or morning nausea.
  • Any of the red-flag signs listed above.

Your doctor may recommend:

  • Blood tests to check liver function, pancreatic enzymes or signs of infection.
  • Imaging studies (ultrasound, X-ray, CT scan) to look at your gallbladder, liver or lungs.
  • Endoscopy to evaluate for ulcers or severe reflux.
  • Referral to a specialist (gastroenterologist, pulmonologist or surgeon) if needed.

Bottom Line

Sharp pain under the right breast that comes and goes is usually not a sign of something life-threatening. Common causes include muscle strain, acid reflux and gallbladder irritation. By tracking the pattern of your pain, trying simple self-care measures, and being aware of warning signs, you can often manage minor issues at home. However, if you experience severe pain, fever, jaundice, or breathing difficulties, don’t hesitate—seek medical help right away.

Always trust your instincts. If something feels seriously wrong, speak to a doctor for personalized advice and timely care. If you’d like a quick, no-cost overview of potential causes, you can do a free, online symptom check, using the doctor approved Ubie Symptom Checker. And remember: prompt attention to worrying symptoms can make all the difference.

(References)

  • * Eren T, Aslan A, Ozemir IA, Baysal H, Sagiroglu J, Ekinci O, Alimoglu O. Factors Effecting Mastalgia. Breast Care (Basel). 2016 Jun;11(3):188-93. doi: 10.1159/000444359. Epub 2016 Mar 29. PMID: 27493619; PMCID: PMC4960349.

  • * O'Shea JE, Foster JP, O'Donnell CP, Breathnach D, Jacobs SE, Todd DA, Davis PG. Frenotomy for tongue-tie in newborn infants. Cochrane Database Syst Rev. 2017 Mar 11;3(3):CD011065. doi: 10.1002/14651858.CD011065.pub2. Epub 2017 Mar 11. PMID: 28284020; PMCID: PMC6464654.

  • * Talimi-Schnabel J, Fink D. Mastodynie – wie soll man «Brustschmerz» abklären und behandeln? Praxis (Bern 1994). 2017;106(20):1101-1106. doi: 10.1024/1661-8157/a002795. PMID: 28976254.

  • * Stachs A, Stubert J, Reimer T, Hartmann S. Benign Breast Disease in Women. Dtsch Arztebl Int. 2019 Aug 9;116(33-34):565-574. doi: 10.3238/arztebl.2019.0565. PMID: 31554551; PMCID: PMC6794703.

  • * Grullon S, Bechmann S. Mastodynia (Archived). 2023 Jan. PMID: 32644675.

  • * Zakarija-Grkovic I, Stewart F. Treatments for breast engorgement during lactation. Cochrane Database Syst Rev. 2020 Sep 18;9(9):CD006946. doi: 10.1002/14651858.CD006946.pub4. Epub 2020 Sep 18. PMID: 32944940; PMCID: PMC8094412.

  • * Tahir MT, Vadakekut ES, Shamsudeen S. Mastalgia. 2025 Jan. PMID: 32965866.

  • * ElSherif A, Valente SA. Management of Mastalgia. Surg Clin North Am. 2022 Dec;102(6):929-946. doi: 10.1016/j.suc.2022.06.001. PMID: 36335929.

  • * Gupta S, Mohindra N, Mehndiratta A, Chaturvedi P. Case 312. Radiology. 2022 Dec;305(3):743-745. doi: 10.1148/radiol.213042. PMID: 38359450.

  • * Bennett DL, Buckley A, Lee MV. Fibrocystic Change. Radiol Clin North Am. 2024 Jul;62(4):581-592. doi: 10.1016/j.rcl.2023.12.008. Epub 2024 Mar 7. PMID: 38777535.

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.