Caffeine tracker with a cut-off time

Caffeine lasts longer than it feels like it does. A 2013 study in the Journal of Clinical Sleep Medicine found that 400 mg taken six hours before bed still cut into sleep. This tracker uses a cut-off time rather than a cup count, because moving the last coffee earlier is often easier than drinking less of it.

An example year of “No caffeine after 2 pm”, drawn by the same widget you see in ChatGPT.

Set it up

Habit
No caffeine after 2 pm
Goal
Done or not done
Schedule
Every day
Color
Gray

Pick a target

  1. Starting outNothing after 4 pm

    Move the late-afternoon cup earlier before you drop anything.

  2. SteadyNothing after 2 pm

    About eight or nine hours before a 10 or 11 pm bedtime.

  3. StretchNothing after noon

    Worth a month's trial if you sleep lightly.

When to schedule it

Every day. Weekend afternoons, with a long brunch or a café stop, are where cut-offs slip, so leave Saturday and Sunday on. Check in once in the evening, after the cut-off has passed and the answer can't change. Put the time in the habit's name so the rule is never in doubt.

What to say in ChatGPT

ChatGPT
  1. Track no caffeine after 2 pm, every day
  2. Kept my caffeine cut-off today
  3. I had a cola at 5 yesterday, mark it missed
  4. How many days did I keep the cut-off in the last month?
  5. What's my longest streak?

What helps

  1. Count everything with caffeine: tea, cola, energy drinks, pre-workout and some pain relievers. Decaf has a small amount too.
  2. Have a replacement ready for the afternoon slump, such as decaf, herbal tea or a ten-minute walk.
  3. Run it next to a sleep hours habit for a month. Two grids side by side tell you whether the cut-off changed anything for you.

Questions

Why a cut-off time rather than counting cups?

Timing targets sleep directly and is often easier to change. If you'd rather cap the total, make a yes or no habit such as '3 cups or fewer'. The FDA cites 400 mg a day, about four or five cups of coffee, as an amount not generally linked with negative effects in healthy adults.

What if I'm pregnant or take medication?

Ask your doctor what limit suits you. Pregnancy, heart rhythm problems and some medications all change the usual advice.

Challenges and guides with this habit

More health habits

Track “No caffeine after 2 pm” in ChatGPT

Free for up to 2 habits, every feature included. Log by chatting with ChatGPT or on the website.

Start tracking for free