Twitching in the upper abdomen can be the result of peritonitis, acute pancreatitis, acute cholecystitis, choledocholithiasis, intestinal obstructions or duodenal perforation, as reported by Healthgrades.com. Involuntary twitching is referred to as spasming, and while the mentioned medical conditions could be a likely cause, the spasms could also be the result of some types of medication.
Generally speaking, during an episode where the upper abdomen is twitching, the muscles in the abdominal area will typically feel a lot stiffer and more tender, especially if pressure is applied. The twitching is normally attributed to the transversus abdominis, which is the deepest layer of muscles in the abdominal area.
Although uncommon, twitching in the upper abdomen can also be caused by strenuous exercise. It is a sign that the body is over-exerting itself. In these situations, the twitching will normally stop within a relatively short period of time.
In many cases, twitching in the upper abdomen is not considered to be a serious medical condition or issue. Medical experts recommend seeking medical attention if the twitching is persistent or if the twitching is accompanied by symptoms like bloody stool or urine, green or bloody vomit, confusion, high fever, chest pains or shortness of breath, notes Healthgrades.com.