You've hit your session limit in Claude Code: what to do

Short answer: You've hit your session limit means you've used your 5-hour Claude Code session limit. The message shows when it resets. On v2.1.234 or later, Claude Code waits in the open session and continues your task after the reset. To keep working now, use usage credits, a limit reset or a bigger plan. Switching models won't help.

MessageWhat ran outDoes /model help?
You've hit your session limit · resets 3:45pm5-hour session limitNo, it's shared across models
You've hit your weekly limit · resets Mon 12:00amWeekly limitNo, it's shared across models
You've hit your Opus limit · resets 3:45pmOpus allowance onlyYes, pick a model outside Opus
You've hit your Sonnet limit · resets 3:45pmSonnet allowance onlyYes, pick a model outside Sonnet
Server is temporarily limiting requestsNothing on your planNo, it's a server-side throttle

If yours says weekly, see what to do when you hit your weekly limit, because a weekly reset can be days away.

What are your options when you hit the session limit?

  1. Leave it open and let it continue. On v2.1.234 or later, signed in with a claude.ai plan, this happens by default. It's free and the right choice if you can wait.
  2. Turn on usage credits. Run /usage-credits. On Pro, Max and Ultra, it opens Settings → Usage, where you can turn them on. You then pay standard API rates, with a monthly spend limit if you set one.
  3. Use a limit reset, if you have one. Anthropic gives these occasionally to eligible plans. The "Reset for free" button isn't available inside Claude Code, so use a browser or Claude Desktop.
  4. Upgrade your plan. New limits apply right away. Run /upgrade, then sign back in.

Run /usage first to see exactly when each limit resets.

How does Claude Code continue automatically after the limit resets?

While it waits, you'll see two lines at the bottom of the session:

Usage limit reached · limit resets 3:45pm
Continuing automatically at 3:45pm · Esc to cancel

At the reset, Claude Code prompts Claude to pick the task up where it stopped. It doesn't resend your last message. A few things can interrupt it:

  • Permission prompts still appear, so the task can stop and wait for you while you're away.
  • Exiting Claude Code ends the wait. It doesn't restart when you resume the session.
  • Sending a prompt ends the wait. Claude Code sends your prompt instead.
  • Clearing or rewinding the conversation ends it too, and so does switching accounts with /login.
  • Your computer sleeping for more than about 30 minutes, with the reset passing during that sleep, means you'll need to press Enter to continue.
  • It stops after 3 automatic continuations in a row. Run /rate-limit-options to choose what to do next.

Automatic continue isn't offered in background sessions, in -p runs, or with an API key. To cancel a wait, press Esc at an empty prompt or Ctrl+C. To turn it off for good, go to /config and switch off Continue automatically at usage limit.

In the Code tab of the Desktop app, it's a separate setting. The session-limit card has an Auto-continue when limits reset checkbox.

What doesn't get you past the session limit?

You might tryWhy it won't work
/model to switch modelThe session limit covers every model
/clear or a new terminalThe limit belongs to your account, not the conversation
Moving to claude.ai or Claude DesktopThey draw on the same limit
Waiting for the hour to turn overIt resets 5 hours after your first message

Buying usage credits with /usage-credits, signing back in after /upgrade, or switching out of a limited model family during the wait makes Claude Code check straight away, and it continues if usage is available. If you upgrade in a browser on your own, it doesn't check, so it keeps waiting.

What if /usage shows 0% but you still get the message?

Some users have reported this on GitHub: every prompt is blocked with the session limit message while /usage and the web dashboard show almost nothing used. Anthropic's docs don't cover it. If you see it, check status.claude.com, update Claude Code, and report it if it carries on past the reset time shown.

How do you avoid hitting the session limit next time?

Watch for the warning, such as You've used 85% of your session limit · resets 3:45pm, and wrap up or start a fresh session before it runs out. /usage also lists what's been using your limit and recommends changes. There's more on how to check your Claude Code usage.

The warning only helps if you see it. Leeway keeps your session and weekly usage, and when each resets, in your Mac's menu bar, with one heads-up before you run out.

FAQ

Do I lose my work when I hit the session limit?

No. Your session stays open, and Claude Code can pick the task up after the reset. If the limit lands mid-response, it may finish the step in progress and show Usage limit reached · wrapping up.

How long is the wait?

Up to 5 hours from your first message in that session. The exact time is in the message and in /usage. Here's how the 5-hour window works.

Does the session limit count against my weekly limit?

Yes. Everything you use counts against both limits at the same time, so a session reset doesn't refill your week.

Sources