It is 2am and your stomach has turned. A slow, queasy wave, maybe a dull ache under your ribs, and every time you shift position it rolls again. You are exhausted, but you cannot relax enough to sleep, because part of you is waiting to see if you are going to be sick. If nausea and stomach pain at night are keeping you awake, you are not imagining it, and there is a lot you can do from bed.
Here is the short answer. Sit up a little, or roll onto your left side. Loosen anything tight around your waist. Open a window for fresh air, and take small sips of a cold drink or ginger or peppermint tea. Then breathe slowly for 5 minutes and let the wave pass before you try to sleep. If the nausea comes with chest pain, pain spreading to your arm, jaw or back, or shortness of breath, call 911 now. Do not wait it out.
Stomach settling but your mind still racing? Try the free 5-minute sleep reset →
No password. We email you the link, and one tap opens your reset.
No password. We email you the link, and one tap opens your reset.
Why nausea and stomach pain hit harder at night
During the day you are upright, busy and distracted. At night you lie flat in a quiet room with nothing to do but notice your gut. Two things change when you lie down.
- Gravity stops helping. The NHS page on acid reflux lists bloating and feeling sick as reflux symptoms, and says symptoms are often worse after eating, when lying down and when bending over. A late dinner followed by lying flat is a classic setup.
- There is nothing else to focus on. A mild queasy feeling you would shrug off at your desk feels huge in the dark, and the worry about being sick keeps your body on alert.
The cause usually shows up in the other symptoms you have. The NHS guide to feeling sick links them like this:
- Heartburn or bloating after eating: acid reflux.
- Diarrhea or vomiting: a stomach bug such as norovirus, or food poisoning.
- Headache and a high temperature: an infection such as flu.
- Headache with sensitivity to light or sound: migraine.
- Dizziness: an inner ear problem like labyrinthitis, or vertigo.
The same page adds pregnancy, anxiety, alcohol, medicines and recent surgery to the list. A late drink or a new prescription is worth thinking about if the nausea started recently. Check the leaflet of anything you started taking, and keep taking prescribed medicine until you have spoken to your doctor.
What to do in bed right now
Work through these in order. Most take a minute or two.
- Get your head and chest up. Sit up against the headboard, or lie on your left side (more on why below). The NHS feeling-sick advice says not to lie down soon after eating, and lying flat is often when the wave builds.
- Loosen your waistband. Pajama elastic, a tight T-shirt tucked in, a belt you forgot to take off. The NHS lists tight clothes around your tummy as something to avoid when you feel sick.
- Get some cool, fresh air. Crack a window or turn on a fan. The NHS suggests plenty of fresh air, and Mayo Clinic names stuffy rooms, heat, perfume and food smells as common nausea triggers.
- Sip, don’t gulp. Small, regular sips of a cold drink, or a warm cup of ginger or peppermint tea. Both are on the NHS list. Keep a glass of water on the nightstand so you do not have to walk to the kitchen.
- Slow your breathing for 5 minutes. In through your nose for a count of 5, out gently for a count of 5. This is the NHS calming breath, and the NHS says to keep going for at least 5 minutes. It will not cure a stomach bug. It does stop you tensing up and gasping every time the nausea rolls, and many people find the wave feels smaller once they stop bracing against it.
- Give your mind something else. The NHS suggests distraction, like listening to music. A quiet podcast or audiobook at low volume works well at 2am, and it keeps you off a bright screen.
- Make a plan B, then stop guarding. Put a bowl or small trash can next to the bed and a towel within reach. It sounds silly. Once it is there, you can stop lying rigid in case you need to run.
The best sleeping position for a queasy stomach
If reflux is part of your nausea, your left side is the one to try. In a 2022 study that tracked 57 patients overnight with sensors, lying on the left side came with less acid in the food pipe, and faster clearing of it, than lying on the right side or on the back. A follow-up trial in 100 people with night-time reflux used a small wearable that buzzed whenever they rolled onto their right side. Night-time reflux symptoms dropped by at least half in 44% of that group, against 24% of people with a dummy device.
Two practical tips:
- Raise the bed, not just the pillow. The NHS suggests putting blocks or books under the head end of your bed to lift it by about 10 to 20 cm (roughly 4 to 8 inches), so your head and chest sit above your waist. It warns against stacking extra pillows instead, because they can increase pressure on your belly and make symptoms worse.
- Use a pillow behind your back. It stops you drifting onto your back or right side once you fall asleep.
If the burning in your chest is the main problem, our guide to heartburn keeping you awake at night goes deeper on that.
What to sip, nibble or skip at 2am
When your stomach is unsettled, keep it boring.
- Sip: water, ginger tea, peppermint tea, or small sips of a cold drink. Mayo Clinic also mentions cold, clear or sour drinks, and oral rehydration drinks if you have been sick.
- Nibble, if you feel like it: a couple of plain crackers, dry toast or a ginger cookie. The NHS mentions ginger biscuits, and Mayo Clinic suggests starting with easily digested foods like crackers and toast.
- Skip: anything hot, fried, greasy or spicy, strong smells (no reheating leftovers at midnight), a big glass of anything in one go, and alcohol. If you have diarrhea too, the NHS says fruit juice and fizzy drinks can make it worse.
Not hungry? Then do not eat. Waking up truly hungry is a different problem, covered in why you wake up hungry at night.
If it’s a stomach bug
Sudden nausea, cramping and then vomiting or diarrhea in the night usually means a bug or food poisoning. That night is about getting through it, not about perfect sleep.
- Fluids first. The NHS says the most important thing is plenty of fluids to avoid dehydration, taken in small sips if you feel sick.
- Know the timeline. The NHS says vomiting usually stops in 1 or 2 days, and diarrhea within 5 to 7 days.
- Wait on solid food. Mayo Clinic suggests waiting about six hours after the last time you vomited before eating solid food.
- Set up your night. Water and a bowl by the bed, a clear path to the bathroom, a dim night light so you are not blinded by the overhead light every trip.
- Lower the bar. If you cannot sleep, lie still with your eyes closed between trips and let that be enough for tonight.
Being ill and wide awake is its own kind of miserable. Our guide on being tired but unable to sleep when sick has more for those nights.
When your stomach is in knots from stress
Sometimes there is no bug and no big meal. You had a hard day, you lie down, and your stomach clenches. The NHS lists stomach problems and difficulty sleeping among the symptoms of anxiety, and its reflux page lists stress and anxiety as things that can cause or worsen heartburn.
This kind of nausea often follows a loop. You feel queasy, you worry about being sick, the worry tightens your stomach, and the queasiness grows. Then you start doing the math on how few hours are left before the alarm, and your body gets the message that this is no time to sleep.
What helps here is calming your body first, before you try to argue with your thoughts:
- Do the 5-minute slow breathing above, with one hand resting on your belly.
- Name what is happening, quietly: “This is my stress stomach. It has passed before.”
- Turn the clock away so you stop counting hours.
If your heart pounds when you lie down too, read heart racing when lying down to sleep. And if anxiety is with you most days, not just at bedtime, talk to your doctor. The NHS says talking therapies like CBT are the usual first treatment.
Why does my stomach hurt at night?
When pain is the main problem and the nausea is mild or missing, the NHS stomach ache page points to a few common causes:
- Feeling bloated and passing a lot of gas: trapped wind.
- Feeling full and bloated after eating, with heartburn or feeling sick: indigestion.
- Being unable to poop: constipation.
- Watery stools, feeling sick, vomiting: a stomach bug or food poisoning.
It also lists less common causes that matter more at night. Severe pain lasting hours in the center of the tummy or just under the ribs on the right can be gallstones. Sudden pain in the lower right can be appendicitis. These need a doctor, not a better pillow.
For gas, bloating, cramps, constipation and IBS flares with in-bed fixes for each, see stomach pain keeping you awake at night.
Once the wave passes: getting back to sleep
The nausea fades, and now you are wide awake with a racing mind. This is where a lot of nights are really lost.
- Stay in the dim. No bright overhead light, no phone scrolling.
- Use the 20-minute rule. The American Academy of Sleep Medicine says that if you do not fall asleep after 20 minutes, get out of bed and do something quiet without a lot of light, and stay off electronics. Then go back when you feel sleepy.
- Ease back down. Many people find it helps to stay propped up for a little while before lying flat again.
More on this in how to fall back asleep in the middle of the night.
Make tomorrow night calmer
If this keeps happening, the evening before is where most of the fix lives.
- Eat earlier and smaller. The NHS advises not eating within 3 or 4 hours of bed if you get reflux, and eating smaller, more frequent meals. The AASM says to avoid a large meal before bed and to keep it to a light snack if you are hungry.
- Know your triggers. The NHS names coffee, tomatoes, alcohol, chocolate and fatty or spicy foods as common reflux triggers. A week of quick notes (what you ate, when, how the night went) shows your own pattern faster than guessing.
- Move caffeine and alcohol earlier. The AASM advises avoiding caffeine in the afternoon and evening and alcohol before bed.
- Stay upright after dinner. The NHS advice on feeling sick includes not lying down soon after eating. Do the dishes or take a short walk instead of stretching out on the couch.
For what to eat in the evening, see foods that help you sleep, and if late dinners are your habit, late-night eating and can’t sleep.
When to call a doctor
Call 911 or your local emergency number if you suddenly feel sick and have chest pain that feels tight or heavy, pain spreading to your arms, back, neck or jaw, or shortness of breath. The NHS says this could be a heart attack. Also get emergency help for sudden or severe stomach pain, a stomach that hurts when you touch it, vomiting blood or vomit that looks like coffee grounds, black or bloody stools, being unable to pass gas or poop, a stiff neck with a high fever, or a sudden, severe headache. These come from the NHS and Mayo Clinic lists linked above.
Get urgent advice the same day if you cannot keep fluids down, or you show signs of dehydration like strong thirst, dark urine, peeing much less, or dizziness when you stand.
Book a regular appointment if:
- the nausea does not ease after a few days, or keeps coming back (NHS)
- you have heartburn most days, or food feels like it gets stuck (NHS)
- vomiting lasts more than 2 days, or bouts of nausea go on for more than a month (Mayo Clinic)
- you are losing weight without trying (NHS, Mayo Clinic)
- you are pregnant and the nausea or pain worries you: your midwife or doctor wants to hear about it
Tonight, keep it simple
Head and chest up, or on your left side. Waistband loose, window cracked, cold water within reach. Small sips, slow breaths for 5 minutes, a bowl by the bed so you can stop guarding. Once the wave passes, stay in the dim and let sleep come back on its own. Tomorrow, an earlier and lighter dinner. You are not after a perfect night. You want a body that can settle, so the morning feels clear instead of foggy.
Want a calm, guided way to switch off tonight? Get the free 5-minute sleep reset →
No password. We email you the link, and one tap opens your reset.
No password. We email you the link, and one tap opens your reset.
This article is general information, not medical advice. If you are unsure what is causing your symptoms, or you take regular medicine, check with your doctor or pharmacist.
