# How Claude Code's 5-hour and weekly usage limits work

> On a Claude subscription, Claude Code shares your plan's usage limits with the Claude apps. Pro and Max have a 5-hour session limit, which starts with your first message and resets in full five hours later, and a weekly limit that resets at a fixed time assigned to your account. Verified Ultra accounts have only the weekly limit.

Source: https://gettenfold.app/guides/claude-code-weekly-limit · By Romain Delage, maker of Tenfold · Published 2026-11-20 · Updated 2026-11-20

The worst time to learn how Claude Code's limits work is the moment you hit one. This guide explains Claude Code's limits on a Claude subscription, using only what Anthropic's own docs and help center say as of November 20, 2026. Where they don't give a number, neither does this page.

## Which Claude plans have which limits?

Claude Code works with a Claude subscription (Pro, Max, Ultra, Team or Enterprise) or with an API key. On a subscription, Anthropic's [help center](https://support.claude.com/en/articles/11145838-use-claude-code-with-your-pro-max-or-ultra-plan) says: "Pro and Max plans have a five-hour session limit and a weekly limit. Ultra plans have a weekly limit, and verified Ultra accounts don't have a five-hour session limit."

| Plan | 5-hour session limit | Weekly limit | Fable models |
|---|---|---|---|
| Pro | Yes | Yes, across all models | Not in your limits. They run on usage credits. |
| Max | Yes, 5× Pro | Yes, 5× Pro, plus a separate weekly limit for Fable | Up to 50% of your weekly limits |
| Ultra | No, once the account is verified | Yes, 10× Pro, plus a separate weekly limit for Fable | Up to 50% of your weekly limits |
| Team, seat-based Enterprise | Yes, per seat, on a rolling window | Yes, per seat | Included on premium seats, usage credits on standard seats |
| API key | No | No | Billed per token at API rates |

Ultra is the plan that used to be called Max 20x. An Ultra account that isn't verified yet has a temporary limit until Anthropic verifies it automatically. On Team and Enterprise, the size of each member's allowance depends on the seat tier, and it's [shared with Claude chat and Cowork](https://code.claude.com/docs/en/costs#claude-for-teams-and-enterprise).

**What the numbers are.** Anthropic describes Max and Ultra relative to Pro, and doesn't publish the limits as a number of messages or hours. How far a plan goes depends on the length of your messages and conversation, the model, the effort level and the tools you use. Anthropic also says it may adjust limits to manage capacity.

## How does the 5-hour session limit work?

From Anthropic's [usage limits article](https://support.claude.com/en/articles/11647753-how-do-usage-and-length-limits-work): "The period starts when you send your first message, and your limit resets in full five hours later." It isn't tied to the clock: if you send your first message at 9:12am, that window resets at 2:12pm.

As you approach the limit, Claude Code warns you with a message such as `You've used 85% of your session limit · resets 3:45pm`. When you reach it, you see:

```text
You've hit your session limit · resets 3:45pm
```

If you hit the limit while Claude Code is partway through a response, it may keep going briefly to finish the step in progress, showing `Usage limit reached · wrapping up`. Anthropic calls this the [wrap-up allowance](https://support.claude.com/en/articles/17040437-claude-code-wrap-up-allowance). It's small and capped, it counts toward your weekly limit, and it applies only to a response already in progress. On Pro it applies up to once per weekly period, and on Max each time you reach a 5-hour limit. It needs Claude Code 2.1.277 or later, and it's still rolling out.

## How does the weekly limit work?

The weekly limit applies across all models. It resets at a fixed time each week that's assigned to your account. In Anthropic's words, "Your reset day and time stay the same regardless of when you start using Claude or when your subscription begins." Claude Code shows it as:

```text
You've hit your weekly limit · resets Mon 12:00am
```

Usage counts against the session and weekly limits at the same time. So a heavy burst, like many agents running at once, can use up the weekly limit before your 5-hour window even resets. The session and weekly limits are shared across all models, so switching models doesn't get you back in.

Model-specific limits are different. On Max and Ultra, Fable models have their own weekly limit: you can spend up to 50% of your weekly limits on them. Claude Code can also show `You've hit your Opus limit` or `You've hit your Sonnet limit`. For those, switching to a model outside that family with `/model` keeps you working.

## Do Claude Code and the Claude app share the same limit?

Yes. Anthropic says: "These limits are shared across Claude and Claude Code, meaning all activity in both tools counts against the same limits." That includes claude.ai, the Claude desktop and mobile apps, and Claude Code in your terminal or IDE. A long research chat in the afternoon leaves less room for Claude Code in the evening.

The same goes for parallel sessions. Every Claude Code session you run draws on the same plan limits, so five busy agents use them up much faster than one.

## How do I check my Claude Code usage?

**In Claude Code, run `/usage`.** It shows your plan usage limits and when they reset, plus session cost and activity stats. `/cost` and `/stats` are aliases for it. On a subscription it also shows a [breakdown of what counted against your limits](https://code.claude.com/docs/en/costs#plan-usage-breakdown), like skills, subagents and MCP servers, with suggestions for using less. Press d or w to switch between the last 24 hours and 7 days. That breakdown comes from session history on this Mac only, so it doesn't include claude.ai or other devices.

Anthropic's help center also says to monitor your allocation with `/status`. In current versions, `/status` shows your version, model, account and connection, and it's the place to check whether you're on your subscription or an API key. The usage bars are in `/usage`.

**On claude.ai, open Settings > Usage.** It shows a **Current session** bar with the time remaining, your weekly limits and when they reset, and any usage credits. If you're on Ultra and see no Current session bar, your account is verified.

**In your status line.** Claude Code passes a `rate_limits` object to your [status line](https://code.claude.com/docs/en/statusline#rate-limit-usage) script, with `five_hour` and `seven_day` windows. Each has `used_percentage` and `resets_at`, in Unix seconds. It's only there on Pro, Max and Ultra, only after the session's first response, and each window can be missing. This script prints whichever windows are present, with their reset times:

```bash
#!/bin/bash
# ~/.claude/statusline.sh: prints each plan limit window and its reset time.
input=$(cat)
line=""
for window in five_hour:5h seven_day:week; do
  key=${window%%:*}
  label=${window##*:}
  pct=$(jq -r ".rate_limits.$key.used_percentage // empty" <<<"$input")
  [ -z "$pct" ] && continue
  resets=$(jq -r ".rate_limits.$key.resets_at // empty" <<<"$input")
  line+="$label $(printf '%.0f' "$pct")%"
  [ -n "$resets" ] && line+=" (resets $(date -r "$resets" '+%a %H:%M'))"
  line+="  "
done
echo "${line:-no plan limits yet}"
```

Make it executable with `chmod +x ~/.claude/statusline.sh` and add it to `~/.claude/settings.json`:

```json
{
  "statusLine": {
    "type": "command",
    "command": "~/.claude/statusline.sh"
  }
}
```

It prints something like `5h 24% (resets Sat 17:00)  week 41% (resets Thu 17:00)`. It uses `jq` and the macOS `date -r`.

## What happens when you hit the limit?

You have five options:

1. **Wait, and let Claude Code continue on its own.** Since version 2.1.234, when a usage limit stops Claude mid-task in an interactive session signed in with a subscription, Claude Code [waits in the open session](https://code.claude.com/docs/en/interactive-mode#wait-for-a-usage-limit-to-reset) and picks the task up after the reset. Keep the session open. It doesn't start this on its own when the reset is more than 24 hours away, which a weekly limit can be. Then it shows a menu where you can choose to wait. Turn it off with **Continue automatically at usage limit** in `/config`.
2. **Use usage credits.** With [usage credits](https://support.claude.com/en/articles/12429409-manage-usage-credits-for-paid-claude-plans) turned on, your requests switch to pay-as-you-go at standard API rates instead of stopping, until you reach the monthly spend limit you set or your credit balance runs out. Run `/usage-credits` to open the settings. The monthly API credits that come with Max and Ultra can't be used for this.
3. **Switch models**, if the message names a model family, like Opus or Sonnet.
4. **Upgrade.** Anthropic says a new plan's limits apply right away.
5. **Use an API key.** It's billed per token, with no 5-hour or weekly window.

When a limit blocks you, `/rate-limit-options` lists the ways to keep working that your account has.

## Should I use an API key or a subscription?

They're metered differently. A subscription has the limits above, and nothing extra is billed unless you turn on usage credits. An API key from the Claude Console is pay-as-you-go: you're charged for every token, and there's no window to wait for.

Watch for a stray key. If `ANTHROPIC_API_KEY` is set in your environment, Claude Code uses it instead of your subscription once you approve it, and always in `-p` mode, so your usage is billed at API rates. Run `unset ANTHROPIC_API_KEY` to fall back to your subscription, then check `/status` to confirm which one is active.

## How Tenfold shows your limits

Tenfold, the Mac app I make for running many Claude Code agents side by side, keeps these numbers in view. It reads the same status line data described above, by wrapping your status line, and your own status line keeps running as before. The usage pill in the Workspace toolbar shows a meter with a row per window, the percent used and a countdown to the reset. It turns amber from 70% and rose from 85%.

Hover the pill for each window's reset time and a pace projection: where you'll be by the reset if you keep going at the current rate, like "~19% by reset", or when you'll run out first, like "out in ~42m". Tenfold waits until 5% of a window has passed before projecting, since earlier figures are mostly noise. The card also shows per-model weekly windows like **Weekly · Fable** when your plan has them, with a button that runs `/usage` to refresh them, and what you've spent today.

With an API key, there are no windows to show, so the pill shows what you've spent today instead. The usage screen (⌘U) shows your usage as API-equivalent costs. They're not a bill, and Tenfold doesn't add to your Claude usage. See [Claude Code usage limits in Tenfold](https://gettenfold.app/claude-code-usage-limits) and the [Usage and limits docs](https://gettenfold.app/docs/usage-and-limits).

## Questions

### When does the Claude Code 5-hour limit reset?

Five hours after the session started. Anthropic says the period starts when you send your first message, and your limit resets in full five hours later. When you hit it, Claude Code shows the reset time, as in `You've hit your session limit · resets 3:45pm`.

### When does the Claude Code weekly limit reset?

At a fixed time each week that Anthropic assigns to your account. It stays the same no matter when you start using Claude or when your subscription began. Run `/usage` in Claude Code, or open Settings > Usage on claude.ai, to see your next reset.

### Do Claude and Claude Code share the same usage limit?

Yes. On Pro, Max and Ultra, the limits are shared across Claude and Claude Code, so chats on claude.ai, the desktop app and Claude Code in the terminal or your IDE all count against the same limits.

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

Run `/usage` in Claude Code. It shows your plan usage limits and when they reset. `/cost` and `/stats` open the same screen. On claude.ai, Settings > Usage shows a Current session bar and your weekly limits.

### Does the Claude Max plan have a 5-hour limit?

Yes. Max has a 5-hour limit, a weekly limit across all models and a separate weekly limit for Fable, with five times Pro's usage every five hours and every week. The plan without a 5-hour limit is Ultra, once the account is verified.

### What can I do when I hit my Claude Code usage limit?

Wait for the reset, and Claude Code can continue the task on its own when it comes. You can also turn on usage credits with `/usage-credits` to keep going at API rates, switch models if you hit a model-specific limit, upgrade your plan, or use an API key billed per token.

## Read next

- https://gettenfold.app/claude-code-usage-limits
- https://gettenfold.app/run-multiple-claude-code-agents
- https://gettenfold.app/guides/agentic-development-environment

---

Tenfold is a native Mac app for Claude Code, with live code review, git and the notch built in. https://gettenfold.app/
