A stitch that strikes while you’re sitting still is usually a different thing from the side stitch runners get, which is tied to the movement of exercise itself. At rest, the pain most often comes from something under the right ribs: digestion, the rib cage, or an organ that sits there. Most of these causes are harmless and pass quickly, but because the right side is crowded with organs, the pattern of the pain tells you far more than its location alone.
Trapped Gas Is the Most Common Culprit
Your large intestine bends sharply under the right side of the rib cage, just below the liver.1IBS Dietitian. IBS Rib Pain: Why It Happens and How to Manage It Gas and stool can get trapped at that bend and build intense pressure that feels just like rib pain.1IBS Dietitian. IBS Rib Pain: Why It Happens and How to Manage It Right-side gas pain can even feel enough like appendicitis to worry people.2Mool Health. Trapped Gas Pain: Symptoms, Symptoms, Causes and Fast Relief The difference is that gas pain tends to shift, come in waves, and ease after you pass gas or have a bowel movement. It may drift toward the middle or left as the gas travels through the colon. Bloating, rumbling, or burping often come along with it.
Everyday habits set it off. Swallowing air from fast eating, fizzy drinks, chewing gum, or talking while eating adds gas. Beans, onions, cabbage and sugar-free sweeteners get fermented by gut bacteria into even more. People with irritable bowel syndrome often feel this pressure under the ribs.1IBS Dietitian. IBS Rib Pain: Why It Happens and How to Manage It So a stitch that shows up an hour or two after a big or gassy meal is one clue pointing toward gas.
It doesn’t always mean you ate something wrong, though. Swallowed air alone can do it, so a plain meal eaten quickly or while chatting can still trigger a stitch. Constipation makes it worse, because stool backed up behind the bend holds gas in place and raises the pressure. Tight waistbands or slumping in a chair squeeze the abdomen and make trapped gas more uncomfortable.
To get things moving, walk gently for 10 to 15 minutes. Lying on your left side or bringing your knees to your chest can release pressure, and a warm compress relaxes the gut muscles. Over-the-counter simethicone helps small bubbles combine so they pass more easily.
If a stitch-like pain stays fixed in one spot and keeps building, gas becomes a less likely explanation. And if the pain keeps returning despite changes in how you eat, raise it with a doctor.
Rib and Muscle Causes, Including Slipping Rib
In slipping rib syndrome, one of the lower ribs (the 8th to 10th) moves too freely and slips or clicks under the rib above.3PubMed. Slipping Rib Syndrome: A review of evaluation, diagnosis and treatment The nerve running under that rib gets pinched, causing pain.3PubMed. Slipping Rib Syndrome: A review of evaluation, diagnosis and treatment4PubMed Central. A Comprehensive Review of Slipping Rib Syndrome: Treatment and Management The pain is often burning, felt in the lower chest and upper belly, and can be disabling.5PubMed Central. A new sign of the slipping rib syndrome? It comes and goes, and doctors often overlook it.3PubMed. Slipping Rib Syndrome: A review of evaluation, diagnosis and treatment
That’s partly because the pain sits where people expect a gallbladder or stomach problem, so they often have organ tests that come back normal. Scans and blood tests usually show nothing, so the diagnosis rests on your history and a hands-on exam.
Ordinary muscle strain and posture play a part too. Straining the muscles between the ribs by coughing, twisting or lifting can cause a sharp side pain. Slouching for long periods compresses the right side and can provoke a stitch-like ache.
Several signs point to the rib cage rather than the gut. You can press a finger on one tender spot and reproduce the pain. You may feel a click or pop when you twist, reach, or roll over in bed. Meals and bowel movements don’t change it, while deep breaths or stretching may sharpen it.
For a strain, rest from the movement that triggers it and use heat or ice. Over-the-counter pain relievers can ease it, and better sitting posture with breaks from long sitting helps. For a suspected slipping rib, a doctor can hook the lower rib and pull it forward to check. Nerve blocks or surgery are options for persistent cases.
Gallbladder and Liver Pain
A gallbladder attack happens when the gallbladder squeezes against a duct that is temporarily blocked, usually by a gallstone.6PubMed Central. ABC of the upper gastrointestinal tract. Upper abdominal pain: Gall bladder. The pain is felt in the upper middle belly or under the right ribs and can spread to the back or right shoulder blade.6PubMed Central. ABC of the upper gastrointestinal tract. Upper abdominal pain: Gall bladder. It typically lasts 30 minutes to a few hours, then eases gradually as the stone falls back.6PubMed Central. ABC of the upper gastrointestinal tract. Upper abdominal pain: Gall bladder.
Unlike a brief stitch, it’s a steady pain that builds over several minutes into an intense pressure rather than arriving as a quick jab. Nausea often comes with it, and some people vomit. Changing position doesn’t relieve it the way it can with gas. Attacks often follow fatty or large meals, frequently in the evening.
Gallstones can sit in the gallbladder for years without symptoms, and a fatty meal makes the gallbladder squeeze harder, which is why rich meals set attacks off. Between attacks you can feel completely normal, so people often dismiss one episode as indigestion.
Pain lasting more than several hours may mean the gallbladder is inflamed. Fever, chills, or vomiting with it need prompt care, and yellow skin or eyes or dark urine suggest a blocked bile duct. Repeated attacks are worth an ultrasound, the usual test for gallstones.
The liver causes a duller ache. It is wrapped in a capsule with pain nerves.7Avicenna Journal of Medical Biochemistry. Personalized Pain Pathways in Liver Fibrosis: Towards Precision Hepatology When the liver swells, from scarring or congestion, that capsule stretches and causes a dull ache under the right ribs.7Avicenna Journal of Medical Biochemistry. Personalized Pain Pathways in Liver Fibrosis: Towards Precision Hepatology It’s an ongoing heaviness rather than a sudden stitch, and it doesn’t follow meals as clearly as gallbladder pain does. A swollen liver often reflects an underlying condition, so a persistent dull ache under the right ribs with tiredness or yellowing of the skin should be checked rather than waited out.
Kidney Stones and Appendicitis
Kidney stone pain often begins in the flank, the area on either side of the lower back under the ribs.8Northwell Health. Kidney stone pain, explained: Where it shows up and how to get relief It’s usually sudden, intense, sharp or cramping, and on one side.8Northwell Health. Kidney stone pain, explained: Where it shows up and how to get relief Because the kidneys sit toward the back, people often mistake it for a pulled muscle.8Northwell Health. Kidney stone pain, explained: Where it shows up and how to get relief As a stone moves down, pain can spread to the lower right belly, as in one reported case.9PubMed Central. Urolithiasis presenting as right flank pain: a case report9PubMed Central. Urolithiasis presenting as right flank pain: a case report
The pain tends to come in waves that build and fade as the stone shifts, and it is far more intense than a stitch. It often travels toward the lower belly and groin as the stone moves down the urine tube. Nausea and vomiting commonly come with it because the kidney and gut share nerve pathways. Blood in the urine or painful urination makes a stone more likely.
Fever or chills along with flank pain suggest infection behind a blocked stone and need urgent care. So do being unable to pass urine and pain too severe to bear. A doctor should confirm the cause with urine tests and imaging.
Appendicitis pain often starts near the belly button and moves to the lower right over hours. Early on, the inflamed appendix sends vague signals because the gut’s nerves can’t pinpoint the source. As inflammation reaches the lining of the belly wall, the pain shifts to the lower right and becomes sharper and easier to point to. It steadily worsens and often comes with nausea, loss of appetite and fever. Walking, coughing, or bumps in the car make it worse.
Not everyone follows the classic pattern, so a steadily worsening belly pain deserves attention even if it never moves. The quick bedside checks doctors use miss most cases, so they rely on scans and blood tests.10PubMed Central. Signs and syndromes in acute appendicitis: A pathophysiologic approach A normal home “press test” doesn’t rule it out.
Pain That Comes From the Chest and Lungs
Pleurisy, irritation of the lining around the lungs, causes sharp pain when you breathe in. In one reported case it caused right-side chest pain spreading to the shoulder, with a tender chest wall that seemed muscular.11PubMed Central. Pleurisy Can Cause Chest Wall Tenderness: A Case Report So tenderness to touch doesn’t always mean a harmless muscle cause. Causes include chest infections and blood clots in the lung.11PubMed Central. Pleurisy Can Cause Chest Wall Tenderness: A Case Report Rarely, the diaphragm itself can twitch repeatedly, causing belly and chest pain with breathlessness.12PubMed Central. Symptoms Arising From the Diaphragm Muscle: Function and Dysfunction
The pain is sharp and catches when you breathe in, cough, or sneeze, and it often eases if you hold your breath. It can be felt low in the chest and be mistaken for a belly or rib problem. Because the diaphragm shares nerves with the shoulder, irritation near it can send pain to the shoulder tip. Sharp breathing-related pain that lasts more than a short while should be examined rather than assumed to be muscular.
Sudden pain with shortness of breath needs emergency care, as it can signal a lung clot. Fever and cough suggest pneumonia. Recent long travel, surgery, or leg swelling raise the risk of a clot.
Why the Right Side Gets Its Own Attention
Even exercise stitches occur on the right up to twice as often as on the left, though younger people more often get them on the left.13PubMed Central. Exercise-Related Transient Abdominal Pain (ETAP) The right side holds the liver, gallbladder, appendix and the colon’s right bend, while the left holds the spleen and the colon’s left bend.1IBS Dietitian. IBS Rib Pain: Why It Happens and How to Manage It Gas and rib causes can strike either side, but gallbladder, liver and appendix causes point right.
Pain on the right narrows the list, but it doesn’t confirm any single cause. Pain that moves around more often fits gas than one organ.
A pain diary turns vague memories into a pattern a doctor can use. Note the time, what you ate, and what you were doing, then record how long it lasted and what eased it.
When to See a Doctor
Get urgent help for any of these:
- Severe pain that stops you standing straight or sitting still
- Pain lasting more than a few hours or getting steadily worse
- Fever, repeated vomiting, or yellow skin or eyes
- Sudden shortness of breath or chest pain
- Blood in urine or stool
Other reasons call for a regular visit. A stitch that keeps coming back over weeks deserves a check, even if mild. Repeated pain after meals suggests checking for gallstones. A clicking rib with pain is worth mentioning, since slipping rib is often missed.3PubMed. Slipping Rib Syndrome: A review of evaluation, diagnosis and treatment
If you’re unsure, call a nurse line or urgent care instead of waiting, since severe belly pain can change quickly.
At the visit, expect questions on timing, meals, movement and bowel habits. The doctor will press on the belly and ribs to find the tender spot. Blood and urine tests and an ultrasound are common first steps. Bring your pain diary to speed things up.

