The Useful Kind

Tea & Herbs · Tea Basics

How Late Is Too Late for Coffee or Tea?

Coffee and tea can affect sleep, but the best caffeine cutoff depends on timing, dose and sensitivity. Learn a practical way to plan your last cup.

Published
July 17, 2026

There is no perfect universal cutoff for coffee or tea. A practical starting point is to avoid substantial caffeine within about 6 hours of bedtime, then adjust based on your drink size, sensitivity and sleep quality.

Tea usually has less caffeine than coffee, but it can still matter close to bedtime. The best cutoff is personal.

Quick answer

If caffeine affects your sleep, start by keeping substantial caffeine at least 6 hours before bedtime. For an 11 p.m. bedtime, that means treating about 5 p.m. as a first test cutoff.

That does not mean any sip of tea after that time ruins sleep for everyone. It means caffeine timing is worth planning. Some people may need a longer cutoff, especially if they are sensitive, drink larger servings, sleep lightly or notice caffeine effects from smaller amounts.

Use your bedtime, drink size and sensitivity to plan your last cup. The Caffeine Cutoff Planner can help turn that into a simple time.

Why caffeine timing matters

Caffeine can make people feel more alert. That is useful in the morning, but less useful when the goal is falling asleep and staying asleep.

The FDA notes that people vary in how sensitive they are to caffeine and how quickly they eliminate it. That variation is why one person may drink coffee after dinner and sleep normally, while another may notice sleep disruption from tea in the afternoon.

EFSA also notes that single doses of 100 mg caffeine may affect sleep duration and patterns in some adults, especially when consumed close to bedtime. That is a useful reminder that timing and dose both matter.

The 6-hour rule, explained carefully

The common “6-hour rule” comes from evidence, but it should be used carefully.

Drake and colleagues studied 400 mg caffeine taken 0, 3 or 6 hours before habitual bedtime. In that study, caffeine had disruptive effects on sleep at all three timings, and the authors concluded that substantial caffeine use should be avoided for a minimum of 6 hours before bedtime.

Two details matter:

  • the study used 400 mg caffeine, not a normal cup of tea; and
  • it does not prove that every small caffeinated drink after a certain hour affects every person the same way.

So “avoid substantial caffeine within about 6 hours of bedtime” is a practical starting point, not a diagnosis and not a universal law.

Why tea still counts

Tea can feel gentler than coffee, and it often contains less caffeine. But true tea still contains caffeine.

True tea comes from Camellia sinensis, including black, green, white and oolong tea. If you want the tea-category basics, see true tea vs herbal infusions and green, black, white and oolong tea explained.

Because tea caffeine is usually lower than coffee caffeine, a cup of tea may be easier for some people to tolerate earlier in the day. Close to bedtime, though, it can still matter, especially if the serving is large, the tea is strong or the person is sensitive.

Coffee vs black tea vs green tea

Caffeine amounts vary widely by product, serving size and preparation.

Mayo Clinic lists approximate examples showing that brewed coffee generally contains more caffeine per 8-ounce serving than brewed black tea, and brewed black tea generally contains more than brewed green tea. These are useful examples, not fixed values for every cup.

Your actual drink can vary because of:

  • serving size;
  • amount of coffee or tea used;
  • brewing time;
  • grind or leaf size;
  • product type;
  • number of tea bags or scoops; and
  • whether the drink is concentrated or diluted.

For tea preparation choices, the Tea Brewing Guide can help with style, temperature and steeping. For leaf amount, see how much loose-leaf tea to use per cup.

Why some people need an earlier cutoff

Individual sensitivity varies.

The FDA explains that some people are more sensitive to caffeine than others and that caffeine can cause effects such as insomnia, jitters, anxiousness, fast heart rate, upset stomach, nausea or headache when too much is consumed. It also notes that how quickly caffeine is eliminated varies from person to person.

That does not mean caffeine is dangerous for everyone. FDA cites 400 mg per day as an amount not generally associated with dangerous, negative effects for most adults, while also making clear that individual sensitivity varies. EFSA similarly notes that up to 400 mg per day consumed throughout the day does not raise safety concerns for healthy adults in the general population, except pregnant women.

Do not treat 400 mg as a target or as a personal guarantee. If pregnancy, medication, anxiety, insomnia, heart rhythm concerns or blood pressure concerns are relevant, use qualified medical advice rather than guessing from a general article.

What about decaf and herbal tea?

Decaf coffee or tea usually means caffeine has been reduced, not necessarily removed completely. Mayo Clinic’s caffeine table includes decaf coffee as containing a small amount of caffeine in its example values. If caffeine matters to you, read the product label rather than assuming decaf means zero.

Herbal infusions are usually caffeine-free when they are not made from true tea leaves, but check blends and labels. Some blends include green tea, black tea, yerba mate, guarana, cacao or added caffeine. For more detail, see does herbal tea contain caffeine.

If you want something warm at night, a caffeine-free herbal infusion may be a practical option when the ingredients suit you. It is still worth reading the label, especially for blends, pregnancy, allergies, medicines or medical conditions.

How to test your own caffeine cutoff

The best cutoff is personal, so test it in a boring, repeatable way.

Try this:

  1. Pick your usual bedtime.
  2. For one week, avoid substantial caffeine within about 6 hours of bedtime.
  3. Keep the rest of your routine as similar as possible.
  4. Notice sleep timing, awakenings and how rested you feel.
  5. If sleep still feels affected, move the cutoff earlier.
  6. If you sleep well, you may not need a stricter rule.

Avoid changing everything at once. If you change bedtime, alcohol, screen habits, exercise, stress and caffeine timing in the same week, it becomes harder to know what helped.

This is general information, not personal medical advice, and it does not diagnose insomnia.

Practical takeaway

For coffee or tea near bedtime:

  • a practical starting point is to avoid substantial caffeine within about 6 hours of bedtime;
  • tea usually has less caffeine than coffee, but it can still matter close to bedtime;
  • drink size and strength matter;
  • individual sensitivity varies;
  • decaf does not always mean caffeine-free;
  • herbal infusions are usually caffeine-free when they are not made from true tea leaves, but blends and labels matter; and
  • if sleep, pregnancy, medication or medical conditions are relevant, ask a qualified clinician.

The goal is not to fear coffee or tea. It is to place them where they work for your day instead of quietly working against your sleep.

Related tools and guides

Sources