Our Services
Medical Information
Helpful Resources
Published on: 9/14/2026
Yes, anxiety can cause a fluttering feeling under the rib cage, often from heart palpitations, rapid shallow breathing, diaphragm spasms, or tense stomach and chest muscles triggered by the body's stress response. This sensation may feel like a butterfly flapping, a twitch, or a brief skipped beat, and it usually fades once breathing and heart rate settle. Still, similar flutters can stem from acid reflux, caffeine, dehydration, thyroid issues, or arrhythmias, so there are several factors to consider before assuming anxiety is the only cause. See below for the warning signs that call for prompt medical attention, including fainting, chest pain, shortness of breath, or flutters that last more than a few minutes. Because anxiety and heart or digestive symptoms overlap so closely, a free, instant, online symptom check can help you sort out what is most likely driving your flutter and decide whether self-care, a primary care visit, or urgent evaluation is the right next step.
Last reviewed for medical accuracy: 09/13/2026
Anxiety can manifest with a surprising range of physical sensations—one of which is a fluttering or twitching feeling under the rib cage. Many people wonder whether this odd “flip-flopping” is dangerous or simply a sign of stress. In most cases, anxiety-related muscle tension is harmless, but it’s always wise to understand what’s happening in your body and when to seek help.
When you’re anxious or stressed, your nervous system shifts into “fight-or-flight” mode. That releases stress hormones (like adrenaline and cortisol) which prepare your muscles for action. If you don’t actually run or fight, those muscles stay tense—and sometimes spasm or flutter.
Two muscles often involved in rib-cage sensations are the diaphragm and the intercostals (the muscles between your ribs).
The diaphragm is your body’s main breathing muscle—a dome-shaped sheet of muscle that sits just under your lungs. A “diaphragm flutter” feels like a quick, repetitive flip or vibration right under your lower ribs.
Common features of diaphragm flutter:
Diaphragm flutter is generally harmless and often linked to anxiety, over-breathing (hyperventilation), or muscle fatigue. Drinking water, slowing your breath, and gently stretching your torso can help the muscle settle.
Between each rib lies a small muscle called an intercostal. When these muscles spasm, you might feel a flutter or a sharp, fleeting twinge.
Key points about intercostal spasms:
Intercostal spasms aren’t usually serious. They can happen after exercise, heavy lifting, or any activity that strains your torso.
Stress amplifies your body’s normal reactions. Chronic stress can:
When stress is high, even routine muscle activity—like breathing—can feel pronounced. Practicing relaxation regularly can help reset your muscle tone and reduce fluttering sensations.
While anxiety is a common culprit, it’s important to consider other explanations for a fluttering feeling under your ribs:
If your flutter is accompanied by chest pain, shortness of breath, dizziness, or fainting, these less common causes should be evaluated by a healthcare professional.
Although most rib-cage fluttering is benign, call emergency services or see a doctor right away if you experience any of the following:
These symptoms could indicate a life-threatening condition such as a heart attack, pulmonary issue, or serious nerve problem.
If you decide to see a doctor, here’s what typically happens:
A clear diagnosis helps you focus on the right treatment—whether that’s stress management, physical therapy, or a specific medical intervention.
Most fluttering sensations respond well to simple, non-medical approaches. Try these techniques:
Consistency is key—daily relaxation and stretching can reduce overall muscle tension and lower your chance of fluttering.
Since stress plays a central role in muscle spasms, consider these ongoing strategies:
Addressing the root cause—your stress—often brings the greatest relief from these physical symptoms.
If you’re unsure what’s causing your rib-cage flutter, you might try a free, online symptom check, using the doctor approved Ubie Symptom Checker. It’s a quick way to gather insights and decide whether you need medical attention.
Above all, trust your instincts. If anything feels life threatening or your symptoms worsen, speak to a doctor right away. Your health and peace of mind are worth it.
(References)
* Cryer PE. Phaeochromocytoma. Clin Endocrinol Metab. 1985 Feb;14(1):203-20. doi: 10.1016/s0300-595x(85)80070-0. PMID: 3893809.
* Pétursson H. The benzodiazepine withdrawal syndrome. Addiction. 1994 Nov;89(11):1455-9. doi: 10.1111/j.1360-0443.1994.tb03743.x. PMID: 7841856.
* Tyrer P, Baldwin D. Generalised anxiety disorder. Lancet. 2006 Dec 16;368(9553):2156-66. doi: 10.1016/S0140-6736(06)69865-6. PMID: 17174708.
* Cackovic C, Nazir S, Marwaha R. Panic Disorder. 2026 Jan. PMID: 28613692.
* Zeppieri M, Patel BC. Benign Essential Blepharospasm. 2026 Jan. PMID: 32809668.
* Jaeschke RR, Sujkowska E, Sowa-Kućma M. Methylphenidate for attention-deficit/hyperactivity disorder in adults: a narrative review. Psychopharmacology (Berl). 2021 Oct;238(10):2667-2691. doi: 10.1007/s00213-021-05946-0. Epub 2021 Aug 26. PMID: 34436651; PMCID: PMC8455398.
* Mahon SM, Carr E. Hot Flashes: Common Side Effect. Clin J Oncol Nurs. 2021 Dec 1;25(6):28. doi: 10.1188/21.CJON.S2.28. PMID: 34800125.
* Kowalchuk A, Gonzalez SJ, Zoorob RJ. Anxiety Disorders in Children and Adolescents. Am Fam Physician. 2022 Dec;106(6):657-664. PMID: 36521463.
* Szuhany KL, Simon NM. Anxiety Disorders: A Review. JAMA. 2022 Dec 27;328(24):2431-2445. doi: 10.1001/jama.2022.22744. PMID: 36573969.
* Kong CH, Min HS, Jeon M, Kang WC, Park K, Kim MS, Jung SY, Bae HJ, Park SJ, Shin HK, Seo CS, Ryu JH. Cheonwangbosimdan mitigates post-traumatic stress disorder-like behaviors through GluN2B-containing NMDA receptor antagonism in mice. J Ethnopharmacol. 2024 Aug 10;330:118270. doi: 10.1016/j.jep.2024.118270. Epub 2024 Apr 27. PMID: 38685368.
We would love to help them too.
For First Time Users
We provide a database of explanations from real doctors on a range of medical topics. Get started by exploring our library of questions and topics you want to learn more about.
Was this page helpful?
Purpose and positioning of servicesUbie Doctor's Note is a service for informational purposes. The provision of information by physicians, medical professionals, etc. is not a medical treatment. If medical treatment is required, please consult your doctor or medical institution. We strive to provide reliable and accurate information, but we do not guarantee the completeness of the content. If you find any errors in the information, please contact us.