Of everything you eat and drink, caffeine and alcohol come with the clearest NHS advice for sleep, so start there: the NHS says keep alcohol out of the six hours before you go to bed, and tea and coffee too. Treat the food findings as interesting rather than as a menu, because they're smaller and less certain.
Food, drink and sleep in brief
Keep alcohol out of the six hours before bed, along with tea and coffee, and skip a big meal late at night, as the NHS advises. Alcohol may help you nod off, but it disrupts the second half of your night and suppresses REM sleep. You can only get melatonin on prescription in the UK. A high-GI rice meal four hours before bed helped 12 young men fall asleep faster, and fish three times a week seemed to help in one hospital study. Neither finding is a prescription.
Keep caffeine and alcohol out of the six hours before bed
The NHS insomnia advice says don't drink alcohol, tea or coffee within six hours of going to bed, and don't eat a big meal late at night.1 I prefer to avoid both caffeine and alcohol when I can, so I'd include the evening glass of wine in that check.
How long is it until you go to bed?
- Inside the six-hour window: no more alcohol from here, and no tea or coffee either, says the NHS. The NHS also advises against a big meal late at night.
- Outside the NHS six-hour window, so a cup now is clear of it. If you're drinking, Chaput's review says earlier in the evening is the better time.
Check your tea as well as your coffee, because caffeine isn't only in coffee. NHS caffeine estimates put a cup of tea at about 75mg against 100mg for a cup of instant coffee.2 A can of cola has about 40mg, and a 50g bar of plain dark chocolate has less than 25mg. Dark chocolate has far less caffeine than your coffee.
All four contain caffeine, but a bar of dark chocolate has far less than a cup of coffee.
Alcohol can get you off to sleep, then breaks up the second half of the night
Chaput's 2026 review of the past decade's evidence found alcohol may shorten the time it takes you to fall asleep but disrupts your sleep, suppresses REM sleep, fragments sleep and impairs breathing during sleep, particularly in the night's second half.3 Regular drinking is linked to poorer sleep quality and insomnia symptoms, and drinking earlier may reduce some effects, so if you drink, have it earlier in the evening. This was a narrative review by an author invited to speak at a wine and health congress.
Alcohol wrecks my sleep: I end up awake through the night with my mind racing. The review's conclusion is that alcohol, wine included, isn't a sleep aid.
Melatonin is prescription-only in the UK
The NHS says melatonin is available only on prescription, mainly for short-term sleep problems in people aged 55 and over.4 Specialists sometimes prescribe it for longer-term sleep problems in some children and adults. Melatonin supplements sold in health food shops or online in other countries aren't authorised for sale in the UK.5 Don't order it online: the NHS doesn't recommend ordering melatonin online.
A high-GI rice meal four hours before bed helped young men fall asleep faster
Timing mattered too, not only the rice. In Afaghi and colleagues' study, 12 healthy young men ate rice four hours before bed. They fell asleep in about 9 minutes on average with high-GI jasmine rice, against about 17.5 minutes with low-GI rice.
An hour before bed, high-GI rice worked less well, at about 14.6 minutes, and no other sleep measure changed.6 This involved 12 healthy young men, each trying each meal once on separate nights, and the authors say it hasn't been tested in people with sleep problems. Don't rearrange your dinner around it.
In Afaghi's study, when did the high-GI rice meal help most?
- One hour before bed
- Four hours before bed
- Timing made no difference
Eaten four hours before bed, the high-GI meal cut the time to fall asleep the most. One hour before, it helped less. That was 12 healthy young men, each meal once, and the authors say it hasn't been tested in people with sleep problems.
Salmon three times a week seemed to help in one hospital study
Fish turns up as a sleep food in a lot of articles, but the evidence I can point you at is one winter in one hospital. Hansen and colleagues gave 95 men in a US secure forensic hospital Atlantic salmon three times a week or meat meals from September to February.7
Over winter, the meat group took longer to fall asleep, while the fish group reported better daily functioning. The authors concluded fish seemed to benefit sleep, possibly linked to vitamin D. The limits matter: one hospital, men only, one winter. If you enjoy fish, regular meals of it fit the finding, but don't expect a salmon supper to knock you out.
Regular meals and fewer sweets went with better sleep in a large survey
In Katagiri's survey of 3,129 Japanese women workers aged 34 to 65, poor sleep was associated with eating few vegetables and little fish, eating more sweets and noodles, drinking energy drinks and sugary drinks, skipping breakfast and eating irregularly.8 This questionnaire showed association, not cause, in one group of women, so don't treat the findings as a diet prescription. If late eating goes with late nights for you, our guide to calories and sleep explains what short sleep did to how much people ate.
| What was found | How strong |
| Caffeine and alcohol | NHS: keep tea, coffee and alcohol out of the six hours before bed | NHS guidance |
| Alcohol | Disrupts the second half of the night and suppresses REM sleep | A review of a decade of studies |
| High-GI rice meal | Fell asleep faster when eaten four hours before bed | 12 healthy young men, each meal tried once |
| Salmon three times a week | Seemed to help sleep and daily functioning | 95 men in one hospital, one winter |
| Overall diet | Few vegetables, more sweets and irregular meals went with poorer sleep | Survey of 3,129 women; association only |
The wellness market has plenty to sell tired people, so sort out your bed and your routine before you spend money on a sleep tea.
Questions people ask about food and sleep
No, wine shouldn't be used to help you sleep. Chaput's review says the melatonin and polyphenols in wine are present at levels too low to help sleep. The review's verdict covers wine as much as anything stronger. If you drink wine, having it with an early dinner rather than as a nightcap may reduce some of alcohol's effects.
Chocolate is less of a caffeine concern than an evening coffee or tea. The NHS estimates less than 25mg in a 50g bar of plain dark chocolate and less than 10mg in milk chocolate, against about 100mg in a cup of instant coffee. Compare the portion you're actually eating, because those chocolate figures are for a whole 50g bar.
A big meal late at night is what the NHS advises against, but that isn't a ban on eating anything in the evening. Irregular eating went with poorer sleep in Katagiri's survey, so a regular dinner time is a sensible habit. Don't treat it as a strict deadline, because the survey doesn't establish an ideal hour to eat.