HIPAA BAA template

A free HIPAA business associate agreement template built on 45 CFR 164.504(e) and HHS sample provisions, with breach terms and a subcontractor BAA.

FreeNo sign-upUpdated

The template · free to copy and edit

HIPAA Business Associate Agreement

Use this agreement when a vendor will create, receive, maintain or transmit protected health information for a HIPAA covered entity. Fill in the square-bracket placeholders, delete the tips and any optional clauses you don't use, and sign it before any PHI is shared. Annex A is a shorter version for the business associate's own subcontractors. This template is from indi.technology/tools/hipaa-business-associate-agreement-template and is free to use and edit. It is not legal advice: have it reviewed by a qualified lawyer who knows US health privacy law before you sign.

1. Parties and background

Field Detail
Covered Entity [Legal name, address]
Business Associate [Legal name, address]
Services Agreement [Name and date of the MSA, SOW or subscription terms]
Services involving PHI [For example: hosting and support of [product], development with access to production data]
Types of PHI [For example: demographics, appointments, clinical notes, lab results]
Where PHI is stored [Cloud provider, region, other locations]
Effective date [Date]
Privacy and security contacts [Name, email and phone for each party]

1.1 Business Associate provides the services above (the "Services") and may create, receive, maintain or transmit protected health information on Covered Entity's behalf.

1.2 This Business Associate Agreement ("Agreement") meets the requirements of HIPAA, the HITECH Act and 45 CFR Parts 160 and 164 (the "HIPAA Rules").

2. Definitions

2.1 Terms used but not defined here (such as Breach, Designated Record Set, Required by Law, Secretary, Security Incident and Unsecured Protected Health Information) have the meanings given in the HIPAA Rules.

2.2 "PHI" has the meaning given in 45 CFR 160.103, limited to information Business Associate creates, receives, maintains or transmits on behalf of Covered Entity. "ePHI" means PHI in electronic form.

3. Permitted uses and disclosures

3.1 Services. Business Associate may use and disclose PHI only as necessary to perform the Services, as this Agreement permits, or as Required by Law.

3.2 No wider use than Covered Entity. Business Associate will not use or disclose PHI in a way that would breach Subpart E of 45 CFR Part 164 if done by Covered Entity, except as allowed in 3.4 to 3.6.

3.3 Minimum necessary. Business Associate will request, use and disclose only the minimum PHI necessary for the purpose.

3.4 Management and administration. Business Associate may use PHI for its proper management and administration or to carry out its legal responsibilities. It may disclose PHI for these purposes only if Required by Law, or if the recipient gives reasonable assurances that it will keep the PHI confidential, use it only for that purpose or as Required by Law, and report any breach of confidentiality.

3.5 Data aggregation [optional]. Business Associate may provide Data Aggregation services relating to Covered Entity's health care operations: [describe].

3.6 De-identification [optional]. Business Associate may de-identify PHI in line with 45 CFR 164.514(a) to (c) and use the de-identified data for [purposes]. It will not attempt to re-identify it.

3.7 Prohibited uses. Business Associate will not sell PHI, use it for marketing, or use it to train or improve [models or products for other customers].

Tip: If PHI goes to an AI model provider, list it in Annex B and settle retention and training in 3.7.

4. Obligations of Business Associate

4.1 Business Associate will not use or further disclose PHI other than as this Agreement permits or requires, or as Required by Law.

4.2 Business Associate will mitigate, as far as practicable, any harmful effect known to it of a use or disclosure of PHI in breach of this Agreement.

4.3 Where Business Associate carries out an obligation of Covered Entity under Subpart E of 45 CFR Part 164, it will comply with the requirements of Subpart E that apply to Covered Entity for that obligation.

4.4 PHI stays in [the United States / the locations in Annex B] unless Covered Entity agrees otherwise in writing.

5. Safeguards

5.1 Business Associate will use appropriate safeguards, and comply with Subpart C of 45 CFR Part 164 (the Security Rule) for ePHI, to prevent use or disclosure of PHI other than as this Agreement provides.

5.2 Without limiting 5.1, Business Associate will:

Control Commitment
Risk analysis Review the risk analysis covering ePHI at least [yearly] and when systems change materially
Encryption Encrypt ePHI at rest and in transit using [for example AES-256 and TLS 1.2 or higher]
Access Give each user a unique ID, require MFA for [administrative and remote] access, review access every [quarter]
Audit logs Record access to ePHI and keep logs for at least [period]
Backups Keep encrypted backups and test restores at least every [period]
Training Train workforce members with PHI access on joining and at least [yearly]
Test data Keep PHI out of development and test environments unless de-identified

5.3 Written assurance [optional]. At least yearly, and on reasonable request, Business Associate will confirm in writing that these safeguards are in place [, supported by a current [SOC 2 Type II report / ISO/IEC 27001:2022 certificate / other assessment]].

Tip: The Security Rule update HHS proposed in January 2025 would require yearly verification like 5.3. It is not final, but many customers already ask for it.

6. Reporting

6.1 Business Associate will report to Covered Entity:

Event Report within Content
Use or disclosure of PHI not provided for by this Agreement [X business days] of becoming aware What happened, PHI involved, steps taken
Successful Security Incident [X hours / days] of becoming aware Nature of the incident, systems and data affected, containment
Breach of Unsecured PHI Without unreasonable delay, within [X calendar days] of discovery and never later than 60 calendar days As set out in 6.3
Unsuccessful Security Incidents [Quarterly] summary or on request Summary only

6.2 Unsuccessful attempts. This section is notice, given now, of unsuccessful Security Incidents that do not compromise ePHI or disrupt systems, such as pings, port scans and blocked login attempts. Only the summary in 6.1 is needed for these.

6.3 Breach report. A Breach report will include, as far as possible: each Individual whose Unsecured PHI has been, or is reasonably believed to have been, accessed, acquired, used or disclosed; what happened, with the dates of the Breach and its discovery; the types of PHI involved; steps Individuals should take to protect themselves; and what Business Associate is doing to investigate, mitigate and prevent recurrence. Further information follows as it becomes available.

6.4 Discovery. A Breach is treated as discovered on the first day it is known, or by reasonable diligence would have been known, to any workforce member or agent of Business Associate other than the person who committed it.

6.5 Notifications to others. [Covered Entity] will notify affected Individuals, the Secretary and the media where required. [Business Associate will reimburse reasonable notification and mitigation costs for Breaches caused by it or its Subcontractors, up to [limit].]

Tip: Set the breach deadline shorter than 60 days but long enough to investigate. The covered entity needs time after your report to meet its own 60-day deadline for notifying patients, so it will want your report early.

7. Subcontractors

7.1 Under 45 CFR 164.502(e)(1)(ii) and 164.308(b)(2), Business Associate will ensure that any Subcontractor that creates, receives, maintains or transmits PHI on its behalf agrees in writing to the same restrictions, conditions and requirements that apply to Business Associate, including compliance with the Security Rule.

7.2 Business Associate will keep its Subcontractor list in Annex B up to date and give Covered Entity [X days'] notice before adding one. [Covered Entity may object on reasonable grounds.]

7.3 If Business Associate knows of a pattern of activity or practice by a Subcontractor that is a material breach of its agreement, it will take reasonable steps to cure the breach or end the violation and, if those fail, end the arrangement if feasible.

8. Individual rights

8.1 Access. Within [X] business days of Covered Entity's request, Business Associate will make PHI in a Designated Record Set available to Covered Entity, or to the Individual as directed, to meet 45 CFR 164.524, in electronic form where requested.

8.2 Amendment. Within [X] business days of a request, Business Associate will make PHI in a Designated Record Set available for amendment and include any amendment Covered Entity directs under 45 CFR 164.526.

8.3 Accounting of disclosures. Business Associate will record the disclosures of PHI that 45 CFR 164.528 requires, and within [X] business days of a request give Covered Entity the information it needs to provide an accounting.

Tip: From 19 July 2027, covered entities must answer access requests within 15 calendar days, down from 30. Leave them enough of that time.

9. Access by HHS

9.1 Business Associate will make its internal practices, books and records relating to the use and disclosure of PHI available to the Secretary for the purpose of determining Covered Entity's compliance with the HIPAA Rules, and, unless the law prevents it, will tell Covered Entity promptly of any such request.

10. Obligations of Covered Entity

10.1 Covered Entity will tell Business Associate of any limitation in its notice of privacy practices, or any change in permissions or agreed restriction, that affects Business Associate's use or disclosure of PHI.

10.2 Covered Entity will not ask Business Associate to use or disclose PHI in a way that would not be permitted under Subpart E of 45 CFR Part 164 if done by Covered Entity, except as allowed in 3.4 to 3.6, and will share only the minimum PHI necessary for the Services.

11. Term and termination

11.1 Term. This Agreement starts on the effective date and continues until the Services Agreement ends and all PHI has been returned or destroyed under section 12.

11.2 Termination for breach. If Covered Entity determines that Business Associate has violated a material term of this Agreement, Covered Entity may end this Agreement and the affected parts of the Services Agreement [after giving [30] days to cure, where cure is possible].

12. Return or destruction of PHI

12.1 Within [30] days after this Agreement ends, Business Associate will, as Covered Entity chooses, return or destroy all PHI it and its Subcontractors hold, keep no copies, and confirm this in writing.

12.2 Return format. [Database export in [format] with a data dictionary, plus original files], by [secure transfer method].

12.3 Backups. PHI in backups will be destroyed when the backups expire under Business Associate's retention schedule, no later than [X days] after this Agreement ends. Until then, backups stay encrypted and are restored only to return data to Covered Entity.

12.4 Where infeasible. If return or destruction of some PHI is not feasible, Business Associate will explain why in writing, extend the protections of this Agreement to that PHI, and limit further use and disclosure to the purposes that make return or destruction infeasible.

Tip: Match 12.3 to your real backup retention. If backups are kept for 90 days, don't promise destruction in 30.

13. Miscellaneous

13.1 Changes in law. The parties will amend this Agreement as needed to keep it compliant with the HIPAA Rules. References to the HIPAA Rules mean them as in effect or amended.

13.2 Interpretation. Unclear terms are read to permit HIPAA compliance. On PHI, this Agreement prevails over the Services Agreement.

13.3 Survival. Sections 6, 9, 12 and 13 survive termination for as long as Business Associate holds PHI.

13.4 Liability and law. [Indemnity and limits of liability follow the Services Agreement / are: [terms]]. [State] law governs, to the extent federal law does not.

14. Signatures

Covered Entity Business Associate
Name and title [Name, title] [Name, title]
Signature and date [Signature, date] [Signature, date]

Annex A: Subcontractor BAA (optional)

Use this with each Subcontractor that handles PHI. If a large vendor offers its own BAA, check it covers these points.

A.1 Parties and services. [Business Associate name] ("Business Associate") and [Subcontractor name, address] ("Subcontractor"). Subcontractor provides [services] and may access [types of PHI] in [systems].

A.2 Same terms. Subcontractor agrees to the same restrictions, conditions and requirements that apply to Business Associate under its business associate agreements, as set out in sections 3 to 9 and 12 above, reading "Covered Entity" as "Business Associate" and "Business Associate" as "Subcontractor". This includes compliance with the Security Rule for ePHI.

A.3 Reporting. Subcontractor will report Security Incidents and impermissible uses or disclosures within [X hours], and Breaches of Unsecured PHI within [X days] of discovery.

A.4 Further subcontractors. Only with Business Associate's written approval and a written agreement on the same terms.

A.5 Access. Subcontractor staff will access production PHI only when a task needs it, [through Business Associate's systems with individual accounts, MFA and recorded sessions].

A.6 Termination and return. Business Associate may end this agreement if Subcontractor violates a material term. Subcontractor will then return or destroy all PHI within [X days] and confirm in writing.

A.7 Signatures. [Both parties]

Annex B: Subcontractors and locations

Subcontractor Service PHI involved Location BAA date
[Cloud provider] [Hosting, HIPAA-eligible services only] [All platform PHI] [Region] [Date]
[AI model provider] [Model API, zero data retention] [Clinical text] [Region] [Date]
[Development partner] [Development and support] [Limited production access] [Country] [Date]

Edits are saved in this browser only, so you can come back and finish later. Nothing is sent to us. Download a copy to keep it.

Who this template is for

This is a business associate agreement (BAA) for the most common case in software: a US healthcare customer (the covered entity) hires a software company (the business associate) to build, host or support a product that handles patient data.

A second, shorter agreement at the end covers your own vendors. If your offshore development team, cloud host or AI model provider can touch the PHI, they are subcontractors and need their own BAA with you.

How to fill it in

  1. Describe the service in section 1. Be specific about what the vendor does with PHI: hosting, support, development, data migration, analytics. The permitted uses in section 3 rely on this description.
  2. Set the reporting times in section 6. The law gives a business associate up to 60 calendar days to report a breach. Customers usually ask for much less. Pick numbers your on-call process can actually meet.
  3. Decide on de-identification and data aggregation. A business associate may only use PHI as the contract allows. If you want to use de-identified data for analytics or model evaluation, the BAA has to say so.
  4. Plan return or destruction. Section 12 asks how PHI leaves your systems at the end, including backups.
  5. List your subcontractors and sign Annex A with each one before they get access.
  6. Have a US healthcare lawyer review it. This template covers the required terms.

When you need a BAA, and when you don't

You need a BAA when a person or company other than the covered entity's own workforce creates, receives, maintains or transmits PHI on its behalf. For software companies this includes hosting, building or supporting systems that hold PHI, even if your staff rarely look at it.

Two points surprise many teams:

  • Storage counts, even if encrypted. HHS guidance on cloud computing says a cloud provider that stores encrypted ePHI is a business associate even without the decryption key.
  • The conduit exception is narrow. It covers transmission-only services, like the postal service or an internet service provider, with no more than temporary storage incident to the transmission. A service that keeps PHI, such as a database, file store, backup or log platform, is not a conduit.

You usually don't need a BAA if your product only ever receives properly de-identified data, if a consumer uses your app on their own without a covered entity involved (other US laws may apply instead), or if your access is truly incidental and you never handle PHI as part of the service. Our HIPAA development guide explains how to work out your role.

What the required terms do

45 CFR 164.504(e) lists what every BAA must contain. HHS published sample provisions in January 2013, and this template follows them with more practical detail. In short, the business associate must:

  • use and disclose PHI only as the contract allows or the law requires
  • protect ePHI under the HIPAA Security Rule (45 CFR Part 164, Subpart C)
  • report impermissible uses, security incidents and breaches of unsecured PHI
  • bind its subcontractors to the same restrictions
  • support patients' rights to access, amend and get an accounting of disclosures
  • open its books and records to HHS
  • return or destroy PHI at the end, where feasible

The covered entity must be able to end the contract if the business associate breaks a material term.

Mistakes software teams make

  • Agreeing to deadlines nobody can meet. A clause that says "notify within 24 hours of any security incident" turns every blocked login attempt into a report. Separate unsuccessful attempts, which can be reported in summary, from real incidents and breaches.
  • Forgetting the tools around the product. Error tracking, session replay, email, SMS, support desks, log platforms and AI APIs often receive PHI. Each needs a BAA or must be kept free of PHI.
  • Using services the cloud BAA doesn't cover. AWS, Azure and Google Cloud sign BAAs for their HIPAA-eligible services only. One non-eligible service in the PHI path breaks the arrangement.
  • Treating the signed BAA as compliance. The BAA is a promise to meet the Security Rule. You still need the risk analysis, access controls, audit logs and contingency plans behind it. Our HIPAA compliance checklist lists them.
  • No plan for backups at termination. Promise destruction on a timeline that matches your backup retention, or state that backups expire on a schedule and stay protected until then.
  • Offshore teams without a subcontractor BAA. HIPAA allows offshore work, but the team's company must sign a BAA and production access should be limited.

Recent rule changes

On 19 November 2026 HHS published a final rule changing the Privacy Rule. From the compliance date of 19 July 2027, covered entities must answer patients' access requests within 15 calendar days instead of 30, with one extension of up to 30 days. If you handle access requests for a customer, the same limit applies to you. The rule gives a transition period: existing compliant BAAs can generally stay in place until 19 January 2028, unless renewed or changed sooner. New BAAs should reflect the shorter timeline.

The Security Rule update proposed in January 2025 is still a proposal. It would require, among other things, business associates to verify their safeguards to covered entities at least yearly. Section 5 of the template has an optional clause for this, because many customers already ask for it.

Next steps

Before signing, run your security programme against the HIPAA compliance checklist so you know what you can promise. Make sure your incident response plan meets the reporting times in section 6. If you also process personal data from the EU or UK, you will need a separate data processing agreement.

We build healthcare products and integrations for MedTech companies serving US and Indian markets. If you need help preparing for a hospital's security review, talk to us.

Questions and answers.

It's a contract between a covered entity and a vendor that handles protected health information for it. It limits how the vendor may use the data and commits the vendor to safeguards, breach reporting and return or destruction at the end. HIPAA requires one before the vendor gets access to PHI.

Yes, if your team creates, receives, maintains or transmits PHI for the customer. That includes hosting, support and development work with access to production data. If you only ever work with synthetic or de-identified data, you may not need one.

The legal maximum is 60 calendar days after discovery, and it must be without unreasonable delay. Customers usually ask for a shorter contractual deadline, set in days rather than weeks. HHS guidance says a BAA may set stricter timings than the rule but cannot weaken it.

Yes. HHS says a cloud provider that stores ePHI is a business associate even if it cannot decrypt the data. Sign the provider's BAA and use only the services it covers.

Yes. A business associate must have a BAA with any subcontractor that handles PHI on its behalf, with the same restrictions. Annex A of this template is a short version for that purpose.

No. It covers the terms HIPAA requires, but every arrangement is different. Have a lawyer who knows US health privacy law review it before you sign.

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