Already put patient data in
I Already Put Patient Data in Lovable. What Do I Do Now?
Last reviewed: . Vendor facts checked against each vendor's own pages on the dates shown.
Short answer: If patient data is already in Lovable, which says it is not HIPAA-compliant and does not sign Business Associate Agreements (FAQ - Lovable Documentation, verified November 15, 2026), stop adding more today but do not delete the project yet. Write down what went in, for how many patients, since when and who could see it, then unpublish the app and call your privacy officer or counsel.
Take a breath. Speed matters today, but order matters more. Every step below either limits who can still reach your patients' details or preserves the trail your counsel will ask to see.
This page is not legal advice. It will not tell you whether you broke a rule. That call belongs to your privacy officer and a healthcare attorney. What it can do is help you walk into that conversation with the facts in hand.
The first five things to do today
Stop adding patient data. Tell anyone who uses the app to stop entering real patient details now. Do not paste patient records into the Lovable chat to ask it to clean up the problem. That puts more data in more places. If you want to keep building, switch to made-up (synthetic) patients.
Do not delete the project or wipe the tables yet. Deleting feels like the safe move. It is not, for two reasons. First, the data does not vanish right away: when you delete a project that uses Lovable's built-in backend, Lovable pauses that backend and the data in it stays. (Delete a project - Lovable Documentation, verified November 15, 2026) Lovable also keeps up to roughly 14 days of daily database backups. (Back up, restore, and export your project's database - Lovable Documentation, verified November 15, 2026) Second, deleting starts a clock on your evidence. Lovable keeps a deleted project's code, version history and project chat for 60 days. (Delete a project - Lovable Documentation, verified November 15, 2026) Lovable's deletion page then says: “After 60 days, Lovable permanently deletes the project, its version history, and its project chat. Nobody can bring it back after that, including Lovable support.” (Delete a project - Lovable Documentation, verified November 15, 2026) That chat may be the best record of what you pasted and when.
Put the facts on paper before memory blurs them. One page is enough. What kinds of data went in (names, dates of birth, phone numbers, diagnoses, insurance card photos, visit notes). Roughly how many patients. The first date real data went in. Who had access to the project, and who could open the app. Whether the app was published, and whether it was public. Lovable records every change as a version, so the History panel can help you date things. (Revert and restore your project with version history - Lovable Documentation, verified November 15, 2026)
Close the doors, and note when you did it. A published Lovable app is public by default: “Anyone with the URL can visit your published app. This is the default.” (Control who can visit your published app - Lovable Documentation, verified November 15, 2026) There is no password on a published app. (Control who can visit your published app - Lovable Documentation, verified November 15, 2026) If yours is live with real patient data, unpublish it. Unpublishing takes the live app offline while the project stays in your workspace, so the record survives. (Publish your Lovable project - Lovable Documentation, verified November 15, 2026) Turn off any shared preview links too. Anyone with one of those links can open your working version, with no Lovable account. (Preview and test your app in Lovable - Lovable Documentation, verified November 15, 2026) Remove project collaborators who do not need access. Write the date and time next to each change.
Get your privacy officer or a healthcare lawyer on the phone today. Your privacy officer is the first call if you have one. If that role is yours, ring a healthcare attorney instead. Bring your one-page notes. Do not email patient details to anyone while you set this up, including to us.
Do not use Restore to scrub data. Rolling the database back to an older backup can look like a clean way to remove patient rows. Lovable's backup page says: “Restoring cannot be undone. Any data created or changed after the chosen backup is lost.” (Back up, restore, and export your project's database - Lovable Documentation, verified November 15, 2026) A restore can also erase what your counsel needs to see.
What Lovable says, in its own words (checked November 15, 2026)
Lovable says plainly that its service is not set up for patient data, including on its Enterprise plan. Its Enterprise documentation says:
“Is Lovable HIPAA-compliant? No. Lovable does not currently sign Business Associate Agreements and is not HIPAA-compliant. Do not upload protected health information or other restricted categories of data.”
Its FAQ adds that this covers the apps you build, not just the builder itself:
“Lovable’s Terms of Service do not allow protected health information, payment card data, financial account numbers, government identifiers, or biometric data through Lovable, including in the apps you build.”
Lovable's Terms of Service bar uploading HIPAA protected health information unless your plan or a separate written agreement expressly permits it. (Lovable Terms & Conditions, verified November 15, 2026) The same section says its standard services are not designed to provide regulatory-grade safeguards for that data, and that Lovable may remove such data or suspend services if it learns of non-compliant use. (Lovable Terms & Conditions, verified November 15, 2026) If Lovable removes the data or suspends the project, your record of what happened could go with it. That is one more reason to write things down today.
Two more facts that matter if you are dating your exposure:
- Lovable's Data Processing Agreement (DPA, a European-style privacy contract) comes only with Business and Enterprise plans. (FAQ - Lovable Documentation, verified November 15, 2026) A DPA is not a BAA, and section 3.8 of Lovable's DPA says the customer agrees not to upload protected health information. (Lovable Data Processing Agreement, verified November 15, 2026)
- Who could see the project itself has changed over time. For the period before November 6, 2025, Lovable says: “Projects were public by default for free plans, and only paid workspaces could change visibility.” (Control project access - Lovable Documentation, verified November 15, 2026) For April 22, 2026 onward, it says: “You can no longer create public projects. Public project visibility has been completely removed.” (Control project access - Lovable Documentation, verified November 15, 2026) If your project was on a free plan before November 6, 2025, tell your counsel.
Where the patient data likely sits in your Lovable project
A Lovable app is not one box. Patient data spreads to several places, and your notes should cover each one. Lovable's built-in backend, called Cloud, includes a database, storage, authentication, realtime and functions. (Built-in backend - Lovable Documentation, verified November 26, 2026) It is on by default, and Lovable can switch it on when a feature you ask for needs it. (Built-in backend - Lovable Documentation, verified November 15, 2026)
| Place | What may be there | Why it matters |
|---|---|---|
| Database tables | Patient rows: names, birth dates, visit reasons, notes | The database, user accounts and file storage run together on one backend. (Built-in backend - Lovable Documentation, verified November 15, 2026) |
| User accounts (sign-in) | Patient names, emails, phone numbers if patients log in | Lovable's Trust Center lists Supabase as the subprocessor for customer databases and sign-in data, in the EU by default. (Lovable's Trust Center, verified November 15, 2026) |
| File storage | Uploaded insurance cards, IDs, forms, photos | Storage files are not in the database export and must be pulled separately. (Back up, restore, and export your project's database - Lovable Documentation, verified November 15, 2026) |
| Project chat | Anything you typed or pasted while building, including screenshots | Project access controls who sees it. “This includes access to your source code, project chat history, work in progress, and changes that have not yet been published.” (Control project access - Lovable Documentation, verified November 15, 2026) |
| Backend logs | Requests, sign-ins, database activity, error details | “Logs record what happens in your app's backend: requests, function output, database activity, sign-ins, and errors.” (Logs - Lovable Documentation, verified November 15, 2026) On how long they are kept, Lovable says: “The range the viewer offers does not tell you how long Lovable keeps your logs.” (Logs - Lovable Documentation, verified November 15, 2026) |
| AI features in your app | Patient text sent to a model, if your app uses Lovable's built-in AI | Lovable's AI dashboard can show the redacted request and response of individual calls. (AI features for your app - Lovable Documentation, verified November 15, 2026) |
| Code and GitHub | Sample patients typed into code or seed files | Git sync copies code but never the data inside your database. (Sync your Lovable project code with GitHub, GitLab, or Bitbucket - Lovable Documentation, verified November 15, 2026) A connected repository “stays in your GitHub account and is never deleted with the project.” (Delete a project - Lovable Documentation, verified November 15, 2026) |
| Backups and exports | Full copies of the database | Lovable keeps up to roughly 14 days of daily backups. (Back up, restore, and export your project's database - Lovable Documentation, verified November 15, 2026) An export is saved to the project's storage, which makes it one more copy. (Back up, restore, and export your project's database - Lovable Documentation, verified November 15, 2026) |
For the general version of this map, see how to make a Lovable app HIPAA compliant. For this page, the point is narrower: every row above is a place to list in your notes, and a place to ask Lovable about in writing.
Is this a breach? What HHS's rules say, and who decides
HIPAA's Breach Notification Rule defines the term this way: “Breach means the acquisition, access, use, or disclosure of protected health information in a manner not permitted under subpart E of this part which compromises the security or privacy of the protected health information.” (HHS (eCFR), 45 CFR 164.402 -- Definitions., verified November 15, 2026)
The rule then starts from a presumption. An impermissible use or disclosure of patient data “is presumed to be a breach unless the covered entity or business associate, as applicable, demonstrates that there is a low probability that the protected health information has been compromised based on a risk assessment of at least the following factors:” (HHS (eCFR), 45 CFR 164.402 -- Definitions., verified November 15, 2026)
In plain terms, the four factors are:
- What data was involved: which identifiers, and how easily a patient could be identified. (HHS, 45 CFR 164.402 Definitions (eCFR), verified November 15, 2026)
- Who received the data or used it.
- Whether anyone actually acquired or viewed it.
- How far the risk has been reduced since. (HHS (eCFR), 45 CFR 164.402 -- Definitions., verified November 15, 2026)
Here is how your Lovable notes feed that assessment. The first factor is your list of data types. The second asks who received the data. That may include Lovable, plus anyone who could open a public app, a preview link or the project. The third asks whether anyone actually viewed it, which is where logs and access lists help. The fourth is mitigation: unpublishing, removing access and written confirmations from Lovable. Your counsel weighs all four and decides. Do not make that call alone.
Timing
Should counsel find a breach, each affected patient gets notice without unreasonable delay, and in any case within 60 calendar days of discovery. (HHS (eCFR), 45 CFR 164.404 -- Notification to individuals., verified November 15, 2026) A breach counts as discovered on the first day it is known, or would have been known with reasonable diligence. (HHS, 45 CFR 164.404 Notification to individuals (eCFR), verified November 15, 2026) That is why today's date belongs at the top of your notes.
HHS hears about it too. When 500 or more people are affected, HHS is notified alongside the patients. (HHS (eCFR), 45 CFR 164.408 -- Notification to the Secretary., verified November 15, 2026) Below 500, the practice records the breach in a log and sends HHS that year's entries no later than 60 days after the year ends. (HHS (eCFR), 45 CFR 164.408 -- Notification to the Secretary., verified November 15, 2026) Your counsel will also tell you whether state rules apply; see state AG and state-law exposure.
Keep your notes. HIPAA's Security Rule requires the documentation it calls for to be kept for 6 years. (HHS (eCFR), 45 CFR 164.316 -- Policies and procedures and documentation requirements., verified November 15, 2026) Ask counsel whether your incident notes belong in that file.
What to ask Lovable, in writing
A BAA must require the vendor to report unauthorized disclosures, and to return or destroy patient data at the end of the contract where feasible. (HHS (eCFR), 45 CFR 164.504 -- Uses and disclosures: Organizational requirements., verified November 15, 2026) (HHS (eCFR), 45 CFR 164.504 -- Uses and disclosures: Organizational requirements., verified November 15, 2026) Lovable says it does not currently sign BAAs, so you do not have those contract terms with it. Ask anyway, in writing, and keep the replies. Your counsel may want to send or review the request first.
- Deletion scope. When you delete the project, which copies are removed and when: database, storage files, project chat, version history, backups, logs and AI request records?
- Log retention. How long are backend logs kept? Lovable's docs say the viewer's range does not answer this. (Logs - Lovable Documentation, verified November 15, 2026)
- Log export. Lovable says logs are not audit evidence on their own. (Logs - Lovable Documentation, verified November 15, 2026) For an export of your app's logs, its docs point you to support. (Logs - Lovable Documentation, verified November 15, 2026) Ask for one covering the whole period real data was present.
- Access. Is there a record of who opened the published app or preview links during that period?
- BAA status. Lovable says it does not currently sign BAAs. (Lovable for Enterprise - Lovable Documentation, verified November 15, 2026) Ask sales in writing if that has changed. Do not assume it has.
Before you delete anything, you can save the log entries you can see: the Logs view has a Download button that “saves the loaded entries as a JSON file” (Logs - Lovable Documentation, verified November 15, 2026) The viewer's preset ranges only go back up to 5 days. (Logs - Lovable Documentation, verified November 15, 2026) Treat the downloaded file as patient data. For ready-made wording, see the BAA request email templates.
Getting the data onto BAA-covered infrastructure
Once counsel has what it needs, the patient data should live somewhere covered by a BAA. Lovable does not move a project to another backend in one step. (Back up, restore, and export your project's database - Lovable Documentation, verified November 15, 2026) The pieces come out separately:
- Database: a compressed PostgreSQL archive, loaded into a new database with pg_restore. (Back up, restore, and export your project's database - Lovable Documentation, verified November 15, 2026) It includes user accounts and password hashes, but not storage files, edge function code, secrets or sign-in settings. (Back up, restore, and export your project's database - Lovable Documentation, verified November 15, 2026)
- Code: Git sync (Sync your Lovable project code with GitHub, GitLab, or Bitbucket - Lovable Documentation, verified November 15, 2026), or a .zip download on paid plans. (View and edit your project's code - Lovable Documentation, verified November 15, 2026)
- Files: downloaded from storage on their own. (Back up, restore, and export your project's database - Lovable Documentation, verified November 15, 2026)
The destination needs a signed BAA before any patient data lands. AWS, for example, says it will sign a Business Associate Addendum (HIPAA Compliance - Amazon Web Services (AWS), verified November 15, 2026), and that patient data should be stored, processed and sent only in the services its BAA lists as HIPAA-eligible. (HIPAA Compliance - Amazon Web Services (AWS), verified November 15, 2026) Lovable's FAQ says its terms reach the apps you build (FAQ - Lovable Documentation, verified November 15, 2026), so ask counsel how the production app should run, not just where the database sits. Moving a Lovable app to a HIPAA-ready stack walks through the full move.
This is the work Fabrica does. In most cases, an existing app can be kept: PAHL moves the live app and its patient data into a cloud account your practice owns, and you keep improving it on synthetic patient data. PAHL signs a BAA with your practice and confirms one is in place with each vendor that handles patient data. Fabrica also has a defined incident response for later problems: PAHL runs the technical investigation, while notification decisions stay with your practice and its counsel.
How this goes wrong: a weekend of do-it-yourself cleanup inside Lovable
Hypothetical. Imagine a family physician who built a new-patient intake app in Lovable. She sent the published link to new patients, and for six weeks they typed in their history and uploaded insurance card photos. A colleague asks whether Lovable signs a BAA. She checks, and decides to clean things up herself over the weekend before telling anyone.
- She exports the database to be safe. Lovable saves the export to the project's storage. (Back up, restore, and export your project's database - Lovable Documentation, verified November 15, 2026) Her cleanup starts by making one more full copy of every patient row, inside the same project.
- She asks the Lovable chat to swap the real patients for fake ones. To show it which rows to change, she pastes in a few names. Those names now sit in the project chat, which anyone with project access can read. (Control project access - Lovable Documentation, verified November 15, 2026)
- Some rows survive, so she restores a backup from before launch. A restore cannot be undone, and everything created after that backup is lost. (Back up, restore, and export your project's database - Lovable Documentation, verified November 15, 2026) That includes the only list of which patients submitted forms, and when.
- She leaves the app published, now showing empty forms. She forgets the preview link she texted her office manager in week one. On Free and Pro plans those links expire after 7 days (Preview and test your app in Lovable - Lovable Documentation, verified November 15, 2026), but she cannot say who opened it while it worked.
On Monday her counsel asks the four questions: what data, how many patients, who could have seen it, and what has been done to reduce the risk. She can answer the last one only with steps that created more copies and erased the record. The rule presumes a breach unless a risk assessment shows a low probability that the data was compromised. (HHS (eCFR), 45 CFR 164.402 -- Definitions., verified November 15, 2026) Her weekend made that assessment harder to support, and none of it took the app offline.
The safer order is the boring one: unpublish, write it down, call counsel, ask Lovable in writing. Change or delete data only on counsel's advice.
Keep, refactor, or rebuild?
Keep the screens and the workflow; replace the database, sign-in, storage and hosting that hold patient data. Lovable says it does not sign BAAs, and its terms bar patient data in the apps you build, so production should not stay on Lovable's hosting or built-in backend. The code exports through Git sync and the database exports as a PostgreSQL archive, which makes a refactor realistic. Keep using Lovable to prototype, on made-up patients only.
The incident and the app are two separate questions. Handle the incident first, with counsel. The app itself is often worth saving. Lovable lets you take your code (View and edit your project's code - Lovable Documentation, verified November 15, 2026) and your database (Back up, restore, and export your project's database - Lovable Documentation, verified November 15, 2026) with you, so the screens and workflow you designed can be the starting point. What changes is everything that touches patient data: the database, sign-in, file storage, hosting and any AI calls. For deciding in more detail, see keep, refactor or rebuild, and for the vendor overview, is Lovable HIPAA compliant.
Frequently asked questions
Did I violate HIPAA by putting patient data in Lovable?
We cannot tell you that, and neither should a web page. HHS's rule starts from a presumption: an impermissible use or disclosure counts as a breach unless a risk assessment shows a low probability the data was compromised. (HHS (eCFR), 45 CFR 164.402 -- Definitions., verified November 15, 2026) That assessment, and the conclusion, belong to your privacy officer and counsel.
Should I delete my Lovable project right now?
Not yet. Unpublish it instead, which takes the app offline and keeps the project. (Publish your Lovable project - Lovable Documentation, verified November 15, 2026) A deleted project's chat and version history are permanently gone after 60 days (Delete a project - Lovable Documentation, verified November 15, 2026), and that history may be the record your counsel needs. Delete on counsel's advice.
Do I have to tell my patients?
Only your counsel can say whether notice is required. If it is, patients must be notified without unreasonable delay and no later than 60 calendar days after the breach is discovered. (HHS (eCFR), 45 CFR 164.404 -- Notification to individuals., verified November 15, 2026) Discovery can date from when you knew, or should have known with reasonable diligence. (HHS, 45 CFR 164.404 Notification to individuals (eCFR), verified November 15, 2026)
Will Lovable sign a BAA now that the data is already there?
Lovable says it does not currently sign Business Associate Agreements, including on Enterprise. (Lovable for Enterprise - Lovable Documentation, verified November 15, 2026) Ask its sales team in writing if that has changed, but plan to move the data to BAA-covered infrastructure.
Could other people see my project chat, where I pasted patient details?
Project access controls who sees the editor and the chat history. (Control project access - Lovable Documentation, verified November 15, 2026) Lovable says projects on free plans were public by default before November 6, 2025 (Control project access - Lovable Documentation, verified November 15, 2026), and it removed public project visibility on April 22, 2026. (Control project access - Lovable Documentation, verified November 15, 2026) If your project dates from the earlier period, tell your counsel, and check who is in your workspace today.
Can I keep building in Lovable?
For prototyping with made-up patients, yes; Lovable is a quick way to design screens and workflows. Real patient data needs to live on infrastructure covered by a BAA. That is what Fabrica sets up: you keep building with AI tools on synthetic patients, and an expert reviews every release that touches patient data.
Palo Alto Health Labs Fabrica
Keep building. We make it safe.
Patient data already in Lovable and not sure what comes next? This is the conversation to have first.
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.
- FAQ - Lovable Documentation. Checked November 15, 2026.
- Delete a project - Lovable Documentation. Checked November 15, 2026.
- Back up, restore, and export your project's database - Lovable Documentation. Checked November 15, 2026.
- Revert and restore your project with version history - Lovable Documentation. Checked November 15, 2026.
- Control who can visit your published app - Lovable Documentation. Checked November 15, 2026.
- Publish your Lovable project - Lovable Documentation. Checked November 15, 2026.
- Preview and test your app in Lovable - Lovable Documentation. Checked November 15, 2026.
- Lovable for Enterprise - Lovable Documentation. Checked November 15, 2026.
- Lovable Terms & Conditions. Checked November 15, 2026. Page dated Last Updated: August 28, 2026; Effective Date: August 15, 2026.
- Lovable Data Processing Agreement. Checked November 15, 2026. Page dated Last updated: November 6, 2025.
- Control project access - Lovable Documentation. Checked November 15, 2026.
- Built-in backend - Lovable Documentation. Checked November 26, 2026.
- Lovable's Trust Center. Checked November 15, 2026.
- Logs - Lovable Documentation. Checked November 15, 2026.
- AI features for your app - Lovable Documentation. Checked November 15, 2026.
- Sync your Lovable project code with GitHub, GitLab, or Bitbucket - Lovable Documentation. Checked November 15, 2026.
- HHS (eCFR), 45 CFR 164.402 -- 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.404 -- Notification to individuals.. 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.408 -- Notification to the Secretary.. 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.316 -- Policies and procedures and documentation 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.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).
- View and edit your project's code - Lovable Documentation. Checked November 15, 2026.
- HIPAA Compliance - Amazon Web Services (AWS). Checked November 15, 2026.