# Resume a previous Claude Code session

Canonical: https://cwyn.com/pages/claude-code-guide-resume-local-session.html
Last updated: 2026-11-23T04:57:33-05:00

Claude Code setup guide

Short answer. If you closed the terminal halfway through a task, reopen the conversation from its project folder. The right command depends on whether you want the latest session or a particular one. Open a terminal in the same project folder and run claude --continue.

By CWYN · Last updated November 23, 2026 · Not affiliated with Anthropic · Published November 19, 2026

## 1. Continue the latest session from its project

Open a terminal in the same project folder and run `claude --continue`. This loads the most recent eligible conversation in that directory. Check the conversation before sending a follow-up.

## 2. Pick an older conversation

From the shell, run `claude --resume` to see the session picker. From a Claude Code prompt, use `/resume` to open the picker and switch conversations. Highlight the conversation you want and press Enter. If you just used `/clear`, see [how to recover the conversation with `/rewind`](https://cwyn.com/pages/claude-code-guide-rewind-checkpoints.html).

## 3. Give a conversation a name you can reuse

At the Claude Code prompt, enter `/rename csv-export-debug`. Leave the session with `/exit`, then reopen it from the shell with `claude --resume csv-export-debug`. Choose a distinct name if you have several sessions for the same task.

## 4. Check the worktree if your session is missing

The picker starts with the current worktree and includes sessions that added its directory. Press Ctrl+W in the picker to see sessions from all worktrees of the repository. To reopen a session created with `claude -p`, pass its session ID to `claude --resume` directly.

If you chose to keep a worktree on exit, [resume the worktree where you made your edits](https://cwyn.com/pages/claude-code-guide-worktrees.html) using the command Claude printed.

Sources · [Local session storage, picker scope, worktrees and named resume](https://code.claude.com/docs/en/sessions) · [In-session rename, resume and exit](https://code.claude.com/docs/en/commands)

## Related guides

- [Claude Code headless print mode with claude -p](https://cwyn.com/pages/claude-code-guide-headless-print-mode.html)
- [Claude Code ignoring CLAUDE.md or not loading it?](https://cwyn.com/pages/claude-code-guide-claude-md-not-loading.html)
- [Why does Claude Code still ask after I allow a command?](https://cwyn.com/pages/claude-code-guide-permission-allowlist-prompts.html)
- [Why is my Claude Code hook not firing?](https://cwyn.com/pages/claude-code-guide-hooks-not-firing.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

[Claude Code Complete Setup Pack ($12.95)](https://cwyn.com/pages/pack-claude-code-complete-setup-pack.html) · Optional paid kit. The pack’s editable project instructions give fresh conversations the same repository conventions.
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.
