Key takeaway
Building a HIPAA-compliant app means designing software that supports the Security Rule's administrative, physical and technical safeguards for electronic protected health information (ePHI), using only vendors that sign business associate agreements, and backing it with a documented risk analysis. There is no official HIPAA certification for apps; compliance is an ongoing program run by the covered entity or business associate, and the software is one part of it.
Last reviewed November 17, 2026
Step 1: Determine whether HIPAA applies to your app
HIPAA applies to covered entities (health plans, health care clearinghouses and health care providers that conduct standard electronic transactions such as claims) and to their business associates. If your app is built for or on behalf of a hospital, clinic, health plan or another business associate and it handles PHI for them, HIPAA applies to the PHI it processes.
Many direct-to-consumer apps are not covered. A symptom tracker that a consumer downloads and uses on their own is usually outside HIPAA, but it may be subject to the FTC Act, the FTC Health Breach Notification Rule (amended in 2024) and state laws such as Washington's My Health My Data Act. The same company can run both kinds of product, so map the answer per data flow, not per company.
Write the conclusion down. A one-page applicability memo, reviewed by counsel, will answer the first question in every enterprise security questionnaire and will determine which contracts you need.
| Scenario | Typical HIPAA status | Why |
|---|---|---|
| Patient portal built for a health system | Business associate (you) handling PHI for a covered entity | You create, receive, maintain or transmit PHI on the provider's behalf. |
| Telehealth platform operated by a medical group | Covered entity (the group) plus business associate vendors | The provider bills electronically and the platform vendors touch PHI. |
| Consumer fitness or wellness app with no provider link | Usually not HIPAA; FTC and state law likely apply | No covered entity relationship exists for the data. |
| Consumer app that imports records via a patient-directed API | Usually not HIPAA once in the consumer's chosen app | The individual directed the disclosure; FTC rules may still apply. |
Step 2: Build a data inventory and data flow map
You cannot protect PHI you have not located. List every data element the app will collect or receive, classify each one (PHI, identifiers, operational data, de-identified data) and record where it is created, stored, processed, transmitted and deleted.
Then draw the flows. Include the ones that teams forget: crash reports, analytics events, customer support tools, email and SMS notifications, data warehouse exports, AI model calls and backups. Every arrow that carries PHI to a third party is a vendor that needs a BAA or a design change that keeps PHI out of that flow.
- 1
List data elements
Name, date of birth, MRN, diagnoses, medications, images, messages, device readings, IP addresses and anything else tied to an individual.
- 2
Classify each element
Mark PHI, direct identifiers and sensitive categories such as behavioral health, reproductive health or substance use disorder records under 42 CFR Part 2.
- 3
Trace the lifecycle
For each element, record the system of record, copies, caches, logs, exports and the retention or deletion rule.
- 4
Mark trust boundaries
Draw where data crosses from device to API, from your cloud account to a vendor and from production to analytics.
Step 3: Perform a security risk analysis
The Security Rule requires an accurate and thorough assessment of the potential risks and vulnerabilities to the confidentiality, integrity and availability of ePHI (45 CFR 164.308(a)(1)(ii)(A)) and a risk management process to reduce them (164.308(a)(1)(ii)(B)). For a new app, do this at design time, using the data flow map as the input, and update it as the design changes.
A useful risk analysis lists assets, threats, existing controls, likelihood, impact and a risk rating, then records the decision for each risk: mitigate, accept with justification, transfer or avoid. NIST SP 800-66r2 (2024) is a practical implementation guide for this work. OCR has made inadequate risk analysis a recurring enforcement theme, so treat this as a living document rather than a launch checkbox.
Step 4: Select vendors and sign business associate agreements
Every vendor that creates, receives, maintains or transmits ePHI on your behalf is a business associate and needs a BAA (45 CFR 164.502(e) and 164.504(e)). HHS cloud guidance is explicit that a cloud provider storing encrypted ePHI is still a business associate even if it does not hold the key.
Check BAAs before you write code against an SDK. AWS, Microsoft Azure and Google Cloud sign BAAs and publish lists of HIPAA-eligible services, and only those services, configured correctly, should touch ePHI. Many popular analytics, session replay, chat, email and SMS tools either do not sign BAAs or only sign them on specific plans.
Cloud and hosting
Confirm the BAA covers every service in your architecture, not just the account. Review the provider's HIPAA-eligible services list for each one.
Communications
Video, chat, email and SMS vendors that carry PHI need BAAs. If a vendor will not sign, design messages that carry no PHI.
Observability
Logging, APM and error tracking tools often receive PHI by accident. Either sign a BAA or scrub PHI before events leave your environment.
AI and data platforms
Model providers, vector databases and data warehouses that receive PHI need BAAs and configurations that disable training on your data where offered.
Step 5: Design the architecture around the risk analysis
Architecture is where the HIPAA compliant app development decisions become concrete. Separate PHI from non-PHI services, encrypt data at rest and in transit, minimize the number of components that can read PHI, and centralize audit logging. Keep infrastructure in code so every environment is reviewable and reproducible.
Decide early on tenancy (shared database with row-level isolation, schema per tenant or account per tenant), on where encryption keys live and who can use them, and on how backups and disaster recovery will meet your contingency plan. Our architecture guide covers these patterns in more depth.
HIPAA requirement
What the rules themselves require
- Access control, audit controls, integrity, person or entity authentication and transmission security standards (45 CFR 164.312).
- Assess encryption at rest and in transit as addressable specifications: implement them or document why not and what equivalent measure you use.
- Contingency planning, including data backup, disaster recovery and emergency mode operation plans (164.308(a)(7)).
Recommended practice
Widely accepted security practice
- Encrypt all ePHI at rest and in transit with TLS 1.2 or later and managed keys, which also supports the breach notification safe harbor.
- Infrastructure as code with peer review and policy checks for every change.
- A dedicated, isolated cloud account or subscription for production PHI workloads.
Architecture decision
Depends on your product and risk analysis
- Field-level encryption or tokenization for the most sensitive attributes.
- Account-per-tenant isolation for enterprise customers that require it.
- Multi-region active-active deployment, depending on availability targets.
Your organization's responsibility
Policies and operations software cannot do
- Executing BAAs with customers and subcontractors.
- Approving the contingency plan and testing it on a schedule.
- Deciding risk acceptance for residual risks the architecture does not eliminate.
Step 7: Build with a secure software development lifecycle
Secure development is how the controls you designed survive contact with a deadline. Write security requirements as user stories with acceptance criteria, threat model new features, review code with a security checklist and run automated checks in the pipeline.
- Static analysis and secret scanning on every pull request.
- Dependency scanning and a software bill of materials for every release.
- Infrastructure-as-code scanning for public buckets, open security groups and unencrypted volumes.
- Synthetic or de-identified test data in non-production environments; no production PHI copied to developer laptops.
- Logging libraries configured to redact PHI by default, with tests that fail if known PHI fields appear in log output.
Step 8: Test security controls and verify against requirements
Test the controls, not just the features. Verify that a user in one clinic cannot read another clinic's patients by changing an ID in a request, that sessions expire, that audit events are written for every PHI read and change, and that backups restore.
Use OWASP ASVS for web and API verification and OWASP MASVS for mobile. Commission an independent penetration test before launch and after major changes; enterprise customers will usually ask for a summary of the most recent one.
Step 9: Prepare for launch
Launch readiness is a cross-functional checklist. Engineering confirms the controls are in place; the covered entity or business associate confirms the policies, training and contracts that software cannot provide.
- 1
Update the risk analysis
Reflect the as-built system, open findings from testing and the decisions made about residual risk.
- 2
Confirm every BAA
Match the vendor list against the data flow map. Any PHI flow without a BAA is a launch blocker.
- 3
Rehearse incident response
Run a tabletop exercise covering detection, containment, breach risk assessment and notification timelines.
- 4
Verify monitoring and alerting
Alerts for authentication anomalies, privilege changes, bulk exports and infrastructure drift reach an on-call person.
- 5
Package security documentation
Architecture overview, data flow diagram, encryption and key management description, and pen test summary for customer reviews.
Step 10: Operate, monitor and improve
Most compliance failures happen after launch: a new analytics tag, a vendor added without a BAA, a dependency left unpatched, an audit log nobody reviews. Operations is where a HIPAA compliant app stays that way.
Schedule recurring activities: audit log review, access recertification, vulnerability patching against defined timelines, backup restore tests, annual or change-driven risk analysis updates, and periodic penetration tests. HHS published a Notice of Proposed Rulemaking in January 2025 that would expressly require several of these activities; it is a proposal, so check its current status, but building these habits now is sound practice either way.
Frequently Asked Questions
Is there an official HIPAA certification for apps?
No. HHS and OCR do not certify software, and no third party can make an app officially HIPAA certified. An app can be designed to support HIPAA requirements, and organizations can undergo independent assessments such as SOC 2 or HITRUST, but compliance remains the responsibility of the covered entity or business associate.
What is the first step in building a HIPAA-compliant app?
Determine whether HIPAA applies, then map the data. Whether you are a covered entity, a business associate or neither changes the rules, contracts and vendors you need, and the data flow map is the input to your risk analysis.
Do I need a BAA with my cloud provider if data is encrypted?
Yes. HHS guidance states that a cloud service provider that creates, receives, maintains or transmits ePHI is a business associate even if it stores only encrypted data and does not have the key. Use the provider's BAA and only its HIPAA-eligible services for ePHI.
Does using a HIPAA-eligible cloud make my app compliant?
No. Cloud providers operate under a shared responsibility model: they secure the underlying infrastructure, and you are responsible for configuration, access control, application security, logging and your own policies. A HIPAA-eligible cloud with a public storage bucket is still a breach.
Is encryption required by HIPAA?
Under the current Security Rule, encryption at rest and in transit are addressable specifications. Addressable does not mean optional: you must implement encryption if it is reasonable and appropriate, or document why not and use an equivalent measure. In modern cloud apps encryption is almost always reasonable, and the January 2025 proposed rule would make it expressly required with limited exceptions.
How long does it take to build a HIPAA-compliant app?
It depends on scope, integrations and the review processes of your customers and vendors. Our timeline guide gives rough phase-by-phase ranges and explains what typically extends them, such as EHR vendor approvals and hospital security reviews.
Can I use Google Analytics or a Meta Pixel in a healthcare app?
Not where they would receive PHI unless the vendor signs a BAA and the disclosure is otherwise permitted, which these tools generally do not offer. OCR guidance and enforcement have focused heavily on tracking technologies on authenticated pages such as patient portals.