HIPAA-compliant app development: a practical guide for engineering teams

What HIPAA requires from software handling PHI: BAAs, cloud setup, logging, breach rules, offshore teams and the status of the proposed 2025 update.

INDI TECHNOLOGYUpdated 7 min read

"Is your app HIPAA compliant?" is one of the first questions US healthcare customers ask. There's no official HIPAA certification, and no checklist that makes an app compliant by itself. HIPAA is a set of obligations on organisations. Software helps those organisations meet them, or makes it impossible.

This guide explains what HIPAA asks of software that handles patient data, how to set up cloud infrastructure and development teams, and what's changing.

Last reviewed: 21 November 2026. Engineering guidance, not legal advice.

Who HIPAA applies to

HIPAA applies to:

  • covered entities: healthcare providers that bill electronically, health plans and healthcare clearinghouses
  • business associates: anyone who creates, receives, maintains or transmits protected health information (PHI) on behalf of a covered entity, plus their subcontractors

If you build a product for clinics, hospitals, insurers or digital health companies that handles their patients' data, you're almost certainly a business associate. If an outsourced development team, including one in India, can access production PHI, that team is a subcontractor business associate too.

A consumer app that people use on their own, without a covered entity involved, may not be covered by HIPAA. It may instead fall under the FTC's Health Breach Notification Rule and state privacy laws. Work out which applies before you design.

PHI is individually identifiable health information: diagnoses, treatments, lab results, appointment details and payment details for care, combined with identifiers such as names, contact details, dates, record numbers or device IDs.

The business associate agreement (BAA)

Before you handle PHI, you need a BAA with your customer. It sets out how you may use and disclose PHI, the safeguards you'll use, breach reporting duties, subcontractor terms and return or destruction of data at the end.

You then need BAAs with your own vendors that touch PHI: your cloud provider, email and SMS providers, support tools, logging and monitoring, backup services and AI model providers.

AWS, Microsoft Azure and Google Cloud all sign BAAs, but only for their HIPAA-eligible services. Using a non-eligible service for PHI breaks the arrangement, so check the eligible service list before you pick each component.

The Security Rule's technical safeguards

The HIPAA Security Rule (45 CFR Part 164, Subpart C) has administrative, physical and technical safeguards. These are the technical ones, translated into features:

Safeguard What to build
Access control: unique user IDs Individual accounts for every person; no shared logins
Access control: emergency access A documented, logged break-glass procedure
Access control: automatic logoff Session timeouts for inactive users, especially on shared clinical devices
Access control: encryption and decryption Encryption at rest for databases, files and backups, with managed keys
Audit controls Logs of who viewed, created, changed or exported PHI, kept and reviewed
Integrity Protection against improper changes: checksums, database constraints, change history
Person or entity authentication Strong login: SSO for clinical staff, MFA for admins and remote access
Transmission security TLS 1.2+ everywhere, including internal service traffic and integrations

Some safeguards are labelled "addressable" in the current rule, encryption among them. That doesn't mean optional. It means you either implement it or document why an equivalent alternative is reasonable. In 2026, not encrypting PHI is very hard to justify, and encryption has another benefit: under the Breach Notification Rule, a loss of properly encrypted data generally isn't a reportable breach.

The administrative safeguards also land on engineering teams. They include a risk analysis, risk management, workforce training, access management, incident procedures, contingency planning (backups, disaster recovery and emergency mode) and regular evaluation.

The proposed 2025 Security Rule update

On 6 January 2025, HHS published a proposed rule to strengthen the Security Rule. Among other changes, it would:

  • remove the "addressable" category and make most specifications required, including encryption at rest and in transit, and MFA
  • require a written technology asset inventory and network map
  • require vulnerability scanning at least every six months and penetration testing at least yearly
  • require the ability to restore critical systems within 72 hours
  • require business associates to verify their safeguards to covered entities, at least yearly

Status: as of November 2026 this is still a proposal. The comment period closed in March 2025, HHS received about 4,700 comments, and its target date for a final rule has slipped. Don't describe these as legal requirements yet. But most are good practice, and many enterprise healthcare customers already ask for them in security reviews, so build toward them.

Cloud architecture for PHI

  • Dedicated accounts or projects for PHI workloads, with BAA-covered, HIPAA-eligible services only
  • Encryption with customer-managed keys (KMS, Key Vault or Cloud KMS), and key access logged
  • Private networking: databases and services in private subnets; no public endpoints for PHI stores
  • Central logging of API access, data access and admin actions, sent to a separate, write-protected account
  • Backups encrypted, tested and restored on a schedule
  • Infrastructure as code, so environments are reviewable and reproducible
  • No PHI in non-production. Use synthetic or properly de-identified data in development and test environments

Logging without leaking PHI

Audit logs must record access to PHI, but application logs often leak it by accident: request bodies, error messages with patient names, analytics events with diagnosis codes.

  • Log who did what to which record, using record IDs rather than contents
  • Scrub request and response bodies before logging
  • Make sure error-tracking, analytics and session replay tools either receive no PHI or are covered by a BAA. Many aren't.

Using AI with PHI

LLMs are increasingly used for clinical notes, summaries and patient messaging. That PHI goes to the model provider, so you need a BAA with them and the right settings around retention and training. We cover this in detail in using LLMs with patient data.

De-identification

Data that is properly de-identified isn't PHI. HIPAA recognises two methods:

  • Safe Harbor: remove 18 types of identifiers, including names, small geographic areas, most dates, contact details, record numbers and device identifiers, and have no actual knowledge that the rest could identify a person
  • Expert Determination: a qualified expert determines and documents that the risk of re-identification is very small

Use de-identified data for analytics, testing and model development where you can.

Breach notification

If unsecured PHI is breached:

  • business associates must notify the covered entity without unreasonable delay, and within 60 days of discovery at the latest (your BAA will often set a much shorter period)
  • covered entities must notify affected individuals within 60 days; notify HHS within 60 days if 500 or more people are affected, or in an annual log if fewer; and notify the media when more than 500 residents of a state or jurisdiction are affected

Build the same detection, scoping and notification capability described in our breach notification guide. The deadlines differ, but the engineering is the same.

Offshore development teams

HIPAA doesn't prohibit offshore development or support. What it requires is that every business associate and subcontractor is bound by a BAA and has the right safeguards. In practice:

  • sign a subcontractor BAA with the offshore team's company
  • limit production access: most developers never need real PHI, and they shouldn't have it. Use synthetic data and de-identified copies
  • where production access is needed for support, use just-in-time access through a bastion with session recording, approval and MFA
  • keep PHI in US regions if your customers require it, and some contracts, especially government and some payers, do
  • train the team on HIPAA, and keep records

Checklist

  • Role confirmed: covered entity, business associate or not covered (FTC and state law instead)
  • BAA with each customer; BAAs with every vendor that touches PHI
  • Only HIPAA-eligible cloud services in PHI environments
  • Risk analysis done and updated yearly
  • Unique user IDs, MFA for admins and remote access, session timeouts
  • Encryption at rest and in transit, with managed keys
  • Audit logs of PHI access, kept and reviewed; no PHI in application logs
  • Error tracking, analytics and session replay tools free of PHI or under a BAA
  • No PHI in development or test; synthetic or de-identified data
  • Tested backups and a disaster recovery plan (72-hour restore as a target)
  • Asset inventory, network map, scans every six months and yearly pen tests
  • Breach detection and notification runbook with BAA deadlines
  • Offshore teams under a BAA, with just-in-time, recorded production access

We build healthcare products and integrations for MedTech companies serving US and Indian markets, including HIPAA-ready cloud environments and access controls set up by our cloud and infrastructure team. If you're preparing for a hospital's security review, let's get you ready.

Any idea in mind? Let's make it real.

Tell us what you're building. You'll hear back from an engineer, not a sales team, usually within one working day.

Book a 30-min call