Pain under the right breast when lying down is often caused by musculoskeletal issues like costochondritis, but it can also stem from gallbladder problems, acid reflux, or, in rare cases, conditions affecting the liver or lungs. The position of lying down can change how pressure distributes across your chest and abdomen, which is why some pains only appear at night or when you are resting flat. Because the right upper abdomen and lower chest share overlapping nerve pathways, the source of the pain is not always where it feels like it is coming from.
What Causes Pain Under The Right Breast When Lying Down?
The most common cause is costochondritis, an inflammation of the cartilage that connects your ribs to your breastbone. When you lie down, your rib cage expands and relaxes differently than when you sit or stand, which can stretch that inflamed cartilage and trigger sharp pain. This condition is usually harmless and often resolves on its own, but it can feel alarming because the pain can be intense.
Another frequent cause is gastroesophageal reflux disease (GERD), commonly called acid reflux. Lying flat makes it easier for stomach acid to travel backward into the esophagus. The esophagus runs close to the chest wall, and irritation there can feel like pain under the breast. Many people describe this as a burning sensation, though some feel a dull ache instead.
Gallbladder issues are also a real possibility, especially if the pain occurs after eating a fatty meal. The gallbladder sits on the right side of the abdomen, just below the liver and near the lower ribs. When you lie down, the position can make gallbladder inflammation or gallstones more noticeable. This pain is often described as a pressure or fullness rather than a sharp stab.
When Is It Musculoskeletal Pain?
Musculoskeletal pain originates in the muscles, bones, ligaments, or cartilage of the chest wall. Costochondritis is the leading suspect when the pain is sharp, reproducible by pressing on the area, and worsens with certain movements like twisting or taking a deep breath. If you recently lifted something heavy, started a new exercise routine, or had a coughing fit, muscle strain becomes more likely.
A key feature of musculoskeletal pain is that it changes with position and movement. If shifting your body, propping yourself up with pillows, or changing from your back to your side alters the pain significantly, that points toward a rib, muscle, or cartilage problem. The pain may also feel worse when you roll onto your right side because that compresses the area directly.
Injury to the intercostal muscles — the muscles between your ribs — can also produce this pain. These muscles help you breathe and twist your torso. Overuse or sudden strain can cause them to spasm or become inflamed. This type of pain is typically dull and aching, though it can sharpen with certain movements.
Can The Gallbladder Or Liver Cause This Pain?
Yes. The gallbladder and liver are both located in the right upper quadrant of the abdomen, tucked under the lower ribs. When you lie down, your abdominal organs shift slightly, and the liver can press against the diaphragm. If the gallbladder is inflamed — a condition called cholecystitis — or if gallstones are blocking a duct, the pain can radiate upward and feel like it is coming from under the breast.
Gallbladder pain typically builds over time. It may start as a dull ache and intensify into a steady, severe pain. It often occurs within a few hours of eating, especially after a fatty meal. The pain may also be accompanied by nausea, vomiting, or pain in the back between the shoulder blades. If you have these additional symptoms, the pain is less likely to be muscular.
Liver conditions are less common but possible. An enlarged liver from fatty liver disease, hepatitis, or other conditions can stretch the capsule that surrounds it, causing a dull ache in the right upper abdomen. This pain is usually constant rather than sharp and may worsen when lying on the right side. If you have a history of liver problems, alcohol use, or unexplained weight changes, this deserves medical attention.
What About Acid Reflux Or Digestive Issues?
Acid reflux is a leading cause of chest pain that appears or worsens at night. When you lie flat, gravity no longer helps keep stomach contents where they belong. Acid can wash up into the lower esophagus, causing irritation that feels like pain under the breast. This is often accompanied by a sour taste in the mouth, a burning sensation, or a feeling that something is stuck in your throat.
The pain from reflux can sometimes be mistaken for heart-related pain. This overlap is important because people sometimes delay seeking care for cardiac symptoms because they assume it is just heartburn. If the pain is accompanied by shortness of breath, sweating, nausea, or pain spreading to the arm or jaw, treat it as a medical emergency and call 911.
Other digestive issues can contribute too. Gas trapped in the upper colon or the hepatic flexure — the bend in the colon near the liver — can cause pressure and pain under the right ribs. This pain often shifts with movement and may be relieved by passing gas or having a bowel movement.
Could It Be Related To The Lungs Or Heart?
Lung conditions can cause pain under the right breast, particularly when lying down. Pleurisy, an inflammation of the lining around the lungs, causes sharp pain that worsens with deep breathing, coughing, or lying flat. The pain often improves when you sit up and lean forward. If you have a fever, cough, or feel short of breath, a lung infection like pneumonia should be considered.
A pulmonary embolism — a blood clot in the lung — is a serious condition that can cause sudden chest pain, especially when breathing in. It is accompanied by shortness of breath and a rapid heart rate. This is a medical emergency that requires immediate attention. Do not wait to see if it passes.
Heart-related pain is less likely to be felt specifically under the right breast, but it is not impossible. The heart typically refers pain to the left side, center of the chest, or left arm. However, atypical presentations occur, particularly in women and people with diabetes. If you have risk factors for heart disease — high blood pressure, high cholesterol, smoking, diabetes, or a family history — do not dismiss right-sided chest pain without a medical evaluation.
When Should You See A Doctor?
You should seek medical attention if the pain is severe, persistent, or accompanied by any of the following: fever, nausea, vomiting, yellowing of the skin or eyes, shortness of breath, sweating, or pain that spreads to your shoulder, arm, neck, or jaw. These symptoms can indicate gallbladder infection, liver problems, or a heart or lung emergency.
If the pain is mild, comes and goes, and clearly changes with movement or pressure, it may be safe to monitor for a few days. Keep track of when it happens, what makes it better or worse, and whether any other symptoms appear. This information will be useful if you do end up seeing a doctor.
For any persistent pain that does not resolve within a week, or pain that is getting progressively worse, schedule an appointment with your primary care provider. They can perform a physical exam and determine whether imaging or blood tests are needed. Do not rely on online symptom checkers to make this call for you.
What Can You Do At Home To Manage The Pain?
For musculoskeletal pain, rest and over-the-counter anti-inflammatory medications like ibuprofen or naproxen can help. Applying a warm compress to the area for 15-20 minutes several times a day may also ease muscle tension. Sleeping with extra pillows to elevate your upper body can reduce strain on the chest wall and help with acid reflux at the same time.
If acid reflux is the likely culprit, try eating your last meal at least three hours before lying down. Avoiding spicy, fatty, or acidic foods in the evening can reduce nighttime reflux. Elevating the head of your bed by six to eight inches — using blocks under the bedposts, not just extra pillows — is an evidence-based approach to reducing nighttime reflux.
For suspected gallbladder issues, avoid fatty meals and monitor your symptoms. If pain occurs repeatedly after eating, or if you notice it waking you from sleep, this is worth a medical workup. Gallbladder problems do not typically resolve on their own and may require treatment.
Frequently Asked Questions
Can pain under the right breast be a sign of a heart attack?
Heart attack pain usually appears on the left side or center of the chest, but right-sided pain can occur in atypical cases. If your pain comes with shortness of breath, sweating, nausea, or pain spreading to your arm or jaw, call 911 immediately.
How can I tell if the pain is muscular or something else?
Muscular pain typically worsens when you press on the spot or move in certain ways, and it changes with position. Pain that is constant, unrelated to movement, or accompanied by fever, nausea, or breathing trouble is more likely to involve an organ and needs medical evaluation.
Does sleeping position affect pain under the right breast?
Yes. Lying on your right side can compress the area and worsen musculoskeletal or gallbladder pain. Sleeping on your back with your upper body elevated often reduces symptoms caused by acid reflux and pleurisy.
Is pain under the right breast during pregnancy normal?
Pain in this area during pregnancy can be caused by the growing uterus pushing against the ribs and abdominal organs. However, gallbladder issues and preeclampsia can also cause right upper abdominal pain in pregnancy, so any new or severe pain should be discussed with your obstetric provider.

