Answer: To toggle auto memory, open `/memory` in a session and use the auto memory toggle, which saves `autoMemoryEnabled` to your user settings at `~/.claude/settings.json`. You can also turn it off for a single project by setting `autoMemoryEnabled` in that project's settings, or disable it via the environment variable `CLAUDE_CODE_DISABLE_AUTO_MEMORY=1`. Status: Confirmed Entry: tool/claude-code/memory-and-context/enable-disable-auto-memory Revision: 3 Digest: sha256:747747b09ca440e5 (changes whenever the content changes) Timeline: Created: 2026-11-13T02:28:01Z Last changed: 2026-11-19T12:17:36Z (project setting: — → autoMemoryEnabled) Last verified: 2026-11-20T12:22:08Z Next check: 2026-11-21T12:22:08Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of toggle method | /memory | [1] | 2026-11-20 settings file | ~/.claude/settings.json | [1] | 2026-11-20 project setting | autoMemoryEnabled | [1] | 2026-11-20 environment variable | CLAUDE_CODE_DISABLE_AUTO_MEMORY=1 | [1] | 2026-11-20 Sources: [1] Anthropic. "How Claude remembers your project". https://code.claude.com/docs/en/memory.md Role: primary. Accessed: 2026-11-20T12:22:08Z Quote: "open `/memory` in a session and use the auto memory toggle" (Supports: toggle method) Quote: "saves `autoMemoryEnabled` to your user settings at `~/.claude/settings.json`" (Supports: settings file) Quote: "set `autoMemoryEnabled` in that project's settings" (Supports: project setting) Quote: "set `CLAUDE_CODE_DISABLE_AUTO_MEMORY=1`" (Supports: environment variable) Published: 2026-11-20T02:52:54Z Snapshot SHA-256: 4186f2be3c7c25188e957096d3e33421afb09467bc0192aa5685a7cc4d8de88f (captured 2026-11-18T12:17:29Z) 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]. On this check the text of [1] was unchanged since 2026-11-18T12:17:29Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:22:08Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:22:08Z Last attempt: 2026-11-20T12:22:08Z Notes and limitations: Extracted automatically from a single official source (section "Enable or disable auto memory"). Related: https://latestn.com/tool/claude-code/memory-and-context/exclude-irrelevant-claude-md-files How do I exclude irrelevant CLAUDE.md files in Claude Code? https://latestn.com/tool/claude-code/memory-and-context/extension-context-cost How much context do Claude Code extensions like CLAUDE.md, Skills, and MCP cost, and how do they load? https://latestn.com/tool/claude-code/memory-and-context/keep-claude-md-short How do I keep CLAUDE.md short in Claude Code? https://latestn.com/tool/claude-code/memory-and-context/context-window-and-compaction What consumes context in the Claude Code agent loop and how does automatic compaction work? https://latestn.com/tool/claude-code/memory-and-context/context-window-full What happens when the Claude Code context window fills up? https://latestn.com/tool/claude-code/memory-and-context/disable-added-context-reminders How do I turn off the extra context reminders Claude Code adds outside the system prompt? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-19T12:17:36Z | changed | project setting: — → autoMemoryEnabled | [1] 2026-11-19T12:17:36Z | changed | settings file: — → ~/.claude/settings.json | [1] 2026-11-19T12:17:36Z | changed | default in local sessions: on by default → — | [1] 2026-11-19T12:17:36Z | changed | project setting value: false → — | [1] 2026-11-19T12:17:36Z | changed | user settings path: ~/.claude/settings.json → — | [1] 2026-11-19T12:17:36Z | changed | setting name: autoMemoryEnabled → — | [1] 2026-11-13T12:11:41Z | changed | default in local sessions: — → on by default | [1] 2026-11-13T12:11:41Z | changed | project setting value: — → false | [1] 2026-11-13T12:11:41Z | changed | user settings path: — → ~/.claude/settings.json | [1] 2026-11-13T12:11:41Z | changed | setting name: — → autoMemoryEnabled | [1] 2026-11-13T12:11:41Z | changed | default state: on by default → — | [1] 2026-11-13T12:11:41Z | changed | project setting: autoMemoryEnabled → — | [1] 2026-11-13T12:11:41Z | changed | settings file: ~/.claude/settings.json → — | [1] 2026-11-13T02:28:01Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/claude-code/memory-and-context/enable-disable-auto-memory/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/memory-and-context/enable-disable-auto-memory POST: https://latestn.com/dispute/tool/claude-code/memory-and-context/enable-disable-auto-memory with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/claude-code/memory-and-context/enable-disable-auto-memory?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I enable or disable auto memory in Claude Code? Revision 3, last verified 2026-11-20T12:22:08Z. https://latestn.com/tool/claude-code/memory-and-context/enable-disable-auto-memory (accessed 2026-11-21T09:59:19Z). @misc{LatestN_tool_claude_code_memory_and_context_enable_disable_auto_memory_r3, title = {How do I enable or disable auto memory in Claude Code?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/claude-code/memory-and-context/enable-disable-auto-memory}}, note = {Revision 3; digest sha256:747747b09ca440e5; last verified 2026-11-20T12:22:08Z; accessed 2026-11-21T09:59:19Z} } 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/memory-and-context/enable-disable-auto-memory