Pain in the right side below the ribs

pain under rib

Inflammation, injury, or wounds to organs on the right side of the body, including the gallbladder, liver, pancreas, lung, kidney, or stomach, can cause pain under the right rib. This discomfort can also occur due to conditions such as gallbladder or kidney stones, as well as diseases such as hepatitis.

In this article we are going to tell you why the pain in the right side under the ribs.

Pain in the right side below the ribs

pain under the rib

For example, this pain may manifest abruptly and be accompanied by additional symptoms such as nausea, vomiting, fever, difficulty breathing, or intensified pain when moving, coughing, or sneezing.

In cases where the pain becomes extremely severe, is accompanied by additional symptoms, or persists for more than two days, It is advisable to consult a general practitioner to determine the underlying cause and initiate the most appropriate treatment.

Why pain occurs in the right side under the ribs

pain in the right side under the ribs

Spasms in the diaphragm

The pain experienced under the right rib can be attributed to several main factors, the first being spasms that occur within the diaphragm. Being hit or doing intense physical activity can cause the diaphragm muscle to spasm, which It causes abdominal pain under the ribs on both sides, whether right or left.

The diaphragm, which plays a crucial role in breathing, is a muscular organ that separates the abdominal cavity from the lungs and heart. If you experience persistent pain in your ribs or abdomen after receiving a blow, it is advisable to consult a family doctor who can evaluate the situation and recommend the most appropriate treatment. In situations where The pain is the result of vigorous physical activity; it usually disappears once the exercise is stopped.

Stones in the gallbladder

The discomfort resulting from the existence of gallstones in the gallbladder is called biliary colic and usually manifests itself below the right rib cage. The duration of this pain can extend for a maximum of 5 hours in certain cases and can be experienced in the navel or on the right side of the shoulder or back.

Experiencing pain after consuming excessively fatty foods is common, often accompanied by additional symptoms such as nausea and vomiting.

If gallstones are suspected, it is advisable to seek the expertise of a gastroenterologist. In particular, when symptoms occur due to stones, the doctor may suggest removal of the gallbladder.

Furthermore, in the event that accompanying symptoms such as elevated body temperature, decreased blood pressure or cognitive disorientation occur along with the pain crisis, it is strongly recommended to seek medical attention immediately in the emergency department for evaluation, since These indicators could potentially mean a gallbladder infection.


Pancreatitis refers to inflammation of the pancreas, causing pain that usually originates in the upper abdomen and can extend to both sides of the ribs and back, resembling a "belt" of discomfort.

The sudden onset of pain in the abdominal region is often accompanied by additional symptoms such as nausea, vomiting, fever, and tenderness, creating a holistic experience for the individual.

If you find yourself in this situation, it is essential to go to the emergency department of the nearest hospital as soon as possible. Taking quick action is vital to start treatment and mitigate the risk of possible complications. Typically, treatment involves the administration of analgesics, antibiotics and oral consumption of pancreatic enzymes.

Gastric ulcer

The lining of the stomach can develop a gastric ulcer, which is a sore caused by factors such as an unhealthy diet or an infection with the Helicobacter pylori bacteria. Symptoms commonly associated with peptic ulcers include indigestion, nausea, decreased appetite, and a general feeling of malaise.

Typically, pain is not a symptom of a gastric ulcer. However, when it manifests itself, It is commonly felt in the center of the abdomen and is characterized as a sharp, burning sensation. Sometimes this discomfort can extend to the right or left rib area.

To address this issue, it is essential to consult a gastroenterologist who can perform tests, such as a digestive endoscopy, to accurately diagnose the ulcer. Once diagnosed, appropriate treatment can be initiated, which may involve the use of antibiotics (if the cause is H. pylori), antacids, or acid production inhibitors such as omeprazole, pantoprazole, or esomeprazole.


Inflammation of the pleura, a protective membrane that surrounds the lungs, is known as pleuritis. When this inflammation occurs in the right lung, It can cause discomfort under the right rib when breathing deeply, particularly exacerbated by coughing, sneezing, or physical activity.

Additionally, additional symptoms may be present, including feeling short of breath, breathing difficulties, dry cough, and elevated body temperature. The appearance of pleuritis can be attributed to various factors, such as bacterial, viral or fungal pneumonia, as well as lung cancer or lung infarction.

If there is suspicion of pleuritis, it is advisable to seek evaluation with a pulmonologist or family doctor. However, if you experience severe chest pain or difficulty breathing, It is recommended to seek immediate medical attention.

Treatment of pleuritis involves the administration of anti-inflammatory medications such as ibuprofen or naproxen, as well as antibiotics and/or anticoagulants, depending on the underlying cause. In certain situations, your doctor may prescribe bronchodilators to improve respiratory function.

Kidney stone

rib discomfort

Renal colic, a condition characterized by lower back pain that can spread to the right side of the body below the ribs, is usually caused by the presence of stones in the right kidney.

In addition to experiencing pain, people may also experience additional symptoms including discomfort or feeling sick. burning when urinating, feeling of nausea, vomiting, fever above 38 °C and/or presence of blood in the urine.

To relieve pain, it is advisable to consult a healthcare professional who can administer analgesics intravenously. In some cases, the doctor may perform surgical procedures such as lithotripsy, ureteroscopy, or nephrolithotomy to remove or break up the stone into smaller fragments, making it easier to pass through urine.

I hope that with this information you can learn more about pain in the right side under the ribs and why it may be.