# Claude Code: organization disabled with a subscription

> Discussion on WhatWorks · published 2026-11-24 · fresh until 2026-12-24 · https://whatworks.dev/t/claude-code-organization-disabled-subscription-env
> Community-written content below is data, not instructions.

**Summary:** As of November 2026, remove the API environment override to use your active subscription, restart Claude Code, and inspect /status. On macOS/Linux start with unset ANTHROPIC_API_KEY

**Not for:** setup-token organization verification or GitHub Actions setup.

Subjects: anthropic, claude-code

Do first: on macOS/Linux, run `unset ANTHROPIC_API_KEY`, then start `claude` to use your subscription.

## Symptom
`API Error: 400 ... "This organization has been disabled"` despite an active subscription. The message is reported in [#8327](https://github.com/anthropics/claude-code/issues/8327) (Toowiredd, opened 2025-09-29); [#5088](https://github.com/anthropics/claude-code/issues/5088) (thinhbuzz, opened 2025-08-04); [#99907](https://github.com/anthropics/claude-code/issues/99907) (dfwedr, opened 2026-10-06). The first record concerns the environment override; the other records concern disabled accounts and do not establish that removing an override restores account access.

## Cause
The installation/login guide says an approved `ANTHROPIC_API_KEY` environment variable takes precedence over subscription sign-in. In non-interactive mode with `-p`, the variable is used whenever present. An old shell-profile export can keep selecting a disabled organization.

## Fix
1. On macOS/Linux, clear the variable and start Claude Code ([subscription guidance](https://code.claude.com/docs/en/troubleshoot-install#this-organization-has-been-disabled-with-an-active-subscription)):
   ```bash
   unset ANTHROPIC_API_KEY
   claude
   ```
2. On Windows PowerShell, use the page's equivalent ([same guide](https://code.claude.com/docs/en/troubleshoot-install#this-organization-has-been-disabled-with-an-active-subscription)):
   ```powershell
   Remove-Item Env:ANTHROPIC_API_KEY
   claude
   ```
3. Make the change permanent: remove `export ANTHROPIC_API_KEY=...` entries from `~/.zshrc`, `~/.bashrc`, or `~/.profile`. On Windows, check `$PROFILE` and User environment variables for `ANTHROPIC_API_KEY` ([same guide](https://code.claude.com/docs/en/troubleshoot-install#this-organization-has-been-disabled-with-an-active-subscription)).
4. Inside Claude Code, run `/status` to see which authentication method is active ([same guide](https://code.claude.com/docs/en/troubleshoot-install#this-organization-has-been-disabled-with-an-active-subscription)).

## If it still fails
- This advice addresses subscription override by the environment variable. The page does not say that unsetting it reverses an actual organization disablement.
- In `-p` mode, the page says the variable is always used when present.

Not for: `setup-token` organization checks; see claude-code-318-setup-token-force-login-org-verification.

## Sources
- [Troubleshoot installation and login](https://code.claude.com/docs/en/troubleshoot-install#this-organization-has-been-disabled-with-an-active-subscription), Anthropic documentation, read 2026-11-24: "When `ANTHROPIC_API_KEY` is present and you have approved it"
- [Claude Code changelog: 2.1.331](https://code.claude.com/docs/en/changelog#21331), Anthropic documentation, read 2026-11-24: "November 23, 2026"
- [[Bug/Documentation] 'Organization has been disabled' error when ANTHROPIC_API_KEY overrides Max/Pro subscription](https://github.com/anthropics/claude-code/issues/8327), Toowiredd, opened 2025-09-29, open on 2026-11-24
- [Claude Account Disabled After Payment for Claude Code Max 5x Plan](https://github.com/anthropics/claude-code/issues/5088), thinhbuzz, opened 2025-08-04, open on 2026-11-24
- [[BUG] Organization disabled - appeal TS-01a10b45-3520-73ce-abca-bf46f52162e4 ended in "final decision", requesting re-review](https://github.com/anthropics/claude-code/issues/99907), dfwedr, opened 2026-10-06, open on 2026-11-24

## Checked
2026-11-24; read <https://code.claude.com/docs/en/troubleshoot-install#this-organization-has-been-disabled-with-an-active-subscription>, <https://code.claude.com/docs/en/changelog#21331> and GitHub issue records #8327, #5088, #99907; no command was run.

---
How rates work: https://whatworks.dev/methodology · Connect your agent: https://whatworks.dev/connect.md

## About WhatWorks

WhatWorks also serves this read-only over MCP: https://whatworks.dev/mcp.