Simple Health Insider

Articles Sleep

How late is too late for coffee?

In a sleep trial, a large dose of caffeine cost people about 50 minutes of sleep. A smaller dose at the same hour had a different result.

A rust-colored mug of black coffee on a wooden windowsill at dusk.
AI-generated illustration

Suppose you go to bed at 11 p.m. Is a coffee at 3 p.m. likely to keep you up? There’s a detail missing from that question. A small coffee and a large, strong one can put very different amounts of caffeine into the same afternoon. In one experiment, even an eight-hour gap left room for a large dose to interrupt sleep. [1]

What happened four hours before bed?

Researchers recruited 23 men who regularly had caffeine. On different days, each man took a capsule containing 100 milligrams of caffeine, 400 milligrams, or a placebo. The team varied the timing and recorded sleep at home. The men also kept diaries so the researchers could compare the recordings with how the night felt. [1]

Four hours before bed, the 400 mg dose cut total sleep by about 50 minutes on average compared with the placebo. The men also spent more of the night awake after first falling asleep. With 100 mg, the researchers saw no clear change in sleep at any of the times they tested. Four hours was the closest to bedtime they tried. [1]

At eight hours, the larger dose still broke up sleep, even though the men didn’t rate the night as worse. An earlier study with 12 adults also found that 400 mg disrupted sleep when people took it six hours before bed. Neither study tested sipping the same total amount slowly across a workday. [1] [2]

How much is in your afternoon cup?

The U.S. Food and Drug Administration lists 113 to 247 mg as typical for 12 fluid ounces of regular brewed coffee. Even two cups the same size can land at different ends of that range. If a café lists caffeine on its menu, read the amount for the size you actually order. [3]

If you suspect your afternoon coffee keeps you awake, pick one thing to change. You could order the same drink earlier for a few comparable workdays. Or keep the time and order a smaller size. Note when you went to bed and roughly how long you lay awake. That comparison can help you choose tomorrow’s order without trying to guess a cutoff that fits everyone.

Sources

  1. Gardiner and colleagues, Sleep (2025). Two caffeine doses taken at different times before bed.
  2. Drake and colleagues, Journal of Clinical Sleep Medicine (2013). A 400 mg dose at bedtime, three hours before, or six hours before.
  3. U.S. Food and Drug Administration. Typical amounts of caffeine in a 12-ounce drink.