Answer: Claude Code stores project configuration in the `.claude/` directory in your project, and personal/global configuration in `~/.claude` in your home directory (which resolves to `%USERPROFILE%\.claude` on Windows). Status: Confirmed Entry: tool/claude-code/settings/claude-directory-locations Revision: 5 Digest: sha256:5781d1752147d6a6 (changes whenever the content changes) Timeline: Created: 2026-11-13T02:27:54Z Last changed: 2026-11-20T12:18:52Z (Global settings file: ~/.claude/settings.json → —) Last verified: 2026-11-20T12:18:52Z Next check: 2026-11-21T12:18:52Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Project config directory | .claude/ | [1] | 2026-11-20 Home config directory | ~/.claude | [1] | 2026-11-20 Windows home path | %USERPROFILE%\.claude | [1] | 2026-11-20 Global config file | ~/.claude.json | [1] | 2026-11-20 Sources: [1] Anthropic. "Explore the .claude directory". https://code.claude.com/docs/en/claude-directory.md Role: primary. Accessed: 2026-11-20T12:18:52Z Quote: "Project settings, rules, skills, subagents, and other configuration. If you use git, commit most of these files so your team shares them, and keep personal ones such as `settings.local.json` out of your commits. **`.claude/" (Supports: Project config directory) Quote: "Explore the .claude directory in your project and ~/.claude in your home directory." (Supports: Home config directory) Quote: "On Windows, `~/.claude` resolves to `%USERPROFILE%\.claude`." (Supports: Windows home path) Quote: "The same applies to `.claude.json`, which otherwise sits at `~/.claude.json`." (Supports: Global config file) Published: 2026-11-20T02:54:41Z Snapshot SHA-256: 85ffec16f2f0e886cd77027c75469ba0752174160fe95a0acc075d585dbbe81d (captured 2026-11-20T12:18:53Z) 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:18:52Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:18:52Z Last attempt: 2026-11-20T12:18:52Z Notes and limitations: Extracted automatically from a single official source (section "Explore the .claude directory"). Related: https://latestn.com/tool/claude-code/settings/cloud-setup-scripts-and-caching How do I add a setup script to a Claude Code cloud environment and how does environment caching work? https://latestn.com/tool/claude-code/settings/code-review-defaults How do I set when Code Review runs and how thorough reviews are in Claude? https://latestn.com/tool/claude-code/settings/code-review-frequency How often do Claude Code Review reviews run by default and how can I change that? https://latestn.com/tool/claude-code/settings/check-resolved-settings How do I see the resolved settings Claude Code is using? https://latestn.com/tool/claude-code/settings/choose-right-file Which file should I use in Claude Code for instructions, settings, skills, or subagents? https://latestn.com/tool/claude-code/settings/choose-xcode-for-simulator-pane How do I choose which Xcode version the Claude Code simulator pane uses? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-20T12:18:52Z | changed | Global settings file: ~/.claude/settings.json → — | [1] 2026-11-20T12:18:52Z | changed | Project settings file: .claude/settings.json → — | [1] 2026-11-20T12:18:52Z | changed | Home config directory: ~/.claude/ → ~/.claude | [1] 2026-11-17T12:23:32Z | changed | Global settings file: — → ~/.claude/settings.json | [1] 2026-11-17T12:23:32Z | changed | Project settings file: — → .claude/settings.json | [1] 2026-11-17T12:23:32Z | changed | Global config file: — → ~/.claude.json | [1] 2026-11-17T12:23:32Z | changed | Home config directory: — → ~/.claude/ | [1] 2026-11-17T12:23:32Z | changed | Project config directory: — → .claude/ | [1] 2026-11-17T12:23:32Z | changed | claude.json location: ~/.claude.json → — | [1] 2026-11-17T12:23:32Z | changed | config dir override: CLAUDE_CONFIG_DIR → — | [1] 2026-11-17T12:23:32Z | changed | home directory config location: ~/.claude/ → — | [1] 2026-11-17T12:23:32Z | changed | project config location: .claude/ → — | [1] 2026-11-14T12:14:38Z | changed | claude.json location: — → ~/.claude.json | [1] 2026-11-14T12:14:38Z | changed | config dir override: — → CLAUDE_CONFIG_DIR | [1] 2026-11-14T12:14:38Z | changed | home directory config location: — → ~/.claude/ | [1] 2026-11-14T12:14:38Z | changed | project config location: — → .claude/ | [1] 2026-11-14T12:14:38Z | changed | Global config file: ~/.claude.json → — | [1] 2026-11-14T12:14:38Z | changed | Global config location: ~/.claude/ → — | [1] 2026-11-14T12:14:38Z | changed | Project config location: .claude/ → — | [1] 2026-11-13T12:08:45Z | changed | Global config location: — → ~/.claude/ | [1] 2026-11-13T12:08:45Z | changed | Project config location: — → .claude/ | [1] 2026-11-13T12:08:45Z | changed | Config dir override: CLAUDE_CONFIG_DIR → — | [1] 2026-11-13T12:08:45Z | changed | Home directory: ~/.claude → — | [1] 2026-11-13T12:08:45Z | changed | Project directory: .claude/ → — | [1] 2026-11-13T02:27:54Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/claude-code/settings/claude-directory-locations/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/claude-directory-locations POST: https://latestn.com/dispute/tool/claude-code/settings/claude-directory-locations with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/claude-code/settings/claude-directory-locations?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). Where does Claude Code store its configuration files in the project and home directory? Revision 5, last verified 2026-11-20T12:18:52Z. https://latestn.com/tool/claude-code/settings/claude-directory-locations (accessed 2026-11-21T10:00:58Z). @misc{LatestN_tool_claude_code_settings_claude_directory_locations_r5, title = {Where does Claude Code store its configuration files in the project and home directory?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/claude-code/settings/claude-directory-locations}}, note = {Revision 5; digest sha256:5781d1752147d6a6; last verified 2026-11-20T12:18:52Z; accessed 2026-11-21T10:00:58Z} } 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/claude-directory-locations