No coffee after noon but still can't sleep? What can I do?
If you stop coffee after lunch but still can't sleep, first look for caffeine you are not counting: tea, Thai iced tea, green tea, cola, energy drinks, cocoa and chocolate, and some pain relievers and other over-the-counter medicines. The US National Heart, Lung, and Blood Institute (NHLBI) says caffeine's effects can last up to 8 hours, so a 3 p.m. iced tea can still be at work at 11 p.m. If caffeine is not the reason, the usual suspects are screens right before bed, exercise or a big meal late in the evening, a hot bedroom, worries, naps and bed and wake times that change from day to day. If trouble sleeping goes on for months or affects your daily life, see a doctor.
This article lists where caffeine hides in a normal Thai day, how long it stays with you, what else commonly keeps people awake, and when it is time to see a doctor, using guidance from the NHLBI, the US FDA, MedlinePlus, the CDC and England's NHS, and studies from Thailand, the US and Germany.
I stop coffee from the afternoon but still can't sleep. What should I do?
Go through the day in order: what you drank and took after lunch, what you did in the evening, and what happens once you are in bed.
A quick checklist
| Check | What to look for | Source |
|---|---|---|
| Caffeine from other drinks | Tea, iced tea, green tea, cola, energy drinks, cocoa or chocolate after lunch | NHLBI, FDA |
| Medicines | Pain relievers or other over-the-counter medicines taken in the afternoon or evening | MedlinePlus, NHLBI |
| Screens | Phone, TV or laptop right up to bedtime | NHS, CDC |
| Exercise | A hard workout late in the evening | NHS |
| Late meals and alcohol | A big dinner late at night, or alcohol before bed | NHS, NHLBI |
| Bedroom | Too hot, too bright or noisy | NHLBI |
| Worries | Going over work, money or family matters in bed | NHLBI |
| Timing | Bed and wake times that change a lot, or naps late in the day | NHLBI |
Change one thing at a time
Pick the two or three items that fit your day and start with those. The NHS advises seeing a GP if changing your sleeping habits has not helped.
Where else is caffeine hiding after lunch?
Coffee is the obvious one. The NHLBI's Your Guide to Healthy Sleep says coffee, colas, certain teas and chocolate all contain caffeine.
Caffeine in common drinks
| Drink | Caffeine | Source |
|---|---|---|
| Brewed coffee, 12 oz (about 355 ml) | 113 to 247 mg | US FDA |
| Black tea, 12 oz | 71 mg | US FDA |
| Green tea, 12 oz | 37 mg | US FDA |
| Soft drinks, 12 oz | 23 to 83 mg | US FDA |
| Cola, 12 oz | 35 to 45 mg | MedlinePlus |
| Energy drinks, 12 oz | 41 to 246 mg | US FDA |
| Tea, 8 oz (about 240 ml) | 14 to 60 mg | MedlinePlus |
| Decaf coffee, 8 oz | 2 to 15 mg | US FDA |
These are US figures from the FDA and MedlinePlus. A cup of iced coffee or iced tea from a shop in Thailand is often larger than 12 ounces, and the amount depends on how strong it is brewed.
Thai iced tea, green tea and cocoa
Thai iced tea, iced black tea and green tea milk drinks are brewed from tea leaves, so they contain caffeine too. Cocoa and chocolate milk also count: in a study of working-age adults in rural Northeastern Thailand (published in 2016, 1,321 people aged 15 to 59), the caffeine sources people reported included coffee, energy drinks, chocolate milk, cocoa drinks, soft drinks and tea drinks. Among the 39.6% who consumed caffeine, the average was about 300 mg a day. The study used interviews and a 7-day diary in one rural region, so city habits may differ.
Chocolate and snacks
The CDC's NIOSH team suggests avoiding caffeine, chocolate and nicotine for 5 or more hours before you plan to sleep, and longer if you are sensitive. A chocolate bar or brownie with an evening movie is easy to forget.
Medicines
MedlinePlus says caffeine is added to some pain relievers and other over-the-counter medicines. The NHLBI notes that many medicines taken to relieve headaches contain caffeine, and that some other prescription and over-the-counter medicines can also keep you awake. If you take something in the afternoon or evening and are not sure, ask a pharmacist. Do not stop or change a prescribed medicine on your own; ask your doctor or pharmacist whether the timing can be changed.
How long does caffeine stay in your body?
Longer than many people expect, and it varies from person to person.
What health agencies say
| Source | What it says |
|---|---|
| MedlinePlus (US) | Caffeine reaches its peak level in the blood within 1 hour, and you may feel its effects for 4 to 6 hours |
| NHLBI (US) | The effects of caffeine can last up to 8 hours |
| NHS (England) | Do not drink tea or coffee for at least 6 hours before going to bed |
| CDC NIOSH (US) | Avoid caffeine and chocolate for 5 or more hours before planned sleep, more if you are sensitive |
| CDC (US) | Avoid caffeine in the afternoon or evening |
What a sleep study found
In a US study by Drake and colleagues (2013), people took 400 mg of caffeine at bedtime, 3 hours before bed or 6 hours before bed, and each was compared with a placebo while their sleep was measured at home. All three timings disturbed sleep. The authors wrote that the results support the advice to avoid substantial caffeine for at least 6 hours before bedtime. The study used a single 400 mg dose, so it does not show the effect of one smaller cup.
Why some people are more sensitive
A systematic analysis by Grzegorzewski and colleagues at Humboldt University Berlin pooled data from 141 published studies on how the body handles caffeine. It describes large differences between people in how fast caffeine is cleared, and found that smoking speeds up clearance while some medicines slow it down. This is one reason two people can drink the same afternoon tea and sleep very differently. If you seem sensitive, stopping earlier in the day, as NIOSH suggests, is a reasonable step.
For coffee and energy drinks during late study sessions, see Energy drinks and coffee to study late: what about sleep?
If it's not caffeine, what else keeps you awake?
The NHLBI lists everyday habits that make sleep harder: changing your routine and sleep schedule often, daytime napping, too little physical activity, caffeine, nicotine and alcohol, screens close to bedtime, noise, light, temperature extremes and stress or worry.
Screens right before bed
The NHS advises not watching TV or using devices such as smartphones right before going to bed, and the CDC suggests turning off electronic devices at least 30 minutes before bedtime. If you scroll in bed, see On my phone in bed and can't fall asleep. What can I do?
Late exercise, late meals and alcohol
| Habit | Guidance | Source |
|---|---|---|
| Exercise | Exercise regularly during the day, but not within about 4 hours of bed | NHS |
| Hard exercise | Avoid intense exercise in the hour before bed | NHLBI |
| Dinner | Do not eat a big meal late at night; avoid heavy meals within a few hours of bedtime | NHS, NHLBI |
| Alcohol | Avoid alcoholic drinks before bed | NHLBI |
| Drinks in general | Too many fluids at night can wake you to use the bathroom | NHLBI |
An after-work gym session at 8 p.m. followed by a late dinner at 9:30 p.m. is a common pattern in Bangkok that puts two of these close to bedtime.
A hot bedroom
The NHLBI's guide lists warm temperatures among bedroom distractions and says you sleep better if the room is kept on the cool side. On hot Thai nights, see Hot nights and can't sleep: what can I do?
Worries that start once the lights are off
The NHLBI lists stress and worry about school or work, relationships or money among the things that make sleep harder, and notes that worrying about sleep itself can add to it. The NHS suggests relaxing for at least 1 hour before bed, for example with a bath or a book. Among its healthy sleep tips, the NHLBI also suggests getting up and doing something relaxing until you feel sleepy if you are still awake after more than 20 minutes in bed. For thoughts that keep going round, see Can't sleep because your mind won't stop thinking?
Bed and wake times that keep changing
The NHS advises waking up and getting out of bed at the same time every day, and the NHLBI suggests keeping weeknight and weekend times within about an hour. A late Saturday lie-in or a long nap can leave you wide awake at bedtime. The NHS also advises not sleeping in after a bad night, and the NHLBI suggests keeping naps to 20 minutes and taking them earlier in the afternoon if you have trouble falling asleep at night. For weekends, see Caught up on sleep at the weekend but still sleepy at work?
When should you see a doctor about not being able to sleep?
Signs to talk to a doctor
| What you notice | Source |
|---|---|
| Trouble sleeping has gone on for months | NHS |
| It affects your daily life in a way that makes it hard to cope | NHS |
| Changing your sleep habits has not helped | NHS |
| You keep finding it hard to fall or stay asleep, or feel tired during the day despite enough time in bed | NHLBI |
Before the appointment, note when you go to bed and get up, what you drink after lunch and when, any medicines you take, and what you have already changed. The NHS also advises not driving when you feel sleepy.
Caffeine and your health
MedlinePlus suggests checking with a health care provider about limiting caffeine if you are pregnant or breastfeeding, take certain regular medicines, or have an ongoing health problem you see a doctor about. If any of these apply, ask your doctor or pharmacist how much caffeine is right for you.
Frequently asked questions
I stop coffee from the afternoon but still can't sleep. What should I do?
How long before bed should I stop caffeine?
Do Thai iced tea and green tea have caffeine?
Does decaf coffee have caffeine?
Can medicines contain caffeine?
- National Heart, Lung, and Blood Institute (NIH): Your Guide to Healthy Sleep (NIH Publication No. 11-5271) ↗
- National Heart, Lung, and Blood Institute (NIH): Healthy Sleep Habits ↗
- National Heart, Lung, and Blood Institute (NIH): Causes and risk factors for trouble sleeping ↗
- U.S. FDA: Spilling the Beans: How Much Caffeine is Too Much? ↗
- MedlinePlus (US National Library of Medicine): Caffeine ↗
- CDC: About Sleep ↗
- CDC NIOSH Science Bulletin: Improve Sleep – Tips to Improve Your Sleep When Times Are Tough (2020) ↗
- NHS: Trouble sleeping – things you can do and when to see a GP ↗
- Drake C, Roehrs T, Shambroom J, Roth T. Caffeine effects on sleep taken 0, 3, or 6 hours before going to bed. J Clin Sleep Med 2013 (PubMed) ↗
- Grzegorzewski J, et al. Pharmacokinetics of caffeine: a systematic analysis of reported data for application in metabolic phenotyping and liver function testing. Front Pharmacol 2022 (PubMed) ↗
- Polsripradist P, Tantayaporn K, Homchampa P. Caffeine consumption behaviors of the working-age population in rural communities in Northeastern Thailand. J Med Assoc Thai 2016 (PubMed) ↗
We use cookies to improve performance and give you a better experience on this website. If you accept, we can show you content that better matches your interests. You can change your consent at any time via “Cookie settings”. Cookie policy
