Nutrition

Caffeine and sleep: when should you stop drinking coffee?

Check the size, strength and timing of your drinks before blaming your bedtime routine.

Nia5 min read
Coffee with milk in a turquoise cup and saucer
Photo: Matt Hoffman / Unsplash

You have the same number of coffees as a friend, yet you feel wide awake at bedtime. The number of cups does not tell the whole story: size, strength, timing and individual sensitivity all matter. A useful first step is to look at your actual drinks, not to blame yourself for failing to sleep on command. This guide is for adults reviewing a routine. It is not a treatment for insomnia or a caffeine allowance for children.

A cup is not a standard dose

The FDA caffeine guide gives a wide range for brewed coffee: roughly 113–247 mg in a 12-fluid-ounce serving. Tea and energy drinks vary too. The table below uses the same serving volume to show why counting cups can mislead. These are reference examples, not a prediction for a particular café order. Check a manufacturer's information when it is available, especially for large drinks or products with added caffeine.

Caffeine examples at the same serving size
Drink, 12 US fl oz (about 355 ml)Caffeine in FDA examples
Brewed coffee113–247 mg
Black tea71 mg
Green tea37 mg
Energy drink41–246 mg
Source: FDA. Amounts vary by product.

Write down the name and size of your usual drinks for a few days. Include the coffee grabbed during travel, a pre-workout product if you use one, and tea after dinner. Do not estimate every item from the strongest product you find online. Use the label where possible and mark unknown amounts as unknown. This small record is meant to reveal timing and patterns, not to create false precision.

A general upper amount is not a sleep target

The FDA notes that 400 mg a day is not generally associated with negative effects for most adults, but sensitivity and circumstances vary. That does not mean everyone should aim for 400 mg or that staying below it guarantees comfortable sleep. Pregnancy, breastfeeding, medicines and health conditions deserve individual advice. If caffeine produces symptoms that worry you, stop treating a population reference as permission to continue unchanged.

Think about what each drink is doing in your day. One may be a taste you enjoy, another a social break, and another a response to a short night. Those reasons suggest different changes. You might keep the morning coffee, choose a different afternoon drink, and protect the break itself. Replacing every enjoyable ritual at once often makes an experiment harder to maintain than it needs to be.

Try moving the last caffeinated drink earlier

The NHS insomnia guidance advises avoiding tea or coffee for at least six hours before bed. Use that as a practical starting point, not proof of an exact biological cut-off for everyone. If bedtime varies, relate the experiment to the time you intend to sleep. Keep a simple note of the last caffeinated drink and how the night felt, while recognising that stress, noise and many other factors can change sleep.

Change one part of the routine first. For example, keep your usual breakfast drink and replace the late-afternoon one with an option you enjoy. If you have several caffeinated drinks each day, reduce them gradually rather than creating a difficult all-or-nothing challenge. Allow the trial to include ordinary workdays and weekends before deciding whether the change is useful. Do not promise yourself perfect sleep after one different drink.

Do not confuse hydration with stimulation

The NHS fluid guide includes tea and coffee among drinks that count towards fluids. That does not remove caffeine's separate effects. You can keep a regular drinking routine while changing the caffeinated part of it. Our water guide explains this distinction. If you have been using coffee to replace a meal break, our no-microwave lunch ideas offer another practical place to start.

Choose replacements honestly. A drink labelled natural, energising or wellness-focused may still contain caffeine. Read the ingredient list and any amount provided instead of assuming the branding answers the question. Decaffeinated coffee can contain small amounts, so it is not identical to a caffeine-free drink. If complete avoidance has been recommended for a medical reason, check the product with your clinician or pharmacist rather than relying on a café category.

Keep readingDo you actually need protein powder?5 min read

Know when the problem is bigger than coffee

If sleep difficulties persist or interfere with daily life, seek professional advice. A drink diary can help explain the routine, but it cannot rule out another cause. Do not drive when sleepy or use more caffeine as a substitute for safe rest. Your next step can be small: identify the latest caffeinated drink, choose a workable replacement, and review the pattern. The goal is a routine that supports your day and night, not winning an argument about whether coffee is good or bad.

Common questions

How much does a late coffee actually affect sleep?

Possibly more than you notice. In a small home-based study in the Journal of Clinical Sleep Medicine, 12 healthy adults took 400 mg of caffeine or a placebo at bedtime, three hours before bed or six hours before. Measured with a sleep monitor, even the dose taken six hours before bed reduced total sleep by more than an hour compared with placebo. That is a large single dose and a small study, but it supports the NHS advice to leave at least six hours.

How much caffeine is too much at once?

The European Food Safety Authority considers single doses of up to 200 mg, and up to 400 mg a day, to raise no safety concerns for healthy adults. For pregnancy and breastfeeding, its reference is up to 200 mg a day spread through the day. EFSA also notes that a single dose of around 100 mg may affect sleep duration and patterns in some adults, particularly close to bedtime. That is less than the brewed coffee examples in the table above, so sleep can be affected well below any safety limit.

Is decaf a good evening swap?

For many people it is a practical one. As noted above, decaffeinated coffee still contains small amounts of caffeine, so it is not the same as a caffeine-free drink. Herbal teas made without tea leaves, warm milk or water are other options. If your evening coffee is mostly a ritual or a pause in the day, keeping the ritual and changing what is in the cup may be the easiest change to stick with.

Try this week

0 of 3 done

Sources

  1. Spilling the beans: how much caffeine is too much?. FDA.
  2. Insomnia. NHS.
  3. Water, drinks and hydration. NHS.
  4. Caffeine effects on sleep taken 0, 3, or 6 hours before going to bed. Journal of Clinical Sleep Medicine / PMC.
  5. Caffeine. European Food Safety Authority.

Pass it on

XBlueskyEmail