Does Claude Code train on your data?
NoAnthropic · Coding
By default it can. On the consumer tier Claude Code uses your inputs to improve models unless you opt out. Its business tier typically does not.
What we checked
This assessment separates the consumer product from any business plan. It uses the vendor documents linked below; an unverified item is not a pass.
- Default data training
- Opt-out required
- Consumer accounts (Free, Pro, Max) are trained on when the data-sharing setting is enabled; turn off data sharing at claude.ai settings.
- Business-tier training
- No by default
- Commercial users (Team, Enterprise, API) are not trained on for code or prompts sent to Claude Code under commercial terms.
- Training control
- Confirmed
- Anthropic documents a training control. Confirm whether it is enabled centrally or must be set by each user.
Practical risk: Under commercial terms, Claude Code is not trained on, retains data 30 days by default (Zero Data Retention on qualified Enterprise), and rides Anthropic's SOC 2 and ISO 27001 with a BAA available. Consumer accounts are trained on when data-sharing is enabled and can retain data for 5 years.
How to make a decision
Check the precise account tier, written contract and intended data before approving Claude Code. A security certification, DPA or setting can apply to only part of a vendor's service. Keep the source links with your supplier review and revisit them when the vendor changes its terms.
More on Claude Code
Is Claude Code HIPAA compliant?Is Claude Code GDPR compliant?Is Claude Code SOC 2 compliant?Is Claude Code ISO 27001 certified?
See the full Claude Code risk profile, with every data-handling fact and its source, or browse all rated AI tools.