Most stomach pain is caused by something temporary, like gas, indigestion, or a mild bug, and will resolve on its own within a few hours to a couple of days. The first thing to do is pay attention to exactly where it hurts, how long it’s lasted, and whether you have any other symptoms. That information helps you figure out whether you can manage it at home or need medical attention.
Where It Hurts Matters
Your abdomen contains dozens of organs packed into four quadrants, and the location of your pain is one of the strongest clues to what’s going on. Upper right pain often involves the liver, gallbladder, or the head of the pancreas. Upper left pain is more likely tied to the stomach itself, the spleen, or the tail of the pancreas. Lower right pain raises concern about the appendix or, in women, the right ovary. Lower left pain typically points to the lower colon (including the sigmoid colon), or in women, the left ovary.
Pain right around your belly button is often intestinal, caused by gas, bloating, or early-stage inflammation that hasn’t localized yet. Pain that starts near your navel and migrates to your lower right side over several hours is the classic pattern for appendicitis, and that migration is one of the most important warning signs to track.
The Most Common Causes
If your pain is mild to moderate and came on gradually, the most likely culprits are everyday digestive issues. Gas and bloating cause sharp, crampy pain that shifts around and improves after passing gas or having a bowel movement. Indigestion (also called dyspepsia) produces a burning or gnawing feeling in the upper abdomen, often after eating. Acid reflux causes a similar burn but tends to rise into the chest and throat, especially when you lie down.
Gastritis, which is inflammation of the stomach lining, feels like a persistent ache or burning in the upper abdomen. It’s often triggered by alcohol, painkillers like ibuprofen, or stress. Constipation is another extremely common cause of abdominal pain, producing cramping and bloating in the lower abdomen that resolves once you’re able to have a bowel movement.
Menstrual cramps are one of the most frequent causes of lower abdominal pain in women and typically produce a dull, throbbing ache that coincides with your period.
Food Poisoning vs. a Stomach Bug
If your stomach pain came with nausea, vomiting, or diarrhea, you’re probably dealing with either food poisoning or viral gastroenteritis (the stomach flu). The key difference is timing. Food poisoning hits fast, typically two to six hours after eating contaminated food. A stomach bug has a longer incubation period, usually 24 to 48 hours after exposure, because the virus needs time to replicate in your system.
Food poisoning also tends to be shorter. It can burn through your system in under a day, while a stomach virus generally lasts about two days and sometimes longer. Both cause similar symptoms (cramping, nausea, vomiting, diarrhea), so the biggest clue is how quickly things started after your last meal. If you ate something questionable and felt terrible within a few hours, food poisoning is more likely. If symptoms crept in over a day or two, especially if people around you are also sick, it’s probably viral.
What You Can Do at Home
For mild stomach pain without alarming symptoms, a few simple steps can help:
- Apply heat. Place a hot water bottle or a heated wheat bag on your abdomen. A warm bath also works. Heat relaxes the muscles in your abdominal wall and can ease cramping and tension.
- Drink clear fluids. Sip water steadily, especially if you’ve been vomiting or have diarrhea. Dehydration can make pain and nausea worse.
- Cut back on coffee, tea, and alcohol. All three can irritate the stomach lining and increase acid production, making pain worse.
- Eat bland foods when you’re ready. Start with clear liquids, then move to easy-to-digest foods like crackers, rice, bananas, or toast. Avoid fatty, spicy, or acidic foods until you’re feeling better.
- Rest. Lying on your side with your knees drawn slightly toward your chest can take pressure off your abdomen and relieve cramping.
Avoid taking ibuprofen or aspirin for stomach pain. Both are known stomach irritants and can make things worse, particularly if gastritis or an ulcer is involved. Acetaminophen is a safer option for pain relief if you need it.
When Stomach Pain Is an Emergency
Some types of abdominal pain need immediate medical attention. Head to the emergency room if you experience any of the following:
- Uncontrollable vomiting or inability to keep liquids down
- Severe pain that came on suddenly and keeps getting worse over hours
- Pain that worsens with movement, coughing, or deep breaths (a hallmark of appendicitis and peritoneal irritation)
- Fever combined with abdominal pain, which can signal infection or inflammation
- Blood in your vomit or stool
- Complete inability to pass gas or have a bowel movement along with bloating and pain, which may indicate a bowel obstruction
- Abdominal pain after recent surgery, which raises the risk of adhesions or obstruction
Appendicitis deserves special attention because it’s common and progresses quickly. The pain typically starts as a vague ache near the belly button, then over 6 to 12 hours moves to the lower right abdomen and sharpens. You may also lose your appetite, feel nauseous, and develop a low fever. If pressing on your lower right abdomen (about a third of the way from your hip bone to your navel) causes sharp pain, that’s a strong signal. Get to an ER.
Acute pancreatitis is another serious possibility. It causes upper abdominal pain that may start mild and worsen after eating, eventually becoming severe and constant. Nausea, fever, and a rapid pulse often accompany it.
When Pain Keeps Coming Back
If you keep getting stomach pain over weeks or months, you’re likely dealing with a chronic condition rather than a one-off event. Irritable bowel syndrome (IBS) is one of the most common culprits, causing recurring cramping, bloating, and changes in bowel habits. Doctors generally look for a pattern of symptoms lasting at least three months, with the problem first appearing at least six months earlier, before making this diagnosis.
Other chronic causes include gastroesophageal reflux disease (GERD), which produces recurring burning in the upper abdomen and chest; gallstones, which cause episodes of sharp right upper quadrant pain, often after fatty meals; celiac disease, where gluten triggers inflammation and cramping; and endometriosis, which causes cyclical lower abdominal pain in women.
Peptic ulcers produce a distinctive pattern: episodic gnawing or burning pain in the upper abdomen that may actually improve when you eat, then return afterward. Nighttime awakening with stomach pain is a classic ulcer symptom.
What to Track Before Seeing a Doctor
If your pain is persistent enough to warrant a visit, you’ll get a more useful appointment if you arrive with specific observations. Doctors evaluating abdominal pain focus on a consistent set of details: where exactly the pain is located, whether it moves or radiates to other areas, when it started, how severe it is on a 1 to 10 scale, and what the pain feels like (sharp, dull, crampy, burning).
They’ll also want to know what makes it better or worse. Does eating help, or does it trigger the pain? Does lying down change it? Is it worse in the morning or at night? Have you noticed any connection to specific foods, stress, or your menstrual cycle? Tracking these details for even a few days before your appointment can make the difference between a productive visit and a vague one.
Stomach Pain in Older Adults
People over 65 face a different set of risks with abdominal pain. Serious conditions in older adults often present with milder, vaguer, or delayed symptoms compared to younger people. The morbidity and mortality rates for abdominal pain in elderly patients are six to eight times higher than in younger individuals, largely because dangerous conditions can hide behind nonspecific symptoms. Even correct clinical diagnosis rates for abdominal pain in the elderly range from only 40% to 82%. If you’re over 65 or caring for someone who is, take new abdominal pain seriously and seek evaluation sooner rather than later, even if the symptoms seem mild.