When Claude seems to forget something you told it, people assume it's a mistake or a limitation in the AI. Sometimes it is. But most of the time, it's one of three very specific, very different architectural realities — each with a different cause and a different fix.
Lumping all "forgetting" together is like saying your car "doesn't work" whether it has a flat tire, an empty gas tank, or a dead battery. True in all three cases. Completely different solutions.
Click any card to see what it is, why it happens, and what you can do about it.
What happens: When a session ends, the entire context window is wiped. Claude starts the next session with zero memory of what happened before. It literally does not know you've ever talked before.
When it happens: Every time a session ends — whether you close the app, the session times out, or you start a new conversation.
What's lost: Everything that only existed in the conversation. Decisions made, context established, preferences stated mid-session, work in progress. All of it.
What survives: Only what's been written to persistent storage before the session ends. Your CLAUDE.md loads automatically next session. Files you created or edited persist. Anything you explicitly saved to a knowledge base persists. Anything else? Gone.
What happens: When the context window fills up during an active session, the system automatically summarizes the older conversation to free space. This is called compaction. The summary replaces the original messages.
When it happens: Automatically, without warning, when the context window approaches capacity. You'll sometimes see a note like "This conversation was summarized" — but not always.
What's lost: Specific details, exact wording of instructions, nuanced context, specific numbers and dates, anything that wasn't prominent enough to make it into the summary. The summary is written by a model — it makes editorial choices about what matters.
What survives: High-level decisions, major tasks, the general direction of work. The "what" survives better than the "how" or "why."
Why it's sneaky: Claude doesn't tell you what was lost. It continues working from the summary as if nothing happened. You only notice when Claude gets something wrong that you told it earlier.
What happens: Nothing is actually deleted. Your CLAUDE.md instructions, rules files, and earlier messages are still in the context window. But as the conversation grows, they're buried under thousands of tokens of newer content — and Claude's attention drifts toward the most recent content.
When it happens: Gradually, over the course of a long session. You won't notice a specific moment — it's a slow drift. By message 40, Claude may be less reliably following instructions that it followed perfectly at message 5.
What's affected: Formatting rules (suddenly using em dashes again), behavioral guidelines (getting more verbose), role-specific constraints (doing things it was told not to do). The rules are still there — they just have less weight than they did at the start.
What's NOT affected: The actual work content, facts, what you've built together. This type of forgetting is about behavior, not knowledge.
Here's what happens to a real conversation when compaction kicks in. The left panel is what actually happened. The right is what Claude sees after compaction.
Drag the slider to simulate conversation length. Watch how much "attention weight" Claude gives to different parts of the context.
| Type of Content | Session Boundary | Compaction | Attention Fade |
|---|---|---|---|
| Your CLAUDE.md rules | Survives (reloads) | Survives (always present) | Weakens over time |
| Decisions made in conversation | Lost | Partially summarized | Still present |
| Files you created or edited | Survives (on disk) | Survives (on disk) | Survives |
| Specific instructions ("use Celsius") | Lost | Often lost in summary | Weakens with distance |
| Knowledge base / search docs | Survives (on server) | Survives (not in context) | Survives |
| Work in progress (unwritten) | Lost | High-level summary only | Still present |
| Exact numbers, dates, specifics | Lost | Usually lost in summary | Weakens with distance |
| Formatting preferences | Survives (in CLAUDE.md) | Survives (in CLAUDE.md) | Drifts in long sessions |
One fix per type. Match the problem to the solution.