Skip to main content

We search. We report. You decide.

Advertiser Disclosure
Search & Report

Caffeine and Sleep: How Late Is Too Late?

Caffeine can disturb sleep hours after the last cup. Here is how long it stays in the body, what the timing studies found and where caffeine hides.

By Search & Report Editorial Team · Updated November 23, 2026 · 6 min read

Key takeaways

  • For most adults, the FDA cites 400 milligrams of caffeine a day as an amount not generally associated with negative effects.
  • Caffeine lingers. A research review puts its half-life in adults at 3 to 7 hours, and NHLBI says its effects can last up to 8 hours.
  • In a study of 12 healthy sleepers, a 400-milligram dose taken 6 hours before bedtime cut measured sleep by more than an hour.
  • The timing studies are small, and people clear caffeine at different speeds, so no single cutoff time fits everyone.
  • Sleep problems that continue, or symptoms of too much caffeine, are reasons to talk with a licensed clinician.

Caffeine can make you feel more awake.1 The same effect can get in the way of sleep, and experiments show that a dose taken hours before bed can still shorten sleep and make it lighter.23 How late is too late depends on the amount and on the person. This article covers how long caffeine stays in the body, what the timing studies found, how small those studies were and where caffeine turns up.

How long caffeine stays in the body

MedlinePlus, the health site of the National Library of Medicine, says caffeine reaches its peak level in the blood within one hour, and that you may keep feeling its effects for four to six hours.1

The National Heart, Lung, and Blood Institute (NHLBI) gives a longer figure. It says the effects of caffeine can last up to 8 hours, so a cup of coffee in the late afternoon can make it hard to fall asleep at night.4

Researchers describe this with a half-life: the time the body takes to clear half of a dose. A 2017 review of caffeine research put the half-life at 3 to 7 hours in adults.5 At the upper end of that range, half the caffeine from a 3 p.m. coffee would still be in the body at 10 p.m.

Why it differs from person to person

The Food and Drug Administration (FDA) notes wide variation in how sensitive people are to caffeine and in how fast they eliminate it.6 The 2017 review lists several reasons:5

  • Pregnancy. The half-life of caffeine is on average 8.3 hours longer during pregnancy.
  • Birth control pills. Oral contraceptives tend to double the half-life.
  • Smoking. Cigarette smoking doubles the rate at which the body clears caffeine.

Age and genes play a part as well. A separate systematic review found that older adults' sleep may be more sensitive to caffeine, and that genetic differences affect how strongly caffeine disrupts sleep.7

The amount the FDA cites for adults

For most adults, the FDA has cited 400 milligrams a day as an amount not generally associated with negative effects. That is about two to three 12-fluid-ounce cups of coffee.6

That figure is a daily total and says nothing about timing. In the experiments below, the same amount taken as a single dose later in the day disturbed sleep.28

What the timing studies found

These studies gave people caffeine at set times before bed. The individual experiments were small.

  • Six hours before bed. In a 2013 study, 12 healthy adults who normally slept well took a 400-milligram caffeine pill at bedtime, 3 hours earlier or 6 hours earlier on different nights, and only placebo pills on another night. A sleep monitor worn at home showed that total sleep time fell by 1.1 to 1.2 hours at each of the three times. The participants' own sleep diaries did not show a significant loss after the 6-hour dose. The authors took this as a sign that people may not notice the effect.2
  • Two doses, three times. A trial published in 2025 tested 100 milligrams and 400 milligrams of caffeine in 23 men, each dose taken 12, 8 or 4 hours before bedtime. The 100-milligram dose had no significant effect on sleep. The 400-milligram dose delayed sleep when taken within 12 hours of bedtime, and it made sleep more broken when taken within 8 hours. The men rated their sleep as worse only after the dose taken 4 hours before bed.8
  • Pooled results. A 2023 analysis combined 24 studies. Caffeine cut total sleep time by 45 minutes. People took 9 minutes longer to fall asleep, spent 12 more minutes awake during the night and got about 11 fewer minutes of deep sleep.3
  • The body clock. In a 2015 laboratory study of five people, a dose equal to a double espresso, taken 3 hours before the usual bedtime, shifted the body's nightly melatonin rhythm about 40 minutes later.9

So how late is too late?

There is no single answer. A sleep medicine society and three of the studies draw the line in different places:10283

SourceWhat it says
American Academy of Sleep MedicineAvoid caffeine in the afternoon or evening
2013 studyAvoid substantial caffeine for at least 6 hours before bedtime
2025 trial100 milligrams can be taken up to 4 hours before bedtime; 400 milligrams may disturb sleep within 12 hours
2023 analysisA cup of coffee (107 milligrams) at least 8.8 hours before bedtime, to avoid losing sleep time

Our article on sleep and weight lists other sleep habits that health agencies recommend.

What these studies cannot tell you

The experiments involved 12, 23 and 5 people.289 The authors of the 2013 study named the small number of participants as a limitation. They also did not measure caffeine in the blood, and they studied good sleepers, not people with insomnia.2

The systematic review of caffeine and sleep noted that most studies were done in adult men in Western countries, which limits how widely the findings apply.7 The results describe averages, not how one person will sleep after one cup.

Where caffeine hides

Coffee, tea and chocolate are well-known sources. The FDA gives typical amounts for 12-fluid-ounce drinks:6

DrinkTypical caffeine
Caffeinated soft drink23 to 83 milligrams
Green tea37 milligrams
Black tea71 milligrams
Regular brewed coffee113 to 247 milligrams
Energy drink41 to 246 milligrams

Caffeine also shows up in less obvious places:

  • Decaf. Decaffeinated coffee and tea still contain some caffeine. Decaf coffee typically has 2 to 15 milligrams in an 8-fluid-ounce cup.6
  • Foods and supplements. Energy or protein bars, ice cream, chewing gum and dietary supplements may have caffeine added.6
  • Medicines. Some pain relievers, cold medicines and over-the-counter medicines for alertness contain caffeine.1
  • Other ingredients. When a food contains an ingredient that naturally has caffeine, such as chocolate, the label lists that ingredient, not caffeine.6

Packaged foods must list caffeine in the ingredients when it is added on its own. Many also state the amount, though that is voluntary. Restaurants and other places that serve food and drinks are not required to say how much caffeine is in what they serve.6

Signs of too much caffeine

The FDA lists these symptoms:6

  • increased heart rate or heart palpitations
  • high blood pressure
  • insomnia or sleep disruptions
  • anxiety or jitters
  • upset stomach or nausea
  • headache

For people who have caffeine every day and want to cut back, the FDA says it is best to do so gradually. Caffeine withdrawal is not considered dangerous, but it can be unpleasant.6

When to talk with a clinician

MedlinePlus advises checking with a health care provider about whether to limit or avoid caffeine if you:1

  • are pregnant or breastfeeding
  • have a sleep disorder, including insomnia
  • have migraines, anxiety, GERD or ulcers
  • have an arrhythmia (a problem with the rate or rhythm of the heartbeat) or high blood pressure
  • take certain medicines or supplements, including stimulants, certain antibiotics, asthma medicines and heart medicines

It also says children and teens should not have as much caffeine as adults.1 The FDA recommends talking with a health care professional about a child's or teen's caffeine use, and about any of the symptoms listed above.6

If a sleep problem persists, the American Academy of Sleep Medicine advises talking to a medical provider.10 A licensed clinician can look at your health, your medicines and your sleep, and decide what, if anything, needs to change.

Footnotes

  1. MedlinePlus, National Library of Medicine, Caffeine, last updated September 8, 2021. ↩ ↩2 ↩3 ↩4 ↩5

  2. Drake C, et al. Caffeine effects on sleep taken 0, 3, or 6 hours before going to bed. Journal of Clinical Sleep Medicine 2013;9(11):1195-1200. PubMed ↩ ↩2 ↩3 ↩4 ↩5 ↩6

  3. Gardiner C, et al. The effect of caffeine on subsequent sleep: A systematic review and meta-analysis. Sleep Medicine Reviews 2023;69:101764. PubMed ↩ ↩2 ↩3

  4. National Heart, Lung, and Blood Institute, Healthy Sleep Habits, last updated March 24, 2022. ↩

  5. Temple JL, et al. The Safety of Ingested Caffeine: A Comprehensive Review. Frontiers in Psychiatry 2017;8:80. PubMed ↩ ↩2

  6. U.S. Food and Drug Administration, Spilling the Beans: How Much Caffeine is Too Much?, content current as of August 28, 2024. ↩ ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10 ↩11

  7. Clark I, Landolt HP. Coffee, caffeine, and sleep: A systematic review of epidemiological studies and randomized controlled trials. Sleep Medicine Reviews 2017;31:70-78. PubMed ↩ ↩2

  8. Gardiner CL, et al. Dose and timing effects of caffeine on subsequent sleep: a randomized clinical crossover trial. Sleep 2025;48(4):zsae230. PubMed ↩ ↩2 ↩3 ↩4

  9. Burke TM, et al. Effects of caffeine on the human circadian clock in vivo and in vitro. Science Translational Medicine 2015;7(305):305ra146. PubMed ↩ ↩2

  10. American Academy of Sleep Medicine, Healthy Sleep Habits, updated August 2020. ↩ ↩2

Sleep

How Much Sleep Do Adults Need?

Health agencies and sleep specialists advise at least 7 hours a night for adults. Here is what they recommend by age, how many adults fall short and why quality matters too.

Nov 23, 2026 · 6 min read

Health news you can use, in your inbox

Get new guides, research explained in plain language and updates to our comparisons from Search & Report. Free, and you can unsubscribe at any time.

By subscribing, you agree to receive emails from Search & Report, including health news and offers from us and our advertising partners. You can unsubscribe at any time. See our Privacy Policy.