Not legal advice · Summaries of vendors' public pages, which change often. Verify with the vendor and your contract before relying on anything here.

Does Claude Code (Team / Enterprise) train on your data?

Business plan Anthropic · Coding · Last verified

Doesn't train by default

Doesn't train on business data by default.

Short answer: No

On Team, Enterprise, API, third-party platforms and Claude Gov, Anthropic does not train generative models on code or prompts sent to Claude Code unless the customer opts in (for example, the Developer Partner Program). Consumer Free/Pro/Max/Ultra accounts are different: training follows the user's setting.

Why this matters: A "no" keeps your prompts and files out of Anthropic's models, where they couldn't be removed later. Confirm it covers the plan you use. Why training matters →

6/7 assurances found·8 of 9 fields confirmed from vendor pages

Below, check how long Claude Code (Team / Enterprise) keeps your data and what it says about security and AI-management standards (SOC 2, ISO 27001 and ISO 42001). We also cover data processing agreements (DPAs), business associate agreements (BAAs) and HIPAA support, where data can be stored or processed, and zero data retention. Each answer links to Anthropic's own page.

Summary of Anthropic's public pages as of Nov 18, 2026. Not legal advice: terms vary by plan and contract and can change. Confirm with Anthropic before relying on it.

Trains on your data by default

No

On Team, Enterprise, API, third-party platforms and Claude Gov, Anthropic does not train generative models on code or prompts sent to Claude Code unless the customer opts in (for example, the Developer Partner Program). Consumer Free/Pro/Max/Ultra accounts are different: training follows the user's setting.

Source:
  • code.claude.com/docs/en/data-usage · checked Nov 18, 2026
    “Anthropic does not train generative models using code or prompts sent to Claude Code under commercial terms, unless the customer has chosen to provide their data to us for model improvement (for example, the Developer Partner Program).”

Data retention

30 days

Standard retention for Team, Enterprise and API is 30 days. Qualified Claude for Enterprise accounts can get zero data retention. Clients also keep session transcripts locally in ~/.claude/projects/ for 30 days by default (adjustable with cleanupPeriodDays). Feedback sent with /feedback is retained for 5 years.

Source:

SOC 2 Type II

Yes

Trust Center lists SOC 2 Type 2 for Claude Team, Claude Enterprise, and Claude via Anthropic's API, the commercial plans Claude Code runs on. The scope table has no separate Claude Code row. Anthropic's Claude Code legal page points to the Trust Center for certifications.

Source:

ISO/IEC 27001

Yes

Trust Center lists ISO 27001:2022 for Claude Team, Claude Enterprise, and Claude via Anthropic's API. The scope table has no separate Claude Code row.

Source:

ISO/IEC 42001

Yes

Trust Center lists ISO/IEC 42001:2023 for Claude Team, Claude Enterprise, and Claude via Anthropic's API. The scope table has no separate Claude Code row.

Source:

DPA available

Yes

Claude Code use on Team, Enterprise and Claude API is subject to Anthropic's Commercial Terms, which incorporate the Anthropic Data Processing Addendum.

Source:
  • code.claude.com/docs/en/legal-and-compliance · checked Nov 18, 2026
    “Your use of Claude Code is subject to: Commercial Terms of Service - for Team, Enterprise, and Claude API users”
  • anthropic.com/legal/commercial-terms · checked Nov 18, 2026
    “Data submitted through the Services will be processed in accordance with the Anthropic Data Processing Addendum (“DPA”), which is incorporated into these Terms by reference.”

BAA / HIPAA

Yes

A BAA covers Claude Code in two setups: a HIPAA-ready Claude for Enterprise organization with the HIPAA configuration applied to Claude Code (local mode), or Claude Code with Zero Data Retention enabled. Under the HIPAA configuration, cloud sessions, Remote Control, the Claude mobile app, and routing through a third-party cloud provider or gateway are not covered.

Source:
  • code.claude.com/docs/en/legal-and-compliance · checked Nov 18, 2026
    “If a customer has executed a Business Associate Agreement (BAA) with Anthropic, that BAA extends to Claude Code in two configurations, depending on what is available for your organization:”
  • code.claude.com/docs/en/hipaa-setup · checked Nov 18, 2026
    “The HIPAA configuration is an organization setting on Claude Enterprise plans, for organizations that handle protected health information (PHI) and have a Business Associate Agreement (BAA) with Anthropic.”

Data residency options

Unknown

Not stated as a customer-selectable region option on the Claude Code docs, commercial terms, or Trust Center pages we checked.

Zero-retention option

Yes

Zero Data Retention is available to qualified Claude for Enterprise accounts and is not included in the standard Enterprise plan; Anthropic enables it per organization after confirming eligibility. When it is on, prompts and model responses are processed in real time and not stored after the response is returned, except where needed to comply with law or combat misuse. It applies only to Anthropic’s direct platform, not Bedrock, Google Cloud’s Agent Platform, or Microsoft Foundry.

Source:
  • code.claude.com/docs/en/zero-data-retention · checked Nov 18, 2026
    “Zero Data Retention (ZDR) for Claude Code is available to qualified accounts on Claude for Enterprise. When ZDR is enabled, prompts and model responses generated during Claude Code sessions are processed in real time and not stored by Anthropic after the response is returned, except where needed to comply with law or combat misuse.”
  • code.claude.com/docs/en/data-usage · checked Nov 18, 2026
    “ZDR is not included in the standard Enterprise plan; it is enabled on a per-organization basis by your account team after confirming eligibility”

Vendor pages we monitor for this tool

We calculate a code from the page’s visible text each time we check it (a SHA-256 fingerprint). Changes to that code help us spot edits to the vendor’s terms.