PDF download Download Article PDF download Download Article

Stomach cramps are extremely painful, but it's possible to relieve them by treating the underlying cause, which you may even be able to do at home. Possible causes of stomach cramps can come from your digestive organs, aorta, appendix, kidneys, gallbladder, or spleen. They can also originate from an infection elsewhere in your body.[1] Cramps are commonplace for some women during their menstrual cycle, although exercises can often alleviate such pain. The strength of pain does not always necessarily indicate seriousness: very painful cramps can be caused by gas passing through your digestive system harmlessly, whereas life-threatening conditions such as colon cancer and early appendicitis can produce mild or even no pain.[2]

Method 1
Method 1 of 7:

Treating Heartburn/Indigestion

PDF download Download Article
  1. Although heartburn and indigestion are different, indigestion can lead to heartburn. Indigestion, or dyspepsia, is
    mild discomfort in the upper part of your abdomen
    that is usually accompanied by a feeling of fullness.[3] Heartburn, on the other hand, is a
    painful, burning feeling just below or behind the breastbone.
    [4] This is caused by a “reflux” of stomach acid and food into the esophagus (the muscular tube that leads to your stomach).
    • Additional signs that you have heartburn or indigestion include fullness and discomfort after eating and/or a burning sensation below the breastbone generally after eating.
    • See if you have any sensitivity after eating certain foods, such as gluten, eggs, or peanuts. Try eliminating the foods from your diet for 4 weeks to see if your symptoms improve.
  2. Small intestine bacterial overgrowth, or SIBO, can cause cramps, bloating, gassiness, and abdominal discomfort. Talk to your primary healthcare provider if you have any of the symptoms to see if there’s a prescription antibiotic or antifungal you can get.[5]
    Advertisement
  3. Lifestyle changes can help prevent and resolve heartburn and indigestion.[6] [7]

    Lifestyle Changes
    Decreasing your alcohol and caffeine intake
    Eating less spicy, fatty, or greasy foods
    Eating small, frequent meals instead of large meals
    Eating slower and not eating right before bedtime
    Raising the head of your bed if you experience heartburn during the night
    Reducing your stress level
    Regular exercise
    Smoking cessation
    Losing some weight if you are overweight
    Avoiding aspirin or NSAIDs

  4. Over-the-counter antacids or acid blockers can help relieve heartburn and indigestion. Many different forms are available on the market. Some antacids can have side effects such as constipation or diarrhea. Talk to your pharmacist or doctor to choose the best one for you.[8] [9]
    • Avoid taking antacids over a long-term period of time since it could make SIBO, malabsorption, or IBS feel worse.

    Available Acid Blockers
    Antacids, such as TUMS, are good for short-term relief. These neutralize the acid in your stomach.
    H2 blockers, such as Zantac or Pepcid, block the production of stomach acid and last a few hours.
    Proton pump inhibitors (PPIs), including Prilosec and Omeprazole, also block production of stomach acid and help relieve the symptoms of and prevent frequent heartburn. PPIs are used long term.

  5. If you prefer herbal remedies, alternative medication may help relieve heartburn or indigestion.[10]

    Natural Remedies
    Chamomile: There is some evidence that shows chamomile in combination with other herbs may be good for an upset stomach. Try a cup of chamomile tea to help soothe the pain.[11] Do not use chamomile if you take anticoagulants, as it interferes with these medications.
    Peppermint Oil: Enteric-coated peppermint oil capsules can be used for irritable bowel syndrome. There are some studies that peppermint oil with caraway oil can also help with indigestion.[12]
    Deglycyrrhizinated licorice (DGL): Licorice root, in preliminary studies, has been shown to help with digestion and heartburn. It can, however, cause an increase in blood pressure.

  6. Advertisement
Method 2
Method 2 of 7:

Treating Gas

PDF download Download Article
  1. Often, gas can cause stomach pain and a bloated feeling. Signs that you are experiencing gas include frequent belching or burping and flatulence. Gas can also cause abdominal cramps, as well as a tightness or knotted feeling in your abdomen.[13]
  2. Lifestyle changes can help resolve and prevent gas. Some lifestyle changes that you can make include:[14] [15]
    • Drinking more water and less carbonated or fizzy drinks
    • Avoiding vegetables that cause more gas, such as legumes, broccoli, and cabbage
    • Avoiding high-fat or high-sugar foods
    • Eating slower to avoid swallowing air
  3. Cut out certain foods to see if intolerance of those foods is the cause. For example, milk and dairy products may cause cramps and stomach pain in people who are lactose intolerant.[16]
  4. OTC
    products with simethicone help make it easier to belch away gas.
    Digestive enzymes may be useful if you are lactose intolerant. A digestive aid, such as Beano, can help digest beans and vegetables. Charcoal tablets can also help relieve bloating and gas.[17]
  5. Advertisement
Method 3
Method 3 of 7:

Treating Constipation

PDF download Download Article
  1. Constipation can also cause stomach pain. Signs of constipation include
    having bowel movements less than three times a week, trouble passing stool, or hard and dry stool.
    [18]
  2. Lifestyle changes can help resolve and prevent constipation. Some lifestyle changes that you can make include:[19] [20]
    • Adding more fiber to your diet. Fruits, vegetables, and grains are high in fiber.
    • Drinking a lot of water (at least 8 – 13 glasses daily)
    • Exercising regularly
  3. There are many OTC laxatives and fiber supplements; however, many laxatives may have side effects. Choosing the appropriate one may help relieve constipation. It is important to note that laxatives are not for long-term use.[21]

    Laxatives to Try
    Lubricants, such as mineral oil, make it easier for stool to pass.
    Stool softeners, such as docusate, soften the stool. This is good for patients who are on medications that cause constipation.
    Bulk-forming laxatives, including psyllium, add bulk to the stool.
    Stimulant laxatives, such as bisacodyl, cause contraction of the muscles of the intestinal wall helping to push the stool; however, long-term use can cause damage to your intestinal wall.
    Osmotic laxatives, like saline laxatives or polyethylene glycol, cause water to be drawn into your GI tract, making it easier for stool to pass. These may cause electrolyte imbalances.
    Fiber supplements, like Metamucil, help absorb water and maintain regularity.

  4. Alternative medications may help relieve constipation.
    Flaxseed is the most common herbal remedy.
    It has soluble fiber that can help with constipation.[22]
  5. Advertisement
Method 4
Method 4 of 7:

Treating Menstrual Cramps

PDF download Download Article
  1. Menstrual cramps in the lower abdomen are experienced by women usually just before and/or during their periods.[23] Sometimes they can be serious and indicate endometriosis or uterine fibroids.
  2. Lifestyle changes that can help relieve menstrual cramps include exercise, stress management, and avoiding tobacco and alcohol. In addition, studies have shown that vitamin E, omega-3 fatty acids, vitamin B-1 (thiamine), vitamin B-6, and magnesium supplements may reduce menstrual cramps.[24]
  3. Pain relievers, such as ibuprofen, at regular doses starting the day before you get your period
    may help if your cramps are predictable. Try a 200-400 mg dose of ibuprofen up to 3 times per day. You can continue taking the medicine as directed by your doctor for 2 to 3 days or until your symptoms go away. If your cramps are severe, your doctor can also prescribe birth control, which can reduce the severity of your cramps.[25]
    • Try applying a warm heating pad on your lower abdomen for 15-20 minute increments.
  4. Some studies have found that acupuncture (inserting thin needles through your skin at strategic points) helps relieve menstrual cramps. In addition, some herbs such as fennel or chamomile may help with the cramps as well.[26]
  5. Advertisement
Method 5
Method 5 of 7:

Treating Stomach Flu

PDF download Download Article
  1. Gastroenteritis, or the “stomach bug,” can cause severe stomach pain.
    Nausea, vomiting, diarrhea, and a fever generally accompany this.
    [27]
  2. Dehydration is the most common issue with gastroenteritis, so drink a lot of liquids such as water and diluted sports drinks (undiluted, sports drinks contain too much sugar. Try cutting them by adding more water.). Take them in frequent sips. Get medical help if you cannot keep down liquids.[28]

    Signs of Dehydration
    Dark urine
    Dizziness
    Muscle cramps
    Fatigue
    Dry mouth[29]

  3. In addition to stomach cramps, vomiting and nausea are associated with gastroenteritis.[30] Let your stomach settle then slowly begin to eat easy-to-digest and bland foods. Avoid spicy and fatty food, dairy products, caffeine, and alcohol for a few days.

    Easy-to-Digest Foods
    Saltine crackers
    Toast
    Bananas
    White rice
    Applesauce
    Eggs
    Sweet potatoes
    Gelatin

  4. Getting rest is important to be able to recover quickly. Rest helps promote your immune system, which will help you reduce downtime while you have symptoms.[31]
  5. Viral gastroenteritis, commonly known as the stomach flu or stomach bug, is highly contagious and can cause diarrhea and stomach pain. If a friend, family member, or coworker has the stomach flu, make sure to wash your hands often to prevent the spread of it.[32]
  6. Advertisement
Method 6
Method 6 of 7:

Using Other Techniques to Relieve Discomfort

PDF download Download Article
  1. Breathing is relaxing and can divert your attention from the pain of mild cramps.[33] You can do this while doing something else that will divert your attention, such as watching a television show.
    • Focus on your breathing.
      Use a fast and shallow breathing rate, following a one-two (breathe in fast, breathe out fast) rhythm.
  2. Alcohol or any caffeinated or carbonated drink can add to abdominal pain. Sip water or clear fluids.[34]
  3. Take a walk around your house, or in the garden. This can be helpful when you find that sitting or lying down is uncomfortable. Moving around can help relieve intestinal and stomach discomfort.[35]
    • You may find it best to
      avoid abdominal exercises
      while experiencing cramps due to the discomfort, especially because cramps may result from exercise itself if you push yourself too hard. Know your limits.
  4. Some evidence suggests yoga may help with stomach issues such as irritable bowel syndrome.[36] If you're familiar with yoga, consider some
    poses that open up the abdominal region.
    Depending on where the cramps are, consider fish pose or reclining hero. Downward facing dog can also be helpful.
    • If your cramps are muscular in nature, exercise your abdominal muscles at another time and merely stretch them in the cobra pose. Any position where you are facing up, looking forward or facing the ceiling will result in a minuscule amount of abdominal tension.
  5. Place a heating pad, heated wheat bag, or hot water bottle on your stomach to give temporary relief, especially for menstrual cramps.[37] While some advice suggests not to apply the heating pad to your abdomen in case this brings on nausea, other advice considers this to be appropriate. Decide on which approach best suits your needs through your knowledge of your own preferences and responses to the application of heat.
  6. Allow yourself to pass gas. If you are at work or somewhere this might be embarrassing or inappropriate, just excuse yourself and go to the restroom. You do not want to allow yourself to become bloated or let the cramps become more serious and painful by holding in your gas.[38]
  7. The heat from a warm bath can help soothe and relax your stomach cramps and is really effective at relieving the pain caused by menstrual cramps.[39] Don't make it too hot, just comfortable.
  8. Advertisement
Method 7
Method 7 of 7:

Contacting Your Doctor

PDF download Download Article
  1. Knowing when to contact a doctor or get help is essential. Stomach pain is a symptom of many different issues and some can be serious, such as peptic ulcers, pancreatitis, appendicitis, autoimmune disease, gall bladder issues, cancer, and more. Generally for stomach pain, get help immediately if:[40]
    • You have abdominal pain that is sudden and sharp, or you have pain in your chest, neck, or shoulder
    • You’re vomiting blood or have blood in your stool
    • Your abdomen is hard and tender to touch
    • You can't move your bowels and are also vomiting
    • You can’t hold down liquids
  2. Though these conditions are typically minor and can easily be treated with over-the-counter medicines, you should see your doctor if:[41] [42]
    • Your symptoms last longer than a few days or do not improve with medication
    • You lose weight you were not trying to lose
    • You have sudden or severe pain. Get immediate care if you feel a crushing or squeezing pain.
    • You have trouble swallowing
    • Your skin or eyes look pale or yellow
    • You vomit blood or have bloody, dark stool
    • Your stool looks like coffee grounds
  3. The other symptoms also associated with “stomach flu” can lead to a situation where you should see a doctor. These include:[43] [44]
    • You have been vomiting for more than two days
    • Diarrhea persists more than several days or is bloody
    • You have a persistent high fever of 101°F (38.3°C) or higher
    • You have lightheadedness, fainting, or confusion when standing
  4. If or when you do decide to see a doctor,
    do not take aspirin, ibuprofen, or any other anti-inflammatory medications or narcotic pain medications unless your doctor has seen you and has prescribed these.
    They can worsen some stomach pains.[45]
    • If you know that the source of your cramps is menstrual, however, anti-inflammatories can be taken.[46]
    • Acetaminophen is acceptable if your doctor has verified that your pain is not related to your liver.[47]
  5. Advertisement

Expert Q&A

Search
Add New Question
  • Question
    What foods cause stomach cramps?
    Michele Dolan
    Michele Dolan
    Certified Fitness Trainer
    Michele Dolan is a Fitness Trainer based in Sidney, British Columbia. She has been a personal trainer and fitness instructor since 2002, and was certified as a Personal Trainer by the British Columbia Recreation and Parks Association (BCRPA). Michele is also a Registered Clinical Counselor, and uses her 20+ years of fitness coaching experience to help clients understand their mind-body connection. She is a Registered Clinical Counsellor (RCC) and Certified Clinical Counsellor (CCC), certified by the British Columbia Association of Clinical Counsellors and the Canadian Counselling and Psychotherapy Association. In her work, Michele uses the tools of Cognitive Behavioral Therapy, Dialectic Behavior Therapy and Cognitive Processing Therapy for Post Traumatic Stress Syndrome. She practices and teaches mindfulness and acceptance in all of her coaching work. She holds a Master’s Degree in Counselling Psychology.
    Michele Dolan
    Certified Fitness Trainer
    Expert Answer
    Every person is different but foods that are more common for causing cramps include dairy, legumes such as chick peas, beans and lentils, cruciferous vegetables such as cauliflower, broccoli and cabbage, popcorn, plus spicy or greasy deep fried foods. Pay attention to when you get cramps and try to recollect what foods you've consumed recently to nail down the offending substance.
  • Question
    I have gotten severe cramps in my stomach due to exercising a lot. What can I do?
    Michele Dolan
    Michele Dolan
    Certified Fitness Trainer
    Michele Dolan is a Fitness Trainer based in Sidney, British Columbia. She has been a personal trainer and fitness instructor since 2002, and was certified as a Personal Trainer by the British Columbia Recreation and Parks Association (BCRPA). Michele is also a Registered Clinical Counselor, and uses her 20+ years of fitness coaching experience to help clients understand their mind-body connection. She is a Registered Clinical Counsellor (RCC) and Certified Clinical Counsellor (CCC), certified by the British Columbia Association of Clinical Counsellors and the Canadian Counselling and Psychotherapy Association. In her work, Michele uses the tools of Cognitive Behavioral Therapy, Dialectic Behavior Therapy and Cognitive Processing Therapy for Post Traumatic Stress Syndrome. She practices and teaches mindfulness and acceptance in all of her coaching work. She holds a Master’s Degree in Counselling Psychology.
    Michele Dolan
    Certified Fitness Trainer
    Expert Answer
    Cramps from overdoing exercise can be caused by several things; including dehydration, overuse of muscles, poor posture, gravity pulling abdominal muscles downward, and deficiencies in minerals such as magnesium, calcium and potassium. Slow down or stop the exercise, take some sips of diluted sports drink, raise your arms above your head and take long slow deep breaths. In the future, stay hydrated, bring fluids along with you when exercising, and keep the exercise less intense so you can work up your fitness level more gradually and your body can adjust to the exercise. If the cramps persevere for longer than a few weeks, or become severe, seek medical attention.
  • Question
    Would avoiding FODMAPs help cramps?
    Luba Lee, FNP-BC, MS
    Luba Lee, FNP-BC, MS
    Board-Certified Family Nurse Practitioner
    Luba Lee, FNP-BC is a Board-Certified Family Nurse Practitioner (FNP) and educator in Tennessee with over a decade of clinical experience. Luba has certifications in Pediatric Advanced Life Support (PALS), Emergency Medicine, Advanced Cardiac Life Support (ACLS), Team Building, and Critical Care Nursing. She received her Master of Science in Nursing (MSN) from the University of Tennessee in 2006.
    Luba Lee, FNP-BC, MS
    Board-Certified Family Nurse Practitioner
    Expert Answer
    Food sensitivities, as well as small intestinal bacterial overgrowth (SIBO), are often the cause of stomach cramps. When you have SIBO and eat FODMAP- rich foods the bad bacteria in your intestine overproduce gas leading to cramps. You may want to try an elimination diet or at least start with low FODMAP diet and see if your symptoms of gas, bloating and cramps improve.
See more answers
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement

Reader Videos

Submit a Video Tip!

Share a quick video tip and help bring articles to life with your friendly advice. Your insights could make a real difference and help millions of people!

Submit a Video

Tips

  • Look into the possibility that you might be suffering from a condition or a disease that causes cramping. Some of the conditions or diseases that can cause cramping include Crohn's disease, Irritable Bowel Syndrome (IBS), ulcers, diverticulitis, bowel obstruction, pancreatitis, ulcerative colitis, urinary infections, cancers, and hernias.[48] Ask for your doctor's advice and seek medical testing and treatment options if this turns out to be an issue.
  • Try not to take OTC medications unless it’s really necessary. Some medications can cause long-term issues if you take them too often.
  • Avoid eating spicy or heavily seasoned food, which can cause indigestion, heartburn, and stomach pain.
Show More Tips

Tips from our Readers

  • When cramping is accompanied by diarrhea, vomiting, and fever, you likely have a stomach bug. Sip fluids and broth until the nausea passes, then gradually reintroduce gentle foods like saltines, white rice, applesauce, and toast.
  • When it comes to relieving menstrual cramps, take over-the-counter pain meds like ibuprofen starting the day before your period is expected. Taking them preemptively helps ease cramps once your cycle starts.
  • Don't ignore sudden, severe abdominal pain that persists for hours, especially if you have shoulder and back pain, too. This can indicate a serious issue like pancreatitis. Seek emergency care right away.
  • If you experience chronic stomach pain and discomfort, keep a symptom journal for tracking foods, activities, and other factors. Bring this log to your doctor. It helps them make an accurate diagnosis.
  • If you have frequent bloating and cramps, try eliminating common trigger foods like dairy, wheat, eggs, and beans for 2-4 weeks to pinpoint if you have a food intolerance making things worse.
  • One of the best home remedies for all kinds of stomach cramps is a heating pad placed on your abdomen. The heat helps relax muscles and increase blood flow to ease discomfort fast.
Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!
Advertisement

Warnings

  • Poisoning, including some animal and insect bites, can cause severe abdominal pain. If you’ve been bitten, stung, or come into contact with a poisonous chemical, then call Poison Control and follow their instructions.
  • This article offers information, but it does not offer medical advice. If you feel uncertain about identifying or treating your stomach cramps, then you should consult your doctor.
Advertisement

You Might Also Like

Advertisement
  1. https://pubmed.ncbi.nlm.nih.gov/18630390/
  2. https://nccih.nih.gov/health/chamomile/ataglance.htm
  3. https://nccih.nih.gov/health/peppermintoil
  4. http://www.nlm.nih.gov/medlineplus/gas.html
  5. http://www.nlm.nih.gov/medlineplus/gas.html
  6. http://www.nlm.nih.gov/medlineplus/ency/article/003124.htm
  7. http://www.nlm.nih.gov/medlineplus/ency/article/003120.htm
  8. https://pubmed.ncbi.nlm.nih.gov/32310457/
  9. http://www.nlm.nih.gov/medlineplus/constipation.html
  10. http://www.nlm.nih.gov/medlineplus/ency/article/003125.htm
  11. http://www.nlm.nih.gov/medlineplus/constipation.html
  12. https://pubmed.ncbi.nlm.nih.gov/28185025/
  13. https://nccih.nih.gov/health/flaxseed/ataglance.htm
  14. https://pubmed.ncbi.nlm.nih.gov/24695505/
  15. https://pubmed.ncbi.nlm.nih.gov/24695505/
  16. https://pubmed.ncbi.nlm.nih.gov/24695505/
  17. https://pubmed.ncbi.nlm.nih.gov/29879061/
  18. http://www.nlm.nih.gov/medlineplus/gastroenteritis.html
  19. https://pubmed.ncbi.nlm.nih.gov/29369591/
  20. https://pubmed.ncbi.nlm.nih.gov/27583707/
  21. https://pubmed.ncbi.nlm.nih.gov/31473758/
  22. https://pubmed.ncbi.nlm.nih.gov/30388243/
  23. https://pubmed.ncbi.nlm.nih.gov/31205690/
  24. https://pubmed.ncbi.nlm.nih.gov/21939499/
  25. http://www.nlm.nih.gov/medlineplus/ency/article/003120.htm
  26. https://pubmed.ncbi.nlm.nih.gov/30843436/
  27. http://www.ncbi.nlm.nih.gov/pmc/articles/PMC2642499/
  28. https://pubmed.ncbi.nlm.nih.gov/24695505/
  29. https://pubmed.ncbi.nlm.nih.gov/28508867/
  30. https://pubmed.ncbi.nlm.nih.gov/24695505/
  31. http://www.nlm.nih.gov/medlineplus/abdominalpain.html
  32. http://www.nlm.nih.gov/medlineplus/indigestion.html
  33. http://www.nlm.nih.gov/medlineplus/heartburn.html
  34. http://www.iffgd.org/site/manage-your-health/symptoms-causes/controlling-gas/treatment
  35. https://pubmed.ncbi.nlm.nih.gov/30702253/
  36. http://www.nlm.nih.gov/medlineplus/ency/article/003120.htm
  37. https://pubmed.ncbi.nlm.nih.gov/26224322/
  38. http://www.nlm.nih.gov/medlineplus/ency/article/003120.htm
  39. https://pubmed.ncbi.nlm.nih.gov/27159638/

About This Article

Luba Lee, FNP-BC, MS
Medically reviewed by:
Board-Certified Family Nurse Practitioner
This article was medically reviewed by Luba Lee, FNP-BC, MS. Luba Lee, FNP-BC is a Board-Certified Family Nurse Practitioner (FNP) and educator in Tennessee with over a decade of clinical experience. Luba has certifications in Pediatric Advanced Life Support (PALS), Emergency Medicine, Advanced Cardiac Life Support (ACLS), Team Building, and Critical Care Nursing. She received her Master of Science in Nursing (MSN) from the University of Tennessee in 2006. This article has been viewed 5,024,991 times.
20 votes - 69%
Co-authors: 166
Updated: August 21, 2024
Views: 5,024,991

Medical Disclaimer

The content of this article is not intended to be a substitute for professional medical advice, examination, diagnosis, or treatment. You should always contact your doctor or other qualified healthcare professional before starting, changing, or stopping any kind of health treatment.

Article SummaryX

To cure stomach cramps caused by heartburn and indigestion, decrease your alcohol and caffeine intake, stop eating spicy foods, and eat small, frequent meals rather than a few large meals each day. If you're dealing with gas pain, try taking an over-the-counter product like Beano or charcoal tablets. You can also take 200-400 milligrams of ibuprofen up to 3 times per day to relieve pain caused by menstrual cramps. For tips on dealing with constipation-related cramps, read on!

Did this summary help you?

Thanks to all authors for creating a page that has been read 5,024,991 times.

Reader Success Stories

  • Anonymous

    Anonymous

    Aug 2, 2016

    "Was stated clearly that what medicine we should take and what not to be taken during pain. Worth trying first..." more
Share your story

Did this article help you?

Advertisement