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.
How do I check scope and /status when Claude Code ignores settings.json?
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
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.
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
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
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.
Open: 1 spot per week
One labeled sponsor for this topic each week; this week's spot is open. See open weeks →
All tools for “Fix Claude Code settings.json that never apply” →
Related fixes
- Stop a Cursor agent loopHow to fix a Cursor agent loop (same edit, or work after Stop)Fix →
- Claude Code vs Codex vs Cursor ~$20 plansClaude Code vs Codex vs Cursor $20 plan limits: how to pick without burning the weekFix →
- Scan a vibe-coded app for leaked API keysCheck a vibe-coded app for leaked API keys before you share itFix →
- Add an MCP server to Claude Code, Cursor, or CodexHow to add an MCP server to Claude Code, Cursor, or CodexFix →
See also AI tools launched today on the daily board.
NewAIToolsToday Daily
Top 3 AI launches, one model or news item that matters, and one simple fix. A 5-minute read, every weekday.