Exciting news. Our app has a new name – Healthily. Learn more
Written by Georgina Newman
Edited by Mike Martin
Reviewed by the Your.MD Medical team
The part of your body just below your right rib cage is known as the upper right quadrant (RUQ) — 1 of 4 quadrants that make up your tummy (abdomen).
Pain in this area can be caused by conditions that affect the organs found here, including the liver, right kidney and gallbladder.
This kind of pain isn’t usually anything to worry about, but it’s important to know what may be causing it and when to see a doctor.
If you have pain below the right rib cage and you’re not sure why, ask yourself the following questions:
If you answered yes to 1 or more of these questions, you should see a doctor immediately as these symptoms could be a sign of a serious medical condition.
If you answered no to these questions, here are some possible causes of the pain under your right rib cage.
A sudden, sharp pain under the right rib cage can be a sign of gallstones. These are small stones of bile or cholesterol that are made in the gallbladder (a small organ located just below the liver).
Gallstones are common in adults but don’t usually cause symptoms.
However, if a stone gets blocked in a tube opening (duct) in the gallbladder, this can result in sharp, stabbing pain in the right side under your rib cage. This is known as gallstones disease, and the pain can last for up to 5 hours.
If you have gallstones disease and it’s left untreated, it can lead to swelling of the gallbladder (cholecystitis), which can cause a fever, ongoing pain and yellowing of the skin.
You should see a doctor if you have pain in this area and you think it may be caused by gallstones, or if you have:
Pain under the right rib cage may also be caused by a kidney stone. This is a hard lump made from minerals in your urine that can develop in the right kidney. The medical term for this is nephrolithiasis.
Kidney stones are fairly common, with symptoms affecting around 1 in 11 people. They are slightly more common in men than women.
Like gallstones, kidney stones don’t always cause pain. However, if a kidney stone gets trapped in your urinary tract or causes an infection, this can result in severe pain which may be felt in the RUQ or your groin or lower back.
You may also need to pee more often or experience pain while peeing, and you may have blood in your urine.
Kidney stones will usually pass out of your system in your pee, so even if you experience pain, this pain should stop once the stone has been removed from your body.
However, if the pain is severe, speak to a doctor immediately who may refer you to hospital. You should also speak to a doctor about any pain caused by kidney stones if you’re:
A kidney infection (pyelonephritis) can also cause pain in the RUQ, especially if it affects the right kidney. But this is not as common. You may also feel weak, have diarrhoea or have a fever while feeling cold.
Kidney infections are slightly more common in women than men.
The liver is a large organ, and takes up a lot of space in the RUQ. Conditions that affect the liver and may cause pain in the area include:
This is an area of pus formed in the liver, usually the result of a bacterial infection. They are more common in people with diabetes. If you have liver abscess, you may also experience reduced appetite, a fever and weight loss.
This occurs when the liver is inflamed, and can be caused by drinking too much alcohol or a viral infection. There are different types of hepatitis, and the condition can also cause a fever, itchy or yellowing skin, reduced appetite and tiredness.
This is caused by heavy drinking. You may also experience reduced appetite, diarrhoea and feel sick.
This prevents the liver from functioning as it should and is caused by long-term heavy drinking or a virus that causes damage to the liver (such as hepatitis C).
Symptoms include a high temperature, yellowing of the skin or eyes, shortness of breath, black poo or blood in your vomit.
If you have symptoms of any of these conditions and are not sure of the cause, you should see a doctor.
The pancreas is a gland that sits just below the liver.
Acute pancreatitis, where the pancreas is inflamed for a short amount of time, may cause a more severe pain. If you have acute pancreatitis, you may experience symptoms such as feeling or being sick or pain under the rib cage.
If you develop a sudden, severe pain, you should see a doctor quickly.
Chronic pancreatitis usually causes a more dull pain, and this inflammation over a long period of time causes lifelong damage to the pancreas. A key symptom of chronic pancreatitis is recurring, severe pain in the tummy.
You should always see a doctor if you have severe pain or develop yellowing skin.
Pain under your right rib can occasionally be caused by a common condition like indigestion.
With indigestion you may also get chest pain and experience a more dull pain in your tummy following a meal. It can also make you feel bloated, have heartburn or feel sick.
If you think the pain may be caused by indigestion, you should be able to treat yourself by making changes to your diet. However, you should see a doctor if you keep getting indigestion (or think you have indigestion) and you:
These symptoms can be a sign of heartburn, while recurring indigestion can lead to complications.
Shingles is an infection caused by the same virus as chickenpox. Shingles is common, affecting 1 in every 4 people in their lifetime.
It usually results in pain (this is the most common symptom) and then an itchy rash. The pain can be dull, sharp or more intense, and you may also have a fever or headache. These symptoms can affect many parts of your body, including the area under your ribs.
If you have pain under the right rib and you have a rash you think could be shingles, see a doctor. It’s especially important to see a doctor for shingles if you’re pregnant or you have a weaker immune system.
Any pain you feel under your right rib cage isn’t usually anything to worry about, but if the pain is severe or persists, you should see a doctor as it could be caused by an underlying condition.
Important: Our website provides useful information but is not a substitute for medical advice. You should always seek the advice of your doctor when making decisions about your health.