Limits explained

Claude Code usage limits: how the 5-hour and weekly limits work, and when they reset

Claude Code has a 5-hour limit and a weekly limit, shared with claude.ai. How each window works, when it resets, how plans differ and how to track both.

Claude Code's 5-hour session window, its weekly limit, and when each one resets.5-hour sessionWeekly limitWhen they reset
On this page
  1. The two windows: 5-hour session and weekly
  2. Claude Code limit reset: when each window resets
  3. How Pro, Max 5x and Max 20x differ
  4. What counts against your limits
  5. What happens when you hit a usage limit
  6. How to see where you are
  7. Both windows live, with pace and a forecast
  8. How to avoid hitting Claude Code usage limits

Short answer: Claude Code usage limits on Pro and Max come in two windows: a session limit that resets every five hours and a weekly limit that resets at a fixed time each week. Everything you do in claude.ai, Claude Code and Claude Desktop counts against the same two limits. Max 5x and Max 20x give five and twenty times Pro’s allowance per 5-hour session. Run /usage in Claude Code to see where you are and when each window resets.

If Claude Code has ever stopped mid-task with “You’ve hit your weekly limit”, this guide explains why. It covers the two windows, when each one resets, how the plans differ, what counts against them and what you can do when you reach one. The facts here come from Anthropic’s own pages, checked at the time of writing (October 2026). Limits can change, so the sources are listed at the end.

The two windows: 5-hour session and weekly

Anthropic’s pricing page puts it in one line: “Every plan has usage limits that reset on a rolling five-hour session window, and paid plans add weekly limits on top.” The Claude Code with Pro or Max article says the same for coding: “Both Pro and Max plans have a five-hour session limit and a weekly limit.”

The two windows do different jobs:

  • The 5-hour session limit caps how much you can do in one stretch of work. It is the one you feel during a long afternoon session.
  • The Claude Code weekly limit caps your total over seven days. It is the one that stops you on a Thursday when you worked hard on Monday and Tuesday.

Both run at the same time. The Claude Code error reference is explicit: “Usage counts against the session and weekly allowances at the same time.” It adds that “a single burst of heavy activity, such as a large workflow fanout, can exhaust the weekly allowance before the session window resets.” So a quiet 5-hour window does not mean your week is safe.

There can also be limits for one model family. The same page lists “You’ve hit your Opus limit” and “You’ve hit your Sonnet limit” as separate messages, and Max plans also have a weekly allowance for Fable models (more on that below).

Claude Code limit reset: when each window resets

The two windows reset on different clocks.

WindowWhen it resetsWhere Anthropic says so
Session limitEvery five hours, on a rolling windowWhat is the Pro plan?, pricing
Weekly limit“At a fixed time each week that is assigned to your account”What is the Max plan?
Opus or Sonnet limitAt the time shown in the messageError reference

Your weekly reset is set for your account, not for everyone at once. The Pro and Max articles say you can see your next reset time in Settings › Usage on claude.ai. In Claude Code, the limit message itself tells you, for example You've hit your weekly limit · resets Mon 12:00am.

The 5-hour session window rolls. When you hit it, the message shows the time it resets, such as You've hit your session limit · resets 3:45pm.

Usage credits do not move these times. The usage credits article says: “Usage credits don’t affect the reset timing of any of these limits.”

How Pro, Max 5x and Max 20x differ

The plans differ in how much fits in each 5-hour session. Anthropic’s wording, from the Max plan article:

  • Max 5x gives “five times the Pro plan’s per-session usage allowance.”
  • Max 20x gives “20 times the Pro plan’s per-session usage allowance.”

The pricing page says the same: “Max gives you 5x or 20x more usage per 5-hour session than Pro.” Both Max tiers also have “a weekly usage limit that applies across all models.”

Note the words “per session”. Anthropic publishes the multiple for the 5-hour window. The pages we checked do not give a figure for how weekly limits compare between plans, so don’t assume Max 20x means twenty times Pro’s week.

Fable models are the other difference. On Pro, the Fable article says “Fable 5 and Fable 5.1 aren’t included in your plan’s usage limits”; you use them with usage credits. On Max, “You can use up to 50% of your weekly usage limits on Fable models at no extra cost.”

Limits have also grown this year. On 6 May 2026 Anthropic announced it was “doubling Claude Code’s five-hour rate limits for Pro, Max, Team, and seat-based Enterprise plans” and “removing the peak hours limit reduction on Claude Code for Pro and Max accounts.”

For a full comparison of the plans, see Claude Pro vs Max for Claude Code.

What counts against your limits

Everything you do with Claude on the same account. The Help Center article How do usage and length limits work? says your usage of “all different Claude product surfaces (claude.ai, Claude Code, Claude Desktop)” counts “towards the same usage limit.” A long chat in the browser and a refactor in the terminal draw from one allowance.

Inside Claude Code, some habits use far more than you might expect. The costs page lists why usage climbs in a long session:

  • Long context. Claude Code sends the whole conversation with every request, so “a one-line question in a session that has been open all day still draws usage for the whole conversation.”
  • Cache misses. The prompt cache lifetime “is an hour on a subscription”. Your first message after a longer break reprocesses the full context.
  • Scheduled tasks fire on their interval even while the session is idle.
  • Subagents and workflows send their own requests on top of the main conversation.
  • Compaction. /compact reads the conversation it summarises, so compacting a large context is itself a large request.

The fix for most of these is the same: /clear between unrelated tasks, and match the model to the job.

What happens when you hit a usage limit

Claude Code stops sending requests. The error reference says it “blocks further requests until the reset time shown in the message.”

Which limit you hit decides what helps:

  • Session or weekly limit. These are “shared across all models, so switching models doesn’t restore access.”
  • Opus or Sonnet limit. These apply only to that model family, so switching with /model to a model outside it keeps you working.

Before that point, Claude Code can warn you, with a message such as You've used 85% of your session limit · resets 3:45pm.

Your options once you are blocked, from the same page:

  1. Wait for the reset time in the message. In an interactive session signed in with a claude.ai subscription, Claude Code can wait in the open session and continue the interrupted task shortly after the reset (Claude Code v2.1.234 or later).
  2. Run /usage-credits to turn on usage credits on Pro and Max. They are “billed at standard API rates”, and you can set a monthly spend limit.
  3. Upgrade your plan for higher base limits.

/rate-limit-options shows these choices in one menu.

How to see where you are

Run /usage in Claude Code. The commands reference describes it as: “Show session cost, plan usage limits, and activity stats.” On Pro, Max, Team and Enterprise it also shows a breakdown of what counts against your plan limits: usage by skill, subagent, plugin and MCP server, plus flags for behaviours such as long context or cache misses when one accounts for 10% or more of recent usage. Press d or w to switch the breakdown between the last 24 hours and the last 7 days.

Two things to know about that breakdown. The costs page says it is “computed from local session history on this machine, so usage from other devices or claude.ai is not included.” And it covers the last 24 hours or the last 7 days, so it answers “where am I now” rather than “how did last month go”.

In the Desktop app, the usage ring next to the model picker lets you watch your remaining allowance. For a step-by-step guide to every command, see how to check your Claude Code usage.

Both windows live, with pace and a forecast

/usage answers “where am I now”. TokenNibbler answers “will I make it to the reset”, without you having to ask.

It is a desktop app for Windows 11 and Mac that sits beside Claude Code. On the Overview, the Claude card shows your plan’s own 5-hour and weekly limits as two bars, live, with Resets in and the reset time under each. TokenNibbler never reads your Claude or ChatGPT sign-in. It reads your plan limits through Claude Code and Codex, in a way that runs no model and uses none of your allowance. The card says where each figure came from, for example Reported by Claude Code · 2 min ago.

Each bar carries:

  • A pace marker showing how much of the window has passed. When your use runs more than 10 points ahead of time, the bar says Ahead of pace; otherwise On pace.
  • A forecast. When your current pace reaches the limit before the reset, the bar says when, for example Limit at Sun 4:04.
  • A gauge with what is left of the tighter limit, named for it: Weekly left or 5-hour left. A pill sums it up: Plenty left, Running low or Limit reached.

Model-specific weekly limits, such as an Opus or Sonnet weekly limit, appear as a small line under the gauge with their own reset.

Limit alerts send a desktop alert when a 5-hour or weekly limit passes 75% and 90%, once per window, with when you reach the limit at your current pace. You can choose At 90% only, or At 50%, 75% and 90%, in Settings › Alerts, and turn on Reset notices to hear when a limit you were warned about resets. Send a test alert shows you one straight away.

Use ChatGPT too? The ChatGPT card sits next to Claude’s, with Codex’s 5-hour and weekly limits in the same layout, so you can see both plans at once.

Live limits are part of TokenNibbler Free. Limit alerts and the forecast are part of Pro, and the free 14-day trial includes them: one click, no account, no card. The docs explain how limits are read, how windows, pace and the forecast work, and how to set up alerts.

How to avoid hitting Claude Code usage limits

A few habits from Anthropic’s costs page make the biggest difference:

  • Clear between tasks. /clear starts fresh; stale context costs tokens on every message after it. Use /rename first so /resume can find the session again.
  • Pick the model for the job. Sonnet handles most coding tasks and costs less than Opus.
  • Watch long breaks. After more than an hour away, the next message rebuilds the cache from scratch. Wrap up or /compact before you leave a large session.
  • Keep CLAUDE.md short. It loads into every session. Move specialised instructions into skills, which load only when used.
  • Check /context. It shows what fills the context window, so you can turn off what you don’t need.

TokenNibbler helps here too: its Break tips (part of Pro) warn you shortly before a long Claude Code session’s cache expires, and each project’s page shows that project’s share of your weekly limit. See Projects for how it works, or download TokenNibbler and look at your own week.

Sources

  1. Claude Code docs, Manage costs effectively checked 15 October 2026
  2. Claude Code docs, Error reference checked 15 October 2026
  3. Claude Code docs, Commands checked 15 October 2026
  4. Claude Help Center, Use Claude Code with your Pro or Max plan checked 15 October 2026
  5. Claude Help Center, How do usage and length limits work? checked 15 October 2026
  6. Claude Help Center, What is the Max plan? checked 15 October 2026
  7. Claude Help Center, What is the Pro plan? checked 15 October 2026
  8. Claude Help Center, Manage usage credits for paid Claude plans checked 15 October 2026
  9. Claude Help Center, Claude Fable models on your plan checked 15 October 2026
  10. Claude, Plans and pricing checked 15 October 2026
  11. Anthropic, Higher usage limits and a SpaceX compute deal checked 15 October 2026

Limits and plans change. This post describes them as of 10 October 2026, and is re-checked when Anthropic or OpenAI change them.

Asif Syed Founder of TokenNibbler

Asif Syed is the founder of TokenNibbler, the desktop app that shows developers where their Claude Code and Codex usage goes and how to make their plans last. Every post here is checked against the app’s code and the official Anthropic and OpenAI documentation before it is published.

See where your own usage goes.

TokenNibbler shows your live Claude and ChatGPT limits, which project used them, and the fix. 14 days of Pro, free.

14 days of Pro, free with one click. No account, no card. Managing a team? Start a free team trial for everyone you invite.

Windows 11, 64-bit · On a Mac? Download for Mac → · Pricing →