Answer: Claude Code stores auto memory files in a per-project memory directory at `~/.claude/projects//memory/`, which can be changed by setting `autoMemoryDirectory` in settings.json. Status: Confirmed Entry: tool/claude-code/memory-and-context/auto-memory-storage-location Revision: 3 Digest: sha256:69fa2c16c735c2ef (changes whenever the content changes) Timeline: Created: 2026-11-13T02:28:01Z Last changed: 2026-11-19T12:17:36Z (Version requirement for project dir name: — → v2.1.234) 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 Default storage location | ~/.claude/projects//memory/ | [1] | 2026-11-20 Custom location setting | autoMemoryDirectory | [1] | 2026-11-20 Example custom path | ~/my-custom-memory-dir | [1] | 2026-11-20 Index file | MEMORY.md | [1] | 2026-11-20 Version requirement for project dir name | v2.1.234 | [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: "Each project gets its own memory directory at `~/.claude/projects//memory/`." (Supports: Default storage location) Quote: "To store auto memory in a different location, set `autoMemoryDirectory` in your `settings.json`." (Supports: Custom location setting) Quote: ""autoMemoryDirectory": "~/my-custom-memory-dir"" (Supports: Example custom path) Quote: "The directory contains a `MEMORY.md` index and one topic file per memory:" (Supports: Index file) Quote: "Requires Claude Code v2.1.234 or later." (Supports: Version requirement for project dir name) 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 "Storage location"). Related: https://latestn.com/tool/claude-code/memory-and-context/check-session-context-usage How can I check my own Claude Code session's context usage? https://latestn.com/tool/claude-code/memory-and-context/choose-instruction-files How do I choose which CLAUDE.md or AGENTS.md instruction files Claude Code loads? https://latestn.com/tool/claude-code/memory-and-context/claude-md-load-locations-sdk Where does the Claude Code SDK load CLAUDE.md files from? https://latestn.com/tool/claude-code/integrations/when-install-prompt-appears When does the Claude Code plugin install prompt appear to users? https://latestn.com/tool/claude-code/memory-and-context/1m-token-context-window How do I enable the 1M token context window in Claude Code on Google Cloud's Agent Platform? https://latestn.com/tool/claude-code/memory-and-context/auto-compact-window How do I set the auto-compact window in Claude Code? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-19T12:17:36Z | changed | Version requirement for project dir name: — → v2.1.234 | [1] 2026-11-19T12:17:36Z | changed | Example custom path: — → ~/my-custom-memory-dir | [1] 2026-11-13T03:04:40Z | changed | Version requirement for project dir name: v2.1.234 → — | [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/auto-memory-storage-location/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/auto-memory-storage-location POST: https://latestn.com/dispute/tool/claude-code/memory-and-context/auto-memory-storage-location with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/claude-code/memory-and-context/auto-memory-storage-location?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). Where does Claude Code store auto memory files? Revision 3, last verified 2026-11-20T12:22:08Z. https://latestn.com/tool/claude-code/memory-and-context/auto-memory-storage-location (accessed 2026-11-21T09:59:54Z). @misc{LatestN_tool_claude_code_memory_and_context_auto_memory_storage_location_r3, title = {Where does Claude Code store auto memory files?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/claude-code/memory-and-context/auto-memory-storage-location}}, note = {Revision 3; digest sha256:69fa2c16c735c2ef; last verified 2026-11-20T12:22:08Z; accessed 2026-11-21T09:59:54Z} } 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/auto-memory-storage-location