Pain in the right side of the stomach is most often caused by the gallbladder, liver, appendix, intestines or right kidney. Where the pain sits gives the best clue. Upper right pain under the ribs points to the gallbladder or liver, lower right pain points to the appendix or bowel, and pain in the right side towards the back can come from the kidney. Most causes are treatable, but some need urgent care.
Key points
- Upper right pain is commonly from gallbladder stones or the liver
- Lower right pain can be appendicitis, which is an emergency
- Right flank pain spreading to the groin suggests a kidney stone
- Gas and IBS can cause right sided cramps that come and go
- Fever, vomiting or yellow eyes with pain need prompt medical care
Causes by Location
| Location | Common causes |
|---|---|
| Upper right, under the ribs | Gallbladder stones, gallbladder inflammation, liver swelling, hepatitis, duodenal ulcer |
| Middle right, around the navel level | Gas, constipation, IBS, kidney problems |
| Lower right | Appendicitis, ovarian cyst in women, hernia, colitis |
| Right side towards the back | Kidney stone, kidney infection, muscle strain |
Upper Right Stomach Pain
Gallbladder stones
The most common cause in our clinic. Pain comes in attacks after oily food, lasts 30 minutes to a few hours and may spread to the right shoulder. Read gallbladder stone symptoms and our gallstones treatment in Islamabad page.
Liver problems
Fatty liver, hepatitis or a liver abscess can cause a dull ache under the right ribs. See liver pain location for details.
Duodenal ulcer
Burning pain in the upper middle or right side, often better or worse after meals. Read stomach ulcer symptoms.
Lower Right Stomach Pain
Appendicitis
Pain often starts around the navel and moves to the lower right side within hours. It comes with fever, nausea and pain on walking or coughing. This needs emergency surgery assessment.
Women’s health causes
Ovarian cysts, ectopic pregnancy and period related pain can cause lower right pain. A gynaecologist review may be needed.
Bowel causes
Constipation, gas, IBS and inflammatory bowel disease can cause cramping. Learn about IBS symptoms.
Right Side Pain Towards the Back
Kidney stones cause severe, wave like pain from the back to the groin, sometimes with blood in urine. Kidney infection adds fever and burning urine.
Dr. Omer’s Advice
Right upper pain after a heavy biryani or paratha breakfast is a classic gallbladder story. Do not keep taking painkillers for it. One ultrasound can confirm stones, and treating them early prevents complications like jaundice and pancreatitis.
Warning Signs That Need Urgent Care
- Severe pain that does not settle within a few hours
- Fever with chills
- Yellow eyes or skin
- Repeated vomiting
- Pain in pregnancy
- Blood in vomit or black stool
How Doctors Find the Cause
- Physical examination
- Ultrasound abdomen
- Liver function test and blood count
- Urine test for kidney causes
- Endoscopy for ulcer, or CT scan in some cases
Home Care for Mild Pain
- Small, light meals and less oily food
- Warm water and walking for gas pain
- Avoid self medication with strong painkillers, which can worsen ulcers
Frequently Asked Questions
What organ is on the right side of the stomach
The liver, gallbladder, part of the intestines, the appendix and the right kidney.
Can gas cause right side stomach pain
Yes. Trapped gas can cause sharp, moving pain that eases after passing gas.
Is right side stomach pain in females different
Women can also have ovarian or pregnancy related causes, so a full assessment is important.
When should I worry about right side pain
If it is severe, lasts more than a few hours, or comes with fever, vomiting or yellow eyes.
Conclusion
Right side stomach pain has many causes, from harmless gas to gallbladder stones and appendicitis. If your pain keeps coming back, book a consultation with Dr. Omer at our G-8 Markaz clinic on 0336 5993116 or visit our gallstones treatment page.
Medically reviewed by Dr. Omer Hassaan Aftab Ahmad, Gastroenterologist and Hepatologist, MD, MACG (USA), MRCPS (UK). Last updated December 2026.
This article is for general information and does not replace a consultation with a qualified doctor. Read our full medical disclaimer.



