Skip to content
Pin & Prosper Finds Practical Guides
Pin & Prosper
Finds
Pin & Prosper Finds Search open

Start typing to search Guides, Recipes, Reviews and Shop.

Browse everything in Discover
Pin & Prosper
Finds
© 2026 Pin & Prosper Finds
← Back to Guides
Sleep & Recovery 7 min read Updated: November 3, 2026

Caffeine Cutoff Time: When to Stop Coffee Before Bed

Your last coffee of the day can still be working at bedtime. How long before bed to stop depends mostly on how much caffeine you have, so this guide gives you a cutoff for your bedtime and your usual drink, plus the caffeine in common drinks and the reasons some people clear it more slowly.

A white mug of black coffee on a wooden table in low afternoon sunlight, with a glass of water and a small teapot by the window

The Quick Version

What time should you stop drinking coffee?

For one regular cup of coffee, about 100 mg of caffeine, stop roughly 9 hours before bed. With a 10 p.m. bedtime, that means a last cup around 1 p.m. A 2023 review of 24 studies worked out that a cup this size should be finished at least 8.8 hours before bed to avoid losing sleep, which is where the familiar 8-hour rule comes from.1

Dose matters as much as timing. The same review put a 217 mg pre-workout drink at 13.2 hours before bed.1 And in a 2025 trial in healthy young men, 100 mg had no measurable effect on sleep even 4 hours before bed, while 400 mg disrupted sleep whenever it was taken within 12 hours of bedtime.2 So a small cup gives you some leeway; a large one does not.

Find your time

Caffeine cutoff calculator and chart

Prefer a chart? Find your usual bedtime, then read across to your drink. The cautious column is the one to start with; the bare-minimum column is the latest that one small cup has been tested without a measurable effect, in a small group of young men.

Latest time for your last caffeinated drink, by bedtime and dose
Bedtime One small cup (about 100 mg), cautious: 9 hours One small cup, bare minimum: 4 hours Big dose (200 mg or more): 13 hours
9 p.m. 12 noon 5 p.m. 8 a.m.
10 p.m. 1 p.m. 6 p.m. 9 a.m.
10:30 p.m. 1:30 p.m. 6:30 p.m. 9:30 a.m.
11 p.m. 2 p.m. 7 p.m. 10 a.m.
Midnight 3 p.m. 8 p.m. 11 a.m.

Counts as a small cup (about 100 mg or less)

  • An 8 oz cup of regular brewed coffee
  • A single shot of espresso, or a small latte or cappuccino made with one
  • A cup of black or green tea
  • A can of caffeinated soda
  • An 8 oz energy drink

Counts as a big dose (200 mg or more)

  • A large coffee-shop coffee or cold brew
  • A double or triple shot of espresso
  • A 16 oz energy drink or one labeled with 200 mg or more
  • Pre-workout drinks and caffeine pills
  • Two or more small cups close together

How much caffeine is in your drink?

A regular 8-ounce cup of brewed coffee has about 96 mg of caffeine, a single espresso about 64 mg, and a cup of black tea about 48 mg.4 Coffee-shop sizes are often 12 to 20 ounces, and a 12-ounce brewed coffee alone can range from 113 to 247 mg, so the cup size matters more than the type.3

Three coffee cups from small to large: an 8-ounce mug, a 12-ounce takeaway cup and a much taller 20-ounce takeaway cup
Typical caffeine content of common drinks
Drink Serving Typical caffeine
Brewed coffee8 oz (240 ml)About 96 mg
Brewed coffee12 oz (355 ml)113 to 247 mg
Espresso1 shot (1 oz / 30 ml)About 64 mg
Black tea8 oz (240 ml)About 48 mg
Green tea8 oz (240 ml)About 29 mg
Caffeinated soda12 oz (355 ml)23 to 83 mg
Energy drink12 oz (355 ml)41 to 246 mg
Decaf coffee8 oz (240 ml)2 to 15 mg

Brewed coffee, espresso and tea figures are averages from USDA FoodData Central;4 the ranges for 12-ounce drinks and decaf are from the FDA.3 Brands vary widely, so check the label on energy drinks and pre-workout, which list caffeine in milligrams. Chocolate, matcha and some pain relievers contain caffeine too.

How long does caffeine stay in your body?

In most adults, half of the caffeine you drink is cleared in about 3 to 7 hours. That number is the half-life: after one half-life, half of a cup is still in your system, and after two, a quarter is. A 2 p.m. coffee can leave a noticeable amount in your body at a 10 p.m. bedtime.5

Some people clear caffeine more slowly

  • Pregnancy: the half-life rises to about 10 hours by mid-pregnancy and up to 18 hours near the end.5
  • The contraceptive pill: oral contraceptives make caffeine last noticeably longer.5
  • Liver disease: can slow clearance a great deal.
  • Smoking does the opposite: it almost doubles the speed at which caffeine is broken down.5

Genes and some medicines also play a part. You cannot feel your own half-life, so if you fall into one of these groups, or your nights are restless, start with an earlier cutoff than the chart suggests. A pharmacist can tell you whether a medicine you take affects caffeine.

What does late caffeine do to your sleep?

Across 24 studies, caffeine cut total sleep by about 45 minutes on average. People took about 9 minutes longer to fall asleep, spent about 12 more minutes awake during the night and got less deep sleep.1 Many people never notice this, because they still fall asleep; the sleep is just shorter and lighter.

A woman lying awake in bed in a dark bedroom at night, staring at the ceiling

The dose shows up clearly in the 2025 trial. A large 400 mg dose taken 4 hours before bed cut sleep by about 50 minutes, and taken 8 hours before bed it still broke sleep up with more time awake in the night.2 That trial was small and only included young men, but it points the same way as the review: the bigger the dose, the earlier it needs to be.

How much caffeine is too much in a day?

For most healthy adults, up to 400 mg a day, about two to three 12-ounce cups of coffee, is not generally linked to negative effects. People vary a lot in how sensitive they are, though, and sleep can suffer well below that amount if the caffeine comes late in the day.3

During pregnancy, the advice is no more than 200 mg a day, about two cups of coffee.6 Children and teens, and anyone with a heart condition, anxiety or a medicine that interacts with caffeine, should check with a healthcare provider about a safe amount.

How to move your cutoff earlier

If your last cup is currently mid-afternoon or later, do not stop cold. Move it back by about an hour every couple of days, so your body adjusts without a headache.

Days 1 and 2

Note when you have your last caffeinated drink, and how big it is. Make it no later than 4 p.m.

Days 3 and 4

Move it to 3 p.m. Swap any second afternoon cup for decaf or half-caf.

Days 5 to 7

Land on your time from the chart. Keep big drinks to the morning.

When the afternoon craving hits

A craving at 3 p.m. is usually the afternoon dip, not a caffeine need. Drink a glass of water, take a five-minute walk and get some daylight; the Afternoon Energy Reset lays out the full routine. Herbal tea or decaf keeps the ritual without the caffeine.

The cutoff is one piece of a good night. Pair it with a short evening routine, like the 10-minute nightly reset, and the wake time and wind-down steps in the Sleep Reset.

This guide is general wellness information, not medical advice. If you have ongoing trouble sleeping, are pregnant, or take medicine that may interact with caffeine, talk to a healthcare provider.

FAQ

How many hours before bed should I stop caffeine?

For a regular cup of coffee, about 9 hours is a cautious target. For bigger doses, such as a large coffee-shop coffee, an energy drink or pre-workout, about 13 hours. Some people sleep fine with less, and some need more, so use your own nights as the final test.

Is 2 p.m. too late for coffee?

It depends on your bedtime and your cup. With an 11 p.m. bedtime, one regular coffee at 2 p.m. fits the 9-hour guideline. With a 10 p.m. bedtime, aim for 1 p.m. instead, and for a large or extra-strong coffee, make it a morning drink.

Does decaf coffee have caffeine?

A little. Decaf usually has about 2 to 15 mg in an 8-ounce cup, compared with roughly 100 mg in regular brewed coffee. For most people that is small enough for the evening, but if you are very sensitive, notice how you sleep after it.

Can I build a tolerance so caffeine doesn't affect my sleep?

You may stop feeling the buzz, but that does not mean your sleep is unaffected. Studies measure lighter, shorter sleep after late caffeine even in people who drink it every day. Judging by how you feel at bedtime is not a reliable test.

Keep Going

Share this guide

Sources

  1. Gardiner C et al., "The effect of caffeine on subsequent sleep: A systematic review and meta-analysis", Sleep Medicine Reviews, 2023. pubmed.ncbi.nlm.nih.gov/36870101/
  2. Gardiner CL et al., "Dose and timing effects of caffeine on subsequent sleep: a randomized clinical crossover trial", Sleep, 2025. pubmed.ncbi.nlm.nih.gov/39377163/
  3. U.S. Food and Drug Administration, "Spilling the Beans: How Much Caffeine Is Too Much?", FDA, 2024. fda.gov/consumers/consumer-updates/spilling-bean…
  4. U.S. Department of Agriculture, Agricultural Research Service, FoodData Central survey foods (FNDDS): espresso, brewed coffee, black tea, green tea, decaffeinated coffee and energy drink, 2024. fdc.nal.usda.gov/
  5. Food Standards Australia New Zealand, "Supporting document 1: Safety assessment of caffeine (Proposal P1056, Caffeine review)", FSANZ, 2022. foodstandards.gov.au/sites/default/files/food-st…
  6. American College of Obstetricians and Gynecologists, "Surprise, You're Pregnant! Now What?", ACOG, 2024. acog.org/womens-health/experts-and-stories/the-l…

Back to top