Stack components
Is Clerk HIPAA Compliant? Patient Logins, Auth, and BAAs
Last reviewed: . Vendor facts checked against each vendor's own pages on the dates shown.
Short answer: Clerk offers a HIPAA business associate agreement (BAA) only on its Enterprise plan (Clerk Pricing, verified November 15, 2026), and its terms bar HIPAA-regulated health information in Clerk without that agreement (Clerk Standard Terms and Conditions, verified November 15, 2026). Before patients sign in to your vibe-coded app through Clerk, get Enterprise and a signed BAA, or use a sign-in provider that signs one.
You asked your coding agent for a patient login, and it added Clerk: a ready-made sign-in service that handles passwords, email codes and user accounts so your app does not have to. For a prototype, that is a sensible choice. The question is what happens when the people signing in are your patients.
A sign-in service is easy to forget about because it feels like plumbing. But it holds a list of everyone who uses your app, with their names, emails and phone numbers, and it sends them messages. In a practice app, that list is a list of your patients. This page covers what Clerk says about HIPAA, which plan you need, where patient data actually lands in Clerk, and what to change.
What Clerk says, in its own words (checked November 15, 2026)
The BAA is an Enterprise-plan item
Clerk's security page says Clerk signs a HIPAA business associate agreement (BAA: the contract a vendor signs before it handles patient data for you) and that it is available on the Enterprise plan (Clerk, Security & Compliance at a Glance, verified November 15, 2026). Clerk's pricing comparison puts it this way:
“HIPAA compliance HIPAA Business Associate Agreement (BAA) available on the Enterprise plan. Not included Not included Not included”
The three cells marked Not included are the other self-serve plans shown in that table (Clerk Pricing, verified November 15, 2026). Clerk's security page also explains what the plan buys you: “Clerk's audited platform controls are the same on every plan. Plans gate access to the reports and agreements, not the controls themselves.” (Clerk, Security & Compliance at a Glance, verified November 15, 2026) In plain terms: Clerk says its audited security controls do not change by plan. What a plan changes is access to Clerk's reports and agreements, and the pricing table puts the BAA on Enterprise.
Without a BAA, health data is off limits
Clerk's Standard Terms say:
“Customer shall not send or store in the Service any personal health information, or other sensitive data that may be subject to the Health Insurance Portability and Accountability Act ( "HIPAA" ) without agreeing to Company's Subcontractor Business Associate Agreement.”
Clerk's Data Processing Addendum (DPA, its general privacy contract) repeats the point: a customer storing or transmitting protected health information must separately sign a BAA if it is a covered entity or business associate, and the BAA takes precedence over the DPA for that information (Clerk, Data Processing Addendum, verified November 15, 2026). The DPA is not a substitute.
What Clerk holds about your users
Clerk's DPA says the personal data it processes depends on how you configure Clerk and may include name, phone number, email address, address data, IP address, device identifiers and usage data (Clerk, Data Processing Addendum, verified November 15, 2026). Clerk's docs say a user record holds profile data plus metadata fields that can store arbitrary information (Users - User management | Clerk Docs, verified November 15, 2026). Clerk says it is US-hosted and does not offer regional data residency (Clerk, Security & Compliance at a Glance, verified November 15, 2026).
What we could not find
Public Clerk pages checked on November 15, 2026 do not publish the text of Clerk's Subcontractor Business Associate Agreement or state which Clerk features or add-ons it covers (Clerk: public pages we checked (8 pages), verified November 15, 2026). Public Clerk pages checked on the same date also do not describe any HIPAA-specific configuration steps for a Clerk application (Clerk: public pages we checked (11 pages), verified November 15, 2026). Both are questions to put to Clerk in writing (list below).
Clerk's security page describes its own HIPAA program, with a start date, in its own wording (Clerk, Security & Compliance at a Glance, verified November 15, 2026). That describes Clerk, not your app. No authority certifies software as HIPAA compliant. What matters for your practice is a signed BAA plus how your own app uses Clerk.
What this means for your app
Under HIPAA, a vendor that creates, receives, maintains or transmits protected health information (PHI) for your practice is a business associate (HHS (eCFR), 45 CFR 160.103 -- Definitions., verified November 15, 2026), and you need satisfactory assurance (in practice, a signed BAA) that it will safeguard the data before it does (HHS (eCFR), 45 CFR 164.502 -- Uses and disclosures of protected health information: General rules., verified November 15, 2026). HHS said in 2013 that a data storage company with access to PHI is a business associate even if it does not view the information (HHS (Federal Register via govinfo.gov), Modifications to the HIPAA Privacy, Security, Enforcement, and Breach Notification Rules Under the HITECH Act and GINA; Other Modifications to the HIPAA Rules (Final Rule), 78 FR 5566, verified November 15, 2026).
Is a login account PHI? HIPAA's definition of individually identifiable health information includes demographic information a health care provider collects that relates to the provision of care and identifies the person (HHS, 45 CFR 160.103 Definitions, verified November 15, 2026). A patient portal's user list is names, emails and phones of people receiving care from you. Read that definition with your counsel; plan as if your Clerk user list is patient data unless counsel tells you otherwise.
Here is where patient information tends to land when a coding agent wires Clerk into a practice app:
| Place in Clerk | What ends up there | What Clerk's docs say |
|---|---|---|
| User profile | Name, email, phone, sometimes address | Name, phone, email, address, IP, device and usage data, depending on your setup (Clerk, Data Processing Addendum, verified November 15, 2026) |
| Unsafe metadata | Answers to sign-up questions: date of birth, insurance, reason for visit | The only metadata that can be set during sign-up; readable and writable from the browser (User metadata | Clerk Docs, verified November 15, 2026) (User metadata | Clerk Docs, verified November 15, 2026) |
| Public metadata | Roles, care team, program names | Readable by the frontend, set only by your server (User metadata | Clerk Docs, verified November 15, 2026) |
| Private metadata | Chart numbers, EHR IDs | Readable and settable only by your server and webhook handlers (User metadata | Clerk Docs, verified November 15, 2026) |
| Session token | Whatever metadata the agent copies in for speed | Metadata can be stored in the session token (User metadata | Clerk Docs, verified November 15, 2026), which Clerk keeps in a cookie (User metadata | Clerk Docs, verified November 15, 2026) |
| Sign-in emails and texts | The patient's email or phone, plus the message wording | Clerk sends system emails and SMS during sign-in flows (Email and SMS templates | Clerk Docs, verified November 15, 2026), by default through its own email provider (Email and SMS templates | Clerk Docs, verified November 15, 2026) |
| Dashboard export | A CSV of every user | Admins can download a CSV of users, including hashed passwords (Migrating - Migrating your data | Clerk Docs, verified November 15, 2026) |
Private metadata is hidden from the browser, but it is still stored in Clerk. Hidden from the patient is not the same as covered by a BAA. And because unsafe metadata can be changed from the browser, Clerk itself warns that malicious users could tamper with it (User metadata | Clerk Docs, verified November 15, 2026). Never let it decide who sees which records. HIPAA requires technical access controls so only people granted access can reach ePHI (HHS (eCFR), 45 CFR 164.312 -- Technical safeguards., verified November 15, 2026), and a role a patient can edit in their own browser is not one.
How this goes wrong: the sign-up form that stored the medication list
Imagine a weight-loss clinic (hypothetical) whose physician-owner builds a patient portal in a weekend. The prompt says: let patients create an account, and at sign-up ask their current weight, goal weight, current medications and whether they have had pancreatitis. The coding agent adds Clerk on the plan the physician signed up with, which is not Enterprise.
Clerk's docs say unsafe metadata is the only metadata that can be set during sign-up, and a common use is custom onboarding (User metadata | Clerk Docs, verified November 15, 2026). So the agent saves the intake answers there. To make the dashboard load faster, it also copies the medication list into the session token, which Clerk stores in a cookie (User metadata | Clerk Docs, verified November 15, 2026).
Six weeks later, three things are true at once. Medication lists and a pancreatitis history sit in a sign-in service with no BAA, which Clerk's own terms do not allow (Clerk Standard Terms and Conditions, verified November 15, 2026). Those answers can be edited from the patient's browser (User metadata | Clerk Docs, verified November 15, 2026), so the medication list the nurse relies on is not a trustworthy record. And a front-desk staff member, asked to send a patient list to the billing service, downloads the user CSV from the Clerk dashboard (Migrating - Migrating your data | Clerk Docs, verified November 15, 2026) to a personal laptop.
None of this came from a bug. Each step was a reasonable default for a consumer app. The fix is also ordinary: clinical answers go in the app's own BAA-covered database, Clerk keeps only what sign-in needs, and the plan question gets settled before launch. For more on this specialty, see GLP-1 and weight-loss clinic apps.
Do and don't: Clerk in a practice app
Do
- Decide the plan first. If patients will sign in through Clerk, get the Enterprise plan and a signed BAA before launch, or choose a different sign-in provider.
- Keep Clerk's user record to what sign-in needs: name, email or phone, and a random internal user ID.
- Store intake answers, diagnoses, medications and visit reasons in your app's own BAA-covered database, linked by that internal ID.
- Set roles (patient, nurse, physician) only from your server, and check them on the server for every record request.
- Read every sign-in email and text template in your Clerk dashboard. Make sure none reveals a condition or a specialty.
- Limit who can open the Clerk dashboard, and treat a user export as a patient list.
- Turn on multi-factor sign-in for staff accounts that can see records.
Don't
- Don't put clinical answers in unsafe metadata, even on Enterprise. It is editable from the browser.
- Don't copy health details into the session token for speed.
- Don't store chart numbers or EHR IDs in public metadata; the browser can read it.
- Don't assume private metadata is safe without a BAA. It is still stored in Clerk.
- Don't test sign-in with real patients' emails or phone numbers. Use made-up test users.
- Don't email the user CSV export or leave it on a shared drive.
What to ask Clerk before you sign
Because the BAA text is not public (Clerk: public pages we checked (8 pages), verified November 15, 2026), ask Clerk sales for it and get answers in writing:
- Coverage. Which Clerk features and add-ons does the Subcontractor BAA cover? Does it cover user metadata, logs, organizations, and the sign-in emails and texts Clerk sends?
- Messages. Clerk delivers sign-in emails through its own email provider by default (Email and SMS templates | Clerk Docs, verified November 15, 2026). Is that provider covered under the BAA chain? Clerk's docs also say that to customize SMS content you must deliver it yourself (Email and SMS templates | Clerk Docs, verified November 15, 2026); if you do, the SMS vendor you choose is transmitting messages to your patients for you, which makes it a business associate that needs its own BAA (HHS (eCFR), 45 CFR 160.103 -- Definitions., verified November 15, 2026) (see Twilio and BAAs).
- Subcontractors. HIPAA requires a BAA to make the vendor's own subcontractors agree to the same restrictions (HHS (eCFR), 45 CFR 164.504 -- Uses and disclosures: Organizational requirements., verified November 15, 2026). Ask for the list.
- Breach reporting. How and how fast will Clerk notify you? HIPAA requires a business associate to notify you without unreasonable delay, and no later than 60 calendar days after it discovers a breach (HHS (eCFR), 45 CFR 164.410 -- Notification by a business associate., verified November 15, 2026).
- Leaving. What happens to your patients' records at the end of the contract? A BAA must require return or destruction of PHI where feasible (HHS (eCFR), 45 CFR 164.504 -- Uses and disclosures: Organizational requirements., verified November 15, 2026).
- Configuration. Are there settings Clerk expects HIPAA customers to turn on? We found no public page describing any (Clerk: public pages we checked (11 pages), verified November 15, 2026).
Also ask about sign-in activity logs and how long they are kept. HIPAA expects you to record and review activity in systems that hold ePHI (HHS (eCFR), 45 CFR 164.312 -- Technical safeguards., verified November 15, 2026) (HHS (eCFR), 45 CFR 164.308 -- Administrative safeguards., verified November 15, 2026), and sign-ins are part of that record.
If Enterprise is not an option
You have two honest choices. One: keep Clerk only for people who are not patients, such as staff on an internal tool that never touches PHI, and remove patient sign-in from it. Two: move patient sign-in to a provider whose BAA terms fit your practice. For comparison, Amazon Cognito is on AWS's HIPAA Eligible Services list (HIPAA Eligible Services Reference - Amazon Web Services (AWS), verified November 26, 2026), and AWS says eligible services may not be used with PHI until you sign AWS's BAA (HIPAA Eligible Services Reference - Amazon Web Services (AWS), verified November 26, 2026) (see AWS under a BAA), Google lists BAA coverage for Identity Platform but not Firebase Authentication (Google / Firebase, Differences between Identity Platform and Firebase Authentication | Google Cloud Documentation, verified November 15, 2026), and Auth0 lists HIPAA/BAA as an Enterprise add-on (Auth0 by Okta, Pricing - Auth0, verified November 15, 2026) (see the Auth0 page). Check each vendor's current terms yourself; the BAA Matrix tracks them with dates.
Switching does not mean starting over. Clerk lets admins export a CSV of users with hashed passwords (Migrating - Migrating your data | Clerk Docs, verified November 15, 2026), which is the starting point for moving accounts. Whether the new provider can import those hashes, so patients avoid a password reset, is a question for that provider.
Keep, refactor, or rebuild?
Keep if you move to Clerk's Enterprise plan with a signed BAA and take clinical answers out of Clerk metadata and session tokens: the sign-in screens stay, and only data placement changes. Refactor if Enterprise is not an option: keep the screens and workflow, replace the sign-in layer with a provider whose BAA terms fit your practice, and move accounts using Clerk's user export. Either way, roles must be set and checked on your server.
Sign-in is usually a contained part of a vibe-coded app to change. The patient-facing screens and workflow can stay. What changes is where patient details are stored, and, if you switch providers, the sign-in pages and the code that checks who is signed in. If you are not sure which bucket your app is in, this guide to keep, refactor or rebuild walks through the decision, and the Stack Checker shows the BAA gaps in your stack.
Frequently asked questions
Does Clerk sign a BAA on its free or lower plans?
Clerk's pricing comparison lists the HIPAA BAA as available on the Enterprise plan and marks it Not included on the other self-serve plans shown (Clerk Pricing, verified November 15, 2026). Its terms bar sending or storing HIPAA-regulated health information without the BAA (Clerk Standard Terms and Conditions, verified November 15, 2026).
Is a patient's email address in Clerk really PHI?
It can be. HIPAA's definition covers demographic information a provider collects that relates to care and identifies the person (HHS, 45 CFR 160.103 Definitions, verified November 15, 2026). A portal user list is a list of your patients. Your counsel decides how it applies to your app; plan for a BAA unless they say otherwise.
Clerk's security page talks about HIPAA. Does that make my app compliant?
No. A vendor's HIPAA program covers the vendor, not your app. Clerk says its platform controls are the same on every plan and that plans gate the agreements (Clerk, Security & Compliance at a Glance, verified November 15, 2026). No authority certifies software as HIPAA compliant. Your practice still needs the signed BAA, server-side access rules, and its own risk analysis (HHS (eCFR), 45 CFR 164.308 -- Administrative safeguards., verified November 15, 2026).
Can I keep Clerk and just store health data somewhere else?
Moving clinical answers out of Clerk is the right step on any plan. It may not be enough on its own. Clerk would still hold your patient list: names, emails and phone numbers. If your counsel treats that list as PHI, Clerk's terms bar storing it without Clerk's BAA (Clerk Standard Terms and Conditions, verified November 15, 2026), which is an Enterprise-plan item (Clerk Pricing, verified November 15, 2026).
If I leave Clerk, do my patients have to make new accounts?
Not necessarily. Clerk lets admins export a CSV of users including hashed passwords (Migrating - Migrating your data | Clerk Docs, verified November 15, 2026). Whether your new sign-in provider can import them is a question for that provider. Treat the export file as patient data.
Palo Alto Health Labs Fabrica
Keep building. We make it safe.
Patients already signing in to your vibe-coded app through Clerk? Fabrica checks before each release that each user reaches only the records their role permits and that no outside service receives PHI without an agreement.
Fabrica moves the patient data in your vibe-coded app into an environment your practice owns, built for HIPAA compliance, with a BAA. You keep building in the tool you already use. Start with a 30-minute call about what you have built and where patient data goes today.
See how Fabrica works and book a 30-minute call
Please do not send patient information when you get in touch. The call is a conversation, not an audit or legal advice.
Sources
Every vendor statement on this page comes from the vendor's own terms, documentation or trust pages, or from the regulator, opened and read on the date shown. Vendor terms change; confirm the current version and your own signed agreement before relying on it. This page is general information, not legal advice.
- Clerk Pricing. Checked November 15, 2026.
- Clerk Standard Terms and Conditions. Checked November 15, 2026. Page dated October 1, 2026.
- Clerk, Security & Compliance at a Glance. Checked November 15, 2026.
- Clerk, Data Processing Addendum. Checked November 15, 2026. Page dated November 26, 2024.
- Users - User management | Clerk Docs. Checked November 15, 2026. Page dated Nov 12, 2026.
- Clerk: public pages we checked (8 pages). Checked November 15, 2026.
- Clerk: public pages we checked (11 pages). Checked November 15, 2026.
- HHS (eCFR), 45 CFR 160.103 -- Definitions.. Checked November 15, 2026. Page dated eCFR text current as of 2026-11-12 (Title 45 up to date as of 2026-11-12).
- HHS (eCFR), 45 CFR 164.502 -- Uses and disclosures of protected health information: General rules.. Checked November 15, 2026. Page dated eCFR text current as of 2026-11-12 (Title 45 up to date as of 2026-11-12).
- HHS (Federal Register via govinfo.gov), Modifications to the HIPAA Privacy, Security, Enforcement, and Breach Notification Rules Under the HITECH Act and GINA; Other Modifications to the HIPAA Rules (Final Rule), 78 FR 5566. Checked November 15, 2026. Page dated 2013-01-25.
- HHS, 45 CFR 160.103 Definitions. Checked November 15, 2026.
- User metadata | Clerk Docs. Checked November 15, 2026.
- Email and SMS templates | Clerk Docs. Checked November 15, 2026.
- Migrating - Migrating your data | Clerk Docs. Checked November 15, 2026. Page dated Nov 13, 2026.
- HHS (eCFR), 45 CFR 164.312 -- Technical safeguards.. Checked November 15, 2026. Page dated eCFR text current as of 2026-11-12 (Title 45 up to date as of 2026-11-12).
- HHS (eCFR), 45 CFR 164.504 -- Uses and disclosures: Organizational requirements.. Checked November 15, 2026. Page dated eCFR text current as of 2026-11-12 (Title 45 up to date as of 2026-11-12).
- HHS (eCFR), 45 CFR 164.410 -- Notification by a business associate.. Checked November 15, 2026. Page dated eCFR text current as of 2026-11-12 (Title 45 up to date as of 2026-11-12).
- HHS (eCFR), 45 CFR 164.308 -- Administrative safeguards.. Checked November 15, 2026. Page dated eCFR text current as of 2026-11-12 (Title 45 up to date as of 2026-11-12).
- HIPAA Eligible Services Reference - Amazon Web Services (AWS). Checked November 26, 2026. Page dated Last Updated: November 16, 2026.
- Google / Firebase, Differences between Identity Platform and Firebase Authentication | Google Cloud Documentation. Checked November 15, 2026. Page dated Last updated 2026-11-12 UTC.
- Auth0 by Okta, Pricing - Auth0. Checked November 15, 2026.