HIPAA Compliance for Software: A Developer's Guide to the Rules, BAAs and Safeguards
When HIPAA applies to your app, what the Privacy, Security and Breach Notification Rules require, how BAAs work, and how to build the technical safeguards into your software.
Software must comply with HIPAA when it creates, receives, stores or transmits protected health information for a covered entity or business associate. That means signing business associate agreements, following the Privacy, Security and Breach Notification Rules, running a risk analysis, and building technical safeguards such as access control, audit logs, integrity checks, authentication and transmission security.
Photo: Unsplash
On this page
- Does HIPAA apply to your software?
- The 3 HIPAA rules software teams need to know
- Business associate agreements (BAAs)
- Technical safeguards translated for engineers
- Administrative and physical safeguards still apply
- Cloud hosting and HIPAA
- What about the proposed Security Rule update?
- Where to start: a step-by-step plan
- Conclusion
- Sources
A clinic wants to use your scheduling app. Their compliance officer asks 2 questions: “Will you sign a BAA?” and “How do you protect ePHI?” If you’re not sure how to answer, you’re not alone. Many founders building health software learn HIPAA on the fly, often mid-sale.
This guide explains HIPAA compliance for software in practical terms: when the law applies to you, what the 3 core rules require, how business associate agreements work, and how the technical safeguards translate into engineering work. We cite the US Department of Health and Human Services (HHS) throughout.
This is general information, not legal or medical advice. Talk to a qualified healthcare attorney about your specific situation.
Does HIPAA apply to your software?
HIPAA applies to 2 groups:
- Covered entities: health plans, healthcare clearinghouses, and healthcare providers that conduct certain transactions electronically.
- Business associates: people or companies that create, receive, maintain or transmit protected health information (PHI) on behalf of a covered entity, or on behalf of another business associate as a subcontractor.
If your software stores or processes PHI for a hospital, clinic, health plan or another business associate, you’re almost certainly a business associate. That includes cloud hosting, EHR add-ons, billing tools, telehealth platforms and analytics services.
If your app collects health data directly from consumers and isn’t working on behalf of a covered entity, HIPAA may not apply. That doesn’t mean no rules apply. The Federal Trade Commission’s amended Health Breach Notification Rule, effective July 29, 2024, makes clear that it covers most health apps and similar technologies not covered by HIPAA.
For context on where health software is heading, see our articles on AI in healthcare and telehealth and remote patient monitoring.
The 3 HIPAA rules software teams need to know
| Rule | What it covers | Key dates | Regulation |
|---|---|---|---|
| Privacy Rule | How PHI may be used and disclosed; patient rights; the minimum necessary standard | Most covered entities complied by April 14, 2003 (small health plans 2004) | 45 CFR Part 160 and Part 164, Subparts A and E |
| Security Rule | Administrative, physical and technical safeguards for electronic PHI (ePHI) | Most covered entities complied by April 20, 2005 (small health plans 2006) | 45 CFR Part 164, Subpart C |
| Breach Notification Rule | Notifying individuals, HHS and sometimes media after a breach of unsecured PHI | Interim final rule effective September 23, 2009, under the HITECH Act | 45 CFR 164.400–414 |
The 2013 Omnibus Rule, with a general compliance date of September 23, 2013, made business associates directly liable for complying with parts of the HIPAA Rules. That’s why your company, not just your customer, carries the legal risk.
The Privacy Rule in brief
The Privacy Rule sets when PHI can be used or disclosed, gives patients rights to access and amend their records, and requires reasonable efforts to limit uses and disclosures to the minimum necessary. For a software vendor, the practical impact is that you may only use PHI as your BAA allows, and you must help your customers meet patient access and amendment requests.
The Security Rule in brief
The Security Rule requires reasonable and appropriate administrative, physical and technical safeguards for ePHI. It’s deliberately flexible: HHS lets you weigh your size, costs and risks when choosing measures. The foundation is a documented risk analysis, which HHS describes as an ongoing process, not a one-time exercise.
The Breach Notification Rule in brief
After a breach of unsecured PHI, covered entities must notify affected individuals without unreasonable delay and no later than 60 days after discovery. Breaches affecting 500 or more people also require notice to HHS within 60 days and, when more than 500 residents of a state or jurisdiction are affected, to prominent media there. Smaller breaches can be logged and reported to HHS within 60 days after the end of the calendar year. Business associates must notify the covered entity of breaches they discover.
Business associate agreements (BAAs)
A BAA is the contract that lets a covered entity share PHI with you. HHS lists what it must include. In summary, a BAA must:
- Set the permitted and required uses and disclosures of PHI.
- Prohibit uses or disclosures beyond the contract or the law.
- Require appropriate safeguards, including Security Rule compliance for ePHI.
- Require reporting of improper uses, disclosures and security incidents, including breaches.
- Require subcontractors that handle PHI to agree to the same restrictions.
- Make PHI available for patient access, amendment and accounting of disclosures.
- Make internal practices and records available to HHS for compliance reviews.
- Require return or destruction of PHI at termination, where feasible.
Your BAA chain runs in both directions. You sign with your customers, and you need BAAs with any vendor that touches PHI for you: cloud hosts, email or SMS providers, logging tools, support desks and backup services.
Key takeaway: No BAA, no PHI. Before any vendor in your stack touches patient data, confirm a signed BAA is in place and that the specific services you use are covered by it.
Technical safeguards translated for engineers
The Security Rule’s technical safeguards sit in 45 CFR 164.312. Some implementation specifications are “required” and others are “addressable.” Addressable doesn’t mean optional: you must assess whether it’s reasonable and appropriate, implement it or an equivalent, and document your decision.
| Standard (164.312) | What the rule says | How software teams typically meet it |
|---|---|---|
| Access control | Allow access only to authorized people or software; unique user IDs and emergency access are required; automatic logoff and encryption are addressable | Role-based access, unique accounts, SSO and MFA, session timeouts, break-glass procedures, encryption at rest |
| Audit controls | Mechanisms to record and examine activity in systems containing ePHI | Immutable audit logs of who viewed or changed what, log retention, alerting and review |
| Integrity | Protect ePHI from improper alteration or destruction | Checksums, database constraints, versioning, write-once backups |
| Person or entity authentication | Verify that people or systems are who they claim to be | Strong authentication, MFA, signed service-to-service credentials |
| Transmission security | Guard ePHI sent over networks; integrity controls and encryption are addressable | TLS for all traffic, encrypted APIs, no PHI in URLs, email or push notifications |
A few practical engineering habits help a lot:
- Keep PHI out of logs, analytics events, error messages and crash reports.
- Separate production data from development and test environments; use synthetic data for testing.
- Encrypt data at rest and in transit. HHS treats PHI encrypted to its guidance standards as “secured,” which matters for breach notification.
- Apply least privilege for staff and services; review access regularly.
- Build an audit trail from day 1. Retrofitting one is painful.
Our guide to zero trust security covers the access model many health software teams now use.
Administrative and physical safeguards still apply
Technical controls aren’t enough on their own. The Security Rule also requires administrative safeguards, starting with the security management process: risk analysis, risk management, a sanction policy and information system activity review. You’ll also need a designated security official, workforce training, incident procedures, contingency planning and periodic evaluation.
Physical safeguards cover facility access, workstation use and device and media controls. If you run in a major cloud, the provider handles data center security, but your team still owns laptops, phones and how devices are wiped or disposed of.
Cloud hosting and HIPAA
HHS guidance says a cloud service provider that stores ePHI is a business associate even if it stores only encrypted data and doesn’t hold the key. HHS calls these “no-view” services. So you need a BAA with your cloud provider, and you need to configure services correctly. Major clouds offer BAAs but typically cover only specific eligible services, so check the list before you build.
HHS also warns that encryption alone isn’t enough to meet the Security Rule. You still need access controls, logging, backups and the rest.
Ransomware is a top risk for health data. HHS’s ransomware fact sheet says that when ransomware encrypts ePHI, a breach is presumed unless you can show a low probability that the PHI was compromised. Our guide to ransomware protection covers prevention and recovery.
What about the proposed Security Rule update?
HHS published a proposed rule to strengthen the Security Rule in the Federal Register on January 6, 2025. It would make most implementation specifications mandatory and add explicit requirements such as encryption of ePHI at rest and in transit, MFA, vulnerability scanning and network segmentation. As of this writing it hasn’t been finalized, and the current Security Rule remains in force. Many of the proposed controls are already good practice, so building them in now reduces future rework. Check HHS.gov for the latest status.
Where to start: a step-by-step plan
- Map your data. Document where PHI enters, where it’s stored, who can access it and where it leaves.
- Confirm your role. Decide whether you’re a business associate, subcontractor or outside HIPAA, and get legal advice.
- Sign BAAs. With customers, and with every vendor in your stack that touches PHI.
- Run a risk analysis. Use HHS guidance and document risks, likelihood, impact and planned fixes.
- Build technical safeguards. Access control, audit logs, integrity, authentication and encryption.
- Write policies and train staff. Include incident response and breach notification procedures.
- Test and repeat. Run restore tests, access reviews and periodic risk analysis updates.
Many health software companies also pursue a SOC 2 report to answer customer security questions. Note that HHS doesn’t certify products as “HIPAA compliant” and doesn’t recognize private HIPAA certifications as meeting your legal obligations.
Conclusion
HIPAA compliance for software is a continuing program, not a badge. Know whether you’re a business associate, sign the right BAAs, base your controls on a real risk analysis, and build access control, audit logging and encryption into the product from the start. Do that, and the compliance questions in your next sales call become easy wins.
This is not legal advice. This is general information, not medical advice.
Sources
- HHS: Summary of the HIPAA Security Rule — safeguard categories, flexibility, risk analysis and compliance dates
- HHS: Summary of the HIPAA Privacy Rule — uses and disclosures, minimum necessary and compliance dates
- HHS: Breach Notification Rule — notification timelines for individuals, HHS and media
- HHS: Business Associate Contracts (sample provisions) — required BAA terms
- HHS: Guidance on HIPAA and Cloud Computing — cloud providers as business associates, including no-view services
- Federal Register: HIPAA Security Rule To Strengthen the Cybersecurity of ePHI (proposed rule, January 6, 2025) — proposed Security Rule changes
Frequently asked questions
Does my app need to be HIPAA compliant?
Your app needs to comply with HIPAA if it creates, receives, stores or transmits protected health information for a covered entity, such as a provider or health plan, or for another business associate. Consumer health apps that aren't working on behalf of a covered entity may fall outside HIPAA, but they may be covered by the FTC's Health Breach Notification Rule instead.
What is a business associate agreement?
A business associate agreement is a contract required by HIPAA before a covered entity shares PHI with a vendor. It sets permitted uses of PHI, requires safeguards and Security Rule compliance, requires reporting of incidents and breaches, binds subcontractors to the same terms, allows HHS access to records, and requires return or destruction of PHI when the contract ends.
What are the HIPAA technical safeguards?
The HIPAA technical safeguards in 45 CFR 164.312 are access control, audit controls, integrity, person or entity authentication, and transmission security. In software terms, that means unique user accounts and role-based access, logs of who accessed ePHI, protections against improper changes, strong authentication such as MFA, and encrypted connections for data in transit. Some specifications are addressable, which still requires documented decisions.
Is there an official HIPAA certification for software?
No, there's no official HIPAA certification. HHS says it doesn't certify persons or products as HIPAA compliant and doesn't recognize private organizations' certifications as satisfying legal obligations. Third-party assessments can still help you find gaps and reassure customers, but compliance depends on your ongoing safeguards, policies, risk analysis and BAAs.
Is AWS, Azure or Google Cloud HIPAA compliant?
The major cloud providers offer business associate agreements and support HIPAA workloads, but no cloud is automatically compliant for you. Their BAAs typically cover only specific eligible services, and you're responsible for configuring access, logging, encryption and backups correctly. HHS treats a cloud provider storing ePHI as a business associate even when the data is encrypted and the provider holds no key.
How long do you have to report a HIPAA breach?
Covered entities must notify affected individuals without unreasonable delay and no later than 60 days after discovering a breach of unsecured PHI. Breaches affecting 500 or more people also require notifying HHS within 60 days, plus media when more than 500 residents of a state are affected. Smaller breaches go to HHS within 60 days after the calendar year ends. This is not legal advice.
Does encryption make my software HIPAA compliant?
Encryption alone doesn't make software HIPAA compliant. It's an important safeguard, and PHI encrypted to HHS guidance standards is considered secured for breach notification purposes. But HHS says encryption by itself can't meet all Security Rule requirements. You still need access controls, audit logs, integrity protections, risk analysis, policies, training, backups and BAAs.
What changed in the proposed HIPAA Security Rule update?
HHS proposed in January 2025 to make most Security Rule implementation specifications mandatory and to add explicit requirements such as encryption of ePHI at rest and in transit, multi-factor authentication, vulnerability scanning and network segmentation. As of this writing the rule hasn't been finalized, and the existing Security Rule still applies. Check HHS.gov for current status.
Was this guide useful
No reviews yet. Share your experience and help other readers.