You finish dinner, relax for a while, and then it starts.
Your stomach feels uncomfortable. Maybe there’s a burning sensation, pressure, bloating, or pain in the upper abdomen.
Sometimes it happens right after dinner. Other times, the pain appears when you lie down or wakes you up later at night.
So why does your stomach hurt after eating at night?
Late meals, large portions, acid reflux, indigestion, and certain foods can all play a role. But the timing of the pain and the symptoms that come with it can help narrow down what may be happening.
1. Eating Too Close to Bedtime May Trigger Symptoms
[Quick Answer]
Eating a meal shortly before lying down can make digestive symptoms more noticeable, especially if you are prone to acid reflux or heartburn.
Your digestive system doesn’t simply stop working when you go to bed.
However, lying down soon after eating changes the position of your body while your stomach is still full. This can make it easier for stomach contents to move upward into the esophagus in people who are prone to reflux.
That’s why some people notice:
- Heartburn
- A sour taste in the mouth
- Burning in the upper abdomen or chest
- Regurgitation
- Nausea
- Discomfort after lying down
If nighttime symptoms are a problem, the National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK) recommends eating meals at least 3 hours before lying down or going to bed for people whose GERD symptoms occur at night.
That doesn’t mean everyone needs to stop eating at a specific time.
The important point is to give your stomach some time before lying flat.
2. A Large Dinner Can Make Your Stomach Hurt
[Quick Answer]
The problem may not be the time of day itself. A large evening meal can stretch the stomach and increase feelings of fullness, bloating, nausea, or discomfort.
After eating, the stomach expands to hold the food.
A very large meal puts more volume into the stomach at once. If you eat quickly as well, you may swallow more air and feel even more uncomfortable.
This can lead to:
- Stomach pressure
- Bloating
- Belching
- Feeling overly full
- Nausea
- Upper-abdominal discomfort
Dinner can be especially prone to this problem because it is often the largest meal of the day.
If you regularly feel uncomfortable after dinner, try reducing the portion rather than skipping dinner altogether.
Eating more slowly can also help you recognize when you’re comfortably full.
3. Acid Reflux Is a Common Cause of Nighttime Discomfort
[Quick Answer]
If your nighttime stomach pain comes with burning, a sour taste, or food coming back up, acid reflux may be contributing to the problem.
GERD (gastroesophageal reflux disease) is a condition in which stomach contents repeatedly flow back into the esophagus.
Think of the esophagus as a tube connecting your mouth to your stomach. A ring of muscle normally helps keep stomach contents from moving backward. When reflux occurs repeatedly, it can cause uncomfortable symptoms.
Common symptoms include:
- Heartburn
- Regurgitation
- Burning discomfort
- Sour or bitter taste
- Chest or upper-abdominal discomfort
- Nausea in some people
High-fat foods are a common trigger for some people, although food triggers vary considerably.
If symptoms are worse at night, one of the simplest changes to test is moving dinner earlier and avoiding lying down soon after eating.
4. Fatty or Greasy Foods May Be the Culprit
[Quick Answer]
Fatty meals can worsen indigestion or reflux in some people, and severe upper-right abdominal pain after a fatty meal can sometimes point to a gallbladder problem.
Pizza, fried chicken, burgers, creamy dishes, and other high-fat meals aren’t automatically harmful.
But some people find that high-fat meals make digestive symptoms worse.
Fatty foods may be particularly relevant if you experience:
- Heavy fullness
- Bloating
- Heartburn
- Nausea
- Upper-abdominal discomfort
There is another important possibility.
Gallstones are hardened deposits that can form inside the gallbladder. Most gallstones cause no symptoms, but if a stone blocks a bile duct, it can cause a gallbladder attack.
This typically causes pain in the upper-right or upper-middle abdomen, and the pain can last for several hours.
If severe pain repeatedly occurs after fatty meals—especially in the upper-right abdomen—it’s worth discussing with a healthcare professional rather than simply avoiding greasy foods forever.
5. Spicy Foods Can Trigger Burning or Discomfort
[Quick Answer]
Spicy food doesn’t automatically damage your stomach, but capsaicin can trigger burning sensations and may worsen reflux or digestive symptoms in some people.
Capsaicin is the compound that gives chili peppers their heat. It activates pain-sensing receptors, which is why spicy food can feel hot or burning.
For some people, spicy meals can worsen:
- Heartburn
- Upper-abdominal burning
- Indigestion
- Abdominal discomfort
- IBS symptoms
This doesn’t mean spicy food causes ulcers or gastritis in everyone.
Instead, think about the entire meal.
A very spicy, fatty, large dinner followed by lying down is very different from a small meal with a mild amount of spice.
If you suspect spice is a trigger, try reducing the amount and see whether your symptoms change.
6. Indigestion Can Become More Noticeable After Dinner
[Quick Answer]
If you feel overly full, bloated, nauseated, or uncomfortable in your upper abdomen after dinner, indigestion may be one possible explanation.
Dyspepsia, commonly called indigestion, describes a group of symptoms involving the upper digestive system.
Think of it as a pattern of digestive discomfort rather than one single disease.
Symptoms can include:
- Upper-abdominal pain or burning
- Feeling full too quickly
- Feeling overly full after eating
- Bloating
- Nausea
- Belching
Some people have symptoms after certain foods or drinks, while others experience them without an obvious trigger.
Coffee, fatty foods, carbonated drinks, and some other foods can worsen symptoms in some people.
If this happens regularly even after normal-sized meals, it’s worth looking beyond your dinner menu and discussing persistent symptoms with a healthcare professional.
7. Could It Be Gastritis or an Ulcer?
[Quick Answer]
Repeated upper-abdominal pain at night can sometimes occur with gastritis or a peptic ulcer, but nighttime pain alone cannot diagnose either condition.
Gastritis refers to inflammation of the stomach lining.
Peptic ulcers are open sores that develop in the lining of the stomach or the first part of the small intestine.
Both can cause upper-abdominal discomfort, nausea, bloating, or a feeling of fullness.
Ulcer pain can sometimes occur when the stomach is empty or during the night. In some people, eating temporarily changes the pain.
Important causes of ulcers include H. pylori infection and certain pain-relieving medicines called NSAIDs, such as ibuprofen or naproxen.
This is why repeatedly treating nighttime stomach pain by changing foods alone may miss the underlying cause.
If the pain keeps returning, particularly if it occurs even when you haven’t eaten much, medical evaluation may be appropriate.
8. Eating Very Late May Also Change Your Symptoms
[Quick Answer]
Late-night eating isn’t automatically unhealthy, but eating a large meal shortly before bed can be a problem if you are prone to reflux, indigestion, or nighttime discomfort.
There’s an important distinction here.
Eating at night is not inherently harmful.
The bigger issue is often the combination of:
late meal + large portion + high-fat food + lying down soon afterward.
For example, eating a large meal at 11 PM and going to bed at midnight may cause more problems for someone with reflux than eating the same meal earlier in the evening and remaining upright afterward.
So rather than focusing only on the clock, look at the entire routine surrounding your evening meal.
What If Your Stomach Hurts Only When You Lie Down?
[Quick Answer]
Pain or burning that becomes worse after lying down—especially with a sour taste or regurgitation—makes acid reflux more likely than simple overeating.
This pattern is particularly useful.
If you feel relatively comfortable sitting or standing but develop burning or discomfort after lying down, reflux deserves consideration.
Try these changes:
- Finish dinner at least 3 hours before bed
- Avoid lying down immediately after eating
- Reduce very large evening meals
- Identify foods that consistently trigger your symptoms
- Stay upright after dinner
If symptoms continue despite these changes, talk with a healthcare professional.
What Should You Do If Your Stomach Hurts After Dinner?
[Quick Answer]
Start by changing one or two factors at a time rather than eliminating every possible trigger from your diet.
You can try a simple evening experiment for 1–2 weeks.
Try eating dinner earlier
Give yourself several hours between dinner and bedtime, especially if you have nighttime heartburn or regurgitation.
Reduce the portion size
A moderate dinner may be easier to tolerate than one very large meal.
Eat more slowly
Slow down enough to notice when you’re comfortably full.
Stay upright after eating
Avoid immediately lying on the couch or going straight to bed after dinner.
Track your symptoms
Write down:
Dinner → portion → time eaten → bedtime → when symptoms started → type of symptom
For example:
8:30 PM — fried chicken + beer — large portion
10:00 PM — burning and sour taste
10:30 PM — worse after lying down
A pattern like this gives you much more useful information than simply writing “dinner makes my stomach hurt.”
When Is Nighttime Stomach Pain a Warning Sign?
[Quick Answer]
Occasional discomfort after a large meal is different from severe, persistent, or recurring nighttime pain. Certain symptoms require prompt medical attention.
Seek medical care promptly if you have:
- Severe or worsening abdominal pain
- Vomiting that doesn’t stop
- Vomiting blood
- Black or tarry stools
- Unexplained weight loss
- Difficulty swallowing
- Yellowing of the skin or eyes
- Fever with significant abdominal pain
- Severe upper-right abdominal pain
- Chest pain or trouble breathing
Sudden or severe abdominal pain should not simply be blamed on indigestion.
Likewise, black stools or vomiting blood can indicate gastrointestinal bleeding and require urgent medical evaluation.
The Bottom Line
Why does your stomach hurt after eating at night?
The answer may be as simple as eating a large dinner too close to bedtime—or it may be a sign of an underlying digestive problem.
Common possibilities include:
- Eating too much
- Eating too close to bedtime
- Acid reflux
- Indigestion
- Fatty or spicy foods
- Food intolerance
- Gastritis
- Peptic ulcers
- Gallbladder problems
The most useful clues are when the pain starts, where it occurs, what the pain feels like, and what symptoms appear alongside it.
If your pain mainly appears after a large late-night meal and improves when you eat earlier and smaller portions, your eating pattern may be contributing.
But if the pain keeps coming back, happens after normal meals, wakes you from sleep, or comes with warning signs, don’t assume it’s simply “bad digestion.”
Nighttime stomach pain is a symptom—not a diagnosis. Finding the pattern is the first step toward finding the real cause.
Sources
- National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK) — GERD: Symptoms & Causes
- National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK) — GERD: Eating, Diet, & Nutrition
- National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK) — Indigestion (Dyspepsia)
- National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK) — Gastritis & Gastropathy
- National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK) — Peptic Ulcers
- National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK) — Gallstones
- National Health Service (NHS) — Stomach ache