Why Is My Side Cramping? Top Reasons & When to Worry

A cramping pain in your side can come from dozens of different sources, ranging from a harmless exercise-related stitch that vanishes in minutes to conditions that need urgent medical care. The most common culprit by far is the side stitch you get during physical activity, but when the pain strikes at rest, keeps coming back, or arrives with other symptoms like fever, vomiting, or blood in your urine, the list of possibilities expands considerably. Understanding where the pain sits, what brings it on, and what else is happening in your body narrows that list quickly.

The Classic Side Stitch During Exercise

If your side cramps up while running, swimming, or doing another rhythmic activity, you’re almost certainly dealing with what researchers call exercise-related transient abdominal pain, or ETAP. It’s that sharp, stabbing sensation just below the ribs on one side, most often the right. One leading explanation is that the membranes lining your abdominal cavity rub against each other with increased friction during vigorous movement, especially when your stomach is full or distended after eating or drinking.

The friction theory proposes that a full stomach pushes the inner and outer layers of the peritoneum (the thin membrane wrapping your abdominal organs) more tightly together, and that changes in the lubricating fluid between those layers during exercise make the rubbing worse.1PubMed Central. Exercise-Related Transient Abdominal Pain (ETAP) That’s why eating a heavy meal before a run is one of the most reliable triggers, and why the pain tends to fade once you slow down or stop.

Researchers have tested several quick fixes during treadmill runs. Bending forward while tightening the abdominal muscles, tightening a belt around the waist, and breathing through pursed lips with fuller lung volume each relieved the stitch within seconds. Interestingly, trying to relax the abdominal muscles or stomping harder with each footstrike did not help.2PubMed Central. Investigation of the side pain “stitch” induced by running after fluid ingestion So if you feel a stitch coming on mid-run, your best bet is to slow your pace, lean slightly forward, press into the painful spot, and focus on controlled exhales rather than trying to “run through it.”

Why It Hurts More After Eating or Drinking

Side stitches during exercise are strongly linked to what’s in your stomach. Fluid type matters: in one study, the stitch developed to a similar intensity regardless of which beverage was consumed during the first bouts of running, but only one specific sports drink saw the pain decline to baseline levels by the final running bouts.2PubMed Central. Investigation of the side pain “stitch” induced by running after fluid ingestion The takeaway is that timing your food and drink intake before exercise matters more than finding a magic formula. Waiting at least an hour or two after a substantial meal and sticking to small sips of fluid during activity are the simplest preventive strategies.

Diaphragm fatigue also plays a role in how exercise feels in your torso. When the diaphragm is already fatigued before exercise begins, people reach exhaustion sooner and report breathing as more uncomfortable at the same workload.3The Journal of Physiology. The effect of diaphragm fatigue on the multidimensional components of dyspnoea and diaphragm electromyography during exercise in healthy males While diaphragm fatigue alone probably doesn’t cause the classic side stitch, it can amplify the discomfort and make you more aware of sensations in the rib and upper abdominal area during hard effort.

Trapped Gas and Irritable Bowel Syndrome

Outside of exercise, one of the most frequent causes of a cramping sensation in your side is simply gas moving through the intestines. The colon makes a sharp bend near the spleen on the left side and near the liver on the right side, and gas can get temporarily trapped at these turns, producing a surprisingly intense, localized pain. This is sometimes called splenic flexure syndrome when it happens on the left, though it’s really just gas distension pressing on the colon wall. The pain tends to come in waves, shifts with changes in position, and often resolves after passing gas or having a bowel movement.

If this kind of cramping happens regularly, particularly if it’s accompanied by bloating, altered bowel habits, or pain that improves after a bowel movement, irritable bowel syndrome may be the underlying driver. A central feature of IBS is visceral hypersensitivity, meaning the nerves in the gut respond more intensely to normal stretching and movement than they should. This hypersensitivity operates across both peripheral and central nervous systems and is considered a principal factor in why IBS symptoms can be so persistent and distressing.4PubMed Central. The Role of Visceral Hypersensitivity in Irritable Bowel Syndrome: Pharmacological Targets and Novel Treatments In other words, the gut isn’t necessarily doing anything structurally abnormal; the volume is just turned up on the pain signals.

Kidney Stones

A sudden, severe cramping pain in one flank that radiates toward the groin is the hallmark of a kidney stone working its way through the ureter. The pain often comes in intense waves as the ureter contracts, trying to push the stone along, and it can be bad enough to send people to the emergency room. Because the kidneys sit behind the abdominal organs, high against the back on each side, the pain typically wraps from the back around to the side and sometimes down into the lower abdomen.

Kidney stones are considered a potential emergency because, beyond the pain, a stone that gets stuck can block urine flow and lead to hydronephrosis, where the kidney swells with backed-up urine, risking permanent damage if left untreated.5PubMed Central. Urolithiasis presenting as right flank pain: a case report Blood in the urine, nausea, and an inability to find any comfortable position are common accompaniments. Small stones often pass on their own with pain management and hydration, but larger stones or those causing obstruction may need medical intervention.

Gallbladder Pain

The gallbladder sits tucked under the liver on the right side, and when a gallstone blocks its outlet, the result is biliary colic: a cramping or squeezing pain in the upper right abdomen that can radiate to the right shoulder blade. The mechanism is straightforward. After you eat, especially a fatty meal, the hormone cholecystokinin signals the gallbladder to squeeze and release bile. If a stone is blocking the duct, the gallbladder contracts against the obstruction, internal pressure rises, and pain follows. When the gallbladder relaxes again, the pressure drops and the pain eases.6PubMed Central. ABC of the upper gastrointestinal tract. Upper abdominal pain: Gall bladder

This pattern, where pain builds after meals and subsides between episodes, is one of the most distinctive features. Episodes typically last 30 minutes to a few hours. If the pain becomes constant, is accompanied by fever, or if your skin or eyes take on a yellowish tinge, the situation may have progressed to cholecystitis (an inflamed gallbladder) or a blocked common bile duct, both of which need prompt medical attention.

Musculoskeletal Causes You Might Not Suspect

Not every side cramp comes from an organ. The abdominal wall itself has muscles, nerves, and connective tissue that can be injured, strained, or irritated. Chronic abdominal wall pain is more common than most people realize and is often misdiagnosed as a gastrointestinal problem. The hallmark is a strictly localized, tender spot in the abdominal wall that hurts more when you tense your muscles, not less. A simple clinical test called Carnett’s test, where the doctor presses on the tender point while you lift your head off the table to engage your abs, helps distinguish wall pain from deeper organ pain: if the tenderness stays the same or gets worse, the problem is in the wall, not behind it.7PubMed Central. Chronic Abdominal Wall Pain

A specific and often overlooked condition is slipping rib syndrome. The lowest three ribs (ribs 8 through 10) are “false ribs,” attached to the rib above by cartilage rather than directly to the breastbone. When that cartilage becomes hypermobile, the rib tip can slip or click under the one above it, pinching the intercostal nerve that runs along the underside of the adjacent rib.8PubMed. Slipping Rib Syndrome: A review of evaluation, diagnosis and treatment The result is a sharp, sometimes excruciating pain along the lower rib margin that can feel exactly like an internal organ problem. It often worsens with twisting, bending, or deep breathing. Diagnosis can take years because imaging looks normal and providers keep searching for a gastrointestinal cause.9PubMed Central. A Comprehensive Review of Slipping Rib Syndrome: Treatment and Management

Appendicitis and Diverticulitis

Two inflammatory conditions produce side pain that demands timely diagnosis. Appendicitis classically begins as a vague ache around the navel, then migrates over several hours to the right lower quadrant, where it becomes sharper and more constant. Appetite loss, nausea, occasional vomiting, and low-grade fever round out the typical picture.10JAMA. Diagnosis and Management of Acute Appendicitis in Adults: A Review The migration pattern is one of the most useful clues: pain that starts diffuse and then settles into a specific spot on the right side should prompt a visit to the emergency department rather than a wait-and-see approach.

Diverticulitis is sometimes described as “left-sided appendicitis,” though it tends to affect an older population. Diverticula, small pouches that form along the colon wall, can become inflamed and infected. The pain localizes to the lower left abdomen in most cases. Independent predictors of acute left-sided diverticulitis include older age, prior episodes, lower left abdominal pain that worsens with movement, absence of vomiting, and elevated inflammatory markers on blood tests.11Annals of Surgery. How to Diagnose Acute Left-sided Colonic Diverticulitis: Proposal for a Clinical Scoring System Mild cases sometimes resolve with antibiotics and rest, but complicated cases involving abscesses or perforations can require hospitalization.

Splenic and Vascular Problems

The spleen, sitting in the upper left abdomen, is a less common but important source of left-sided pain. Splenic infarction, where a blood clot cuts off blood flow to part of the spleen, produces sudden left upper quadrant or epigastric pain in the vast majority of cases.12PubMed Central. Acute Splenic Infarction at an Academic General Hospital Over 10 Years Presentation, Etiology, and Outcome The condition is rare, but it can be easily missed in an emergency department because it mimics other acute abdominal conditions. It often results from systemic clot-forming conditions or cardiovascular disorders.13PubMed Central. A Rare Cause of Acute Abdominal Pain: Splenic Infarct (Case Series)

Ischemic colitis, another vascular cause, occurs when blood flow to a section of the colon drops enough to injure the tissue. It’s the most common form of gastrointestinal ischemia and typically presents with abdominal discomfort and bloody diarrhea.14PubMed Central. Ischemic colitis It tends to affect the “watershed” areas of the colon, particularly the splenic flexure on the left side, where the blood supply is most tenuous. In older adults or people with vascular disease, new-onset crampy left-sided abdominal pain with bloody stool warrants urgent evaluation.

Reproductive and Gynecological Causes

In women, the reproductive organs sit in the pelvis and can produce pain that radiates to either side of the lower abdomen. Ovulation pain, called mittelschmerz, is a common and harmless cause of one-sided lower abdominal cramping that occurs mid-cycle when an egg is released. It typically lasts minutes to hours and alternates sides from month to month.

Endometriosis is a more serious cause. Tissue similar to the uterine lining grows outside the uterus and can form adhesions that tether organs together. Among women with endometriosis, adhesions are common, with the area around the ovaries and fallopian tubes being the most frequent location, followed by the anterior abdominal wall. These adhesions have a measurable impact on quality of life: roughly a third of women with endometriosis-related adhesions reported negatively affected quality of life, compared with about one in ten of those without adhesions.15Int J Fertil Steril. Impact of Endometriosis-Related Adhesions on Quality of Life among Infertile Women

Ectopic pregnancy deserves special mention. When a fertilized egg implants outside the uterus, usually in a fallopian tube, the growing tissue can rupture the tube and cause life-threatening internal bleeding. In some cases, the blood pools under the diaphragm and produces referred pain in the shoulder, an unusual symptom that has been recognized in medical literature for over a century.16JAMA. SUDDEN ACUTE PAIN IN THE SHOULDERS ASSOCIATED WITH ACUTE PELVIC PAIN IN WOMEN Any woman of reproductive age who develops sudden one-sided pelvic or lower abdominal pain, especially with a missed period, vaginal bleeding, or shoulder pain, should seek emergency care.

Side Pain in Children

Kids complain about belly pain constantly, and most of the time the cause is benign. In children, the most common non-surgical explanation for acute abdominal pain is gastroenteritis, while the most common surgical cause is appendicitis. The pattern of pain varies significantly with age, which is one reason pediatric abdominal pain can be tricky to evaluate.17PubMed Central. Acute abdominal pain in children Young children often can’t localize their pain well and may point to the belly button for anything from constipation to a urinary tract infection. Older children and teenagers are better at describing where it hurts, making clinical assessment more straightforward. A child with persistent, worsening, or migrating pain, especially if they refuse to eat or develop a fever, needs a medical evaluation.

Medications That Mimic Organ Problems

Sometimes the cause of your side cramping is sitting in your medicine cabinet. A range of commonly prescribed drugs can cause gastrointestinal symptoms that closely mimic organic diseases like inflammatory bowel disease or IBS. While the gut-damaging effects of anti-inflammatory painkillers like ibuprofen and naproxen are widely recognized, other common medications such as antipsychotics, certain antidepressants, and metformin can also produce significant abdominal cramping, bloating, and altered bowel habits.18PubMed Central. Drug-induced gastrointestinal disorders Recognizing the medication connection can prevent a long and frustrating diagnostic journey involving unnecessary imaging and procedures. If your side cramping started around the time you began a new medication, mention that to your doctor before agreeing to an extensive workup.

When to Get Help

Most side cramps are not emergencies. An exercise-related stitch, a bout of gas pain, or mild menstrual cramping can usually be managed at home with rest, repositioning, over-the-counter pain relief, or simply waiting it out. But certain features should move you toward prompt medical evaluation:

  • Sudden, severe pain: Pain that hits hard and fast, especially if it makes you unable to stand straight, can indicate a ruptured organ, torsion, or a large kidney stone causing obstruction.
  • Fever with abdominal pain: The combination suggests infection or inflammation, as seen in appendicitis, diverticulitis, or cholecystitis.
  • Pain that migrates: Pain starting around the navel and settling in the right lower abdomen follows the classic appendicitis trajectory and should not be ignored.
  • Blood in stool or urine: Bloody diarrhea with crampy pain can point to ischemic colitis or inflammatory bowel disease. Blood in urine alongside flank pain suggests a kidney stone or urinary tract issue.
  • Pain after a missed period: In women of reproductive age, one-sided pelvic pain combined with a late period raises concern for ectopic pregnancy.
  • Pain that worsens over hours: Benign causes tend to plateau or improve. Pain that steadily escalates over several hours is more concerning for a surgical condition.
  • Inability to keep food or fluids down: Persistent vomiting with abdominal pain can signal obstruction or a condition that needs intravenous fluids.

If you’re unsure, a reasonable rule of thumb is to seek care when the pain changes your behavior. If you can’t sleep, can’t eat, can’t go about your normal activities, or you find yourself curling into a ball on the floor, your body is telling you this is more than a side stitch. Err on the side of getting checked; a visit that results in reassurance is never wasted.

Keeping a Pain Diary

For side cramps that keep coming back without a clear trigger, one of the most useful things you can do before your doctor’s appointment is keep a simple log. Note when the pain occurs, which side, what you ate and drank beforehand, where you are in your menstrual cycle if applicable, what medications you took that day, and what made the pain better or worse. Patterns often emerge that are invisible in the moment. A cramp that always hits after a fatty dinner points toward the gallbladder. Pain that lines up with stressful weeks and irregular bowel habits suggests IBS. A stitch that only shows up during long runs after morning coffee narrows things to exercise-related causes and pre-exercise intake. This kind of information saves your doctor significant guesswork and can shorten the path from symptom to diagnosis by weeks.