Foods That Can Cause Insomnia

What you eat and drink can affect your sleep, especially when it comes to caffeine, alcohol, and eating close to bedtime. These foods and drinks don’t cause insomnia for everyone, but they may make it harder to fall asleep or stay asleep—depending on the amount, timing, and your individual sensitivity.
1. Caffeinated drinks and foods
Coffee is a well-known source of caffeine, but it’s also found in tea, energy drinks, some sodas, chocolate, and cocoa products. Even decaffeinated coffee may contain a small amount. Caffeine can interfere with sleep even when consumed hours before bedtime, so consider limiting it later in the day if you’re sensitive to its effects.
2. Alcohol
Alcohol may make you feel sleepy at first, but it can disrupt sleep later in the night and contribute to awakenings. Using alcohol as a sleep aid can therefore backfire, even if it seems to help you doze off initially.
3. Spicy or acidic foods
Spicy foods—and acidic foods such as tomato-based dishes—can trigger heartburn or indigestion in some people. These symptoms may feel worse when you lie down, making it difficult to settle into sleep. If you notice a connection, try eating these foods earlier or choosing milder options in the evening.
4. Large, rich, or high-fat meals
A heavy meal shortly before bed may leave you uncomfortably full or trigger reflux. If that happens to you, try having a lighter dinner and leaving some time between eating and lying down. You don’t need to follow a strict cutoff; pay attention to your symptoms and routine.
5. Late-night eating that disrupts your routine
Eating late isn’t automatically a problem, but a large meal close to bedtime may affect comfort and sleep for some people. Irregular meal timing may also work against a consistent sleep schedule. If you’re hungry before bed, a small snack may be more comfortable than a heavy meal.
How to find your personal triggers
Keep a simple sleep and food diary for a week or two. Note what you ate and drank, when you had it, when you went to bed, and whether you had trouble falling asleep or staying asleep. Look for repeated patterns, then adjust one thing at a time. Sensitivity varies, so there’s no need to eliminate foods that don’t seem to affect you.
The takeaway
Caffeine, alcohol, spicy or acidic foods, and large meals close to bedtime may interfere with sleep for some people. Adjusting the timing or amount may help, but food is only one possible factor. If sleep problems persist or affect your daily life, talk with a healthcare professional.
This article is for informational purposes only and isn’t a substitute for medical advice. If you have ongoing insomnia, consult a qualified healthcare professional.