{
  "id": 9280911,
  "title": "How to Recover a Lost Claude Code Session When --continue Fails",
  "url": "https://urgent.news/2026/09/23/how-to-recover-a-lost-claude-code-session-when-continue-fails",
  "topic": "ai",
  "section": "AI",
  "published": "2026-09-23T05:45:20.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/stanley_f57ec6c939e0e82db/how-to-recover-a-lost-claude-code-session-when-continue-fails-35h5"
  },
  "original_language": "en",
  "account": "Claude Code sessions are saved in separate folders under the ~/.claude/projects/ directory. Each session is a .jsonl file, and you can identify the correct one by searching for unique words from the conversation. The --continue command only opens the most recent session in the current folder, so it may not find the right session if you started a newer session in a different folder or the original session was launched from a different folder. To recover a lost Claude Code session, list the session folders, search for a unique word in the .jsonl files, and then resume the session using its ID with the claude --resume command.",
  "summary": "I ran claude --continue to pick up where I left off, and it didn't find my previous session. Here's why that happens and how I got it back. Why --continue misses sessions Claude Code saves sessions per folder, under ~/.claude/projects/ . Each project gets a subfolder named after the full path where you launched claude , with slashes and underscores turned into dashes. --continue only opens the…",
  "key_points": [
    "Claude Code sessions stored in ~/.claude/projects/ directory",
    "Each session identified by unique words in .jsonl files",
    "Resume session using ID with claude --resume command"
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}