Skip to content
HIPAA Compliant AppSecure healthcare engineering

Security & Compliance Resource

HIPAA Encryption Requirements

HIPAA encryption requirements are often misunderstood in both directions. Some teams believe HIPAA mandates a particular algorithm; others believe encryption is optional because the rule calls it Addressable. Neither is accurate.

This page explains what the Security Rule says about encryption, how HHS breach guidance and NIST publications shape practical choices, how the breach safe harbor works, and why key management is where most encryption programs succeed or fail.

Key takeaway

Under the current HIPAA Security Rule, encryption of ePHI at rest (164.312(a)(2)(iv)) and in transit (164.312(e)(2)(ii)) are Addressable implementation specifications: they must be assessed and implemented if reasonable and appropriate, or an equivalent alternative documented. HIPAA does not mandate a specific algorithm. PHI encrypted consistent with HHS guidance, with keys not compromised, is not unsecured PHI for breach notification purposes.

Last reviewed November 17, 2026

What the Security Rule says about encryption

Two implementation specifications address encryption. Section 164.312(a)(2)(iv) calls for a mechanism to encrypt and decrypt ePHI, and 164.312(e)(2)(ii) calls for encrypting ePHI in transit whenever deemed appropriate. Both are Addressable.

Addressable means the regulated entity must assess the specification against its risk analysis. If encryption is reasonable and appropriate, it must be implemented. If not, the entity must document why and implement an equivalent alternative measure if reasonable and appropriate. With managed encryption built into every major cloud platform and TLS available by default, few modern applications can credibly document a reason not to encrypt.

The Security Rule does not name algorithms, key lengths, protocols or products. Technology choices are driven by the risk analysis and by HHS guidance that references NIST publications.

SpecificationStatusApplies to
164.312(a)(2)(iv) Encryption and decryptionAddressableePHI at rest: databases, object storage, backups, devices, caches.
164.312(e)(2)(ii) EncryptionAddressableePHI transmitted over electronic communications networks.
164.312(e)(2)(i) Integrity controlsAddressableDetecting modification of ePHI in transit; TLS provides this alongside encryption.
164.312(c)(2) Mechanism to authenticate ePHIAddressableDetecting unauthorized alteration; authenticated encryption modes contribute.

NIST guidance HHS points to

HHS guidance on rendering PHI unusable, unreadable or indecipherable to unauthorized individuals identifies encryption consistent with NIST publications as one of two approved methods; the other is destruction. For data at rest, it references NIST SP 800-111, Guide to Storage Encryption Technologies for End User Devices. For data in motion, it references NIST guidance on TLS, IPsec VPNs and SSL VPNs. For TLS, the current NIST publication is SP 800-52 Revision 2.

The guidance also refers to FIPS 140 validated cryptographic modules for data in motion. Using FIPS 140-validated modules is widely recommended for ePHI more generally. New validations are issued under FIPS 140-3, the successor to FIPS 140-2. Many cloud key management services and operating system crypto libraries publish their validation status.

Data at rest

NIST SP 800-111 for storage encryption. In practice: AES-256 via cloud KMS-backed volume, database and object storage encryption.

Data in transit

NIST SP 800-52r2 for TLS. TLS 1.2 minimum with approved cipher suites; TLS 1.3 preferred.

Cryptographic modules

FIPS 140-validated modules are recommended; check the validation certificates of your KMS, HSM and libraries.

Media sanitization

NIST SP 800-88 for destruction and sanitization, the other safe harbor method.

The breach notification safe harbor

The Breach Notification Rule (45 CFR 164.400-414) applies to unsecured PHI. PHI that has been encrypted consistent with HHS guidance is not unsecured, so its loss or unauthorized acquisition generally does not trigger breach notification to individuals, HHS or the media.

The safe harbor depends on key custody. If the decryption key or process is compromised along with the data, the data is not protected by the safe harbor. Keys stored on the same laptop as the encrypted file, or credentials that grant both data access and decrypt permission to an attacker, defeat the purpose.

Without the safe harbor, a breach of unsecured PHI requires individual notice without unreasonable delay and no later than 60 days after discovery, with notice to HHS and prominent media outlets when 500 or more residents of a state or jurisdiction are affected.

Encryption at the storage layer protects against stolen disks and snapshots, but not against an attacker using a valid application or database credential, because the platform decrypts transparently for authorized callers. Combine encryption with strong access control.

Key management

Encryption is only as strong as key management. Most real-world failures involve keys in source code, keys shared across environments, keys never rotated, or over-broad permissions to use keys.

  1. 1

    Use a managed KMS or HSM

    Generate and store keys in a cloud KMS or HSM rather than in application configuration.

  2. 2

    Apply envelope encryption

    Encrypt data with data keys, and encrypt data keys with a master key that never leaves the KMS.

  3. 3

    Separate duties

    Grant decrypt permission only to the services that need it, and separate key administrators from data users.

  4. 4

    Separate environments

    Use distinct keys per environment and, for multi-tenant SaaS, consider per-tenant keys.

  5. 5

    Rotate and log

    Enable automatic rotation where supported and log every key use to an audit trail.

  6. 6

    Plan for loss

    Document backup and recovery of keys so that availability is not sacrificed to confidentiality.

Common encryption gaps in healthcare apps

  • Database encrypted, but nightly exports to object storage or SFTP are not.
  • TLS terminated at the load balancer with plaintext traffic inside the network.
  • PHI written to application logs that are stored without encryption or with broad access.
  • Mobile apps caching ePHI outside the platform's protected storage classes.
  • Encryption keys checked into source control or shared across staging and production.
  • Email or SMS used to send PHI without an assessment of the channel.

What the proposed rule would change

The January 2025 Security Rule NPRM proposes making encryption of ePHI at rest and in transit expressly required, with limited exceptions, and removing the Addressable category. It remains a proposal until finalized, so check its current status. Organizations that already encrypt all ePHI with managed keys are well placed if similar provisions are adopted.

Choosing the right encryption layer

Encryption can be applied at several layers, and each protects against different threats. Storage-level encryption protects lost disks and snapshots. Database-level encryption adds protection for database files and backups. Application-level encryption protects specific fields even from database administrators and from attackers with database credentials, at the cost of complexity in search and reporting.

Most healthcare applications combine storage or database encryption everywhere with targeted application-level encryption for the most sensitive fields. The risk analysis should record which threats each layer addresses.

LayerProtects againstTrade-offs
Volume or storage encryptionLost or stolen media, snapshot exposureTransparent to applications; no protection from valid credentials
Database or object store encryptionRaw file and backup accessLow effort; still decrypted for any authorized query
Application or field-level encryptionDatabase credential theft, overly broad admin accessHarder search, indexing and key handling
Transport encryption (TLS, mTLS)Interception and tampering in transitCertificate management and internal PKI effort

How we help

We design encryption architectures across databases, storage, backups, queues and mobile devices, configure TLS and key management services, and document each decision against the Security Rule. Breach determinations and policy decisions remain with your organization and counsel.

This page is general information about software engineering for healthcare, not legal advice. HIPAA compliance depends on your organization's risk analysis, policies, workforce practices, vendor agreements and how PHI is actually handled. No software, hosting provider or development partner can make an organization compliant on its own, and there is no official HIPAA certification for applications.

Frequently Asked Questions

Does HIPAA require encryption?

Under the current Security Rule, encryption at rest and in transit are Addressable, so they must be assessed and implemented if reasonable and appropriate, or an equivalent alternative documented. In practice almost every application encrypts ePHI, and the January 2025 NPRM proposes making encryption expressly required.

Which encryption algorithm does HIPAA require?

None by name. HHS guidance references NIST publications, and AES with 128-bit or 256-bit keys at rest and TLS 1.2 or higher in transit are the common choices that align with that guidance.

What is the HIPAA encryption safe harbor?

PHI encrypted consistent with HHS guidance is not unsecured PHI, so its loss generally does not trigger breach notification. The safe harbor does not apply if the key or decryption process is also compromised.

Do we need FIPS 140-validated encryption?

HIPAA does not expressly require FIPS validation for all encryption, but HHS guidance references FIPS 140 validated modules for data in motion and validation is widely recommended. Many cloud KMS and HSM services publish their validation certificates.

Is cloud provider default encryption enough?

It protects against physical media loss and is a good baseline, but it does not stop an attacker with valid credentials. Combine it with least-privilege access, key permission controls, logging and, where justified, application-layer encryption.

Can we email PHI?

HIPAA does not prohibit email, but the channel must be assessed and protected appropriately. Covered entities may send unencrypted email to a patient who requests it after being warned of the risks; workforce and vendor email containing PHI should be encrypted and covered by a BAA.

How often should encryption keys be rotated?

HIPAA sets no rotation interval. NIST SP 800-57 discusses cryptoperiods, and annual automatic rotation of master keys through a managed KMS is a common practice.

Plan your HIPAA-compliant app with engineers who start from the data flow.

Tell us what you are building. We will respond with questions about scope, integrations and PHI handling, then a structured estimate. Please do not include patient information.