Answer: Claude Code deletes a session's file snapshots in the retention sweep by default about 30 days after the session last saved one. It also keeps file snapshots for the 100 most recent checkpoints in a session. Status: Confirmed Entry: tool/claude-code/privacy-and-data/checkpoint-snapshot-retention Revision: 3 Digest: sha256:e388322b8d7a5e47 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:03:24Z Last changed: 2026-11-20T12:18:28Z (checkpoints kept: — → 100 most recent checkpoints) Last verified: 2026-11-20T12:18:28Z Next check: 2026-11-21T12:18:28Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Unit | Source | As of retention period | about 30 days | days | [1] | 2026-11-20 checkpoints kept | 100 most recent checkpoints | checkpoints | [1] | 2026-11-20 Sources: [1] Anthropic. "Checkpointing". https://code.claude.com/docs/en/checkpointing.md Role: primary. Accessed: 2026-11-20T12:18:28Z Quote: "by default about 30 days after the session last saved one" (Supports: retention period) Quote: "Claude Code keeps file snapshots for the 100 most recent checkpoints in a session." (Supports: checkpoints kept) Published: 2026-11-20T03:05:31Z Snapshot SHA-256: 3252beadf277a5e944e0525b8c81958df1bab7158c2ad38f4c4b7db15ae3cfa1 (captured 2026-11-20T12:18:27Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. Cross-check: not-available at 2026-11-20T12:18:28Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:18:28Z Last attempt: 2026-11-20T12:18:28Z Notes and limitations: Extracted automatically from a single official source (section "Automatic tracking"). Related: https://latestn.com/tool/claude-code/privacy-and-data/clear-local-data How do I clear local Claude Code application data? https://latestn.com/tool/claude-code/privacy-and-data/code-review-data-access What can a Claude Code Code Review access during a review? https://latestn.com/tool/claude-code/privacy-and-data/control-sensitive-data-exports How do I control sensitive data in Claude Agent SDK OpenTelemetry exports? https://latestn.com/tool/claude-code/pricing-and-limits/ultrareview-pricing-free-runs How much does Claude Code ultrareview cost and are there free runs? https://latestn.com/tool/claude-code/pricing-and-limits/websearch-session-limit What is the session search limit for the WebSearch tool in Claude Code? https://latestn.com/tool/claude-code/pricing-and-limits/workflow-behavior-limits What are the behavior and limits of a workflow run in Claude Code? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-20T12:18:28Z | changed | checkpoints kept: — → 100 most recent checkpoints | [1] 2026-11-20T12:18:28Z | changed | snapshots kept per session: 100 most recent checkpoints → — | [1] 2026-11-20T12:18:28Z | changed | retention trigger: after the session last saved one → — | [1] 2026-11-15T12:18:09Z | changed | snapshots kept per session: — → 100 most recent checkpoints | [1] 2026-11-15T12:18:09Z | changed | setting to extend: cleanupPeriodDays → — | [1] 2026-11-13T03:03:24Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/claude-code/privacy-and-data/checkpoint-snapshot-retention/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/claude-code/privacy-and-data/checkpoint-snapshot-retention POST: https://latestn.com/dispute/tool/claude-code/privacy-and-data/checkpoint-snapshot-retention with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/claude-code/privacy-and-data/checkpoint-snapshot-retention?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How long does Claude Code keep checkpoint file snapshots before they are deleted? Revision 3, last verified 2026-11-20T12:18:28Z. https://latestn.com/tool/claude-code/privacy-and-data/checkpoint-snapshot-retention (accessed 2026-11-21T10:02:22Z). @misc{LatestN_tool_claude_code_privacy_and_data_checkpoint_snapshot_retention_r3, title = {How long does Claude Code keep checkpoint file snapshots before they are deleted?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/claude-code/privacy-and-data/checkpoint-snapshot-retention}}, note = {Revision 3; digest sha256:e388322b8d7a5e47; last verified 2026-11-20T12:18:28Z; accessed 2026-11-21T10:02:22Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/claude-code/privacy-and-data/checkpoint-snapshot-retention