How Claude Code's 5-hour and weekly limits work
Checked on 5 November 2026 against the sources below. Updated on 6 November 2026.
Just ran out? What you can do now covers when your window comes back, how to keep working until it does, and how to make the next one last, for Claude Code and Codex.
Claude Code on a Pro or Max plan has two limits running at the same time. The 5-hour limit starts when you send your first message and resets in full five hours later. The weekly limit resets at a fixed time each week that Anthropic assigns to your account. Both are shared with claude.ai and Claude Desktop, so a long chat in the browser uses the same allowance as Claude Code in the terminal. The $200 Ultra plan has a weekly limit only, and verified Ultra accounts have no 5-hour limit. When you reach a limit, Claude Code stops until the window resets, unless you have turned on usage credits, which bill you at API rates for what you use past the limit.
Anthropic does not publish how many messages or hours a window holds. Its pages describe the plans relative to each other: Max is five times Pro, every five hours and every week; Ultra is ten times Pro every week. What a message costs against the limit depends on the model, the length of the conversation so far, the effort level and what tools ran. This page explains each part, with the vendor's wording and the date it was checked.
The 5-hour limit
Anthropic's help centre puts it in one sentence: "The period starts when you send your first message, and your limit resets in full five hours later." So the window is not a rolling average that drains slowly. It is a block of five hours that opens on your first message, and when the block ends you get the whole allowance back. If you send one message at 9:00 and nothing else until 13:30, the window still ends at 14:00.
Claude Code shows warning messages as you approach any limit. If you reach the 5-hour limit while Claude Code is partway through a response, Anthropic says it may keep working briefly to finish the step in progress rather than stop mid-step. After that it waits. The message it shows includes when the window resets.
Which plans have one: Pro and Max do, and so do Team and Enterprise seats, where Claude Code's docs say each member's allowance "resets on a rolling five-hour window and a weekly window". Ultra is the exception: "Verified Ultra accounts don't have a five-hour limit." Anthropic announced that on 30 October 2026, starting "with most existing subscribers"; newer Ultra accounts keep a temporary limit until they are verified. The guide is the Claude 5-hour limit gone? has the detail.
The weekly limit
The weekly limit is the one that catches people out, because it does not line up with the calendar week. Anthropic's wording: "Weekly limits apply across all models, and some plans also have a separate weekly limit for Fable. Weekly limits reset at a fixed time each week that is assigned to your account." Your reset time is yours, and you can see it under Settings > Usage on claude.ai.
Two different messages can appear when a weekly limit is hit, and they mean different things. Claude Code's docs explain that "You've hit your weekly limit" is "a seat-based usage window on a subscription plan, shared across all models, so the developer can't restore access by switching models with `/model`". A model-specific message, such as "You've hit your Opus limit", is the separate weekly limit for one model family, and switching to a model outside that family does keep you working.
The 5-hour and weekly limits run independently. You can be well inside the 5-hour window and still be stopped by the weekly one, which is the usual way a heavy week ends.
What counts against the 5-hour window
Everything you do on the account counts, on every device and in every Claude product. Anthropic's general rule is that usage depends on "the length and complexity of your conversations, the features you use, which Claude model you're chatting with, and the effort level you've selected". Its best-practices page lists the factors as message length, file attachment size, the current conversation length, tool usage, model choice, effort level, artifacts, and multi-step tasks, and adds that cached portions count less against your limits than new content.
Claude Code adds its own reasons, because it sends the whole conversation with every request. The Claude Code docs on costs list why usage climbs in a long session:
- Long context. Claude Code sends your full 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". Cached history is read at a cheaper rate, but it is still read.
- Cache misses. Your first message after a break longer than the cache lifetime reprocesses your full context at the full rate.
- Subagents and workflows. Every subagent sends its own requests on top of the main conversation's, and "the subagent's own requests still draw on your usage". Agent teams use roughly seven times the tokens of a normal session when teammates run in plan mode.
- Scheduled tasks, cross-session messages and goal check-ins. Each one fires a new turn that sends your full context, even while the session sits idle.
- Compaction.
/compactreads the conversation it summarises, so compacting a large context is itself a large request./clearcosts nothing. - Background requests. Session recap, idle compaction and prompt suggestions can use tokens while you are idle; the docs say where to turn each one off.
The practical reading of that list is that the 5-hour window is spent mostly by context, not by the number of things you type. Five short questions in a fresh session cost far less than one short question in a session that has been open since breakfast. Running /usage in Claude Code shows a breakdown of what is behind your recent usage, attributed to skills, subagents, plugins and MCP servers, with a recommendation for anything above ten per cent. The guide on what uses up the Claude Code 5-hour window goes through each cause with what people have reported.
How the plans compare
These are the prices and the usage descriptions on claude.com/pricing on the date at the top of this page. Anthropic describes each plan's allowance as a multiple of another plan's, and does not publish a count.
| Plan | Price | What Anthropic says about usage |
|---|---|---|
| Free | $0 | "Limited usage every 5 hours and every week". Claude Code is not included. |
| Pro | $20 a month, or $17 a month billed annually | "More usage than Free, every 5 hours and every week". Claude Code included. |
| Max | $100 a month | "5x Pro usage every 5 hours and every week", plus a separate weekly limit for Fable. |
| Ultra | $200 a month | "No 5-hour limit" for verified accounts, and "10x Pro usage every week". The plan that used to be called Max 20x. |
| Team, Standard seat | $25 a seat a month, or $20 billed annually | "More usage than Pro". Claude Code included with every seat. |
| Team, Premium seat | $125 a seat a month, or $100 billed annually | "5x more usage than standard seats". |
| Enterprise | Seat price plus usage at API rates | Listed at $20 a seat a month billed annually, 20-seat minimum. |
One line on the Team plan matters if your company pays for it: "Monthly API credits included with Team plans can't be used in Claude Code or the Claude apps, including for extra usage." The seat's allowance is what Claude Code draws on.
What happens when you hit a limit
Claude Code stops and tells you when the window resets. From Claude Code v2.1.234, it can wait and continue the interrupted task on its own after the reset. The interactive-mode docs say this automatic continue is on by default in interactive sessions signed in with a Claude subscription, stops after three automatic continuations, and does not start on its own for a reset more than 24 hours away. /rate-limit-options lets you choose what to do next.
The other way through is usage credits, which Anthropic called extra usage until recently. The help centre: "Usage credits allow individuals subscribed to paid Claude plans (Pro, Max, and Ultra) to continue using Claude after reaching their included usage limits", and they "are billed at standard API rates". They apply to both Claude conversations and Claude Code. You turn them on under Settings > Usage on claude.ai, where "Adjust limit" sets a monthly spend limit, or run /usage-credits inside Claude Code, which opens that page. Once they are on, /usage shows a usage-credits row with this month's spend against your limit.
Usage credits do nothing until you enable them under Settings > Usage and add funds. With them off, the limit is a hard stop and costs nothing extra. With them on, the stop goes away and the bill begins, which is the trade.
How to see where you stand
Three places, all Anthropic's. /usage in Claude Code shows your plan usage bars for both windows, your activity stats, and the breakdown of what is behind them. Settings > Usage on claude.ai shows the same two bars and your next reset times. And a custom status line can print the figures on every turn, because Claude Code passes rate_limits.five_hour.used_percentage, rate_limits.seven_day.used_percentage and each window's resets_at to your status line script. The guide on how to check your Claude Code usage walks through each, and the tools that keep a history.
If you are on a team plan
Each member of a Team or Enterprise plan has their own 5-hour and weekly allowance, sized by their seat. The person who runs the plan sees adoption in the analytics dashboard and, once usage credits are on, a spend report of what each member spent past their seat, refreshed daily with a one-day delay. Anthropic's pages do not describe a view of each member's remaining 5-hour or weekly allowance. The guides on what your team spends on Claude Code and who went past their plan cover what an admin can and cannot see.
Seeing what used up your window, over time, in OpenReason Intel
Anthropic's own screens show where you are now, on one machine. OpenReason Intel, a dashboard for Claude Code and Codex usage, keeps the record of where you were. Its reporter, or-otel, sets itself as Claude Code's status line, reads the two windows' used percentage and reset time that Claude Code passes to it, sends those figures, and then runs your own status line if you had one. For one person, that gives you four things Anthropic's screens do not:
- Your 5-hour and weekly windows over days and weeks, with each time a window filled and when it reset.
- The sessions and turns that were running when a window filled, each with its estimated share of the window, which is what the question "what used it all up?" needs.
- Every machine you use in one record, where
/usagecounts only the machine it runs on. - Claude Code and Codex side by side, and a record you can show your lead if your company pays and you need a bigger seat.
It does not warn you. It is a record you look at, not an alarm. What you can do instead: keep the window in view as you work with a status line that prints your 5-hour and weekly percentages (or-otel keeps your own status line running), stop or start a fresh session when it gets high, and look afterwards at which turns filled it. It reports Claude Code in a terminal, and Codex. Claude Desktop has no status line, so sessions there are not reported. The usage leaves your machine and goes to OpenReason; the engineers' page lists what is sent.
What to do next
See what used up your limit
Session Forensics is a free page that reads the Claude Code and Codex session files already on your computer, in your browser. It lists the limits you hit and the turns that used each one up. There is nothing to install and no sign-up, and your files are never uploaded. For Claude Code its 5-hour figure is an estimate, because Claude Code's files do not record the meter.
Would you rather have your own agent do it? Paste this prompt into Claude Code or Codex.
Open Session Forensics (opens in a new tab)Get an email when the limits change
Get an email when Claude Code or Codex limits change. One email per change, at most one a week, from OpenReason. Unsubscribe from any email in one click.
Track it over time
Sign up with your Google account, no card, and run one install command. OpenReason Intel then keeps a record of your 5-hour and weekly windows, the turns that used each one up, and your Codex windows beside them. It is free for one person.
It shows you what happened; it does not stop a session as you work, and it cannot change your vendor's limits.
Sign up free with Google
Questions people ask
- I just hit my Claude Code limit. What can I do now?
- Read the message to see which limit it was and when it resets. If it names one model, switch model with /model. If it is the 5-hour limit, Claude Code on a subscription waits and continues by itself after the reset, and /rate-limit-options lets you choose otherwise. For a weekly limit, wait or turn on usage credits and pay API rates for what you use past the limit. Then run /usage to see what has been using your allowance.
- How do Claude Code's 5-hour and weekly limits work?
- The 5-hour limit starts when you send your first message and resets in full five hours later. The weekly limit resets at a fixed time each week assigned to your account. Both are shared across claude.ai, Claude Desktop and Claude Code. Pro and Max have both limits; Ultra has a weekly limit only, with no 5-hour limit for verified accounts.
- What counts against the Claude Code 5-hour window?
- Every request on your account, on every device and in every Claude product. How much each one costs depends on the model, the effort level, and above all the size of the conversation, because Claude Code sends the whole conversation with every request. Subagents, scheduled tasks, compaction and background requests all count too.
- How do I check how close I am to my Claude Code limit?
- Run /usage in Claude Code for both usage bars and a breakdown, or open Settings > Usage on claude.ai for the same bars and your reset times. A custom status line can show the percentages on every turn. OpenReason Intel keeps the history of both windows, across your machines, if you want to see it over time.
- How do I manage overages on Claude Team or Max plans for a team?
- On Claude's side, usage credits are off by default, and on a Team plan an Owner or Primary Owner turns them on and can set a monthly spend limit for the organisation and for each member. The spend report then shows each member's usage-credit spend, a day behind. OpenReason shows each person's 5-hour and weekly history and the turns around an over-limit period, so you can see who went past their seat and what they were doing.
Sources
Every figure on this page was read from these pages on 5 November 2026. Limits and prices change; if a vendor page now says something different, the vendor page is right and this one is out of date.
- Anthropic help centre: How do usage and length limits work?https://support.claude.com/en/articles/11647753-how-do-usage-and-length-limits-work
- Anthropic help centre: Use Claude Code with your Pro or Max planhttps://support.claude.com/en/articles/11145838-use-claude-code-with-your-pro-or-max-plan
- Anthropic help centre: Usage limit best practiceshttps://support.claude.com/en/articles/9797557-usage-limit-best-practices
- Anthropic help centre: Manage usage credits for paid Claude planshttps://support.claude.com/en/articles/12429409-manage-usage-credits-for-paid-claude-plans
- Anthropic help centre: Use Claude Code with your Team or Enterprise planhttps://support.claude.com/en/articles/11845131-use-claude-code-with-your-team-or-enterprise-plan
- Anthropic help centre: View usage analytics for Team and Enterprise planshttps://support.claude.com/en/articles/12883420-view-usage-analytics-for-team-and-enterprise-plans
- Claude pricinghttps://claude.com/pricing
- Claude Code docs: Manage costs effectivelyhttps://code.claude.com/docs/en/costs
- Claude Code docs: Customize your status linehttps://code.claude.com/docs/en/statusline
- Claude Code docs: Errors (the limit messages)https://code.claude.com/docs/en/errors
- Claude Code docs: Interactive mode (wait for a usage limit to reset)https://code.claude.com/docs/en/interactive-mode
- Anthropic help centre: What is the Ultra plan?https://support.claude.com/en/articles/17728952-what-is-the-ultra-plan
- Anthropic on X, 30 October 2026: Max and Ultra renamed, 5-hour limit removed for verified Ultra accountshttps://x.com/claudeai/status/2116220869479428500
- OpenReason docs: or-otel quickstarthttps://docs.openreason.app/quickstart/or-otel