# Claude Code ignoring CLAUDE.md or not loading it?

Canonical: https://cwyn.com/pages/claude-code-guide-claude-md-not-loading.html
Last updated: 2026-11-25T07:16:05-05:00

Claude Code setup guide

Run `/context all` in the affected Claude Code session and look for your `CLAUDE.md` under Memory files. If the project file is missing, start a fresh session from the repository root and check again. For a nested file, ask Claude to read a file beside it and watch for the Loaded line. If Claude ignores a rule in a loaded file, check the other loaded files for conflicting instructions.

By CWYN · Last updated November 25, 2026 · Not affiliated with Anthropic · Published November 18, 2026

CLAUDE.md being ignored? 3 checks

[Watch on YouTube](https://youtube.com/shorts/Wdw8ndSwPIE)

## 1. Check the files loaded at startup

In the affected Claude Code session, run `/context all`. Under Memory files, look for the path of your project’s `CLAUDE.md`. Use `/memory` to open an instruction file for editing. That menu also lists paths where you could create a file, so an entry there alone does not prove the file loaded.

## 2. Match the file to the launch directory

If the project file is missing, find the directory where you started Claude. On launch it looks there and in parent directories. A shared project file can live at `CLAUDE.md` or `.claude/CLAUDE.md` in the project root. Start a fresh session from that root and check the startup list again.

If your repository has no instruction file yet, use the [CLAUDE.md generator](https://cwyn.com/tools/claude-md-generator/) to create one with your working preferences, then check that it loads.

## 3. Trigger instructions for a subdirectory

If the missing rule belongs only to a package, leave it with the package. Ask Claude to read an existing source file beside the nested `CLAUDE.md`. Watch the terminal for a Loaded line naming the instruction file. This lets you test a package rule from the repository root.

If the rule disappeared after a long conversation, check [which instructions reload after Claude Code compacts the conversation](https://cwyn.com/pages/claude-code-guide-compact-vs-clear.html).

## 4. Test the rule that Claude missed

When the file has loaded, compare its test instructions with those in other loaded files. Replace any conflicting directions with the repository’s actual test command. In a fresh session, ask which command to use without running it (see [plan mode for read-only exploration](https://cwyn.com/pages/claude-code-guide-plan-mode.html)). For a package-specific rule, have Claude read a file in that package first. Compare the answer with the command you recorded.

For examples of rules with a checkable result, see the [CLAUDE.md template and examples](https://cwyn.com/pages/claude-code-guide-claude-md-template.html).

Sources · [Project memory and troubleshooting](https://code.claude.com/docs/en/memory) · Short answer as of Nov 22, 2026.

## Related guides

- [CLAUDE.md vs AGENTS.md: which file each tool reads](https://cwyn.com/pages/claude-code-guide-claude-md-vs-agents-md.html)
- [Why is my Claude Code hook not firing?](https://cwyn.com/pages/claude-code-guide-hooks-not-firing.html)
- [Why is my MCP server missing from Claude Code?](https://cwyn.com/pages/claude-code-guide-mcp-servers-not-loading.html)
- [Claude Code monthly cost by plan and API usage](https://cwyn.com/pages/claude-code-guide-cost-per-month.html)

## Next steps

- [All 34 Claude Code guides](https://cwyn.com/guides/claude-code/)
- [Claude Code setup walkthrough](https://cwyn.com/setup/claude-code/)
- [Check your CLAUDE.md](https://cwyn.com/score/setup-file-checker/?profile=claude)
- [Claude Code Complete Setup Pack ($12.95)](https://cwyn.com/pages/pack-claude-code-complete-setup-pack.html)

### Set up your Claude Code project

Use the starter `CLAUDE.md` and its companion verification file from the [Claude Code Complete Setup Pack ($12.95)](https://cwyn.com/pages/pack-claude-code-complete-setup-pack.html).
Kit details as of Nov 22, 2026

Claude Code Complete Setup Pack $12.95

Set up project instructions, permission rules, hooks, a reviewer skill and subagent, and MCP connections for Claude Code.
