PDF download Download Article PDF download Download Article

When you’re dealing with the pain caused by a stomach ulcer, you might shudder at the mere thought of lying down to sleep. Stomach ulcers occur when the stomach's protective lining is weakened, usually due to excessive NSAID pain reliever use or an H. pylori infection, which allows your stomach acid to cause tissue damage. Fortunately, most ulcers can be healed with a combination of doctor-directed and at-home treatments, so stop suffering and get sleeping!

Method 1
Method 1 of 3:

Adjusting Your Sleeping Position

PDF download Download Article
  1. Keeping your upper body elevated puts gravity to work for you, potentially making it more difficult for stomach acid to reach and irritate your ulcer. Additionally, sleeping on your back reduces the compression of your digestive system, which can also reduce ulcer pain. [1]
    • Unfortunately, depending on the location of your stomach ulcer, sleeping in this position may not necessarily cause a great deal of relief. But it’s definitely worth a try!
    • Elevate your head with a wedge pillow, or use wood blocks to raise the head of your bed.
    • If you find this sleeping position so uncomfortable that it makes it hard for you to sleep, you may be doing more harm than good. Try sleeping on your side instead.
    • Putting a pillow under your knees can help take the pressure off of your stomach.
  2. If sleeping on your back doesn’t suit you, opt for sleeping on your left side instead of your right. Because of the layout of your digestive system, staying on your left side may cause less compression and less ulcer pain. [2]
    • As with sleeping on your back, this isn’t a guaranteed solution, depending on the location of your stomach ulcer.
    • Placing a pillow between your knees may make side-sleeping more comfortable.
    Advertisement
  3. This is typically the worst sleeping position for a stomach ulcer or other stomach acid-related troubles (such as GERD). If you’re naturally a stomach-sleeper, try your best to get used to sleeping either on your back or your left side instead. [3]
    • Sleeping on your stomach is also harder on your back and neck than other sleeping positions.
  4. Advertisement
Method 2
Method 2 of 3:

Creating a Good Sleep Environment

PDF download Download Article
  1. Start planning for bedtime several hours before you actually go to bed! Avoid caffeine at or after dinner, and possibly anytime after lunch. Don’t eat any meals or large snacks within 3 hours of your bedtime. And steer clear of screens like TVs, computers, smartphones, and tablets for at least an hour before bed.
    • The stimulant effect of caffeine counteracts your body’s preparation for sleep.
    • Eating before bedtime puts your digestive system to work instead of letting it rest, makes you feel bloated and uncomfortable, and causes excess stomach acid production.
    • The “blue light” produced by electronics screens may interfere with your body’s natural circadian rhythm that dictates your sleep cycle.
    • If you can, use dimmable lights and reduce their intensity as you get later into the night This can help increase melatonin so you get better, healthier sleep.
  2. By sticking to a steady routine each night, you can essentially train your body to be ready for sleep. For about 1 hour before going to sleep, complete a series of relaxing, calming activities that signal sleepy-time! For instance, you may try:
    • Taking a warm bath with Epsom salt and up to 20 drops of lavender essential oil.
    • Massaging your feet, legs, arms, and neck, especially while you’re in the tub.
    • Laying out your clothes for tomorrow while listening to soothing music.
    • Meditating or praying.
    • Listening to relaxing music
    • Reading a few pages of a calming book.
  3. The more snooze-friendly your sleeping area is, the more likely you’ll be to fall asleep and stay asleep despite your discomfort. Try measures like the following:
    • Keep the room as dark as you can. Use blackout curtains and remove light sources such as night lights and bright clock displays from the room.
    • Set the thermostat on the cool side of room temperature, perhaps around 65–68 °F (18–20 °C).
    • Shut doors or windows, if possible, to block sources of ambient noise, such as street traffic. Alternatively, use a white noise machine to mask unwanted sounds.
    • Sleep on a good mattress with soft, comfortable bedding and a supportive pillow.
    • Use an air purifier with a HEPA filter to help improve the air quality in your room. It can also make a soothing humming noise that may cancel out other noises and help you fall asleep.
  4. Treat sleep apnea and other sleep disorders with your doctor’s help. It’s a vicious cycle—stomach ulcers make it harder to sleep, and not getting enough sleep can make gastrointestinal illnesses like stomach ulcers more likely. Since the problems are connected, treat them both at the same time. Along with getting medical treatment for your stomach ulcer, talk to your doctor about diagnostic and treatment options for any sleep disorders you may have. [4]
    • Sleep apnea can be a life-threatening condition if left untreated. It also makes you more likely to develop stomach ulcers. [5]
  5. Advertisement
Method 3
Method 3 of 3:

Treating Your Ulcer Symptoms

PDF download Download Article
  1. Don’t just assume you have a stomach ulcer, and definitely don’t just wait for it to go away! Instead, visit with your doctor and undergo any tests required for them to reach a diagnosis. Then, discuss which treatment options are appropriate for your condition. [6]
    • The most common symptom of a stomach ulcer is a burning pain in the center of your chest, typically just below your breastbone. Bloating is also a common symptom, while nausea and vomiting are less frequent symptoms.
    • To diagnose a stomach ulcer, your doctor will ask about your symptoms, take a family history, and do a physical examination. You may also need to undergo an endoscopy, during which a small camera is inserted down your throat while you’re sedated.
  2. Excess stomach acid doesn’t cause stomach ulcers, but it does make the painful symptoms worse. Cutting back on your stomach acid should reduce your pain and help promote healing of the ulcer. Common acid-reducing options include: [7]
    • Antacids, which are over-the-counter (OTC) medicines that neutralize the acid in your stomach. These don’t really promote healing of your ulcer, but they can help reduce your ulcer pain. [8]
    • H-2 blockers, which reduce the amount of acid secreted into your stomach. These may be prescribed to help reduce discomfort and promote ulcer healing.
    • Proton pump inhibitors (PPIs), which are typically even more effective than H-2 blockers at inhibiting acid secretion. You may be prescribed a PPI for a few weeks or longer to help heal your ulcer.
  3. If (and only if) your stomach ulcer is caused by an H. pylori bacterial infection, antibiotics can help reduce your symptoms and heal the ulcer. If your ulcer has another cause, antibiotics will not help. Take any antibiotics exactly as prescribed and for as long as directed. [9]
    • Your doctor may do a breath test to check for signs of an H. pylori infection as part of their diagnosis of your stomach ulcer.
    • In some cases, you may be placed on 2 different antibiotics and a PPI for 2 weeks to treat a stomach ulcer.
  4. [10] Stomach ulcers are most commonly caused either by H. pylori infections or frequent use of non-steroidal anti-inflammatory drugs (NSAIDs) such as aspirin and ibuprofen. Therefore, reducing or eliminating NSAID use may promote healing of your ulcer. Your doctor will likely advise you to use a different category of pain reliever, such as acetaminophen, instead. [11]
    • If you’re on a doctor-prescribed NSAID regimen, don’t stop taking your medication in an effort to self-treat a suspected ulcer. Always talk to your doctor first.
  5. Fill a mug with boiling water and use it to steep a bag of chamomile tea for about 4–5 minutes. Drink your tea while it’s still hot to soothe any discomfort you’re feeling from the ulcer. If you want, you can have multiple cups of chamomile tea throughout the day. [12]
    • You can buy chamomile tea from your local grocery store.
    • Chamomile has natural antioxidants and anti-inflammatories so they can reduce your stomach acid and help the ulcer heal faster.
  6. Fill a diffuser with distilled water and a few drops of clove, cinnamon, thyme, or lemon essential oils. As you run the diffuser, take deep breaths so you’re able to relax more and smell the oils. You can use aromatherapy throughout the day or even while you’re asleep. [13]
  7. Despite what you may have heard, spicy foods don’t cause stomach ulcers—but they can definitely make them feel worse! Different people have different trigger foods that exacerbate their ulcer pain, so your best option is to keep track of what you eat and the severity of your ulcer symptoms. Once you identify particular foods that cause flare-ups, do your best to limit or completely avoid them.
    • Spicy foods, acidic foods (like tomatoes and citrus), chocolate, mint, and fried foods are the most common culprits, but your triggers may be different. Carbonated drinks and dairy products can sometimes soothe ulcer pain temporarily but make it feel even worse afterward.
    • Try keeping a food diary to track what you eat and how you feel afterward.
    • Try an elimination diet where you cut specific foods out of your diet for a few days at a time. If you start feeling more relieved, then try to avoid that food in the future.
  8. Quit smoking and reduce your alcohol intake. In addition to causing a wide range of other health problems, smoking can increase your stomach acid production and worsen your ulcer symptoms. Alcohol also tends to cause extra stomach acid production and therefore more ulcer pain. Steering clear of both may noticeably reduce your symptoms. [14] [15]
  9. Like spicy foods, stress often gets undeserved blame for causing stomach ulcers. While stress isn’t actually the cause, it can definitely make your ulcer discomfort more noticeable. Stress can also trigger unhealthy coping behaviors, like smoking, drinking too much, or eating unhealthy “comfort” foods, that can increase ulcer pain.
    • Look for healthy ways to relieve stress such as light exercise, meditation or prayer, yoga or tai chi, deep breathing, mindfulness techniques, experiencing nature, or talking to a good friend.
    • Talk to your doctor or a mental health professional if you’re really struggling to deal with stress.
  10. Following a doctor-approved treatment plan may resolve a stomach ulcer in as few as 2-3 weeks, though it may take longer. Stay in contact with your doctor and update them about your progress or lack of progress, and discuss adjustments to your treatment plan as needed. Get medical attention right away if you: [16]
    • Start vomiting blood or dried blood (which looks like coffee grounds).
    • Have persistent vomiting or diarrhea.
    • Develop a high or persistent fever.
    • See blood or dried blood (which looks black and tarry) in your stool.
    • Have severe pain or bloating.
    • Develop jaundice (yellowing of your skin and eyes).
  11. Advertisement

Expert Q&A

Search
Add New Question
  • Question
    How can I relieve pain caused by an ulcer?
    Roy Nattiv, MD
    Board Certified Gastroenterologist
    Dr. Roy Nattiv is a Board-Certified Pediatric Gastroenterologist in Los Angeles, California. With over 20 years of experience he specializes in a broad range of pediatric gastrointestinal and nutritional illnesses such as constipation, diarrhea, reflux, food allergies, poor weight gain, SIBO, IBD, and IBS. He completed his pediatric residency at the Children’s Hospital at Montefiore, Albert Einstein College of Medicine in New York, and his fellowship at the University of California, San Francisco (UCSF). While at UCSF, he was a California Institute of Regenerative Medicine (CIRM) fellowship trainee and was awarded the North American Society for Pediatric Gastroenterology, Hepatology, and Nutrition (NASPGHAN) Fellow to Faculty Award in Pediatric IBD Research. Dr. Nattiv received his undergrad degree from the University of California, Berkeley, and his medical degree (MD) from the Sackler School of Medicine in Tel Aviv, Israel.
    Board Certified Gastroenterologist
    Expert Answer
    The most important thing is to address the underlying cause. If the ulcer is caused by an infection like H pylori, make sure that you complete a full course of treatment and retest 4-6 weeks later. You should also avoid NSAIDs like Ibuprofen since they can make ulcer symptoms worse. Additionally, quit smoking, don't drink alcohol, and take antacids. There are some over-the-counter antacids as well as prescription-strength antacids that you can take to help deal with the pain associated with an ulcer. Eating a low-acid diet will also help.
Ask a Question
      Advertisement

      Video

      Tips

      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!
      1. Roy Nattiv, MD. Board Certified Gastroenterologist. Expert Interview. 14 October 2020.
      2. https://www.uofmhealth.org/health-library/hw217846
      3. https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2995283/
      4. https://www.ncbi.nlm.nih.gov/pmc/articles/PMC201172/
      5. https://www.uofmhealth.org/health-library/hw217846
      6. Roy Nattiv, MD. Board Certified Gastroenterologist. Expert Interview. 14 October 2020.
      7. https://www.uofmhealth.org/health-library/hw217846

      About This Article

      Thanks to all authors for creating a page that has been read 212,473 times.

      Reader Success Stories

      • Nana Mbanjwa

        May 3, 2020

        "I know how to sleep now when I'm in pain with ulcers."
      Share your story

      Did this article help you?

      Advertisement