Sharp stomach pains have dozens of possible causes, ranging from trapped gas to conditions that need emergency treatment. In one large study of emergency department visits for abdominal pain, over 150 different diagnoses were made, but the most common were surprisingly ordinary: stomach bugs (10.8% of cases) and nonspecific abdominal pain (10.4%) topped the list. Gallstones, kidney stones, diverticulitis, and appendicitis each accounted for roughly 4% of cases. The location, timing, and intensity of your pain are the strongest clues to what’s going on.
Where the Pain Is Matters Most
Your abdomen contains different organs in different zones, so where you feel sharp pain narrows the possibilities quickly. Think of your belly divided into four quadrants using your navel as the center point.
- Upper right (under your right ribcage): This is where your gallbladder, liver, and the first section of your small intestine sit. Sharp pain here often points to gallstones, gallbladder inflammation, or an ulcer.
- Upper left (under your left ribcage): Your stomach, spleen, pancreas, and left kidney live here. Pain in this area can come from stomach ulcers, pancreatitis, or spleen problems.
- Lower right: This is appendix territory. It also houses the upper part of the colon and, in women, the right ovary.
- Lower left: The sigmoid colon (the last stretch of your large intestine) is here, along with the left ovary in women. Diverticulitis, colitis, kidney stones, and ovarian cysts are common culprits.
Pain that’s hard to pin down to one spot, or that seems to move around your abdomen, is more likely to be gas, a stomach virus, or irritable bowel syndrome.
Trapped Gas: The Most Common Culprit
Before assuming the worst, know that trapped gas is one of the most frequent reasons for sharp, stabbing abdominal pain. Excess gas can feel like a sharp jab, a dull ache, or intense pressure, and it doesn’t stay put. It can show up in your upper or lower abdomen, radiate to your sides or back, and even mimic chest pain. Your belly may look visibly swollen or feel like an overinflated balloon.
Gas pain typically comes and goes. It often worsens after meals, especially if you’ve eaten quickly, consumed carbonated drinks, or had foods that ferment easily in the gut (beans, cruciferous vegetables, dairy if you’re lactose intolerant). If the pain passes when you pass gas or have a bowel movement, that’s a strong sign gas was the source.
Gallstones and Gallbladder Pain
Gallbladder attacks cause sharp pain under the right ribcage that can radiate to your right shoulder or back. Many people experience it shortly after eating, especially after a large or fatty meal, when the gallbladder squeezes to release bile and pushes against a stone. An episode typically lasts anywhere from 20 minutes to a few hours, then fades. The pain is often intense enough that it’s hard to find a comfortable position. If attacks keep recurring, that pattern of post-meal right-sided pain is a hallmark sign.
Appendicitis Pain Has a Signature Pattern
Appendicitis often starts as a vague ache around the belly button, then migrates over several hours to the lower right side of your abdomen. The classic tender spot sits roughly halfway between your navel and the bony point of your right hip. Pressing on that area and then quickly releasing causes a spike of pain. You may also notice loss of appetite, nausea, vomiting, or a low-grade fever.
Appendicitis accounts for about 3.8% of emergency visits for abdominal pain, but it’s one of the diagnoses you don’t want to miss. If you have worsening right-sided pain that’s been building over 12 to 24 hours along with nausea or fever, get evaluated promptly.
Kidney Stones
Kidney stone pain often starts in the flank, the area on either side of your lower back just below the ribs. As a stone moves down the tube connecting your kidney to your bladder, the pain shifts toward your lower abdomen. When the stone gets close to the bladder, pain can radiate into the groin or pelvic area. This traveling pattern is distinctive. The pain tends to come in intense waves, and many people describe it as the worst pain they’ve experienced. You may also notice blood-tinged urine, nausea, or a persistent urge to urinate.
Diverticulitis
Diverticulitis causes sudden, intense pain in the lower left abdomen. It happens when small pouches that form in the colon wall become inflamed or infected. The pain may start mild and build, or it may hit hard from the start. Fever, nausea, tenderness when you press on the area, and changes in bowel habits (sudden diarrhea or constipation) often accompany it.
Diverticulitis is more common after age 50, and risk goes up with obesity, smoking, and a low-fiber diet. If you’re under 40 with lower left pain, it’s less likely to be diverticulitis, though not impossible.
Gynecological Causes in Women
Women have additional organs in the lower pelvis that can produce sharp pain easily confused with digestive problems. Ovarian cysts are extremely common and usually cause no symptoms at all. But a large cyst can create a sharp pain or dull ache on one side, below the belly button, along with bloating and a feeling of fullness or pressure. Most resolve on their own within a few menstrual cycles.
Ovulation itself can cause a brief, sharp, one-sided pain mid-cycle, sometimes called mittelschmerz. It’s harmless and typically lasts minutes to a couple of hours.
Two ovarian emergencies demand immediate attention. Ovarian torsion, where a large cyst causes the ovary to twist on itself, triggers sudden severe pelvic pain with nausea and vomiting. A ruptured cyst can cause intense pain and internal bleeding. Both require emergency evaluation. An ectopic pregnancy, where a fertilized egg implants outside the uterus, causes severe abdominal pain often accompanied by vaginal bleeding. If there’s any chance you could be pregnant and you’re having sharp pelvic pain, this needs to be ruled out quickly.
Other Common Causes Worth Knowing
Stomach bugs (acute gastroenteritis) are the single most common diagnosis in people who show up with abdominal pain. The sharp, crampy pain comes with diarrhea, nausea, or vomiting and usually resolves in one to three days. Peptic ulcers can produce a burning or sharp pain in the upper middle abdomen that worsens on an empty stomach or improves with food (or vice versa, depending on the ulcer’s location). Pancreatitis causes pain in the middle upper abdomen that may radiate to the back, often worsens after eating, and can last for days.
How Doctors Figure Out the Cause
If your pain is severe enough to need medical evaluation, what happens next depends largely on where it hurts. For upper right pain, an ultrasound is the first imaging test, since it’s the best way to spot gallstones and gallbladder inflammation. For lower right or lower left pain, a CT scan is preferred because it picks up appendicitis, diverticulitis, and kidney stones more reliably. When the pain doesn’t localize clearly and there’s concern about something serious, a CT scan is generally the go-to. Pregnant women are evaluated with ultrasound or MRI to avoid radiation exposure.
Blood work and urine tests typically accompany imaging to check for infection, inflammation, kidney problems, or pregnancy.
When Sharp Stomach Pain Is an Emergency
Most sharp abdominal pain turns out to be something manageable. But certain patterns warrant immediate care:
- Sudden, severe pain that doesn’t ease within 30 minutes
- Pain with continuous vomiting, especially if you can’t keep fluids down
- Pain with fever over 101°F (38.3°C)
- Pain with signs of shock: cold or clammy skin, rapid breathing, lightheadedness, or weakness
- Severe pain with vaginal bleeding if you could be pregnant
- A rigid abdomen that feels hard to the touch and hurts when pressed
Pain that worsens steadily over hours rather than coming and going is also more concerning than intermittent cramping. If your gut is telling you something is seriously wrong, that instinct is worth acting on.

