8 Foods to Avoid if You Have Insomnia

Struggling to sleep? Discover the key foods to avoid if you have insomnia. Learn how your diet impacts rest and get practical tips for better sleep tonight.
8 Foods to Avoid if You Have Insomnia

It's 2 AM. You're tossing, turning, and staring at the ceiling, wondering why sleep won't come. You invested in a great mattress, you've got comfortable pillows, and you're trying to do the right things, but you still can't drift off. Very often, the problem isn't only your bedroom. It's what happened in your kitchen a few hours earlier.

A supportive sleep surface matters. So does temperature control, pressure relief, and spinal alignment. But food can override all of that. If your stomach is still working hard, your body is too alert, or reflux kicks in the moment you lie down, even a well-designed hybrid mattress can't do the job you bought it for. The wrong evening snack can leave you restless, overheated, bloated, or awake at the exact time your body should be switching off.

That's why the best approach is practical, not perfect. You don't need a complicated diet overhaul. You need to know which foods to avoid if you have insomnia, which habits tend to backfire, and which small swaps help. If cravings are part of the problem, Gym Snack's guide to managing urges is worth a look too.

Table of Contents

1. Caffeine and Energy Drinks

Caffeine is one of the most common reasons people feel “tired but wired” at bedtime. In the UK, that often means not just coffee, but tea, cola, energy drinks, and chocolate-based snacks spread across the whole day. If you have insomnia, the issue usually isn't only a late espresso. It's the steady build-up.

The strongest UK-specific sleep guidance is simple. Adults are advised to avoid caffeine after mid-afternoon because its effects can last into the night, with a commonly cited half-life of about 3 to 7 hours in UK sleep guidance. That's why a strong tea at 4 PM or an energy drink before an evening gym session can still be interfering when you're trying to fall asleep.

Why caffeine catches people out

People often focus on the obvious sources and miss the routine ones. Tea is a big one. So are “pick-me-up” soft drinks, pre-workout drinks, and chocolate bars that don't feel like stimulants but still keep your system switched on.

If you're trying to get the full benefit of a supportive sleep setup, caffeine timing matters. A mattress can reduce pressure points and help with motion isolation, but it can't cancel out a stimulated nervous system. That's especially true if you sleep on a medium-firm hybrid like the REM-Fit® Hybrid Pocket 1000 Mattress (Wowcher), which has medium-firm tension (7/10), REMCell cooling foam, 1000 premium pocket springs, zoned support, edge-to-edge side support walls, and motion isolation. Those features can support comfort and stability, but they work best when your body is ready to sleep.

Practical rule: Set your caffeine cut-off earlier than you think you need. For many people with insomnia, 2 PM is a safer line than “not too late”.

A few realistic swaps help more than sheer willpower:

  • After-lunch coffee habit: Switch to decaf after midday instead of trying to quit all at once.
  • Evening tea ritual: Replace black or green tea with herbal options like chamomile or peppermint.
  • Gym boost: Drop energy drinks entirely for late workouts, especially if you already struggle to switch off.
  • Hidden sources: Check supplements and cold remedies if you keep getting caught out.

If you want alternatives that fit better with sleep, these drinks to help you sleep at night are a better place to start.

2. Alcohol and Nightcaps

A glass of wine and medicine bottle on a nightstand with a heart rate rhythm on the wall.

A nightcap feels helpful in the moment. That's why so many people rely on it. You have a drink, you feel drowsy, and you assume it's helping you sleep. In practice, it often helps you pass out, then sleep badly.

This is one of the biggest trade-offs I see in real life. People spend money on a better mattress because they want deeper, less broken sleep, then pour something into their evening routine that fragments the whole night. The body may relax at first, but later sleep is lighter, more restless, and more broken.

What works better than a nightcap

The most useful question isn't “does alcohol make me sleepy?” It usually does. The better question is “how do I feel at 2 AM, 3 AM, or 5 AM?” If you tend to wake hot, thirsty, or alert after drinking, your body is telling you the truth.

You don't need to ban alcohol forever to notice the pattern. Compare a few alcohol-free evenings with a few nights that include a drink, and pay attention to how often you wake.

Better swaps depend on what the drink is doing for you. If it's about routine, replace the wine glass with herbal tea or sparkling water in the same glass. If it's about stress relief, tackle the stress directly instead of sedating it for an hour.

A few practical options usually work better:

  • For habit: Build a wind-down drink that doesn't become a stimulant or reflux trigger.
  • For stress: Try reading, stretching, or a short guided relaxation instead of using alcohol as the off-switch.
  • For social evenings: Stop drinking earlier, not right before bed.
  • For dry-mouth wake-ups: Drink water alongside alcohol instead of waiting until bedtime to hydrate heavily.

If sleep trouble is already becoming a pattern, these tips for managing insomnia are more useful than relying on a nightly drink. If you're trying to replace alcohol in the evening, browsing sugar-free drink selections can also spark a few better options.

3. Heavy, Fatty, and Fried Foods

A person lying in bed feeling restless, unable to sleep due to the smell of fast food.

Late pizza, fish and chips, a burger and chips, creamy pasta, a big takeaway after a long day. These are comfort foods, but they're also some of the most common foods to avoid if you have insomnia. They sit heavily, they take time to digest, and they often become a problem only when you lie down.

The sleep issue here is straightforward. UK guidance around indigestion and reflux advises avoiding large or rich meals close to bedtime and highlights common triggers including fatty foods, spicy foods, coffee, chocolate, and alcohol. Practical sleep advice often uses a 2 to 3 hour buffer before bed, which is a sensible rule if late meals tend to leave you uncomfortable.

The evening meal problem

A heavy meal doesn't just affect your stomach. It can make you feel warmer, fuller, and less able to settle. If your mattress is designed to keep you cooler and better supported, that benefit gets blunted when your body is still focused on digestion.

This matters even more if you already deal with reflux, bloating, or pressure around your middle. Good spinal support can help you feel physically better in bed, but it won't stop the burn of a meal that was too rich and too late.

A better evening pattern usually looks like this:

  • Move the main meal earlier: Eat your biggest meal earlier in the evening, not right before bed.
  • Keep dinner lighter: Choose grilled chicken, fish, legumes, rice, vegetables, or a simple grain bowl over fried food and creamy sauces.
  • Use a bridge snack if needed: If there's a long gap between dinner and bed, a small snack is easier on your system than a second dinner.
  • Think beyond hunger: Sometimes late eating is really stress, boredom, or habit.

For gentler evening ideas, these foods to eat for a great night's sleep are more useful than guessing.

4. Spicy and Acidic Foods

Spicy food is one of those habits people defend because they love it, and fair enough. The problem is timing. A hot curry, spicy noodles, chilli-heavy leftovers, tomato-based pasta, citrus desserts, or vinegar-heavy dishes can all become a problem once you lie flat.

For some people, the effect is immediate. Burning chest, sour taste, throat irritation, or a restless sense that they just can't get comfortable. For others, it's subtler. They don't feel “ill”, but they wake repeatedly and can't work out why.

Heat, reflux, and broken sleep

Spicy and acidic foods are tough at night because they can trigger reflux and discomfort at the exact time your body should be cooling down and relaxing. If you've invested in cooling sleep gear, food can work against its purpose. A cooling pillow can help you feel less stuffy around the head and neck, but it can't solve heat or irritation rising from your stomach.

One of the best fixes is simple scheduling. Eat spicy food at lunch, not late dinner. Move orange juice, tomato-heavy meals, and sharp acidic snacks earlier in the day if you know you're sensitive.

If your chest feels fine when you're upright but flares the moment you lie down, your mattress probably isn't the problem. Your dinner timing is.

A few specific swaps help:

  • Swap tomato sauces: Choose olive oil or pesto-based pasta sauces in the evening.
  • Move spice earlier: Save curries and chilli-heavy meals for lunch or earlier dinners.
  • Skip acidic late snacks: Citrus fruit, vinegar-heavy crisps, and tomato snacks are better left for daytime.
  • Know your triggers: Not everyone reacts the same way, so track your own worst offenders.

What doesn't work is pretending water fixes everything. It may soothe your mouth, but it won't undo reflux triggers if the meal itself was the issue.

5. High-Sugar and Refined Carbohydrate Snacks

A bowl of sugary snacks like donuts and chocolate sitting next to a yawning sleepy emoji icon.

This is the classic sofa trap. You're tired, you want something comforting, and the easy option is biscuits, sugary cereal, pastries, white toast with jam, sweets, or a packaged snack that feels small but hits hard. It can make you sleepy for a short while, then leave you awake later.

There's a solid reason to take this seriously. A systematic review found that an unhealthy dietary pattern was associated with higher odds of insomnia symptoms, with an odds ratio of 1.20 and a 95% confidence interval of 1.01–1.42. For everyday life, that matters because late-night refined carbohydrates and ultra-processed snacks are exactly the kind of routine choices that creep in when you're tired and not thinking clearly.

Why the quick snack often backfires

Fast-digesting carbs are appealing because they feel easy. But easy at 9 PM can mean wakeful at 2 AM. Many people with insomnia notice they either wake hungry, feel oddly alert in the middle of the night, or never get that properly settled feeling after a sugary snack.

What works better is slowing the whole thing down. If you need food, choose something more stable and less processed. Think a small bowl of porridge, plain yoghurt, a few oatcakes, or fruit with something more filling alongside it.

Useful swaps include:

  • Biscuits to oatcakes: Less of the sharp rise-and-fall feeling that often follows sweets.
  • Sugary cereal to porridge: More satisfying, and less likely to leave you raiding the kitchen later.
  • Cake to yoghurt and fruit: Still feels like a snack, but usually sits better.
  • Convenience snacks to simple basics: The less processed the evening snack, the less likely it is to mess with your night.

If evening cravings are part of your routine, this article on carbs before bed for fat loss may help you think more carefully about what kind of carbohydrate you're eating, and why timing matters.

6. Chocolate Especially Dark

Chocolate catches people out because it feels harmless. It's small, it's familiar, and dark chocolate in particular has a health halo around it. But if you have insomnia, it's one of the sneakier foods to avoid.

This is especially true in the UK, where sleep guidance already warns that caffeine can hide in everyday products, not just coffee. Chocolate is one of those products. A square after dinner may seem minor, but for a sensitive sleeper it can be enough to push bedtime further away.

The stealth stimulant problem

Dark chocolate tends to be the worst choice at night because it's richer in cocoa, and cocoa brings stimulant effects with it. Then people double down with hot chocolate, chocolate protein bars, or a “healthy” snack bar that still contains enough cocoa to keep them alert.

The fix isn't complicated. Shift chocolate earlier. If you want it, have it after lunch rather than after dinner. If your insomnia is persistent, give yourself a proper no-chocolate window in the evening and see what changes.

A few places chocolate turns up unexpectedly:

  • Desserts: Brownies, mousse, ice cream toppings, and post-dinner treats.
  • Drinks: Hot chocolate, mocha drinks, and chocolate-flavoured shakes.
  • Snack bars: Many “better-for-you” bars still rely on cocoa.
  • Protein products: Powders and ready-made drinks often include chocolate flavouring.

Some people can drink coffee at noon and sleep fine, but a small amount of chocolate after dinner still tips them into a restless night. Sensitivity isn't always logical.

If you're also trying to support your natural sleep timing, understanding the importance of the sleep hormone melatonin can help you see why late stimulants and delayed sleep cues are such a bad mix.

7. Excessive Fluids and High-Sodium Foods

A lot of people focus only on what they eat and ignore what they drink. Then they wonder why they keep waking up to use the loo. Broken sleep is still broken sleep, even if the reason isn't insomnia in the strictest sense.

The pattern is usually familiar. You eat a salty dinner or evening snack, you get thirsty, you drink a lot late at night, and then your sleep becomes a series of wake-ups. By morning, you feel as if you've been in bed long enough but never settled properly.

How to stop bathroom trips from wrecking your night

This one is less about banning fluids and more about shifting them earlier. If you cram most of your hydration into the evening, your night pays for it. If dinner is also high in salt, the problem gets worse.

Takeaways, crisps, processed meals, salty sauces, cured meats, and packaged snacks are the main culprits. They don't just sit heavily. They also drive thirst. Then even a great mattress can't help much, because comfort isn't the issue. Interruption is.

Try this instead:

  • Front-load fluids: Drink more in the morning and afternoon rather than trying to “catch up” at night.
  • Reduce salt at dinner: Fresh meals are usually easier than takeaways and packaged options.
  • Shrink the bedtime drink: A few sips is different from a big mug of tea or a large glass of water.
  • Use the bathroom last thing: Simple, but worth doing consistently.

What doesn't work is drinking lots of tea in the evening and assuming it counts as harmless hydration. If you're sensitive, it may stack both fluid and stimulant issues at once. For more evening habits that support better sleep, have a look at how to fall asleep naturally.

8. Aged Cheeses and Cured Meats

This is the sleeper issue that many people never consider. A cheese board, salami, pepperoni pizza, bacon-heavy dinner, or late sandwich with strong cheddar can feel like a savoury, satisfying way to end the evening. For some people, though, it's too rich, too salty, and too stimulating all at once.

Even when these foods don't cause obvious reflux, they can still leave you feeling slightly revved up, thirsty, or uncomfortably full. That's enough to make sleep lighter and more broken. If you already struggle with insomnia, “not terrible” isn't good enough.

When a savoury evening snack is too much

Aged cheeses and cured meats are also common add-ons. That's what makes them easy to miss. You may not sit down to a full charcuterie board, but you might have pepperoni on pizza, bacon in a sandwich, or grated mature cheese over a late meal and then wonder why sleep feels off.

The trade-off here is simple. These foods are flavourful and convenient, but they're rarely the easiest option late at night. Fresher, plainer alternatives usually sit better.

Good substitutions include:

  • Aged cheese to fresh cheese: Mozzarella, ricotta, or cottage cheese tend to feel lighter.
  • Cured meats to fresh protein: Chicken or fish usually works better for dinner.
  • Charcuterie snacks to simpler snacks: Keep late eating plain, not intensely salty and rich.
  • Packaged meal deals: Read the label and notice how often cured meats and strong cheeses appear.

This category matters most when it stacks with other sleep disruptors. Salty food, late timing, extra fluids, and lying down soon after eating is a rough combination.

8 Foods to Avoid for Insomnia

Item 🔄 Implementation Complexity ⚡ Resource Requirements 📊 Expected Sleep Impact 💡 Ideal Use Case ⭐ Key Advantages
Caffeine and Energy Drinks Moderate, requires habit change and timing control Low, decaf/herbal swaps, label checks Blocks adenosine, reduces REM/deep sleep, increases latency Stimulant-sensitive sleepers; users seeking restorative REM sleep Improved sleep onset and deeper restorative sleep when eliminated
Alcohol and Nightcaps Moderate–High, social patterns and routines to adjust Low, non‑alcoholic alternatives, hydration strategy Initial sedation then REM suppression, fragmentation, night sweats Occasional drinkers and hot sleepers who notice awakenings Fewer awakenings, better REM consolidation and temperature control
Heavy, Fatty, and Fried Foods Moderate, meal timing and menu planning needed Moderate, earlier meals, lighter evening options Prolonged digestion, reflux risk, raised core temperature People with GERD or using orthopaedic mattresses for back pain Reduced reflux and discomfort, easier positioning and cooler sleep
Spicy and Acidic Foods Low–Moderate, scheduling and recipe swaps Low, alternate sauces and meal timing Thermogenic effects and reflux that disrupt sleep onset Hot sleepers and reflux-prone individuals Better core temperature regulation and less heartburn at night
High‑Sugar & Refined Carbs Moderate, craving management and food swaps Low, choose complex carbs + protein Blood sugar spikes/crashes; cortisol release; mid‑night awakenings Those with blood‑sugar sensitivity or chronic pain More stable overnight glucose, fewer awakenings and less inflammation
Chocolate (Especially Dark) Low–Moderate, avoid later in day, read labels Low, carob, fruit or herbal alternatives Stimulants (caffeine/theobromine) prolong alertness and raise HR Evening snackers and stimulant‑sensitive sleepers Reduced late‑day stimulation and improved sleep continuity
Excessive Fluids & High‑Sodium Foods Low, timing fluids and reducing salt is simple Low, schedule hydration, cook fresh to control sodium Nocturia and fragmented sleep from night‑time awakenings Those waking to urinate or salt‑sensitive sleepers Fewer bathroom trips and longer uninterrupted sleep cycles
Aged Cheeses & Cured Meats Moderate, social/dining choices to manage Low, pick fresh cheeses or fresh‑cooked meats Tyramine can trigger norepinephrine release → increased alertness People sensitive to tyramine, migraine sufferers Less physiological arousal at night, easier to relax into sleep

Your Plate, Your Pillow Creating a Sleep-Friendly Routine

If you're exhausted, it's tempting to search for one fix. A better mattress. A blackout blind. A supplement. An earlier bedtime. But sleep usually works as a system. Your evening food choices, meal timing, stress level, room temperature, pillow support, and mattress comfort all push in the same direction, or they work against each other.

That's why diet advice matters more than people think. If you eat late, drink caffeine too long into the day, rely on alcohol to unwind, or snack on foods that trigger reflux and wakefulness, you make your bedroom work harder than it should. Your mattress can support alignment, reduce motion transfer, and help with temperature regulation. It can't digest your takeaway for you. It can't block a stimulant you had at 5 PM. It can't stop a salty snack from waking you for the loo.

The good news is that the fixes are often plain and manageable. Cut off caffeine earlier. Eat your heavier meals sooner. Keep spicy, fatty, fried, sugary, and heavily processed foods away from bedtime. Treat chocolate as a stimulant if you're sensitive. Don't load the evening with salty snacks and large drinks. None of this is glamorous, but it's the kind of routine change that moves the needle.

It also helps to match those habits with a sleep environment that doesn't add fresh problems. If you sleep hot, a cooling pillow can make it easier to settle. If neck or shoulder discomfort keeps pulling you awake, a supportive pillow matters. If your mattress doesn't keep you level and comfortable, you'll feel every mistake of timing and digestion more sharply.

That's where a joined-up approach works best. Keep your evenings lighter. Give your body enough time to wind down. Let your bed support recovery instead of asking it to fight against your habits. A supportive pillow that promotes alignment, such as the REM-Fit 400 Memory Foam Pillow, and a breathable protector like the 400 Bamboo Mattress Protector can fit that kind of routine well. REM-Fit is one option if you're looking at the sleep environment side as well as the lifestyle side.

If insomnia keeps going despite these changes, or if reflux, pain, anxiety, or repeated night waking is a regular issue, it's worth speaking to a clinician. Food can be a major trigger, but it isn't always the only one. Still, if you want a practical place to start, your plate is one of the fastest places to make sleep a little easier tonight.


If you're improving your evenings and want your bed setup to support the same goal, explore REM-Fit for hybrid mattresses, pillows, and sleep accessories designed for cooler, more supportive rest.

Up To 200 Night Trial

We provide a risk-free sleep trial on all our mattresses

Free Delivery

Free room of choice delivery. Old mattress disposal available

15 Year Guarantee

We’re so confident, we offer a 15 year guarantee!