A bubble-like pressure, pop or flutter under the ribs is a common sensation, and it usually has an ordinary cause rather than a dangerous one. In most people the bubble is exactly what it feels like: gas inside the gut, sitting high up behind the lower ribs. But the same spot is crowded with rib cartilage, the diaphragm and the lining of the lungs, so a few look-alike causes can produce a similar feeling. A useful clue is what the sensation responds to: gas tends to shift with eating and passing wind, while rib and lung causes change with breathing and movement.
Trapped Gas in the Colon Is the Usual Culprit
The large bowel makes a tight turn up under the left ribs and another under the right ribs. Gas moving through the bowel can collect at these bends instead of passing straight on. Trapped gas stretches the colon wall and can cause real, sometimes intense pain.1IBS Dietitian. IBS Rib Pain: Why It Happens and How to Manage It A typical episode builds an hour or so after a large or gassy meal. It may gurgle or feel like a bubble moving, and it eases after burping, passing wind or a bowel movement.
People describe it as pressure, fullness or a stabbing pain high on the left that can spread into the chest or shoulder.1IBS Dietitian. IBS Rib Pain: Why It Happens and How to Manage It Pressure in the gut triggers pain signals that the brain may read as coming from nearby ribs, chest or back.2OMED Health. Trapped Wind: Causes, Symptoms & Remedies A sharp pain under the left ribs that eases after passing wind is a classic pattern, and it is often mistaken for the heart.1IBS Dietitian. IBS Rib Pain: Why It Happens and How to Manage It Pain that comes with exertion, sweating or breathlessness should never be assumed to be gas.
The left-sided bend is especially prone to trapping gas. It sits higher than the rest of the colon and is tucked tightly beneath the diaphragm, so rising gas has little room to move on. When you sit or stand, gas rises toward this high point, which is one reason the feeling can ease when you change position or lie down.
Gas can also get stuck at the right-side bend under the liver. Left-sided gas is more often linked to IBS-type pain, while right-sided pain overlaps with the gallbladder area, so steady right pain after fatty meals deserves a doctor’s look.
Some people feel gas much more than others. In people with irritable bowel syndrome, the bowel is often extra sensitive to stretching, rather than making more gas.3PubMed. Colon Hypersensitivity to Distension, Rather Than Excessive Gas Production, Produces Carbohydrate-Related Symptoms in Individuals With Irritable Bowel Syndrome The same amount of gas that a person without IBS barely notices can be painful for someone with IBS.3PubMed. Colon Hypersensitivity to Distension, Rather Than Excessive Gas Production, Produces Carbohydrate-Related Symptoms in Individuals With Irritable Bowel Syndrome If the gas pain becomes frequent, wakes you at night, or comes with weight loss, blood in the stool or a change in bowel habit, it deserves a doctor’s assessment rather than more home guesswork.
When the Ribs and Chest Wall Are the Source
Costochondritis is inflammation of the cartilage joining the ribs to the breastbone. Its pain is often sharp, aching or pressure-like and can spread to the arms and shoulders.4Mayo Clinic. Costochondritis – Symptoms and causes It worsens with deep breaths, coughing, sneezing or moving the chest.4Mayo Clinic. Costochondritis – Symptoms and causes
In slipping rib syndrome, the cartilage of a lower rib slips so the rib tucks under the one above and irritates a nerve.5PubMed Central. A Comprehensive Review of Slipping Rib Syndrome: Treatment and Management People may feel a click, pop or slipping sensation along with pain under the lower ribs. It is uncommon and easily missed, so it can take time to diagnose.6PubMed Central. A Review of Slipping Rib Syndrome: Diagnostic and Treatment Updates to a Rare and Challenging Problem
Another harmless cause, often called precordial catch, is a sudden, brief sharp chest pain, mainly in young people.7Cardiovascular and Cardiometabolic Journal. Precordial Catch Syndrome: Unveiling a Benign Yet Noteworthy Cause of Chest Pain in the Young It accounts for about 15% of chest pain that isn’t from the heart, can strike at rest, and is linked to slouching.7Cardiovascular and Cardiometabolic Journal. Precordial Catch Syndrome: Unveiling a Benign Yet Noteworthy Cause of Chest Pain in the Young Sitting up straight often eases it.7Cardiovascular and Cardiometabolic Journal. Precordial Catch Syndrome: Unveiling a Benign Yet Noteworthy Cause of Chest Pain in the Young An episode is a sharp jab, often on the left, that stops you mid-breath. It lasts seconds to a few minutes, and one deliberate deep breath sometimes makes it release with a pop.
With chest-wall pain, pressing on one spot often reproduces it, and twisting, lifting or a deep breath sets it off. Eating and passing wind don’t change it much, and it often follows a cough, workout or new activity.
Pain from the wall can feel deep inside the body because the ribs, muscles and nerves sit directly over the organs beneath. Rarely, the diaphragm can twitch on its own like a silent hiccup, which may feel like fluttering under the ribs.8PubMed Central. Severe diaphragmatic myoclonus treated with unconventional therapy: A case report A nerve irritated at the rib can send pain along the rib’s path, so small movements such as reaching, rolling over in bed or leaning forward can trigger it. Pain you can press on and that changes with movement is more typical of the chest wall, though that doesn’t rule out other causes if warning signs appear.
Inflamed rib cartilage usually settles on its own, often over weeks, though it can come and go, so a flare-up isn’t a sign that the first one was misjudged. Pain that stays or worsens, or a click that keeps causing pain under the lower ribs, is worth having examined, since a slipping lower rib can be treated once it is recognised.
Lung Lining Problems and Air Under the Skin
The lungs are wrapped in two thin layers of lining that normally glide smoothly. In pleurisy these layers swell and rub like sandpaper each time you breathe.9Mayo Clinic. Pleurisy – Symptoms and causes Pain sharpens with each breath in and out.10Johns Hopkins Medicine. Pleurisy It often follows a viral chest infection, so recent illness is a clue.
Pleurisy pain is tied to each breath, not to meals, and is typically sharp, catching you at the top of a breath. Even shallow breathing, coughing or laughing can set it off, so people often breathe shallowly to avoid it. It may ease when you hold your breath or lie on the sore side, and fever or cough may come with it. Because tenderness and movement don’t rule out other causes, pain alone isn’t proof of pleurisy.
Sometimes air escapes into the tissue under the skin, most often over the chest or neck.11MedlinePlus. Subcutaneous emphysema The skin feels crackly, like bubble wrap, when pressed.11MedlinePlus. Subcutaneous emphysema A collapsed lung, sometimes from a broken rib, is one possible cause.11MedlinePlus. Subcutaneous emphysema Crackling skin after an injury needs prompt medical care.
Very rarely, part of the stomach can slide up through a gap in the diaphragm and twist. It can show on a chest X-ray as an air bubble, and it usually causes vomiting, severe pain or trouble swallowing, not a mild flutter.
Gas Pain After Keyhole Surgery
Keyhole surgery fills the belly with carbon dioxide gas so surgeons can see. Pockets of gas left between the liver and diaphragm let the liver sag and pull on its ligaments, causing pain under the ribs and in the shoulder tip.12PubMed Central. Pain after laparoscopic surgery: Focus on shoulder-tip pain after gynecological laparoscopic surgery More leftover gas means more pain, and it shows up mainly when sitting up and moving, usually starting more than four hours after the operation.12PubMed Central. Pain after laparoscopic surgery: Focus on shoulder-tip pain after gynecological laparoscopic surgery This gas adds to pain mostly in the first 24 hours and is much reduced by 48 hours.13PubMed. Disappearance of intraperitoneal gas following gynaecological laparoscopy
The diaphragm shares nerve pathways with the shoulder, so irritation under it is felt at the top of the shoulder even though nothing is wrong there. That is why the pain can seem odd, being near the ribs and the shoulder but not at the small cuts on the belly.
Lying flat for a while lets the gas spread out rather than collect there, so some people find relief that way. Gentle walking still matters because movement helps the body absorb the gas, so short rests alternating with short walks suit many people. Pain that grows after two days or comes with fever needs a call to the surgical team.
How to Ease a Trapped Gas Bubble
Gentle walking helps gas move along the bowel. Sitting upright rather than slouching gives the upper bowel more room. Lying on your left side or drawing your knees to your chest may help gas pass, and a warm pad on the area can relax the bowel and ease cramping. Move to diet changes only if the bubble keeps returning.
FODMAPs are carbohydrates in foods like onions, garlic, beans, wheat and some fruits that gut bacteria ferment into gas. Cutting back on them for just one week lowered gas and reduced bloating, belly pain and wind.14PubMed Central. Impact of Short Duration FODMAP Restriction on Breath Gases and Gastrointestinal Symptoms
Keep the trial short, then reintroduce foods one at a time and note which bring the bubble back. A dietitian can help avoid an unbalanced diet, and long strict restriction isn’t the goal.
Writing down what you ate and when the bubble came on is more reliable than copying a generic list. Reactions can be delayed, so look at the several hours before the bubble. Spot patterns over a couple of weeks before cutting out a food.
Other habits add gas too: eating fast and gulping air, fizzy drinks and chewing gum, large late meals, and tight clothing pressing on the upper belly. If you try both the quick steps and the diet changes and the feeling persists or changes character, that is the point to see a doctor instead of adding more remedies.
Telling Gas From a Rib or Lung Cause
Pain from muscles and bones is usually clearly tied to movement or posture.15marcoscarci.co.uk. Pain Around Ribs and Back | Causes, Red Flags & Next Steps It often improves with rest and simple painkillers, is often tender at one spot, and usually settles over one to two weeks.15marcoscarci.co.uk. Pain Around Ribs and Back | Causes, Red Flags & Next Steps
You can try a press-and-move check at home. Press gently along the lower ribs and the cartilage beside the breastbone to see whether one spot reproduces the pain. Then twist, stretch and take a deep breath to see if any of these set it off. If pressing or moving brings on the same feeling, it points to the chest wall; if neither does, and meals or wind change it, gas is more likely. This is a hint, not a diagnosis.
No single feature settles the answer, because gas, chest-wall and lung causes overlap. A simple diary helps: record the time, meals and what you were doing, note whether wind, breathing, pressing or posture changes it, and bring it to your appointment.
At the appointment the doctor presses along the ribs to find tender spots and listens to the lungs for rubbing. They may order a heart tracing or chest X-ray to rule out serious causes. For a suspected slipping rib, a moving ultrasound scan while you crunch or the rib is pushed can show the rib slipping.6PubMed Central. A Review of Slipping Rib Syndrome: Diagnostic and Treatment Updates to a Rare and Challenging Problem In one study it correctly found slipping rib in about 9 out of 10 people who had it and didn’t wrongly flag anyone who didn’t.16PubMed. Dynamic ultrasound in the evaluation of patients with suspected slipping rib syndrome
When a Bubble Under the Ribs Needs Urgent Care
Call emergency services for any of these:
- Chest pressure with shortness of breath, sweating or nausea17Garcia Chiropractic. Why Does It Feel Like I Have a Bubble Under My Ribs?
- Pain spreading to the jaw or left arm, a possible heart attack15marcoscarci.co.uk. Pain Around Ribs and Back | Causes, Red Flags & Next Steps
- Sudden tearing pain going through to the back15marcoscarci.co.uk. Pain Around Ribs and Back | Causes, Red Flags & Next Steps
- Breathlessness at rest, fast breathing, feeling faint or a racing heart18American Medical Association. What doctors want patients to know about rib injuries
- High fever with severe chest pain, or coughing up blood15marcoscarci.co.uk. Pain Around Ribs and Back | Causes, Red Flags & Next Steps
- Severe pain or trouble breathing after an injury15marcoscarci.co.uk. Pain Around Ribs and Back | Causes, Red Flags & Next Steps
- New weakness or numbness15marcoscarci.co.uk. Pain Around Ribs and Back | Causes, Red Flags & Next Steps
See a doctor soon if you have:
- Pain lasting longer than a few weeks15marcoscarci.co.uk. Pain Around Ribs and Back | Causes, Red Flags & Next Steps
- Unexplained weight loss, night sweats or fevers15marcoscarci.co.uk. Pain Around Ribs and Back | Causes, Red Flags & Next Steps
- A new or changing cough, or pain that wakes you15marcoscarci.co.uk. Pain Around Ribs and Back | Causes, Red Flags & Next Steps
- A history of cancer15marcoscarci.co.uk. Pain Around Ribs and Back | Causes, Red Flags & Next Steps
Heart pain can be a dull pressure or fullness rather than a sharp stab, and may sit in the upper belly, so it can be mistaken for indigestion. Some people, including many women and older adults, have milder or unusual symptoms such as nausea, tiredness or breathlessness without classic crushing pain. Heart and lung emergencies can start feeling like pressure or gas, so when unsure, err toward calling.
If you think it could be an emergency, call emergency services first instead of driving yourself, since paramedics can start treatment and monitor your heart on the way. Sit down and stay as calm as you can, and unlock the door or have someone wait for the ambulance if you are alone.

