Skip to content
86% off$349 $48.86code BF2026

Guides

'Approaching 5-hour limit' in Claude Code: no reset time

Claude Code warns "Approaching 5-hour limit" without a reset time. Here is how to see the time with a statusline or ccusage, and what Sledbot shows.

TroubleshootingUpdated 5 min read

On this page

You were working in Claude Code and saw this:

Approaching 5-hour limit

There is no time attached, so you can't tell whether you have 10 minutes or 3 hours left. The reports behind this page date from August 2025, and we haven't re-checked them against the current Claude Code release as of November 2026. If your version shows the time again, this page is out of date for you.

Why "Approaching 5-hour limit" shows no reset time

People on the Anthropic subreddit reported in August 2025 that the warning stopped including the reset time. Replies said the time appears in the message you get after the limit is reached, and that a custom statusline script can show the session reset time or the time left.

We don't know whether Anthropic removed the time on purpose or whether it varies by version or plan. What follows from the reports is practical: no setting on the warning itself will add a time. The fix is to show the time somewhere else, or to read it from your usage data.

What you wantWhat gives it to you
Reset time or time left, visible while you workA statusline script
A report on your 5-hour windowsccusage blocks
The reset time once an agent has hit the limitClaude Code's own message, and Sledbot's limit displays
The reset time before the limit, inside SledbotNot available (see below)

Fix 1: Add a statusline that shows the reset time

Symptom: you get the warning but can't tell how long you have.

A status line is a line of text Claude Code shows while you work, produced by a script you provide. A script that prints your session reset time or time remaining keeps that number in view without waiting for the limit message.

  1. Open Anthropic's Claude Code documentation and find its status line page. We don't copy the setting names here because we can't confirm them for your release, and they can change.
  2. Point the status line at a script that prints your session reset time or time left. People in the 2025 thread described scripts that do this.
  3. Run the script on its own in a terminal first, to confirm it prints a time.
  4. Restart your Claude Code session and check that the line appears.

Fix 2: Check your 5-hour window with ccusage

Symptom: you want a report, not just a warning.

ccusage is a community command-line tool for reporting Claude Code token usage and cost. Users describe it as reading the local usage files Claude Code writes, and as having a blocks report for the 5-hour windows. Check its npm page or repository for its license and current commands before relying on it.

bash
bunx ccusage blocks

This runs ccusage through Bun. It is a reporting command and doesn't change Claude Code settings, so there is nothing to undo.

Two caveats:

  • Compare the window it prints with what Claude Code tells you. We haven't checked it against Anthropic's own reset time to the minute.
  • It only reports usage. It doesn't stop or manage anything.

Fix 3: Read the message after the limit hits

If the warning is all you get, the limit message itself is the authoritative source. Claude Code's own text wins over any third-party tool when the two disagree. Note the time it prints and plan around it.

What Sledbot shows once the limit hits

Symptom: you run several Claude Code agents and want to see which ones the limit has stopped, and when they can start again.

Sledbot parses limit messages from the agent's screen and shows the reset time in four places:

  • The needs-you banner on an agent session reads "Resets <time>."
  • A blocked agent row in the Needs you inbox reads "At its usage limit, resets …".
  • In Settings > Accounts, an account card shows an "At limit (resets HH:mm)" pill.
  • The Today page's Usage section shows "<account> at limit · Resets …".

What it doesn't cover: the "approaching" stage. Sledbot does not show a reset time or countdown before the limit is reached, so for that you still need the statusline or ccusage above.

Fallback setup is in AI providers, accounts and fallback. Sledbot needs macOS 14 or later and is part of MacSuite; you can try it free for 7 days. See the Sledbot page.

Checklist before you give up

  • You read the full message after hitting the limit, not just the warning.
  • Your statusline script runs on its own in a terminal and prints a time.
  • You restarted the Claude Code session after changing the status line.
  • You compared any tool's window with Claude Code's own message.

If nothing shows a time

Your Claude Code version may print different text than the 2025 reports describe. If the limit message never includes a time, contact Anthropic through Claude Code's feedback option or Anthropic support. Include your Claude Code version, your plan type, the exact text you see ("Approaching 5-hour limit"), when it appeared, and what you already tried.

text
Hello,

Claude Code shows only "Approaching 5-hour limit" with no reset time.
Claude Code version: (your version)
Plan: (your plan)
Time it appeared: (date and time, with time zone)
After hitting the limit, the message did / did not include a reset time.
I tried a custom statusline and a usage report.
Can you confirm whether the reset time is meant to be shown in the warning?

Common questions

Does the warning ever show a reset time?

Per the 2025 reports, the time appears after you hit the limit, not in the warning. Newer versions may differ, so check yours.

Is ccusage's window the same as Anthropic's?

We haven't verified that it matches Anthropic's reset time exactly, so treat it as an estimate and trust Claude Code's own message.

Can Sledbot warn me before the limit?

No. Sledbot reads the limit message after it appears, then shows the reset time. It has no countdown before that point.

Every app.
One purchase.