Trapped wind can cause uncomfortable bloating, pressure, and pain under the ribs or in the back.
One of the most common questions people ask is how long trapped wind can last, especially when the discomfort feels intense or persistent.
In this article, we’ll explain how long trapped wind typically lasts, why it can cause pain under the ribs and in the back, and what you can do to relieve it quickly.
What Is Trapped Wind?
Trapped wind occurs when gas builds up in the digestive system and does not move freely through the intestines.
Gas is a completely normal by-product of digestion. It forms when:
- You swallow air while eating or drinking
- Gut bacteria ferment carbohydrates in the colon
Under normal circumstances, this gas is passed without much discomfort. However, when gas becomes trapped, it can lead to distension and bloating (stretching of the intestines), which activates pain-sensitive nerves in the gut.
How Long Can Trapped Wind Last?
If you’ve ever been stuck with that uncomfortable, pressurised feeling in your stomach, one of the first things you’ll probably wonder is, “How long is this going to last?”
The honest answer is that trapped wind can last anywhere from a few minutes to several hours, and for some people, it can come and go throughout the day. You might feel fine for a while, then suddenly notice a build-up of pressure again, especially after eating or later in the afternoon.
For many people, mild gas passes quite quickly and causes only temporary discomfort. You might feel a bit bloated, then once the gas moves or is released, everything settles. However, when gas becomes more trapped, the sensation can linger for a few hours. This is often when people start to feel that tightness under the ribs, or that uncomfortable pressure that doesn’t seem to shift easily.
For others, it can become a daily pattern. You may start the day feeling relatively normal, but as the hours go by, the bloating gradually builds. By the evening, your abdomen may feel distended, your clothes tighter, and you might notice discomfort under your ribs or even into your back. This happens because gas accumulates over time rather than being cleared efficiently.
How long trapped wind lasts really depends on what’s happening in your digestive system. If gas is moving freely through the intestines, it will pass relatively quickly. But if movement is slower, or if there is more fermentation taking place, gas can sit in one place for longer, creating that lingering pressure.
Your diet also plays a role. If you’re eating foods that are more likely to ferment, gas production may be higher, which can prolong symptoms. At the same time, some people are simply more sensitive to gas than others, meaning that even normal amounts can feel uncomfortable and last longer than expected.
So while trapped wind is usually temporary, if you find it’s lasting for hours, happening daily, or becoming a pattern, it’s often a sign that something in your digestion needs a bit more attention.
Trapped Wind Pain Under the Ribs and Back
If you’ve ever felt a sharp or tight discomfort just beneath your rib cage and wondered if it might be something more serious, you’re not alone. Many people are surprised to learn that this type of pain can be caused by gas.
Rather than a general feeling of bloating, trapped wind in this area is often experienced as a sharp, stabbing, or tight sensation that sits under the ribs, either on the left or right-hand side. You may feel a build-up of pressure that seems to intensify after eating, especially if digestion is slower or gas production increases. Because of where this pain is located, it is commonly mistaken for issues related to the heart, liver, or upper abdomen.
This happens because gas can become trapped in the natural bends of the colon. On the left-hand side, this is often at the splenic flexure, which sits just under the ribs and is a very common place for gas to collect. On the right-hand side, gas may become trapped near the hepatic flexure, which can create a sensation that feels more like upper abdominal or even liver-related discomfort. As these areas are close to the diaphragm, the pressure can feel more intense and, in some cases, may even make it feel slightly uncomfortable to take a deep breath.
What makes this even more confusing is that the pain doesn’t always stay in one place. You might start with discomfort under your ribs, only to notice it spreading into your back, particularly between the shoulder blades. This is due to referred pain, where the nerves that supply the digestive system overlap with those in the chest and back. As a result, your brain can misinterpret where the pain is coming from, making a digestive issue feel like a musculoskeletal or even chest-related problem.
When trapped wind causes back pain, it is often described as a dull ache or tightness in the mid to upper back. It can feel deep and difficult to pinpoint, and many people initially assume they have strained a muscle or slept in the wrong position. However, unlike typical back pain, this discomfort may shift in location, worsen after eating, or feel more noticeable when sitting for long periods, particularly if you are slightly hunched over.
A key clue that trapped wind is the cause is the way the pain behaves. It often moves, changes intensity, and may improve with movement, stretching, or after passing wind. This is because the underlying issue is not structural, but rather pressure within the digestive system that is affecting nearby nerves.
Although this type of pain can feel quite alarming, especially when it appears under the ribs or in the back, it is usually harmless and related to gas becoming trapped in sensitive areas of the gut.
Why Does Trapped Wind Cause Pain Under the Ribs and Back?
Trapped wind causes pain under the ribs and back because gas stretches the intestines, activating nearby nerves. These nerves overlap with those in the chest and back, which means the brain can interpret the pain as coming from these areas rather than the gut.
Why Does Trapped Wind Cause Pain?
The key mechanism is intestinal stretching and nerve activation.
The gut is highly sensitive, and even small increases in pressure can trigger pain signals. Research shows that individuals with functional gut disorders often have visceral hypersensitivity, meaning they experience normal digestive processes as painful (Azpiroz et al., 2007).
When gas becomes trapped:
- The intestine stretches
- Nearby nerves are stimulated
- Pain signals are referred to other areas (such as the back or ribs)
This explains why trapped wind doesn’t always feel like “gas”—it can feel deep, sharp, or even alarming.
Where Can Trapped Wind Occur?
Gas can become trapped in several key areas of the digestive tract:
- The upper colon (under the ribs)
- The small intestine
- The splenic flexure (left side under ribs)
- The hepatic flexure (right side under ribs)
Each location can produce slightly different symptoms, which we’ll explore below.
What Causes Trapped Wind?
There is rarely just one cause of trapped wind. In most cases, it’s a combination of factors affecting how your body digests food and moves gas through the gut.
One of the most common contributors is your diet, particularly foods that are harder to digest. Foods such as beans, lentils, onions, garlic, wheat, and vegetables like broccoli, cabbage, and cauliflower are known as fermentable carbohydrates. If these are not properly broken down, your gut bacteria ferment them, producing gas that can build up and create pressure and discomfort.
Another factor is swallowing air without realising it. This can happen if you eat too quickly, talk while eating, drink fizzy drinks, or even chew gum. The extra air you take in has to go somewhere, and it can contribute to bloating and that feeling of gas being trapped.
Constipation or sluggish digestion can also play a major role. If your intestines are not moving efficiently, gas is more likely to sit in one place rather than being passed naturally. When movement slows down, pressure can build, making symptoms feel more intense.
You may also be more sensitive to gas than other people. This is known as visceral hypersensitivity, where your gut reacts more strongly to normal levels of gas, making even small amounts feel uncomfortable or painful.
Stress is another key factor that is often overlooked. Your gut and brain are closely connected, and when you are stressed, digestion can become disrupted. This can affect how your gut moves and how sensitive it is, increasing the likelihood of bloating and trapped wind.
Finally, in some cases, trapped wind may be linked to an underlying issue such as an imbalance of bacteria in the small intestine, SIBO, where fermentation can occur in the wrong place. This can lead to increased gas production and more persistent symptoms.
Other Symptoms of Trapped Wind
Here are the most common symptoms to look out for:
- Bloating and abdominal distension
A feeling of fullness, swelling, or tightness in the stomach. You may notice your abdomen visibly expands, especially as the day goes on. - Sharp or cramping abdominal pain
Pain that can come and go in waves, sometimes quite intense. It may shift location as gas moves through the intestines. - Pain under the ribs
A tight or stabbing sensation under the left or right rib cage. This can feel alarming and is often mistaken for something more serious. - Back or shoulder pain
Discomfort that radiates into the upper back or between the shoulder blades due to shared nerve pathways. - A feeling of pressure or trapped air
Many people describe a sensation that gas is “stuck” and not moving, creating internal pressure. - Increased burping or passing wind
You may notice more frequent burping or flatulence, although this doesn’t always immediately relieve the discomfort. - Symptoms that worsen after eating
Gas production increases after meals, so symptoms often become more noticeable shortly after eating. - Symptoms that build throughout the day
Many people feel relatively normal in the morning, with bloating and discomfort gradually worsening into the evening. - Relief after passing wind or a bowel movement
One of the clearest signsit often improves once gas is released or the bowels move. - A general feeling of abdominal discomfort
Sometimes it’s not sharp pain, but a persistent, hard-to-describe unease or tightness in the gut.
Case Study : Evening Bloating and Pressure
“By the Evening, I Looked and Felt Completely Different”
Emma, 36, initially didn’t think much of her symptoms because she felt relatively normal in the morning. But as the day went on, things started to change.
After lunch, she would notice her stomach beginning to feel slightly tight. By mid-afternoon, that tightness had turned into visible bloating. Then by the evening, she felt like a different person altogether. Her abdomen would become noticeably distended, she felt a heavy pressure building under her ribs, and a deep, uncomfortable ache would start to spread into her back.
She described it as feeling “full of air that just wouldn’t move,” and no matter how much she tried to ignore it, the discomfort became harder to manage as the day went on. Sitting down made it worse, and by the evening, she often just wanted to lie down or loosen her clothes.
This pattern is actually very typical of trapped wind. Gas builds gradually throughout the day rather than being released efficiently, leading to that progressive bloating and pressure many people experience.
When we looked more closely, her symptoms were closely linked to digestion and fermentation. We carried out a SIBO breath test and introduced a low fermentable (low FODMAP-style) diet. Within four weeks, the difference was significant. The evening bloating reduced, the pressure under her ribs eased, and the back discomfort that had been bothering her daily became much less frequent.Emma, tested positive for small intestinal bacterial overgrowth so we needed to also use some herbal antibiotics including oregano.
How Can I Get Rid of Trapped Wind?
If you’re dealing with trapped wind, the key is to help the gas move through your digestive system rather than letting it sit and build pressure. The good news is that in most cases, relatively simple changes can bring noticeable relief quite quickly.
Here are the most effective ways to relieve trapped wind:
1. Get moving
One of the quickest ways to shift trapped wind is simply to move your body. A short walk after eating can stimulate the natural movement of the intestines and help gas travel through more easily. Even gentle stretching or changing position can make a difference, especially if you’ve been sitting for a long time.
2. Sit upright and avoid hunching
Posture plays a bigger role than most people realise. Sitting hunched over compresses the abdomen and can trap gas in place, making symptoms worse. Sitting upright or standing allows the digestive tract to stay more open, helping gas move along more freely.
3. Apply heat
Using a hot water bottle or heat pack on your abdomen can help relax the muscles of the gut. This often reduces cramping and makes it easier for trapped gas to pass, particularly if you’re feeling tight or uncomfortable.
4. Try gentle abdominal massage
Massaging the abdomen in a clockwise direction (following the path of the colon) can help encourage gas to move through the intestines. This can be especially helpful if you feel bloated or pressurised.
5. Adjust how you eat
Eating habits are a major factor. Slowing down, chewing food thoroughly, and avoiding rushing meals can reduce the amount of air you swallow and improve digestion. Overeating can also increase pressure in the gut, so smaller, more manageable portions often help.
6. Identify and reduce trigger foods
If you regularly experience trapped wind, bloating, or abdominal discomfort, one approach that can be particularly helpful is the low FODMAP diet. This is a structured dietary strategy designed to reduce certain types of carbohydrates that are poorly absorbed in the gut and easily fermented by bacteria.
FODMAP stands for fermentable oligosaccharides, disaccharides, monosaccharides and polyols. These are found in a wide range of everyday foods, including onions, garlic, wheat, certain fruits, and some dairy products. When these carbohydrates are not properly absorbed, they pass into the large intestine where they are fermented by gut bacteria, producing gas. For some people, this leads to a build-up of pressure, resulting in bloating, discomfort, and that familiar feeling of trapped wind.
By temporarily reducing high FODMAP foods, you effectively lower the amount of gas being produced in the gut. This can make a noticeable difference, particularly if your symptoms tend to worsen after eating or build throughout the day. Many people find that within a few weeks, bloating reduces, pressure eases, and the frequency of trapped wind decreases.
However, because the diet can be quite restrictive, it’s often best done with guidance to ensure it is balanced and tailored to your individual needs. When used correctly, it can be a powerful tool in reducing trapped wind and improving overall digestive comfort.
7. Limit fizzy drinks and excess air intake
Carbonated drinks introduce extra gas into the digestive system, which can worsen symptoms. Similarly, habits like chewing gum or drinking through a straw can increase swallowed air.
8. Support digestion
For some people, trapped wind is linked to sluggish digestion. Creating regular meal times, avoiding late heavy meals, and allowing time for digestion before lying down can all help improve how gas moves through the system.
9. Use over-the-counter remedies if needed
Products containing simethicone or peppermint oil can sometimes help reduce gas-related discomfort. Peppermint oil, in particular, has been shown to relax the muscles of the gut and may ease symptoms in some individuals.
10. Stay calm and don’t panic
This is often overlooked, but important. Trapped wind can feel intense and even alarming, especially when it causes pain under the ribs or in the back. Anxiety can make symptoms feel worse by increasing gut sensitivity. Staying relaxed can actually help your body settle and allow gas to pass more easily.
What Supplements can Help With Trapped Wind?
If you’re struggling with trapped wind, there are a few supplements that can genuinely help move gas, reduce pressure, or calm the gut.
Peppermint oil
Peppermint oil works by relaxing the muscles of the digestive tract, which helps gas move more freely and reduces the cramping sensation that comes with trapped wind.
Multiple clinical trials have shown that peppermint oil is significantly better than placebo for reducing abdominal pain and bloating, making it one of the most evidence-based options available.
Probiotics work by modifying the gut microbiome, which can reduce gas production over time. Research shows that certain probiotic strains can reduce bloating and abdominal distension in some people, although results vary.
Although probiotics are often helpful, some people find their symptoms worsen after taking them, with increased bloating, trapped wind, and abdominal discomfort.
This can happen if you have a condition known as small intestinal bacterial overgrowth, when bacteria are already present in higher-than-normal amounts in the small intestine leading to more gas production. As a result, instead of improving symptoms, probiotics can create more pressure and discomfort, particularly after eating. If this happens, it may be worth conducting a SIBO test.
Digestive enzymes
If your symptoms tend to happen after eating, digestive enzymes can help.
They work by breaking food down more efficiently, which reduces the amount of fermentation happening in the gut and therefore reduces gas production.
These are especially useful if:
- You feel worse after certain foods
- You get bloated quickly after meals
Ginger
Ginger can support digestion by speeding up stomach emptying and reducing gut inflammation, which may indirectly reduce bloating and gas.
It’s not as powerful as peppermint oil, but it can be helpful, especially in combination with other strategies.
Simethicone
Simethicone (e.g. Wind-eze) is designed to break up gas bubbles, making them easier to pass.
It’s commonly used and available over the counter, and it is specifically indicated for trapped wind and bloating.
However, the evidence is mixed. Studies suggest it may not be much more effective than placebo when used alone, although some people still find it helpful.
Activated charcoal
Activated charcoal is sometimes used to absorb gas, but the evidence is inconsistent.
Some studies suggest it may help in combination with other agents, but on its own, the results are unreliable and not strongly supported.
Supplements work best when used alongside those changes, not instead of them.
Still Struggling With Trapped Wind?
If you’re dealing with ongoing bloating, pressure under the ribs, or discomfort that doesn’t seem to fully go away, it can be frustrating especially when it starts to affect how you eat, move, or feel day to day.
If you’d like support with this, you can book a consultation with our sister clinic- ibs-solutions.co.uk to explore your symptoms in more detail and put together a clear, tailored plan to help you feel more comfortable and in control again.
If you would rather conduct a test you can order a SIBO test
FAQs
How long can trapped wind last?
Trapped wind can last from a few minutes to several hours, depending on how quickly gas moves through the digestive system.
Can trapped wind cause pain under the ribs and back?
Yes, trapped wind can cause pain under the ribs and back due to pressure in the intestines and shared nerve pathways.
Author – Victoria Tyler BSc Hons MBANT
Victoria Tyler owns and runs two busy clinics : Nutrition and Vitality and the IBS and Gut Disorder Clinic.
Nutrition and Vitality, along with the IBS and Gut Disorder Clinic, were founded with the goal of helping patients alleviate IBS symptoms by uncovering and addressing the root causes of their digestive issues.
As a Registered Nutritional Therapist, Victoria holds a BSc (Hons) in Nutritional Therapy and has trained with the Institute of Functional Medicine. She is also accredited by BANT and CNHC.
Before transitioning into health, Victoria earned a degree in Economics and an MBA, working with corporations including Canon and Vodafone. However, her own health challenges led her to pursue a career in Nutritional Therapy.
With a passion for learning, Victoria is committed to staying at the forefront of Functional Medicine. She helps patients manage IBS and other digestive disorders, including SIBO, Candida, and IBD, by identifying and addressing their root causes.
Victoria strongly believes that every symptom has an underlying cause, and there is always a solution to every health condition. To learn more, or to see patient reviews, visit Victoria’s profile on Google.
DISCLAIMER: The information provided in this article is intended for general informational purposes only and should not be construed as medical advice, diagnosis, or treatment. The products and methods mentioned are not a substitute for professional medical advice from a trained healthcare specialist. Always seek the guidance of your doctor or other qualified health professional with any questions you may have regarding your health or a medical condition. Never disregard professional medical advice or delay in seeking it because of something you have read on this website. Use of the information and products discussed is at your own risk.
References
Azpiroz, F. et al. (2007) ‘Intestinal gas dynamics and tolerance in humans’, Gastroenterology, 133(2), pp. 414–420.
Lacy, B.E. et al. (2016) ‘Bowel disorders’, Gastroenterology, 150(6), pp. 1393–1407.
Serra, J. et al. (2001) ‘Impaired transit and tolerance of intestinal gas in the irritable bowel syndrome’, Gut, 48(1), pp. 14–19.
Levitt, M.D. et al. (2007) ‘Production and excretion of hydrogen gas in humans’, Gastroenterology, 133(2), pp. 370–379.
Rao, S.S.C. et al. (2015) ‘Pathophysiology and role of breath testing in small intestinal bacterial overgrowth’, Gastroenterology, 149(7), pp. 1545–1560.
Ford, A.C. et al. (2014) ‘Efficacy of probiotics in irritable bowel syndrome: systematic review and meta-analysis’, American Journal of Gastroenterology, 109(10), pp. 1547–1561.
Simrén, M. et al. (2013) ‘Intestinal microbiota in functional bowel disorders: a Rome foundation report’, Gut, 62(1), pp. 159–176.
Mayer, E.A. (2011) ‘Gut feelings: the emerging biology of gut–brain communication’, Nature Reviews Neuroscience, 12(8), pp. 453–466.
Camilleri, M. et al. (2017) ‘Intestinal gas distribution and transit in health and disease’, Neurogastroenterology & Motility, 29(1).
Hungin, A.P.S. et al. (2003) ‘Systematic review: the perceptions, diagnosis and management of abdominal bloating’, Alimentary Pharmacology & Therapeutics, 18(6), pp. 555–563.
Quigley, E.M.M. (2019) ‘The spectrum of small intestinal bacterial overgrowth (SIBO)’, Current Gastroenterology Reports, 21(1).








