How Long Do Stomach Cramps Last and When to Worry

Most stomach cramps resolve within a few hours to a few days, but the timeline depends entirely on what’s causing them. A bout of food poisoning might keep you cramping for one to three days, while cramps from a food intolerance can fade in a few hours. Knowing the cause helps you gauge whether your cramps are on a normal timeline or worth investigating further.

Stomach Virus Cramps

Viral gastroenteritis, often called the “stomach bug,” is one of the most common reasons for sudden stomach cramps. The two main culprits have noticeably different timelines. Norovirus, the virus behind most outbreaks in adults, typically causes symptoms lasting one to three days. Rotavirus, which hits young children hardest, tends to drag on longer at three to seven days.

In both cases, cramping is usually worst in the first 24 to 48 hours, then gradually eases as the virus runs its course. You can expect the cramps to come in waves rather than stay constant, often intensifying right before a bout of diarrhea or vomiting. Once the vomiting stops, the cramping usually tapers off within another day, though loose stools can linger a bit longer.

Food Poisoning

Food poisoning cramps tend to hit faster and harder than a stomach virus, but they also tend to resolve more quickly. Most cases of bacterial food poisoning cause cramps that last one to three days, though onset timing varies by the specific bacteria involved. Salmonella symptoms can begin anywhere from 6 hours to 6 days after eating contaminated food. E. coli typically takes 3 to 4 days to show up, while Campylobacter takes 2 to 5 days.

The tricky part is that you often can’t tell whether you’re dealing with a virus or food poisoning based on symptoms alone. The practical difference: if your cramps started within hours of a suspicious meal and are accompanied by vomiting or diarrhea, food poisoning is more likely. If they appeared a day or two after contact with someone who was sick, a virus is the more probable cause. Either way, most people recover fully within a week without any specific treatment beyond staying hydrated.

Menstrual Cramps

Period-related stomach cramps follow a predictable pattern. They typically start one to three days before your period begins, peak about 24 hours after bleeding starts, then subside over the next two to three days. That means the worst of it usually lasts about one to two days, with milder discomfort bookending that window.

These cramps happen because the uterus contracts to shed its lining, and the same chemicals that trigger those contractions can also affect the intestines. That’s why period cramps often come with bloating, nausea, or changes in bowel habits. If your cramps consistently last longer than three days into your period, or if they’re severe enough to interfere with daily life, that pattern is worth discussing with a healthcare provider, as it could point to conditions like endometriosis.

Food Intolerance Cramps

If your stomach cramps reliably show up after eating certain foods, a food intolerance is a likely explanation. Lactose intolerance is the most common example. Symptoms usually begin within a few hours of eating or drinking dairy and resolve once the offending food moves through your digestive system, generally within a few hours to half a day.

The key feature of intolerance-related cramps is the pattern: they happen repeatedly after the same type of food and resolve relatively quickly once you stop eating it. Unlike a food allergy, which involves the immune system and can cause hives or throat swelling, a food intolerance is a digestive problem. The cramps come from your gut struggling to break down a specific component, like lactose in dairy or fructose in certain fruits.

IBS Flare-Ups

Irritable bowel syndrome makes the “how long” question much harder to answer. IBS flare-ups can last anywhere from a few hours to several weeks. A flare triggered by a single meal might cause cramps for a few hours or up to a few days. But flares driven by prolonged stress, hormonal changes, or ongoing dietary triggers can stretch on for weeks or even months.

What distinguishes IBS from a one-off stomach issue is the recurring nature. Doctors generally look for a pattern of abdominal pain lasting more than three months before considering a diagnosis of chronic abdominal pain, which includes IBS. If your cramps come and go over weeks or months without an obvious cause like infection or food poisoning, that recurring pattern itself is useful diagnostic information.

Abdominal Muscle Strain

Not all “stomach cramps” originate inside the digestive tract. A strained abdominal muscle can mimic internal cramping, especially after intense exercise, heavy lifting, or forceful coughing. These strains get better with rest, though the timeline varies with severity. A mild strain might resolve in a week or two, while a more significant tear can take several weeks before you can comfortably return to normal activity.

You can usually tell the difference because muscle strain pain worsens with movement, coughing, or twisting, and it’s tender to the touch. Internal cramps tend to come in waves and are often accompanied by nausea, bloating, or changes in bowel habits.

When Stomach Cramps Signal an Emergency

Most stomach cramps are uncomfortable but not dangerous. However, certain patterns warrant immediate attention. The American College of Emergency Physicians recommends seeking emergency care if pain is sudden, severe, or does not ease within 30 minutes. Continuous severe abdominal pain, especially accompanied by nonstop vomiting, can indicate a serious condition.

Specific combinations to watch for:

  • Severe pain in the lower right abdomen with loss of appetite, nausea, or fever, which may suggest appendicitis
  • Pain in the middle upper abdomen lasting days that worsens after eating, with fever and a rapid pulse, which can indicate pancreatitis
  • Severe abdominal pain with vaginal bleeding in early pregnancy, a possible sign of ectopic pregnancy
  • Pain that starts mild and steadily worsens over hours without any relief, which can signal a bowel obstruction or other surgical emergency

The general rule: cramps that come and go are usually your gut working through something temporary. Pain that is constant, escalating, or accompanied by fever above 101°F is telling you something different.