Skip to content
← Blog

Claude Code usage limit reached: when it resets and what to do

The turn stops halfway through a refactor and the footer says you’ve hit your limit. What you can do next depends on which limit it names. Claude Code has four, and the fix for one does nothing for another.

Short answer

Read the limit in the message. A session or weekly limit covers every model, so wait for the reset it shows, let Claude Code continue automatically at the reset, or buy usage credits with /usage-credits on Pro and Max. If Anthropic has given your account a free limit reset, use it first: Settings > Usage on claude.ai, or /limit-reset in Claude Code. An Opus or Sonnet limit covers only that model family, so /model to a model outside it keeps you working right now. Run /usage to see every window and when it resets.

First, read which limit you hit

Claude Code’s error reference lists the messages below. Each one names the limit and its reset time.

MessageCoversWhat gets you working again
You’ve hit your session limit · resets 3:45pmEvery model, rolling five-hour windowA limit reset if you have one, wait or auto-continue, usage credits, another account
You’ve hit your weekly limit · resets Mon 12:00amEvery model, seven-day windowA limit reset if you have one, usage credits, a plan upgrade, another account. Waiting can mean days.
You’ve hit your Opus limit · resets 3:45pmOpus requests only/model to a model outside the Opus family
You’ve hit your Sonnet limit · resets 3:45pmSonnet requests only/model to a model outside the Sonnet family
You’ve hit your monthly spend limitUsage credits beyond the planRaise the limit, or wait if the message names a plan window’s reset

On Pro and Max, the allowance is shared with the same account’s Claude chats. Anthropic’s help centre says all activity in both tools counts against the same limits. A long research chat in the morning is budget your afternoon coding session no longer has.

API Error: Server is temporarily limiting requests (not your usage limit) is a different thing. It’s a short throttle on Anthropic’s side, retried automatically since 2.1.199, and none of the steps on this page apply to it. The same goes for repeated 529 Overloaded errors.

Use a free limit reset, if Anthropic gave you one

Anthropic occasionally gives eligible plans a limit reset. Using one sets your five-hour session limit or your weekly limit back to full right away, depending on which reset you were offered. Look for one before you buy credits or sit out a weekly limit.

On claude.ai, in Claude Desktop or in Claude Mobile, open Settings > Usage, find Limit resets, click Reset for free and confirm. The Claude apps also offer it on the message you see at a limit. Claude Code in your terminal or IDE doesn’t have the button. Limits are shared across your Claude account, so a reset used in the browser refills Claude Code as well.

Claude Code has a command for it too: /limit-reset. Anthropic’s commands reference doesn’t list it and the slash menu hides it, so this comes from our own check of the Claude Code 2.1.317 binary. The command is enabled only for a claude.ai subscription account. Run it on its own to see the resets you hold, or name the one you want:

CommandWhat it refills
/limit-reset 5-hourThe five-hour session limit only. 5h works too.
/limit-reset weeklyThe weekly limits only.
/limit-reset fullThe five-hour and weekly limits together.
/limit-reset fableGives back what Fable used to your weekly limit.

A misspelled name gets “That isn’t a reset name”, a kind you don’t hold gets “No … reset to use”, and with more than one kind on the account, running the bare command asks which reset you want to use. Before it spends one, it asks you to confirm, shows how many of that kind you have left and the date to use them by, and leaves your weekly reset day where it was. If you haven’t reached a limit yet, it tells you what percentage is left and asks again.

On some accounts the same command does something else: with no reset granted, it resets the five-hour limit once a week, that usage still counts toward the weekly limit, and Claude Code tells you when the next one is available. When a limit stops a request, the limit menu offers whichever applies, as Use a … reset with the count and use-by date, or as Reset your 5-hour limit now. Versions up to 2.1.296 called that menu item Use your reset now and took no reset name.

The help centre adds the fine print. An unused reset expires at the time shown on the offer. Downgrading or cancelling before you use a reset removes it. A used one can’t be undone, and it doesn’t refund extra usage you’ve already been billed for or change your usage-credit balance. There’s an open bug report of /limit-reset saying no reset is available; if you see that, check Settings > Usage in the browser.

Check what you have left, before it runs out

/usage shows your plan’s windows and when each one resets. Claude Code can also warn you ahead of time, with a line like You’ve used 85% of your session limit · resets 3:45pm.

A warning is easy to miss mid-task, so if you hit limits often, put the number where you’ll see it. For Pro and Max subscribers, the custom status line receives a rate_limits object with five_hour and seven_day windows. Each window has a used_percentage and a resets_at in Unix seconds.

#!/bin/sh
# ~/.claude/statusline.sh — prints e.g. "5h 62% · 7d 41%"
input=$(cat)
five=$(echo "$input" | jq -r '.rate_limits.five_hour.used_percentage // empty' | cut -d. -f1)
week=$(echo "$input" | jq -r '.rate_limits.seven_day.used_percentage // empty' | cut -d. -f1)
[ -n "$five" ] && printf '5h %s%% · 7d %s%%' "$five" "${week:-?}"

Point statusLine in your settings at the script and make it executable. The fields only appear after the session’s first response, and Claude Code drops a window once its reset time passes, which is why the script tolerates missing values. In the Desktop app, the usage ring next to the model picker shows the same reading.

Wait for the reset without watching the clock

From Claude Code 2.1.234, an interactive session signed in with a claude.ai subscription can wait in place and continue the interrupted task shortly after the reset. While it waits, the bottom of the session reads Usage limit reached · continuing automatically at 3:45pm · esc to cancel. Press Esc at an empty prompt to cancel.

/rate-limit-options lists the ways to keep working when a limit blocks a request, and Claude Code can open that menu on its own when you hit a limit at your terminal. In the CLI, the switch is Continue automatically at usage limit in /config. The Desktop app has its own Auto-continue when limits reset checkbox on the session-limit card, and it’s separate from the CLI setting, so turning one off leaves the other on. The Desktop weekly-limit card doesn’t offer the checkbox.

Some accounts also get a hidden /low-priority command, found in the same 2.1.317 check. Anthropic switches it on per account, so most people won’t see it. After you reach the five-hour limit, it lets the task continue now at lower priority instead of waiting. That usage comes out of your weekly limit, Claude Code shows Lower priority until the reset time with the allowance left, and running the command again stops it. When the week’s lower-priority allowance is gone, Claude Code says so.

For a five-hour window, this is often the right answer: queue the task, go to lunch. For a weekly limit it can mean days, so read on.

Switch model family, for Opus and Sonnet limits only

The Opus and Sonnet limits each apply only to requests to that family. When one of them is the message, /model and pick a model from outside the family, and the next turn goes through.

Two things to know. First, this does nothing for session or weekly limits, which Anthropic describes as shared across all models. Second, each model has its own prompt cache, so the first request after switching re-reads the whole conversation with no cache hits. On a long session that first turn is expensive.

Buy usage credits, or raise the spend limit

On Pro and Max, /usage-credits buys additional usage beyond the plan. On Team and Enterprise it sends the request to your admin. Credits are metered against a monthly spend limit. If you hit that ceiling, the message changes to You’ve hit your monthly spend limit, and on Pro and Max you raise it in Settings > Usage on claude.ai.

When the message ends in a link to https://claude.ai/settings/usage?from=cc_cli_limit_message, that link is the same Settings > Usage page. Claude Code adds it as raise it at … after a monthly spend limit, or as turn on usage credits at … or manage usage credits at … when usage credits are needed. On Team and Enterprise, the message points to https://claude.ai/admin-settings/usage instead, or tells you to ask your admin.

A permanent upgrade to a higher plan raises the base limits instead. If you hit the weekly cap every week, that’s the honest fix.

The API-key trap

Setting ANTHROPIC_API_KEY is the other documented escape. It’s worth being deliberate about. Once you approve the key in an interactive session, Claude Code bills through that Console key instead of your subscription, even while you’re signed in, and API billing has no hard stop. The account is charged for what it uses.

The trap is forgetting to undo it. An exported key in your shell profile keeps routing every future session through the API long after your subscription window has reset. Anthropic’s own troubleshooting names a stray ANTHROPIC_API_KEY as a cause of unexpected rate-limit errors, too, when it points at a low-tier key. Run /status to see which credential is active, and unset ANTHROPIC_API_KEY to go back to the subscription.

Moving the task to another account you hold

If you legitimately hold a second subscription, such as a personal plan beside a work seat, it has its own meter. Run it from its own configuration directory. The multiple-accounts guide covers the setup and the traps.

What you can’t do is move the stalled session itself. A session’s transcript lives in the projects/ tree of the account that ran it, so claude --resume under the second account doesn’t list it. To continue, start a fresh session on the second account and bring the context with you. A useful handoff has four parts: the original task, the current state of the files, what was tried, and the next step. The field note on handoff briefings covers what one should quote, and what it must never write.

Don’t copy transcript files between account directories to force a resume. The receiving account would be continuing a history it didn’t write, and the field note on editing history covers what a transcript has to keep intact to stay resumable.

Doing it in Crowsnest

Crowsnest is ours, so weigh this section accordingly. It changes the last option on this page, because it keeps several Claude Code accounts in view and builds the handoff for you.

Warned at 90%, not at 100%

When a Claude Code account crosses 90% of a window and another account is signed in, Crowsnest tells you while you can still act. The warning offers the continuation. It never moves anything by itself.

Preview, then continue

At a quota failure it offers your other signed-in accounts and shows exactly what the new session will receive before you confirm.

A bounded, attributed briefing

The new session starts under the other account with the opening task and the latest turns quoted, capped at 8,000 characters of conversation, and any omitted turns counted in the text.

New work starts where there’s room

If you turn routing on, new conversations start on the account with the most headroom. It ships off.

The stalled session stays where it was, failed turn included. Quota is never pooled, and the continuation after a failure skips confirmation only when you’ve enabled it and exactly one other account is signed in. Multiple accounts are a Pro and Premium feature. The multiple-accounts field note has the measured briefing sizes and every boundary.

Questions behind the search

What do I do when Claude Code says I’ve hit my usage limit?

Read which limit the message names. A session or weekly limit covers every model, so wait for the reset time shown, let Claude Code continue automatically at the reset, or buy usage credits with /usage-credits on Pro and Max. An Opus or Sonnet limit applies only to that model family, so /model to a model outside it keeps you working.

Can I reset my Claude Code usage limit early?

Only with a limit reset Anthropic has given your account. Using one sets the five-hour session limit or the weekly limit back to full straight away. Redeem it under Settings > Usage > Reset for free on claude.ai, Claude Desktop or Claude Mobile, or with the /limit-reset command in Claude Code, which is hidden from the slash menu: run it alone to see your resets, or name one (5-hour, weekly, full or fable). An unused reset expires and a used one can’t be undone. Without a reset, the limit comes back at the time shown in the message.

Can I buy a Claude Code limit reset?

No. Anthropic gives limit resets occasionally to eligible plans, and its help centre describes no way to buy one. Resets have no cash value and can’t be transferred. To keep working past a limit, buy usage credits with /usage-credits on Pro and Max, or move to a plan with higher limits.

Why can’t I use my Claude Code limit reset?

Read what /limit-reset tells you. “Couldn’t reset your limits with this login” means the current login can’t use resets, for example an API key, so run /login and sign in with your claude.ai subscription. “Your reset can’t be used for this limit right now” means the reset you hold refills a different limit: a five-hour reset doesn’t lift a weekly limit, and a Fable reset gives back only Fable usage. If the reset was used and you are still blocked, another limit is in force, and Claude Code names it with the date it lifts. A reset that is no longer on offer has expired, and downgrading or cancelling your plan removes unused resets. If an earlier reset may still be going through, wait a minute and try again. If none of these fit, redeem it under Settings > Usage on claude.ai.

How do I check how much Claude Code usage I have left?

Run /usage inside Claude Code to see your plan’s windows and when each resets. For a constant reading, add the rate_limits fields to a custom status line, which exposes the five-hour and seven-day percentages and reset times for Pro and Max subscribers. In the Desktop app, the usage ring next to the model picker shows the same thing.

Does switching models reset my Claude Code limit?

Only for model-family limits. The session and weekly limits are shared across all models, so switching does not restore access. The Opus and Sonnet limits each apply only to their own family, so switching to a model outside that family with /model keeps you working. The next request re-reads the conversation without prompt cache hits.

Is Claude Code usage shared with claude.ai?

Yes on Pro and Max. Anthropic states that the plan’s usage limits are shared across Claude and Claude Code, so chats in the Claude apps count against the same allowance as your coding sessions.

Can Claude Code continue automatically when the limit resets?

Yes, from Claude Code 2.1.234 in an interactive session signed in with a claude.ai subscription. Claude Code waits in the open session and continues the interrupted task shortly after the reset. The CLI setting is Continue automatically at usage limit in /config. The Desktop app has its own separate checkbox on the session-limit card.

Can I continue a Claude Code session on a different account?

Not as the same session. Each account keeps its sessions in its own configuration directory, so claude --resume under a second account cannot see the first account’s history. Continuing elsewhere means starting a new session there and bringing the context with you, either by hand or with a tool that builds the briefing for you.

Claude Code behaviour above was checked against Anthropic’s error reference, status line documentation and authentication documentation, and the Claude help centre, on September 29, 2026. Limit resets were checked against the help centre article What is a limit reset?, Anthropic’s commands reference and the Claude Code 2.1.286 binary on October 8, 2026, then re-checked against the 2.1.317 binary on November 3, 2026, and against the help centre and the 2.1.322 binary on November 16, 2026. The limit-message links were checked against the 2.1.322 binary on November 17, 2026. Crowsnest behaviour was checked against the released 0.3.1 application source on September 29. Limits and plan terms change; Anthropic’s own pages are authoritative.