Is Claude Code HIPAA Compliant? The Three Sign-In Routes and What Each Covers
Claude Code is covered by Anthropic's BAA on two routes: an Enterprise account with the HIPAA configuration applied, or a Console key with zero data retention. Bedrock, Vertex, Foundry and the IDE extensions are not.
Anthropic's BAA covers Claude Code on two routes: a Claude Enterprise account with the HIPAA configuration applied, or a Console API key in an organization with zero data retention.
Turning HIPAA on for an Enterprise organization doesn't cover Claude Code by itself. The Primary Owner has to apply the HIPAA configuration as a second step.
Covered surfaces are the terminal and the Code tab of Claude Desktop. The VS Code and JetBrains extensions keep working and aren't covered. Cloud sessions and Remote Control are refused.
Claude Code through Amazon Bedrock, Google Cloud, Microsoft Foundry, a gateway or a custom base URL is outside Anthropic's BAA.
If your developers work on synthetic data, the question doesn't arise, and none of this says anything about whether the app Claude Code wrote is compliant.
Claude Code can be used with patient data on two routes. The first is a Claude Enterprise account where the Primary Owner has turned HIPAA on and then applied the HIPAA configuration. The second is a Console API key in an organization with zero data retention. Everything else is outside Anthropic's Business Associate Agreement: Free, Pro, Max and Team, the VS Code and JetBrains extensions, cloud sessions, and Claude Code through Bedrock, Google Cloud or Microsoft Foundry.
sign-in routes on which Anthropic's BAA covers Claude Code.
2 steps
on Enterprise: turn HIPAA on, then apply the HIPAA configuration. The first step alone doesn't cover Claude Code.
2 surfaces
count as local mode: the terminal and the Code tab of Claude Desktop.
0
of this tells you whether the app Claude Code wrote meets the Security Rule.
Two questions hide in this one
May Claude Code see patient data while my developers work?
That depends on how they sign in. The three routes are below.
Is the app Claude Code wrote HIPAA compliant?
No tool decides that. The app is checked against the Security Rule like any other. Go to the last section.
Most teams only have the second question. If development runs on synthetic data and Claude Code never reads a production database, a log with real records or an export, the tool never touches patient data and you need no agreement for it. The first question becomes real the day someone points Claude Code at production to debug something.
The three sign-in routes
How the developer signs in
Covered by Anthropic's BAA?
What it takes
Claude Enterprise account, HIPAA configuration applied
Yes
The Primary Owner turns HIPAA on and accepts the BAA, then applies the HIPAA configuration. Zero data retention isn't needed, and Covered Models stay available.
Claude Enterprise account, HIPAA on, configuration not applied
No
Anthropic: "Enabling HIPAA alone doesn't bring Claude Code or Cowork under your BAA."
Console API key, organization with zero data retention
Yes, with a limit
Covered only while ZDR is on. Covered Models can't be used on this route unless Anthropic has expressly authorized it for your organization.
Console API key, HIPAA-ready API organization without ZDR
No
Anthropic: "Claude Code isn't an Eligible Service on a HIPAA-ready API organization." An organization also can't be HIPAA-ready and ZDR at once.
Amazon Bedrock, Google Cloud, Microsoft Foundry, an LLM gateway or a custom base URL
No
Anthropic's BAA doesn't apply to services bought through a third-party cloud. That cloud's own agreement is a separate question.
Free, Pro, Max, Ultra or Team
No
These plans can't enable HIPAA. Synthetic data only.
Sources: the four Anthropic pages linked above, read 23 November 2026. Quotes are Anthropic's wording.
The Enterprise route has a catch
Anthropic says the HIPAA configuration "is only available to organizations with an Anthropic account team at this time." Turning HIPAA on is self-serve for the Primary Owner and is a one-way decision. Applying the configuration is the step that needs the account team. A small company that bought Enterprise without one may find the Console route with zero data retention is the only one open to it.
Which Claude Code surfaces count
Under the HIPAA configuration, two surfaces are covered: Claude Code in the terminal, and the Code tab of Claude Desktop once an Owner turns the Desktop toggle on. The developer has to sign in with the Enterprise account, and Claude Code has to connect directly to Anthropic.
Covered
Local mode
The terminal. The Code tab of Claude Desktop. Bypass permissions mode. Your own OpenTelemetry export. Claude Code has to be version 2.1.285 or later.
Works, and isn't covered
The IDE extensions
The VS Code and JetBrains extensions keep working after the configuration is applied. Anthropic lists them as available but not covered. Fast mode and local MCP servers are in the same position.
Refused
Anything in the cloud
Cloud sessions from the web, from Desktop or with the cloud flag, teleport and Remote Control are refused. Claude Code Review and the mobile app aren't covered.
Switched off
What changes for the developer
The WebFetch tool, the feedback and bug commands and artifact publishing are unavailable. Connectors, skills and Claude in Chrome go off until an Owner turns them back on, and they stay outside the BAA when on.
The one that catches teams A developer in the VS Code extension sees the same Claude Code, on the same Enterprise login, after the same configuration, and is outside the agreement. If real patient data can reach a developer's machine, say in writing that work on it happens in the terminal.
Same desk, same login, two tools. The terminal is inside the agreement and the editor extension is outside it.
MCP servers, connectors and skills
Anthropic's wording leaves no room here: the BAA doesn't cover "connectors, MCP servers, plugins, desktop extensions, Claude in Chrome, and skills, including after an Owner turns them on." A local MCP server that reads your database and stays on your machine sends nothing new to a third party. An MCP server that calls another company's API does, and that company needs its own agreement with you. We build MCP connectors for a living and write that line into every healthcare install.
Built with Claude Code, and patient data is next?
We read the access setup and the code, test one role against another on the live site, and send a written report ranked by severity. Your team makes the fixes. How the review works.
Enterprise with the HIPAA configuration, or a Console key with zero data retention. See the table above.
Cursor
Enterprise only
"BAAs are available on the Enterprise plan." Privacy Mode has to be enabled and locked for the whole organization, and you request the BAA through sales. Cursor docs.
GitHub Copilot
None found
GitHub's Data Protection Agreement, section 12, says customers shall not provide protected health information without GitHub's "prior, written, and specific consent." We found no page where GitHub offers a BAA. GitHub DPA.
Vendor pages read 23 November 2026. Microsoft's HIPAA pages don't name GitHub or GitHub Copilot as in scope. If your Microsoft or GitHub account team tells you otherwise, get it in writing.
How we keep patient data away from the tool
We write regulated software with Claude Code every working day. The rules below are the ones we hold ourselves to, and they remove the first question for most teams.
Synthetic data in every fixture and seed. A test file with one real record is patient data in the repository, and the assistant reads the repository.
No production credentials on a developer machine. Claude Code can run any command the developer can. If the machine can reach the production database, so can a prompt.
Logs and exports stay out of the working folder. The fastest way patient data reaches an assistant is a developer pasting a stack trace with a record in it.
Debug production through people on a covered route. If someone must look at real data with the assistant, that is the terminal, on the Enterprise account with the configuration applied.
Write the rule down. One page that says which tool, which login and which data. An auditor asks for it, and a new developer needs it on day one.
The second question: is the app it wrote compliant?
No tool makes an app HIPAA compliant. Anthropic's BAA covers what Anthropic does with data that reaches Claude Code. Whether your application checks access on the server, records who opened which record and encrypts what it stores is a separate question, answered by reading the application against the Security Rule.
Claude Code writes what it is asked for. Ask for a patient list and you get one that works. Nobody asked who may open it or where the record of that access is kept, so those parts are often missing. We wrote the eight checks to run before patient data goes in, each tied to its section of 45 CFR 164.312 and 164.308. Check 2 takes ten minutes and finds the most common gap.
The agreement with the tool vendor and the safety of your own code are two separate facts. Teams tend to check the first and assume the second.
Frequently asked questions
Is Claude Code HIPAA compliant?
It can be used with patient data on two routes. One is a Claude Enterprise account where the Primary Owner has turned HIPAA on and then applied the HIPAA configuration. The other is a Console API key in an organization with zero data retention. On Free, Pro, Max and Team, and through Bedrock, Google Cloud or Microsoft Foundry, Anthropic's BAA doesn't cover it.
Does Anthropic sign a BAA for Claude Code?
Anthropic's BAA for commercial customers can include Claude Code, on the two routes above. On Enterprise the Primary Owner accepts the BAA in organization settings. Anthropic says the HIPAA configuration that brings Claude Code under it is only available to organizations with an Anthropic account team at this time.
Is the Claude Code VS Code extension covered?
No. Anthropic lists the Claude Code extensions for VS Code and JetBrains as available but not covered under the BAA. They keep working after the configuration is applied, so a developer can be in an uncovered tool without noticing. The covered surfaces are the terminal and the Code tab of Claude Desktop.
Can I use Claude Code on Pro or Max with patient data?
No. Anthropic states that Team plans and individual plans (Free, Pro, Max and Ultra) can't enable HIPAA. Use synthetic data on those plans.
Are MCP servers and connectors covered?
No. Anthropic's BAA doesn't cover connectors, MCP servers, plugins, desktop extensions, Claude in Chrome or skills, including after an Owner turns them on. Data an MCP server sends to another company needs that company's own agreement with you.
If Claude Code is covered, is the app it wrote HIPAA compliant?
No. The BAA covers what Anthropic does with data that reaches Claude Code. It says nothing about the access control, audit log or encryption in the application you built. That is checked separately against the Security Rule.
Co-Founder and Technical Lead at Oktopeak. Builds regulated software for legal and healthcare teams, and leads the rescues of codebases other vendors left half-finished.
Claude can be used with PHI on two surfaces: Claude Enterprise with HIPAA turned on by the Primary Owner, and the first-party API in a HIPAA-ready organization. Free, Pro, Max and Team are not HIPAA-ready plans. Cowork and Claude Code in local mode are covered once the Primary Owner applies the HIPAA configuration; Cowork in the cloud, the Console, Skills, connectors and the beta features are not. Plan by plan, re-checked against Anthropic's BAA articles on 15 October 2026.
Yes, HIPAA applies to code an AI assistant wrote. Eight checks tied to the Security Rule, what Claude Code, Cursor and Lovable leave out, and what an independent review reads before patient data goes in.
ZDR is not available on Claude Team or Pro chat. It is available on the Anthropic API at the organization level, which a small firm can obtain. Here is the real difference between the chat tiers and the API, why a Canadian or healthcare firm hits a residency wall, and the architecture we use to keep privileged data off retention.