Is Cursor HIPAA Compliant? BAA Rules for Healthcare Dev Teams

Is Cursor HIPAA Compliant? BAA Rules for Healthcare Dev Teams

Is Cursor HIPAA compliant? Not by default, and no software is compliant on its own. Cursor now offers a Business Associate Agreement (BAA) on its Enterprise plan, and its documentation says a signed BAA is required before anyone submits protected health information (PHI). On Free, Pro or Teams plans, the safe rule is simple: keep PHI out of the editor entirely.

Disclosure: The author works at CloudApper, which makes the CloudApper AI Platform.

Who this is for: healthcare CIOs, security officers and engineering leads whose developers already use Cursor, or are asking to.

Key takeaways

  • Cursor's BAA is available only on Enterprise. Teams customers have to move to Enterprise before they can request one.
  • Even with a BAA, PHI is covered only in listed "Eligible Services," with Privacy Mode enabled and locked across the organization. Third-party integrations and model providers are not automatically covered.
  • Privacy Mode (no training, zero data retention with model providers, with stated exceptions) is a privacy control. It is not a BAA.
  • Most teams don't need PHI in the editor at all. Synthetic test data and scrubbed logs remove the BAA question for day-to-day coding.
  • No contract makes generated code compliant. Access control, audit logging and encryption still need human review against 45 CFR 164.312.

Is Cursor HIPAA compliant out of the box?

No. HIPAA compliance describes how a covered entity or business associate handles PHI, not a badge a product carries. There is no government HIPAA certification for software, so "HIPAA compliant" on any vendor page means "we can support your compliance under the right contract and configuration."

Two definitions help here. PHI is individually identifiable health information held or sent by a covered entity or its business associate. A business associate is a vendor that creates, receives, maintains or transmits PHI on a covered entity's behalf. Under 45 CFR 164.308(b), you may let a business associate handle electronic PHI only after obtaining satisfactory assurances that it will safeguard the data. In practice, that assurance is a BAA.

So the real question has two parts. Will PHI reach Cursor? And if so, is the right contract and configuration in place? Older articles, including an earlier version of this one, said Cursor's public pages did not mention a BAA. That has changed: Cursor now publishes an Enterprise BAA page in its docs, though its main security and data-use pages still don't mention HIPAA.

Which Cursor plans can be used with PHI?

Only Enterprise, and only after the BAA is signed and setup is complete. Every other plan should be treated as PHI-free.

SetupBAA available?PHI allowed?Reasonable use in healthcare
Free or Pro (individual)NoNoPersonal learning, open-source work, code with no PHI or secrets
Teams, Privacy Mode enforced by adminNo (must move to Enterprise)NoCode for regulated apps, using synthetic data only
Enterprise, no BAA signedYes, on requestNoSame as Teams, with stronger admin controls
Enterprise, BAA signed, Privacy Mode locked, Eligible Services onlySignedYes, within the BAA and Cursor's HIPAA guideDebugging or support work where PHI genuinely can't be avoided
Enterprise with BAA, but third-party integration or non-eligible model in useSignedNot through that integration or model unless you assess and cover itKeep PHI-adjacent work off those paths

According to Cursor's BAA documentation, the Eligible Services are the desktop IDE (including Agent, Tab, Edit and local agent mode), Cloud Agents, Cursor for iOS, the CLI, BugBot and Automations. The list of Eligible Models is not on the public page. It sits in Cursor's HIPAA Implementation and Configuration Guide, which is part of the BAA and is requested through Cursor's Trust Center.

What does Cursor do with your code and prompts?

Cursor sends code context through its own servers to AI model providers to build each suggestion. That is how the product works, and it holds even when a developer plugs in their own API key: Cursor's data-use page says those requests still pass through its backend for final prompt building.

Here is what Cursor states about its controls:

  • Privacy Mode on: Cursor does not train on your data, and it holds zero data retention agreements with model providers, so they don't store or train on it either.
  • Exceptions: providers may run risk classifiers, and prompts that trip abuse detection may be stored for investigation. Models without zero retention are labeled or need an admin to opt the workspace in.
  • Privacy Mode off: Cursor may store and use codebase data, prompts, editor actions and snippets to improve its features and train models.
  • Caching: file contents are cached on Cursor's servers temporarily, encrypted with client-generated keys that exist only for the duration of a request.
  • Admin controls: team or enterprise admins can enforce Privacy Mode, and new members inherit the team setting.
  • Attestations: Cursor's security page lists SOC 2 Type II, ISO/IEC 27001:2022 and ISO/IEC 42001:2023, with annual third-party penetration testing.

Those are real controls, but SOC 2 and zero retention don't create a business associate relationship. HHS makes a related point in its cloud computing guidance: a provider that maintains electronic PHI is a business associate even if it can't view the data, and the "conduit" exception covers only transmission-only services. A provider promising not to look is not the same as a signed agreement.

How does PHI end up in an AI code editor?

Usually by accident, through files and prompts nobody thinks of as patient data. Schemas, field names and query structures are generally not PHI. Real records are.

The common routes:

  • Test fixtures and seed data copied from production "just for this sprint."
  • Logs and stack traces pasted into chat to debug a failing job, carrying names, dates of birth or medical record numbers.
  • CSV or HL7 exports opened in the editor to check a format.
  • Code comments describing a production incident with patient details.
  • Agent tools. Cursor's ignore-file documentation says a .cursorignore file blocks listed files from Agent, Tab and @ mentions, but terminal and MCP server tools used by Agent cannot be blocked by it, and protection is not guaranteed.

A worked example. A developer is fixing a parser for admission messages. The fastest debug path is to paste a failing message into chat. That message holds a patient name, an admission date and an MRN, which are three of the 18 identifier categories in the HHS Safe Harbor de-identification method. Without a BAA, that paste is PHI leaving your environment. The safe version takes about five minutes: copy the message structure, replace every identifier with fake values, and keep the segment order and field lengths so the bug still reproduces.

What do you need before using Cursor with PHI?

A signed Enterprise agreement and BAA, then configuration, then training. Cursor's documentation is explicit that a BAA alone does not make every product, configuration or workflow appropriate for PHI.

  1. Decide whether you need PHI in the editor at all. The minimum necessary standard in 45 CFR 164.502(b) asks you to make reasonable efforts to limit PHI to what the purpose requires. If synthetic data covers your work, stop here and write that into policy.
  2. Sign the Enterprise agreement and BAA. Route it through legal and your HIPAA privacy and security officer, not an engineering manager.
  3. Get the HIPAA Implementation and Configuration Guide from the Trust Center and record the Eligible Models.
  4. Enable and lock Privacy Mode organization-wide. The lock matters, since one developer switching it off undoes the control.
  5. Restrict models and services to the eligible lists. Disable any model that needs provider retention.
  6. Review integrations. MCP servers, connectors and personal API keys are third-party paths. Assess each one or keep it away from PHI.
  7. Train developers on which workflows may touch PHI. Security awareness training for the whole workforce is already required under 164.308(a)(5).
  8. Update your risk analysis with the tool, the data it can reach and the controls you applied.

For the contract side in more depth, see our explainer on when and why you need a business associate agreement.

What to ask Cursor before signing

  • Which models are Eligible Models today, and how will we be told when that list changes?
  • Which features are outside Eligible Services, and can admins disable them centrally?
  • How are BAA obligations handled for subprocessors and model providers?
  • What audit logs can we export to our SIEM, and how long are they kept?
  • What are your breach notification timelines to us under the BAA?
  • Can admins block personal API keys and unapproved MCP servers?

What technical risks remain even with a BAA?

A BAA covers how Cursor handles data. It does nothing for the code Cursor writes. Generated code follows common patterns, not your role definitions or audit requirements.

Access control. 45 CFR 164.312(a) requires systems holding ePHI to allow access only to people or software granted access rights. Have someone who knows your roles and minimum necessary rules review every authorization check.

Audit controls. 164.312(b) requires mechanisms that record and examine activity in systems containing ePHI. Generated logging often misses read events, writes PHI into logs or skips your central log pipeline.

Encryption and session timeout. Both are "addressable" specifications. Addressable means you assess whether the control is reasonable and appropriate, then implement it or document an equivalent. It doesn't mean optional. Don't accept whatever library or setting the model suggests.

New data stores. AI-built features often add a cache, a queue or a temp table. Each one that touches PHI belongs in your inventory. Quick prototypes are where unlisted stores show up, a pattern covered in our shadow IT governance playbook.

How does Cursor compare with other ways to build healthcare apps?

It depends on where the compliance work lands. An AI editor speeds up writing code, but your team still owns hosting, review and maintenance of everything it produces.

ApproachWho handles PHI controlsMain review burden
AI code editor, PHI-free workflowYour team, in the app you buildEvery security-relevant code change
AI code editor under a BAAYour team, plus the editor vendor for prompts and contextCode changes, plus editor configuration and integrations
Self-hosted or local modelYour team, for the model and the appModel hosting, plus every code change
Governed app platformPlatform vendor for runtime controls, your team for app logic and data flowsVendor assessment and each app's data flows

Some health systems use governed platforms for internal tools so that security settings come from the platform rather than from each new codebase. The CloudApper AI Platform is one example. Whatever you pick, the tests are the same: ask for a BAA, ask where data is hosted, and review audit and access controls yourself. Our third-party risk management guide for healthcare covers how to score vendors consistently.

Common mistakes

  • Treating Privacy Mode as a BAA. It limits retention and training. It isn't a contract under 164.308(b).
  • Assuming Teams is enough. Teams can enforce Privacy Mode, but the BAA is Enterprise-only.
  • Signing the BAA and stopping. Privacy Mode left switchable, a non-eligible model or an unreviewed MCP server can all put PHI outside coverage.
  • Relying on .cursorignore for secrets or PHI files. Cursor itself says terminal and MCP tools aren't blocked by it.
  • Copying production data into fixtures. Once it's in the repo, it's in every clone, every branch and every tool that reads them.
  • Leaving AI tools out of the risk analysis. If an investigator asks which tools could reach ePHI, "we didn't think of the editor" is a weak answer.

FAQ

Does Cursor sign a BAA?

Yes, on the Enterprise plan only, according to Cursor's documentation. Teams customers need to move to Enterprise first. Request it through sales and say you need a HIPAA BAA.

Does Privacy Mode make Cursor safe for healthcare?

It makes Cursor safer for code that contains no PHI. Cursor says it won't train on your data and model providers keep zero retention, with abuse-investigation exceptions. It does not replace a BAA, policy or risk analysis.

Can developers use Cursor on a HIPAA-regulated app without a BAA?

Often yes, if no PHI reaches the tool. Use synthetic or de-identified data, keep production extracts and secrets out of the repository and enforce Privacy Mode centrally. Record those controls in your risk analysis so the decision is documented.

Is a database schema PHI?

Generally not on its own, because PHI has to identify an individual. Column names like "patient_dob" aren't PHI, but a row of real values is. Many security teams still treat schemas as sensitive because they show where PHI lives.

Can I use my own model API key with Cursor to avoid the BAA question?

No. Cursor's data-use page says requests still pass through its backend for prompt building, so Cursor still receives the context. You would also need to settle the BAA question with that model provider.

What happens if PHI was already pasted into Cursor without a BAA?

Treat it as a potential impermissible disclosure and bring in your privacy officer. They will run the breach risk assessment HIPAA requires and decide on notification.

What to do next

  1. Ask your engineering leads this week which Cursor plans are in use and whether any personal accounts touch company repositories.
  2. Enforce Privacy Mode at the team level now, whatever plan you're on.
  3. Build a synthetic test data set so nobody needs real records to debug.
  4. Decide, in writing, whether you need PHI in the editor. If yes, start the Enterprise and BAA process and request the HIPAA guide.
  5. Add AI coding tools to your next risk analysis. For broader context, read our CIO guide to AI and ML risks in healthcare and why HIPAA compliance matters for providers.

This article is general information, not legal advice. Work with your compliance officer and counsel on HIPAA decisions, and confirm current terms directly with Cursor.

Sources

Last reviewed: November 2026.

Comments

Popular Posts

Why Workday Onboarding Breaks Down for Frontline Employees

Are Biometrics Better Than Passwords? What NIST Says

How to Improve the Customer Experience (CX)

How to Market Your Handyman Services to Small Business Owners

How Do I Log In and Sign In to Workday HCM

Multi-State Remote Employees: Payroll Tax Registration Steps

Predictive Scheduling Laws: Where They Apply and How to Comply

End-of-Day Routines That Boost Productivity at Work

Interview Tips for Beginners: A Step-by-Step Prep Plan

Are Mobile Apps Tracking Your Every Move? How to Check