← Claude Code Hub
Jun 19, 2026 · 6 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 On Pro and Max 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. On Ultra with a verified account there is no 5-hour window: only the weekly limits stop you.

Update, November 4, 2026: Max 20x is now called Ultra, and a verified Ultra account has no 5-hour window: only the weekly bars are left.

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. On Ultra with a verified account, the 5-hour window is gone.

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, Ultra, Team, or Enterprise); on Ultra with a verified account there is no session bar. 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

The 51 essentials, as a guide.

One page per tip. Five chapters. What I actually use daily in production. No theory, no fluff.

  • 1. Getting started 10 tips
  • 2. Awareness 3 tips
  • 3. Mastery 22 tips
  • 4. Autonomy 15 tips
  • 5. Comparison 1 tip
Are you a professional Web developer?

You'll receive the guide by email · You join the Gravitas newsletter · Unsubscribe anytime

of 51
#

Wmedia · 51 tips
Free guide · 51 tips · 5 chapters

The 51 essentials, as a guide.

One page per tip. Five chapters. What I actually use daily in production. No theory, no fluff.

Are you a professional Web developer? · Unsubscribe anytime
How I use AI

My Claude Code workflow.

The skills, agents and instructions I use as a professional Software Engineer. It's called Craft, and it's a plugin you can install.

See the skills

Want the 51 Claude Code essentials as a guide?