When to Stop Drinking Caffeine Before Bed

Sleep guide illustration

Caffeine is useful because it makes you feel more alert — that is also why it can interfere with sleep. The question is not only how much caffeine you drink, but when you drink it and how sensitive you are to it. A caffeine cutoff is the latest time you plan to have coffee, tea, energy drinks, or other caffeinated products before bed.

Quick answer

A practical caffeine cutoff is usually 6–10 hours before bedtime. If you are sensitive to caffeine or troubleshooting sleep, stop earlier — often around lunchtime. For a 10:30 PM bedtime, that means a last-caffeine window of about 12:30–4:30 PM depending on sensitivity.

  • Best starting point: Try an 8-hour cutoff for one week.
  • Common mistake: Counting coffee but forgetting tea, energy drinks, soda, chocolate, and pre-workout.
  • Use this calculator: Caffeine Cutoff Calculator.

When should you stop drinking caffeine before bed?

The simplest way to set a cutoff is to work backward from your target bedtime. Caffeine may disrupt sleep for some people even when taken several hours before bedtime (FDA caffeine guidance; Roehrs & Roth, Sleep Medicine Reviews, 2008).

Sensitivity Suggested cutoff before bed
Low sensitivity 6 hours
Average sensitivity 8 hours
High sensitivity 10–12 hours

This is an estimate, not a medical rule. People metabolize caffeine differently.

Caffeine cutoff times by bedtime

Bedtime 6-hour cutoff 8-hour cutoff 10-hour cutoff
9:30 PM 3:30 PM 1:30 PM 11:30 AM
10:00 PM 4:00 PM 2:00 PM 12:00 PM
10:30 PM 4:30 PM 2:30 PM 12:30 PM
11:00 PM 5:00 PM 3:00 PM 1:00 PM
11:30 PM 5:30 PM 3:30 PM 1:30 PM

Use the Caffeine Cutoff Calculator to estimate your personal cutoff based on your bedtime.

Why caffeine affects people differently

Genetics, age, medications, pregnancy, liver function, and habitual caffeine intake all affect how quickly your body processes caffeine. A dose that one person metabolizes in four hours may take eight hours for another. If you have insomnia symptoms, are pregnant, take certain medications, or notice that even afternoon coffee affects you, choose a longer buffer.

Hidden caffeine sources to count

Many people only count coffee. That misses a lot. Common hidden sources include:

  • Black tea, green tea, and matcha
  • Energy drinks and shots
  • Some sodas (cola, orange sodas)
  • Pre-workout powders
  • Caffeinated gum or mints
  • Dark chocolate and cocoa products
  • Some headache or cold medications

A late "small" source can still matter if your sleep is already fragile. Review other evening habits that affect sleep alongside your caffeine timing.

How to test your personal caffeine cutoff

Try this experiment for one week:

  1. Keep your morning caffeine the same.
  2. Move your last caffeine 2 hours earlier than usual.
  3. Avoid caffeine after lunch if sleep is still poor.
  4. Track bedtime, wake-ups, and morning alertness.

This makes the effect easier to notice than trying to change everything at once. Track whether caffeine is increasing sleep latency over the week.

What to do instead of late caffeine

Caffeine can hide sleepiness, but it does not replace sleep. If you use caffeine late every day because you are exhausted, the bigger issue may be too little sleep or inconsistent wake times. A better plan:

  • Morning light after waking
  • Caffeine after you have been awake for a bit
  • No caffeine past your cutoff time
  • A planned short nap if you are dangerously sleepy
  • Earlier bedtime for recovery nights
Estimate your caffeine cutoff →

FAQs

Is 2 PM too late for coffee?

It depends on your bedtime and sensitivity. For a 10 PM bedtime, 2 PM is an 8-hour cutoff. That may work for many people, but sensitive sleepers may need to stop earlier.

Does tea count as caffeine?

Yes. Tea often has less caffeine than coffee, but it can still affect sleep, especially for sensitive sleepers.

Can I drink decaf at night?

Decaf usually contains much less caffeine than regular coffee, but it is not always caffeine-free. Sensitive sleepers should still pay attention to timing.

Does a small amount of caffeine matter?

Timing matters alongside dose. A small cup of tea at 2 PM is different from a large cold brew at 4 PM. If you are troubleshooting sleep, reduce both the latest caffeine time and the total amount.

Sources

Related articles & calculators

Educational use only. This article is for general sleep-planning education and is not medical advice. Consult a qualified healthcare professional for persistent sleep problems.