Skip to content
HIPAA Compliant AppSecure healthcare engineering

Security & Compliance Resource

HIPAA Business Associate Agreements for App Teams

A HIPAA business associate agreement is the contract that lets a covered entity or business associate share PHI with a vendor that performs services on its behalf. For software teams, BAAs determine which vendors can sit in the path of ePHI and which cannot.

This page explains when a BAA is needed, what it must contain under 45 CFR 164.504(e), how subcontractor BAAs work, and why the vendor stack of a healthcare app is often shaped by which vendors will sign one. It is general information, not legal advice.

Key takeaway

A business associate is a person or organization that creates, receives, maintains or transmits PHI on behalf of a covered entity or another business associate (45 CFR 160.103). HIPAA requires a written business associate agreement with required terms set out in 164.504(e) and 164.314(a). Business associates must in turn obtain BAAs from their subcontractors. A BAA allocates obligations but does not replace due diligence on the vendor's actual safeguards.

Last reviewed November 17, 2026

When a BAA is needed

A BAA is needed when a vendor creates, receives, maintains or transmits PHI on behalf of a covered entity or business associate in order to perform a function or service. For an app, that typically includes hosting providers, databases-as-a-service, email and SMS providers that carry PHI, video platforms, EHR integration engines, customer support tools that see patient data, and the app developer itself if it operates the system.

HHS cloud guidance makes clear that a cloud service provider that stores ePHI is a business associate even if the data is encrypted and the provider does not hold the key. Persistence matters: the narrow conduit exception covers transmission-only services with no more than transient storage, such as the postal service or an internet service provider, not services that maintain data.

Not every vendor needs a BAA. A vendor that never receives PHI, such as a design tool used only with synthetic data, is not a business associate for that activity. The safest way to keep a vendor out of scope is architectural: make sure no PHI reaches it.

This page is general information about HIPAA and is not legal advice. Use counsel to draft, negotiate and interpret BAAs.

Required elements of a BAA

Section 164.504(e)(2) lists terms a business associate contract must include. Section 164.314(a) adds Security Rule terms for ePHI. The table summarizes the core elements; HHS publishes sample BAA provisions that many organizations use as a starting point.

ElementSourceWhat it means in practice
Permitted and required uses and disclosures164.504(e)(2)(i)Defines what the BA may do with PHI; it may not authorize uses the covered entity itself could not make, with limited exceptions.
No other use or disclosure164.504(e)(2)(ii)(A)The BA may use or disclose PHI only as the contract permits or as required by law.
Appropriate safeguards and Security Rule compliance164.504(e)(2)(ii)(B); 164.314(a)(2)(i)The BA uses safeguards and complies with Subpart C for ePHI.
Reporting164.504(e)(2)(ii)(C); 164.314(a)(2)(i)(C)The BA reports non-permitted uses or disclosures, security incidents and breaches of unsecured PHI under 164.410.
Subcontractors164.504(e)(2)(ii)(D); 164.502(e)(1)(ii)The BA ensures subcontractors agree to the same restrictions and conditions.
Individual rights164.504(e)(2)(ii)(E)-(G)The BA supports access, amendment and accounting of disclosures as applicable.
Privacy Rule obligations performed for the CE164.504(e)(2)(ii)(H)If the BA carries out a CE obligation, it complies with the requirements that apply to that obligation.
Access by HHS164.504(e)(2)(ii)(I)Internal practices, books and records are available to the Secretary for compliance review.
Return or destruction at termination164.504(e)(2)(ii)(J)PHI is returned or destroyed if feasible, otherwise protections extend to retained data.
Termination for material breach164.504(e)(2)(iii)The covered entity may terminate if the BA violates a material term.

Subcontractor BAAs and the chain of trust

Since the 2013 Omnibus Rule, subcontractors that create, receive, maintain or transmit PHI on behalf of a business associate are themselves business associates. A digital health company that is a BA to a hospital must obtain BAAs from its cloud host, its messaging vendor and any other subcontractor in the ePHI path.

Business associates are directly liable for certain HIPAA requirements, including Security Rule compliance, breach notification to the covered entity and obtaining subcontractor BAAs. The HITECH Act established this direct liability and the Omnibus Rule implemented it.

  1. 1

    Map ePHI flows

    Draw every system and vendor that PHI touches, including logs, backups and support tools.

  2. 2

    Classify vendors

    Mark each vendor as in the ePHI path, out of the path by design, or uncertain.

  3. 3

    Obtain BAAs

    Execute BAAs with every in-path vendor, noting which plan tier and services the BAA covers.

  4. 4

    Configure to the BAA

    Use only the services and settings the vendor's BAA covers, such as listed HIPAA-eligible services.

  5. 5

    Track and review

    Maintain a register of BAAs with renewal dates and re-check when vendors or features change.

Vendor categories that commonly lack a BAA

Many vendors used in ordinary web and mobile development either do not sign BAAs or sign them only on enterprise plans. Policies change, so check each vendor's current terms rather than relying on lists.

Product analytics and attribution

Many analytics, session replay and mobile attribution SDKs do not offer BAAs. Some offer them on higher tiers or support PHI-free configurations.

Email delivery

Some transactional email providers sign BAAs; many do not. Marketing email platforms commonly do not.

SMS and push

Some messaging providers sign BAAs for specific products. Push notification services generally should receive no PHI in payloads.

Error tracking and logging

Error trackers can capture request bodies and user context by default. Use a BAA-covered plan or strict scrubbing.

AI and LLM APIs

Some model providers offer BAAs for specific services and configurations, often with zero data retention terms. Consumer AI products generally are not covered.

Support and CRM

Help desk and CRM tools may sign BAAs on specific plans; otherwise keep PHI out of tickets.

A BAA is not a substitute for due diligence

A signed BAA allocates legal obligations but does not show that a vendor's safeguards are adequate, nor that your configuration of the vendor is secure. Many incidents involve correctly contracted vendors with misconfigured storage, overly broad API keys or default data collection.

Due diligence typically includes reviewing security documentation such as SOC 2 reports or HITRUST certifications, understanding data retention and sub-processors, confirming which services the BAA covers, and testing your own configuration.

HIPAA requirement

What the rules themselves require

  • Written BAAs with business associates that meet 164.504(e) and 164.314(a).
  • BAs obtain BAAs from subcontractors that handle PHI, 164.502(e)(1)(ii) and 164.308(b)(2).
  • BAs report breaches of unsecured PHI to the covered entity, 164.410.

Recommended practice

Widely accepted security practice

  • Vendor register with BAA status, covered services and renewal dates.
  • Security review of vendors before contract, including sub-processors.
  • Architectural isolation that keeps PHI away from non-BAA vendors.
  • Contract terms on breach notification timelines shorter than the regulatory maximum.

Architecture decision

Depends on your product and risk analysis

  • Self-hosting open-source alternatives where no BAA-capable vendor fits.
  • Tokenization or de-identification before data reaches analytics tools.
  • Right-to-audit clauses for high-risk vendors.

Your organization's responsibility

Policies and operations software cannot do

  • Negotiating and executing BAAs, with counsel.
  • Deciding acceptable vendors and risk tolerance.
  • Monitoring vendor compliance and responding to vendor incidents.
  • Terminating relationships when material terms are violated.

Practical BAA review points for engineering

Engineering teams do not negotiate BAAs, but they are often best placed to spot mismatches between a vendor's BAA and how the product actually uses the vendor. Flag these points to your counsel and compliance lead before integration work starts.

  • Which products, features and plan tiers the BAA covers, and whether the feature you plan to use is included.
  • Configuration conditions the vendor imposes, such as disabling certain features or using specific regions.
  • Breach and security incident reporting timelines and contacts.
  • Data retention and deletion at contract end, including backups.
  • Sub-processors the vendor uses and how changes are notified.
  • Whether the vendor uses customer data for its own purposes such as product improvement or model training.

How we help

We map ePHI data flows, identify which vendors sit in the ePHI path, propose architectures that keep PHI away from non-BAA tools, and configure BAA-covered services correctly. Negotiating and signing BAAs remains 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

What is a HIPAA business associate agreement?

It is a written contract between a covered entity and a business associate, or between a business associate and a subcontractor, that sets permitted uses of PHI and required safeguards. Its required elements are in 45 CFR 164.504(e) and 164.314(a).

Does our cloud provider need to sign a BAA?

Yes, if it stores or processes ePHI for you. HHS guidance treats cloud providers that maintain ePHI as business associates, even if the data is encrypted and they lack the key.

Is the app developer a business associate?

If the developer hosts, operates or supports a system containing PHI for a covered entity, it usually is. A developer that only writes code and never accesses PHI may not be, which is one reason to use synthetic data in development.

Do we need BAAs with our subcontractors?

Yes. A business associate must obtain satisfactory assurances, in the form of a BAA, from subcontractors that create, receive, maintain or transmit PHI on its behalf.

Can we use a vendor that will not sign a BAA?

Only if no PHI reaches that vendor. That often requires architectural controls such as scrubbing, tokenization or keeping the tool outside the ePHI environment.

Does a BAA make a vendor HIPAA compliant?

No. A BAA allocates obligations; it does not prove the vendor's safeguards are adequate or that your configuration is secure. Due diligence and configuration review are still needed.

Do AI model providers sign BAAs?

Some do for specific services and configurations, often enterprise offerings with defined data retention terms. Check current terms for the exact service and keep PHI away from AI tools not covered by a BAA.

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.