HIPAA Compliance for SaaS Companies: The Complete Guide
Everything SaaS companies need to know about HIPAA compliance — from BAAs and PHI handling to technical safeguards and common pitfalls.
When Does HIPAA Apply to Your SaaS?
HIPAA applies when your SaaS product handles Protected Health Information (PHI) on behalf of a covered entity (healthcare providers, health plans, or healthcare clearinghouses). If a hospital, clinic, insurer, or their business associate uses your software and any PHI passes through it, you're a business associate under HIPAA.
This includes scenarios many SaaS companies don't initially consider:
Key HIPAA Concepts for SaaS
Protected Health Information (PHI)
PHI is individually identifiable health information in any form. The 18 HIPAA identifiers include:
If your system stores, processes, or transmits any combination of health data + identifiers, you're handling PHI.
Business Associate Agreements (BAAs)
A BAA is a legal contract between your SaaS company (business associate) and the covered entity or upstream business associate. It must include:
The Three HIPAA Safeguard Categories
Administrative Safeguards
Security officer designation — Someone must own HIPAA compliance Risk analysis — Regular assessment of risks to PHI confidentiality, integrity, and availability Risk management plan — Documented measures to reduce identified risks Workforce training — All employees who may access PHI must be trained Access management — Policies for granting, reviewing, and revoking access Incident response — Documented procedures for security incidents Contingency plan — Backup, disaster recovery, and emergency operations Business associate management — BAAs with all vendors, regular vendor assessmentsPhysical Safeguards
For SaaS companies, this primarily applies to offices and any on-premise infrastructure:
Facility access controls — Who can enter spaces where PHI is accessible? Workstation security — Screen locks, clean desk policy, encrypted drives Device controls — Procedures for hardware disposal and media reuseIn cloud environments, your cloud provider handles data center physical security (covered by their BAA), but you're responsible for employee workstations and offices.
Technical Safeguards
This is where SaaS companies spend most of their HIPAA effort:
Access controls — Unique user identification, role-based access, automatic session timeouts Audit controls — Comprehensive logging of who accessed what PHI, when, and why Integrity controls — Mechanisms to ensure PHI isn't improperly altered or destroyed Transmission security — Encryption in transit (TLS 1.2+ minimum) Encryption at rest — AES-256 for stored PHI (technically "addressable," but regulators expect it)Building HIPAA Into Your SaaS Product
Architecture Considerations
Data isolation: Consider tenant-level encryption keys, separate databases per healthcare customer, or logical isolation within shared infrastructure. The right choice depends on your scale and customer requirements. Minimum necessary principle: Only access, store, and display the minimum PHI required for the feature to function. If a feature works with de-identified data, use de-identified data. Audit logging: Every PHI access event needs a log entry. Who accessed it, when, from where, and what they did. These logs must be immutable and retained for six years. Encryption everywhere:Common SaaS HIPAA Pitfalls
HIPAA Compliance Costs for SaaS
Realistic budget ranges:
Major cost drivers: security tooling, compliance platform, penetration testing, legal review of BAAs, employee training, and audit preparation.
Tools like PrivaBase can significantly reduce ongoing compliance costs by automating evidence collection, policy management, and continuous monitoring — particularly valuable for smaller SaaS companies where dedicated compliance headcount isn't feasible.
Breach Notification Requirements
If you discover a PHI breach:
Penalties for breach notification failures are separate from penalties for the underlying breach.
Key Takeaways
Ready to check your compliance?
Scan your website for free and get an instant compliance report covering GDPR, CCPA, and more.
Free Compliance Scan →