Answer: Add `CLAUDE_CODE_EXPERIMENTAL_CODE_MODE` with the value `0` to your managed settings so that nobody in your organization can use Code Mode. Status: Confirmed Entry: tool/claude-code/admin-and-enterprise/block-code-mode-org Revision: 2 Digest: sha256:b59279723feaa716 (changes whenever the content changes) Timeline: Created: 2026-11-14T12:14:59Z Last changed: 2026-11-18T12:14:53Z (Config example: — → "CLAUDE_CODE_EXPERIMENTAL_CODE_MODE": "0") Last verified: 2026-11-20T12:19:16Z Next check: 2026-11-21T12:19:16Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Setting name | CLAUDE_CODE_EXPERIMENTAL_CODE_MODE | [1] | 2026-11-20 Value to block | 0 | [1] | 2026-11-20 Config example | "CLAUDE_CODE_EXPERIMENTAL_CODE_MODE": "0" | [1] | 2026-11-20 Sources: [1] Anthropic. "Run tool calls from code with Code Mode". https://code.claude.com/docs/en/code-mode.md Role: primary. Accessed: 2026-11-20T12:19:16Z Quote: "Add `CLAUDE_CODE_EXPERIMENTAL_CODE_MODE` with the value `0` to your [managed settings]" (Supports: Setting name) Quote: "with the value `0` to your [managed settings]" (Supports: Value to block) Quote: ""CLAUDE_CODE_EXPERIMENTAL_CODE_MODE": "0"" (Supports: Config example) Published: 2026-11-20T10:27:04Z Snapshot SHA-256: 4da2373f8efd0add442cbcbf7b2a507d0175df8c1f68be8cc3a782a5f7e030bf (captured 2026-11-20T12:19:14Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. Cross-check: not-available at 2026-11-20T12:19:16Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:19:16Z Last attempt: 2026-11-20T12:19:16Z Notes and limitations: Extracted automatically from a single official source (section "Block Code Mode for your organization"). Related: https://latestn.com/tool/claude-code/admin-and-enterprise/choose-api-provider How do I choose which API provider Claude Code uses for my organization? https://latestn.com/tool/claude-code/admin-and-enterprise/choose-gateway How do I choose between Claude apps gateway and another LLM gateway for Claude Code? https://latestn.com/tool/claude-code/admin-and-enterprise/choose-gateway-address How do I choose the address for a Claude apps gateway so Claude Code accepts it? https://latestn.com/tool/claude-code/admin-and-enterprise/authenticate-from-ci How do I authenticate Claude Code from CI when testing self-hosted environments? https://latestn.com/tool/claude-code/admin-and-enterprise/available-metrics-events What metrics and events does Claude Code export via OpenTelemetry? https://latestn.com/tool/claude-code/admin-and-enterprise/aws-gateway-architecture What AWS infrastructure does Claude apps gateway require to deploy on ECS Fargate or EKS? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-18T12:14:53Z | changed | Config example: — → "CLAUDE_CODE_EXPERIMENTAL_CODE_MODE": "0" | [1] 2026-11-18T12:14:53Z | changed | Value to block: — → 0 | [1] 2026-11-18T12:14:53Z | changed | JSON config: "CLAUDE_CODE_EXPERIMENTAL_CODE_MODE": "0" → — | [1] 2026-11-18T12:14:53Z | changed | Where to add it: managed settings → — | [1] 2026-11-18T12:14:53Z | changed | Value to block Code Mode: 0 → — | [1] 2026-11-14T12:14:59Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/claude-code/admin-and-enterprise/block-code-mode-org/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/claude-code/admin-and-enterprise/block-code-mode-org POST: https://latestn.com/dispute/tool/claude-code/admin-and-enterprise/block-code-mode-org with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/claude-code/admin-and-enterprise/block-code-mode-org?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I block Code Mode for my organization in Claude Code? Revision 2, last verified 2026-11-20T12:19:16Z. https://latestn.com/tool/claude-code/admin-and-enterprise/block-code-mode-org (accessed 2026-11-21T09:54:25Z). @misc{LatestN_tool_claude_code_admin_and_enterprise_block_code_mode_org_r2, title = {How do I block Code Mode for my organization in Claude Code?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/claude-code/admin-and-enterprise/block-code-mode-org}}, note = {Revision 2; digest sha256:b59279723feaa716; last verified 2026-11-20T12:19:16Z; accessed 2026-11-21T09:54:25Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/claude-code/admin-and-enterprise/block-code-mode-org