Submit a toolSubmit

Claude Code ignores your settings.json. Check scope and /status

Claude Code ignores a setting from the wrong file, higher precedence, a project-only key, or an untrusted folder. Run /status, then move it to an allowed scope. Short answer: 5 steps. 1) See which settings files actually loaded; 2) Put the key in a scope that can set it; 3) Trust the folder before expecting allow rules; 4) Fix broken JSON, then confirm with claude doctor; 5) Remember permission rules merge, they don’t fully replace.

Last updated: · This page is the decision checklist; the tools list for “Fix Claude Code settings.json that never apply” is a separate URL.

The problem: Claude Code ignores a setting from the wrong file, higher precedence, a project-only key, or an untrusted folder. Run /status, then move it to an allowed scope.

How do I check scope and /status when Claude Code ignores settings.json?

  1. See which settings files actually loaded

    In Claude Code, run /status and read Setting sources (User, Project, Project local, Managed). If your file isn’t listed, you’re in the wrong directory, the JSON is invalid, or you’re in a cloud session that doesn’t read local/user files. Docs: https://code.claude.com/docs/en/settings

  2. Put the key in a scope that can set it

    Precedence is managed → --settings → .claude/settings.local.json → .claude/settings.json → ~/.claude/settings.json. permissions.defaultMode values auto and bypassPermissions do not take effect from project or local settings—set them in user/managed settings or pass --permission-mode for one session.

  3. Trust the folder before expecting allow rules

    Shared-project permissions.allow, additionalDirectories, extraKnownMarketplaces, and most env values wait until you trust the working folder. deny and ask apply immediately. If teammates clone your .claude/settings.json and still get prompts, they need to trust the repo first — https://code.claude.com/docs/en/settings

  4. Fix broken JSON, then confirm with claude doctor

    Invalid JSON or a rejected value makes Claude Code skip the file or the entry. Validate with jq, restart the session, and run claude doctor for rejected entries. Example layout: https://code.claude.com/docs/en/settings-example

  5. Remember permission rules merge, they don’t fully replace

    Deny from any scope blocks; ask still prompts even when a broader allow exists elsewhere. Managed deny can’t be overridden by --allowedTools. For tool rules, open /permissions and see which file each rule came from — https://code.claude.com/docs/en/permissions

Which tools are best to fix Claude Code settings.json that never apply?

Claude Code settings

File scopes, precedence, /status, trust gates, and troubleshooting for ignored keys.

Claude Code permissions

How allow/ask/deny merge across scopes and why project allow may still prompt.

Example settings files

Valid permissions.allow / deny layouts for settings.json.

Permission modes

When defaultMode must live in user settings vs --permission-mode.

All tools for “Fix Claude Code settings.json that never apply” →

Related fixes

See also AI tools launched today on the daily board.