Quick answer
Caffeine’s half-life is commonly around five to six hours in adults, but it varies substantially. Half-life is the time it takes for the amount in the body to fall by half—not the time at which caffeine disappears or its effect on sleep ends.
According to CDC/NIOSH, caffeine usually takes about 15–45 minutes to begin taking effect and can remain in the body much longer than one half-life. Sensitivity, dose and timing all matter.
A simple half-life example
If you consume 200 mg and your half-life happens to be five hours, the simplified estimate would be:
| Time after consumption | Approximate caffeine remaining |
|---|---|
| Start | 200 mg |
| 5 hours | 100 mg |
| 10 hours | 50 mg |
| 15 hours | 25 mg |
This is an illustration, not a measurement of your body. Absorption, metabolism and repeated doses make the real amount different. Feeling less stimulated does not prove that caffeine is no longer affecting sleep.
How caffeine can affect sleep
Caffeine may make it harder to fall asleep, shorten sleep or contribute to awakenings. You may also sleep less well even if you fall asleep normally. Late-afternoon coffee, pre-workout supplements or caffeine near the end of a night shift can affect the next sleep period.
A CDC review discusses evidence of reduced sleep and notes that timing depends on dose and individual factors. There is no single cutoff that guarantees good sleep for everyone.
Why people process caffeine differently
Metabolism and sensitivity vary with genetics, pregnancy, medications, liver health, smoking and other factors. If you are pregnant, have a health condition or take medicines that may interact with caffeine, ask your clinician about an appropriate limit. Children and adolescents may be especially sensitive.
Find a cutoff that works for you
- List your sources: coffee, tea, soda, energy drinks, chocolate, medication and supplements.
- Note the amount and the time of your last caffeine, including on weekends or shift-work days.
- Try moving the last dose earlier for a week or two and observe sleep and daytime alertness.
- If you consume caffeine regularly, reduce gradually if needed; an abrupt stop can cause withdrawal headaches and fatigue.
- If sleep problems persist, speak with a healthcare professional rather than relying on caffeine to compensate.
CDC suggests avoiding caffeine in the afternoon or evening as a general sleep habit. People who are sensitive may need a longer interval.
How much is too much?
The FDA cites 400 mg per day as an amount not generally associated with negative effects for most adults. It is not a target or a guarantee of good sleep, and some people need less. Caffeine content varies widely by serving size and product; read the label.
Too much caffeine can cause a racing heartbeat, anxiety, nausea or sleep disruption. Highly concentrated caffeine products can be dangerous. Seek prompt medical help for severe symptoms, and contact Poison Control at 1-800-222-1222 in the U.S. for a suspected overdose.
Frequently asked questions
Is caffeine completely gone after six hours?
No. With a six-hour half-life, roughly half would remain at that point in the simplified example.
Can decaf affect sleep?
Decaffeinated drinks can still contain some caffeine. Check the product if you are sensitive.
Does caffeine replace sleep?
No. It can temporarily improve alertness, but it does not replace adequate sleep. See our drowsy-driving guide.