Spasms under the left ribs may be caused by the diaphragm contracting, weakened muscles being contracted or heart problems. The best way to determine the cause of spasms of muscles beneath the left ribcage is to consult a doctor or physician.
Spasms under the left rib cage can be caused by a number of things related to heart, muscles or inner organs. It can be something small, such as inactive muscles that haven't been used in a while that have been pulled or stretched. While muscles are meant to be stretched, inactive muscles are not accustomed to it and doing so may cause pain. Taking ibuprofen for inflammation or applying Bengay topically can help in some situations.
Another cause of the pain may be a potassium imbalance if the spasms are accompanied by cramping. This can be solved by changing the diet and eating a banana every day. However, regular pain that pulsates has a high risk of being an aneurysm, so calling a doctor should be the first step. Another cause of spasms could be a diaphragm contraction.
There are some rare cases where fluttering or spasms under the left rib cage are severe, which is why consulting a doctor is always the best option. Seemingly innocent spasms under the left ribcage can be signs of thoracic nerve root problems, gallbladder disease, irritable bowel symptom, general intestinal problems, cardiac diseases, liver diseases, kidney issues and pneumonia.