Finding a coffee time that suits your sleep
To understand whether evening coffee affects your sleep, you may need to look beyond the final cup. Tea throughout the day, the size of your coffee and your planned bedtime are part of the same picture. A useful starting question is: “How long is there between my last caffeinated drink and bedtime?”
The NHS sleep guide recommends avoiding tea and coffee for at least six hours before bed. NHLBI notes that caffeine's effects can last up to eight hours. These are starting points for leaving more space in your evening, rather than a single last-coffee time that suits everyone.
If you plan to go to bed at 11 pm, six hours earlier is 5 pm and eight hours earlier is 3 pm. This is simply a time calculation. It does not mean every coffee at 5 pm affects everyone in the same way. If you work shifts, count back from your own planned sleep time rather than a conventional evening hour.
Why counting cups is not enough
Adding size and type to “I had two coffees today” makes the note more useful. A small cup at home and a large takeaway are not the same measure. Preparation and serving size can vary even for drinks sold under the same name.
According to the FDA's caffeine information, 400 mg a day is an amount not generally associated with negative effects for most adults. It is not a consumption target or a threshold below which sleep cannot be affected. Sensitivity, some health conditions and medicines can make a difference from person to person.
You could record:
- The drink: Turkish coffee, filter coffee, black tea or another drink you use.
- The portion: A small cup, your usual mug or the volume on the packaging.
- The time: An approximate time when you started drinking is enough.
- Label information: If caffeine content is provided, record it as written. If it is not, do not treat an estimate as an exact measurement.
You do not need a detailed spreadsheet. A short phone note called “my coffee times” can help you see where to start. Having the same amount as a friend but sleeping differently is a reminder of why your own pattern matters.
Where does the six-hour question come from?
A controlled study published by Drake and colleagues in 2013 examined 400 mg of caffeine taken immediately before bed, three hours before bed and six hours before bed. Sleep was disrupted even when this dose was taken six hours beforehand.
The detail to keep in mind is the specific 400 mg dose studied. The result cannot be applied directly to every small Turkish coffee. It gives a reason to reconsider drink timing and the assumption that feeling sleepy means caffeine can no longer affect you. Personal observation can help you adjust everyday habits, but it does not replace controlled research.
A one-week personal observation plan
This is an observation example we prepared for this article. Use it as a starting point and shorten it on busy days if that suits you.
- For the first two days, get to know your habit. Record drink type, portion and time. The next morning, describe falling asleep in your own words, such as “easy”, “took a little longer” or “difficult”.
- Over the following days, change one detail. You could move your last caffeinated drink earlier. Changing your bed, exercise and entire evening at the same time makes it harder to tell how each step felt.
- Keep your evening break. Moving coffee earlier does not mean losing a break you enjoy. You can keep the cup, conversation or reading time with another drink that suits you.
- At the end of the week, look at several days together. Do not choose only the best or worst night. Note differences such as working late, travelling or an unusually busy day.
If you have caffeine every day, a gradual reduction may feel more comfortable. The FDA also recommends cutting back slowly. Focus on a change you can maintain rather than a perfect result overnight.
You can consider caffeine timing as one part of your evening routine. If time on your phone near bedtime affects your evening too, our screen-time guide offers another small starting point.
Questions you might have
Should I count tea too?
Yes, tea is a source of caffeine. Noting cups you refill throughout the day can reveal habits you might miss when looking only at coffee.
Is decaf coffee completely caffeine-free?
The FDA notes that decaf coffee can still contain a small amount of caffeine. If you are particularly sensitive, check the product information when making your choice.
Does the same plan apply during pregnancy or when taking medicine?
This article focuses on adults' everyday habits. If you are pregnant, breastfeeding, have a particular health condition or take medicines, ask your doctor or pharmacist about an amount suitable for you. Do not use adult amounts as a guide for children or teenagers.
I moved coffee earlier but still struggle. What next?
Other factors may be involved in your sleep. Keep your notes. If difficulties continue or noticeably affect your day, they may help when speaking with a healthcare professional. For a calmer room, explore our light, sound and comfort checklist.
Sources and further reading
Sources checked on 7 September 2026. The time examples and weekly observation plan were prepared by dose.day to help bring general suggestions into everyday life.
- NHS, Sleep problems: Sleep habits and caffeine timing.
- NHLBI, Healthy Sleep Habits: How long caffeine's effects may last.
- FDA, Spilling the Beans: How Much Caffeine is Too Much?: Amounts, sensitivity and drink labels.
- Drake C. and colleagues, Journal of Clinical Sleep Medicine, 2013: Caffeine timing study, DOI: 10.5664/jcsm.3170.

