← Claude Code Hub
Jun 19, 2026 · 5 min read ✦ Tip #107

Claude 5-hour limit: when it resets, and the weekly cap that can lock you out for days

The 5-hour limit resets 5 hours after your first message, not at a set time. The weekly cap does run on a fixed schedule, and it's the one that locks you out for days. How to read all three clocks in /usage.

The three usage bars in Claude Code: 5-hour session, week (all models) and week (Sonnet only)

TL;DR It's not one limit, it's three bars at once. The 5-hour window starts with your first message and renews 5 hours later (a rolling window). On top of it run two weekly limits: one across all models and one for Sonnet only, both resetting at a fixed time assigned to your account. What drains it fastest: the model (Opus costs far more than Sonnet), the effort level, and long sessions. Check your bars in /usage (d/w for 24h / 7 days). Any of the three cuts you off until it resets.

The 5-hour limit doesn't reset at a set time of day: it starts counting from your first message and resets 5 hours later. The weekly cap does have a fixed day and time, set for your account, and it's the one that can lock you out for days. Both run at once, and /usage tells you when each one resets.

I spend many hours a day in Claude Code, and for months I couldn't work out why it sometimes cut me off mid-afternoon. The reason is that there isn't one counter but several clocks at once, each with its own rules. Once you separate them, it stops feeling random.

> /usage

Current session       ████░░░░░░  18% · resets 3:50pm
Current week (all)    █░░░░░░░░░   3% · resets Jun 25, 8pm
Current week (Sonnet) ░░░░░░░░░░   0%

The clocks

1. The 5-hour window (the "session")

It's a rolling window: it starts counting from your first message and renews 5 hours after that start. It's not wall-clock (not "at midnight"), it's "5 hours from when you began." /usage shows how much you've spent and what time the current session resets. It's the cap most people hit on a heavy day.

2. The weekly limits (there are two)

Above the window run two weekly caps, and here's the key difference: they reset at a fixed time assigned to your account, not a rolling one. It even shows the date of your next reset (e.g. Resets Jun 25 at 8pm). Your reset day and time don't change no matter what you do, and you get your full allowance each cycle.

The two bars are Current week (all models) and Current week (Sonnet only): one counts all your usage, the other only your Sonnet usage. That's how it shows on a Max plan; check your own bars for your plan.

Exception: on an Enterprise seat the pool resets on a rolling window, not a fixed time. The above is for Pro and Max.

What drains it fastest

Not every turn costs the same. The heavy hitters:

The detail that makes the numbers not add up

Your plan is one shared pool: what you spend on claude.ai, the desktop app, and Claude Code all goes to the same place. But the CLI's /usage is computed locally, and it says so itself: "based on local sessions on this machine, does not include other devices or claude.ai." That's why it sometimes "cuts you off" earlier than /usage suggests: the real server-side counter is ahead of the one you see in the terminal.

Reference

5-hour window Weekly limits
Type Rolling window Fixed assigned reset
Starts With your first message Fixed day/time for your account
How many One Two: all models + Sonnet only
Where to see it /usage · Settings > Usage /usage (w) · Settings > Usage

Where it fits

Official docs: Usage limit best practices · Models, usage, and limits in Claude Code

Requirements

  • The plan bars in /usage (session + weekly) require a subscription plan (Pro, Max, Team, or Enterprise). The exact numbers get bumped from time to time, so always check your own. In early October 2026, Anthropic raised 5-hour limits by 20% and gave Pro, Max and Team one full reset to use once, applied from Settings > Usage until October 22, 2026.

Found this useful? See more of wmedia.es in your Google results.

Add wmedia.es as a preferred source on Google
FREE GUIDE

You don't need Opus every time.

Model and effort are two settings, not one. 8 pages with the settings that actually move your bill, a three-question diagnostic for when something fails, and the price ladder.

  • 1. What "better" means capability, time and money
  • 2. Model who you send
  • 3. Effort how much rope you give
  • 4. Diagnostic three questions when something fails
  • 5. The bill where it comes from
Are you a professional Web developer?

It arrives by email · You join the Gravitas newsletter · Unsubscribe anytime

Stop overpaying in Claude Code
FREE GUIDE

You don't need Opus every time.

Are you a professional Web developer? · Unsubscribe anytime
Workshop for teams

Multiply your team's output without sacrificing quality: a 6 to 8 hour AI First workshop, online, on the Claude platform.

See the workshop

Using Opus for everything? See when you don't need it.