Claude Code Deletes Your Context History from Your Device After 30 Days
Claude Code automatically deletes your context history from your device after 30 days, though users can optionally share session transcripts with Anthropic for product improvement purposes. Data policies vary by user type: free and paid consumer users can opt into model training, while commercial users (Team, Enterprise, API) have stricter protections unless they explicitly opt in to sharing. Feedback and session transcripts shared with Anthropic are retained for up to 6 months, with API keys and tokens automatically redacted before upload.
Read Full Article →