Claude Code

Stop Claude Code Deleting Your Old Chats After 30 Days

Claude Code quietly deletes old sessions after 30 days. The one settings line that keeps them, the number to use, where to put it, and the one catch to check first

2min read
2prompts to copy
3numbered steps
4sections

By default Claude Code keeps your session transcripts for 30 days. After that a background sweep deletes them without showing a message, and the old session disappears from the /resume list.

Here's the one settings line that changes it.

Free, for your email

Get the full setup steps + the copy-paste setup prompt

The rest of this guide (4 more sections, 2 copy-paste prompts) opens right here. The setup prompt, one paste into Claude that sets it all up, comes by email only. Use your real address.

50,000+ follow where these guides come from. No spam, unsubscribe in one click.

Read next