Skip to content
Updated September 29, 2026

Claude Code usage limit reached: 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. 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 windowWait or auto-continue, usage credits, another account
You’ve hit your weekly limit · resets Mon 12:00amEvery model, seven-day windowUsage 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.

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.

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.

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.

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.

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 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.

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. Crowsnest behaviour was checked against the released 0.3.1 application source on the same date. Limits and plan terms change; Anthropic’s own pages are authoritative.