Skip to content
Questions

What is a BAA?

Short answer

A BAA (business associate agreement) is the written contract HIPAA requires before a vendor creates, receives, keeps or sends PHI for a covered entity or for another business associate. It limits how the vendor may use the data and binds it to safeguards, breach reporting and the same rules for its own subcontractors.

Last updated

What a BAA must say

45 CFR 164.504(e) lists what the contract has to cover. In plain words, the vendor must:

  1. 1Use and disclose PHI only as the contract allows or as the law requires.
  2. 2Use appropriate safeguards and follow the Security Rule for electronic PHI.
  3. 3Report any use or disclosure the contract does not allow, including breaches of unsecured PHI.
  4. 4Make sure its subcontractors that handle the PHI agree to the same restrictions.
  5. 5Help the covered entity give patients access to, and amendments of, their records, and an accounting of disclosures.
  6. 6Make its records available to HHS when asked, and return or destroy the PHI when the contract ends where that is feasible.

Who needs one in a software project

If you build software for clinics, health plans or their vendors and your systems touch PHI, you sign a BAA with your customer. Then every vendor below you that touches the same data needs one with you: cloud hosting, database, file storage, email and SMS, error tracking, analytics and any AI API.

A software agency that only works on code and test data, and never accesses production PHI, may not need one. If engineers will see production data or support the live system, put a BAA in place.

Tools

Check it for your case.

Sources

Read the official text.

Frequently asked

Common follow-up questions.

Is there an official BAA template?

HIPAA does not prescribe exact wording. Most vendors offer their own BAA; check that it covers everything 45 CFR 164.504(e) requires.

Does a BAA make a vendor HIPAA compliant?

No. It is a contract. Compliance depends on how the vendor and you actually protect the data, which is why a risk analysis and technical safeguards still matter.

Do I need a BAA with a vendor that only stores encrypted data?

Usually yes. The definition of a business associate covers vendors that maintain PHI, not only those that read or use it.

Keep reading

Related questions and guides.

Planning a build? Talk it through.

OceanLab designs and builds production software. Tell us what you are planning and we will reply with how we would approach it.

OceanLab

Enterprise Software Engineering - Human + AI

Languages

Locations

Global Headquarters

21 Merchant Road, 3rd Floor, Singapore 058267

Main corporate office and leadership operations

North America Office

548 Market Street, PMB 12472, San Francisco, CA 94104

Client operations and business development

India Office

402 Shivalik Shilp II, SG Highway, Ahmedabad 380015

Engineering and delivery center

© 2026 - Copyright. All Rights reserved OceanLab