Answer: To turn off Code Mode, remove `CLAUDE_CODE_EXPERIMENTAL_CODE_MODE` from your shell and from `~/.claude/settings.json`, then start a new session. Alternatively, keep the variable and change its value to `0` in either place. Status: Confirmed Entry: tool/claude-code/settings/disable-code-mode Revision: 2 Digest: sha256:ec1f987984a801be (changes whenever the content changes) Timeline: Created: 2026-11-14T12:14:58Z Last changed: 2026-11-18T12:14:52Z (alternative value: — → 0) Last verified: 2026-11-20T12:19:15Z Next check: 2026-11-21T12:19:15Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of variable to remove | CLAUDE_CODE_EXPERIMENTAL_CODE_MODE | [1] | 2026-11-20 settings file | ~/.claude/settings.json | [1] | 2026-11-20 alternative value | 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:15Z Quote: "Remove `CLAUDE_CODE_EXPERIMENTAL_CODE_MODE` from your shell and from `~/.claude/settings.json`" (Supports: variable to remove) Quote: "from `~/.claude/settings.json`, then start a new session" (Supports: settings file) Quote: "You can also keep the variable and change its value to `0` in either place." (Supports: alternative value) 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:15Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:19:15Z Last attempt: 2026-11-20T12:19:15Z Notes and limitations: Extracted automatically from a single official source (section "Turn off Code Mode"). Related: https://latestn.com/tool/claude-code/settings/disable-cross-session-messaging How do I turn off cross-session messaging in Claude Code? https://latestn.com/tool/claude-code/settings/disable-plugin-suggestions How do I turn off plugin suggestions in Claude Code cloud sessions? https://latestn.com/tool/claude-code/settings/disable-pre-release-capabilities How do I disable pre-release capabilities in Claude Code when using a gateway? https://latestn.com/tool/claude-code/settings/disable-artifacts How do I disable artifacts in Claude Code? https://latestn.com/tool/claude-code/settings/disable-auto-updates How do I disable auto-updates in Claude Code? https://latestn.com/tool/claude-code/settings/disable-claude-drafted-feedback How do I turn off Claude-drafted feedback in Claude Code? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-18T12:14:52Z | changed | alternative value: — → 0 | [1] 2026-11-18T12:14:52Z | changed | settings file: — → ~/.claude/settings.json | [1] 2026-11-18T12:14:52Z | changed | variable to remove: — → CLAUDE_CODE_EXPERIMENTAL_CODE_MODE | [1] 2026-11-18T12:14:52Z | changed | Off value: 0 → — | [1] 2026-11-18T12:14:52Z | changed | Alternative value: 0 → — | [1] 2026-11-18T12:14:52Z | changed | Settings file: ~/.claude/settings.json → — | [1] 2026-11-18T12:14:52Z | changed | Variable to remove: CLAUDE_CODE_EXPERIMENTAL_CODE_MODE → — | [1] 2026-11-14T12:14:58Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/claude-code/settings/disable-code-mode/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/settings/disable-code-mode POST: https://latestn.com/dispute/tool/claude-code/settings/disable-code-mode with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/claude-code/settings/disable-code-mode?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I turn off Code Mode in Claude Code? Revision 2, last verified 2026-11-20T12:19:15Z. https://latestn.com/tool/claude-code/settings/disable-code-mode (accessed 2026-11-21T09:50:45Z). @misc{LatestN_tool_claude_code_settings_disable_code_mode_r2, title = {How do I turn off Code Mode in Claude Code?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/claude-code/settings/disable-code-mode}}, note = {Revision 2; digest sha256:ec1f987984a801be; last verified 2026-11-20T12:19:15Z; accessed 2026-11-21T09:50:45Z} } 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/settings/disable-code-mode