Why Has My Stomach Been Hurting for a Week?

Stomach pain that lasts a full week almost always has an identifiable cause, and the list of possibilities is shorter than you might expect. Most week-long abdominal pain falls into a handful of categories: an infection your body is still fighting, irritation of your stomach lining, a functional digestive issue flaring up, or stress manifesting physically in your gut.

Where the Pain Is Matters

The location of your pain is one of the most useful clues to what’s behind it. Upper-middle stomach pain that burns or gnaws, especially around meals, points toward gastritis, an ulcer, or acid reflux. Pain under your right ribs may involve your gallbladder or liver. Pain in the lower left side is a common spot for diverticular disease or constipation-related cramping. Lower right pain that’s getting worse rather than better raises concern for appendicitis, though appendicitis rarely lingers at a low level for a full week without escalating.

Pain that moves around or feels generalized across your whole abdomen is more typical of infections, irritable bowel syndrome (IBS), or stress-related gut symptoms. If you can consistently point to one spot, that narrows the possibilities significantly.

Infections That Last About a Week

A standard stomach virus usually clears within a few days, but some infections hang on longer. Giardia, a waterborne parasite you can pick up from contaminated water or food, causes symptoms that typically start one to two weeks after exposure and last two to six weeks. The hallmarks are diarrhea, gas, greasy stools that float, stomach cramps, and nausea. If your pain came with a change in your stool and you’ve been near untreated water, camping, or traveling, this is worth considering.

Bacterial infections from contaminated food can also produce pain lasting a week or more, particularly if the culprit is something like Salmonella or Campylobacter. These tend to come with diarrhea (sometimes bloody), fever, and general misery that feels different from a simple upset stomach. If you’ve had vomiting and diarrhea for a week straight, an infection is the most likely explanation.

Gastritis and Stomach Lining Irritation

Gastritis, or inflammation of your stomach lining, is one of the most common reasons for persistent upper stomach pain. It feels like a burning or gnawing ache in your upper belly that may get better or worse after eating. Two things cause it more than anything else: a bacterial infection called H. pylori, which is one of the most widespread infections worldwide, and regular use of over-the-counter pain relievers like ibuprofen (Advil, Motrin) and naproxen (Aleve).

If you’ve been taking NSAIDs regularly for a sore back, headaches, or joint pain, they could be the direct cause of your stomach trouble. These medications damage the stomach lining with repeated use. Even a week or two of daily ibuprofen is enough to trigger noticeable pain in some people. Stopping the medication often brings relief within days, though healing takes longer.

Functional Dyspepsia and IBS

Sometimes a week of stomach pain is the beginning of recognizing a pattern you’ve had for a while. Functional dyspepsia affects over 20% of the population. It causes upper stomach pain, burning, feeling full too quickly during meals, or heavy bloating afterward, all without any visible damage or disease on imaging or endoscopy. It’s a real condition with real symptoms, just driven by how your digestive system functions rather than by structural damage.

IBS works similarly but tends to center in the lower abdomen. It causes cramping, bloating, and changes in bowel habits (diarrhea, constipation, or both). One useful distinction: IBS pain typically comes and goes in episodes lasting hours, while diverticular disease tends to cause pain lasting more than 24 hours at a stretch. In one study comparing the two conditions, 80% of patients with diverticular disease had prolonged pain episodes requiring medical attention, compared to 33% of IBS patients.

Stress and Your Gut

Between 20% and 40% of people will experience stress-induced gastrointestinal symptoms at some point. These include abdominal pain, diarrhea, constipation, gas, bloating, and nausea. Your gut and brain are in constant two-way communication, and emotional stress changes how your digestive system moves, secretes acid, and processes food.

The tricky part is that stress-related gut pain doesn’t always line up neatly with an obvious stressor. It can appear before, during, or after a stressful period, and sometimes there’s no clear trigger at all. If your pain started during a particularly rough stretch at work, after a major life change, or alongside poor sleep and anxiety, stress is a plausible contributor. That said, ongoing symptoms that don’t resolve once the stress eases deserve further evaluation.

Medications That Cause Lingering Pain

Beyond NSAIDs, several common medications can cause abdominal discomfort that builds over days. Antibiotics frequently cause diarrhea and can disrupt gut bacteria enough to produce pain and bloating that outlast the course of treatment. Antipsychotic medications commonly cause significant constipation, which can lead to cramping and fullness. Bisphosphonates, used for osteoporosis, can irritate the esophagus and upper stomach.

If you started a new medication in the past few weeks and your stomach pain followed, check the side effect profile. Drug-induced GI symptoms are more common than most people realize and often resolve once the medication is adjusted or stopped.

Constipation as a Hidden Cause

It sounds simple, but constipation is one of the most overlooked causes of abdominal pain lasting days to weeks. When stool backs up in your colon, it causes bloating, cramping, and a dull ache that can be surprisingly widespread. You might not even realize you’re constipated if you’re still having some bowel movements, just less frequently or with harder stools than usual. Dehydration, low fiber intake, travel, and changes in routine all contribute. If you haven’t had a normal bowel movement in several days and your belly feels tight or distended, this is worth addressing before assuming something more serious.

Signs That Need Prompt Attention

Most causes of week-long stomach pain are manageable, but certain symptoms change the picture. You should be seen promptly if your pain is getting progressively worse rather than staying the same, your abdomen feels rigid or extremely tender to touch, you see blood in your stool or urine, you have a persistent fever, you can’t keep food down for days, your skin or eyes are yellowing, or you haven’t had a bowel movement in several days despite trying. Sudden, severe pain that comes on like a switch being flipped is always an emergency, regardless of how long you’ve had milder symptoms before it.

For pain that has been steady for a week without these red flags, a visit to your primary care provider is reasonable. The evaluation typically starts with a physical exam and basic blood work, and your provider will use the location, character, and timing of your pain to decide whether imaging or further testing is needed.