Expired60% confidenceFactExact time
By default, Claude Code retains chat history for only 30 days, after which it is automatically deleted.
2
Sources
60%
Confidence
Medium-term (~90 days)
Relevance
7/2/2026
First Seen
Valid until: 9/30/2026(expired)
Sources
4 Must-Change Claude Code Settings That Will Double Your Dev Productivity
bilibili土木ai提效大古6/1/2026
Related Claims
UnverifiedBy setting Cleanup Period Days to 999 in Settings.json, Claude Code's chat history can be retained indefinitely.67% similarUnverifiedIf a conversation has gone more than one hour since the last message, running /compact at that point often finds the cache already invalid, forcing the model to re-read the entire context.58% similarUnverifiedThe new version changes the termination trigger for background commands from after 30 minutes of idle time to only when memory reaches a critical level.58% similarUnverified致码AI Coder删除的会话保留7天,可随时恢复58% similarUnverifiedWhen the interval is omitted, Claude chooses the pause duration itself, ranging from one minute to one hour.55% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/52268API
curl https://kongchang.com/api/v1/knowledge/claims/52268MCP
get_claim(id=52268)