Patient data is among the most sensitive data an app can handle, and a mistake is expensive. It can mean a breach notice to every affected patient, an investigation by federal regulators and a lost contract with the hospital that hired you.
Table of Content
The good news is that HIPAA is less mysterious than it looks. It is a set of rules about who may see patient data and how it must be protected. This guide explains when HIPAA applies to your app, what the rules ask of you, how to design an app that meets them, what it costs and how to choose a development partner. If you are still planning your product, start with our guide on how to create a healthcare app.
This article is general information, not legal advice. Have a healthcare attorney or HIPAA compliance consultant review your specific situation.
HIPAA (the Health Insurance Portability and Accountability Act) is a US federal law. Four parts matter to app builders:
| Part | What it covers | What it means for your app |
|---|---|---|
| Privacy Rule | Who may use or share protected health information (PHI), and when | Limit access to what each user needs. Let patients see their own data. Do not use PHI for marketing without permission. |
| Security Rule | How electronic PHI (ePHI) must be protected | This is where most technical requirements come from: access control, encryption choices, audit logs, risk analysis. |
| Breach Notification Rule | What to do when unsecured PHI is exposed | You need an incident process and a way to find out what was exposed, and to whom. |
| Enforcement | How violations are investigated and penalised | Penalties are tiered by how much care you took, and they are adjusted each year. Keep records that show you acted in good faith. |
PHI is health information that can be linked to a person. HHS lists 18 kinds of identifier that make data identifiable, including names, addresses, dates, phone numbers, email addresses, medical record numbers and device IDs. In practice, if you can tie a health detail to a person, treat it as PHI.
Building a healthcare app that handles patient data? Talk to Code Brew Labs.
Tell us what your app does and who uses it. We will tell you whether HIPAA applies, which safeguards to build in, and what it costs. No commitment required. NDA on request.
HIPAA applies to two groups. Covered entities are healthcare providers, health plans and healthcare clearinghouses. Business associates are companies that handle PHI on behalf of a covered entity. If a hospital hires you to build or run an app, you are a business associate, and HIPAA applies to you directly.

HHS’s own guidance on health apps asks two questions: did a covered entity hire or pay you, and does the consumer choose the app and control where the data goes? Here is how that plays out:
| Your app | HIPAA applies? | Why |
|---|---|---|
| A clinic or hospital hires you to build a patient portal or telemedicine app | Yes, you are a business associate | You handle PHI for a covered entity. |
| A health plan or insurer offers your app to its members | Yes | The plan is a covered entity and you work on its behalf. |
| You sell a platform to clinics, and patients’ data goes through your servers | Yes | The clinics are covered entities and your platform handles their PHI. |
| A consumer downloads your app and types in their own data, with no provider involved | Usually no | You are not acting for a covered entity. |
| A consumer app that sends data to a doctor only because the patient chooses to share it | Usually no | The patient is directing their own data. |
| You offer a consumer version and a separate provider version of the same app | Provider version yes, consumer version usually no | Keep the two data sets separate. |
You can read the scenarios on the HHS page for mobile health app developers.
The Security Rule groups its requirements into three kinds of safeguards. Developers mostly own the technical ones. Your client (or your own company) owns the administrative and physical ones.

| Safeguard type | Examples | Who usually owns it |
|---|---|---|
| Administrative | Risk analysis, policies, staff training, access approvals, incident response, vendor agreements | The business, supported by your team |
| Physical | Controls on servers, devices and workstations | Your cloud provider and the business |
| Technical | Access control, audit logs, integrity checks, secure transmission, encryption | Your development team |
One detail trips up many teams. Some Security Rule specifications are required and others are addressable. Addressable does not mean optional. It means you must put the control in place or document why another measure protects the data equally well. Encryption is addressable under the current rule, and in practice you should treat it as mandatory.
| Area | What to do |
|---|---|
| Encryption in transit | Use current TLS for every connection between the app, your servers and any vendor. Do not allow unencrypted fallbacks. |
| Encryption at rest | Encrypt databases, file storage and backups. Keep encryption keys apart from the data and manage them in a key service. |
| Authentication | Unique user IDs, strong passwords and multi-factor authentication for staff and admin accounts. Offer biometrics and passcodes on the device. |
| Access control | Role-based access so each user sees only what they need (the “minimum necessary” idea). Review access on a schedule. |
| Audit logs | Record who viewed, changed, exported or deleted PHI, and when. Protect the logs from tampering. Keep PHI itself out of the logs. |
| Session management | Automatic logoff after inactivity and short-lived tokens. |
| Data on the device | Avoid storing PHI on the phone where you can. If you must, encrypt it, protect it with the device lock and wipe it on logout or remote request. |
| Push notifications and email | Send no PHI. “You have a new message” is fine. “Your test result for diabetes is ready” is not. |
| Analytics, crash reports and SDKs | Do not send PHI to tools that have no signed BAA. HHS has issued guidance on online tracking technologies, so review every SDK and tag. |
| Backups and disaster recovery | Encrypted backups, tested restores and a documented recovery plan. |
| Data retention and deletion | Define how long data is kept and how it is deleted. HIPAA requires you to keep your compliance documents for six years. Medical record retention is usually set by state law. |
| Secure messaging and video | Use vendors that sign a BAA, and make sure recordings and transcripts are protected like any other PHI. |
In January 2025, HHS proposed changes to the Security Rule that would remove the “addressable” category and require measures such as encryption and multi-factor authentication. As of late 2026, reports indicate it is still a proposal, and the timeline for a final rule has moved more than once. Nothing in the proposal is enforceable until a final rule is published. The sensible approach is to build to the stricter standard now, because it is also the safer design.
A BAA is a contract in which a vendor agrees to protect PHI the way HIPAA requires. You need one with every vendor that creates, receives, stores or sends PHI for you, and your client needs one with you.
| Vendor type | BAA needed if it touches PHI? | Watch out for |
|---|---|---|
| Cloud hosting and storage | Yes | Major cloud providers sign BAAs, but only for listed services. Use only those services for PHI. |
| Database and backup services | Yes | Make sure backups and replicas are covered too. |
| Email, SMS and chat providers | Yes | Keep PHI out of message bodies where you can. |
| Video and telehealth providers | Yes | Check recording and transcript settings. |
| Analytics, crash and marketing tools | Yes, or keep PHI out of them | Most standard analytics products do not sign BAAs. |
| AI and LLM APIs | Yes, or keep PHI out of the prompts | Do not paste PHI into a model that has no BAA. Ask about data retention and model training. |
| Subcontractors and offshore developers | Yes, if they can access PHI | Give developers de-identified test data, not real patient data. |
HHS publishes guidance on HIPAA and cloud computing that explains how BAAs work with cloud vendors.
Start small to learn fast. A focused first version can prove your idea before you invest in the full platform. See our MVP development service.
Under the HIPAA Breach Notification Rule, a breach of unsecured PHI must be reported. The timing for covered entities is:
| Who | Deadline |
|---|---|
| Affected individuals | Without unreasonable delay, and no later than 60 calendar days after discovery |
| HHS, breach affects 500 or more people | At the same time as the notice to individuals |
| HHS, breach affects fewer than 500 people | Annually, within 60 days after the end of the calendar year of discovery |
| Media, breach affects more than 500 residents of a state | Same 60-day limit, to prominent media outlets in that state |
As a business associate, your contract will usually require you to tell your client much sooner, so they can meet their own deadlines. Data that was properly encrypted is generally not “unsecured” PHI, which is one more reason to encrypt. Read the HHS Breach Notification Rule page for the details.
There is no separate price list for “HIPAA apps”. The cost is your base app plus the work to make it compliant. Our own cost guides put the compliance work at roughly 20 to 40% on top of the base build, plus a security review. For general pricing, see our mobile app development cost guide and our AI app development cost in the USA guide.
| Example | Base build | With compliance (+20 to 40%) | Timeline |
|---|---|---|---|
| Patient portal or appointment app (one platform) | $40,000 – $80,000 | $48,000 – $112,000 | 4 – 7 months |
| Telemedicine app with video, chat and an admin panel | $40,000 – $80,000 | $48,000 – $112,000, plus a security audit | 4 – 7 months |
| Advanced app with AI features and EHR integration | $100,000 – $300,000+ | $120,000 – $420,000+ | 6 – 12 months |
Want a cost estimate for your HIPAA-compliant app?
Share your idea, your users and the systems you need to connect. Code Brew Labs will send back a scoped plan with a cost range and a timeline.
Ask every company these questions before you sign:
Be wary of anyone who says they are “HIPAA certified” or promises that using one tool makes your app compliant. For a wider view of healthcare partners, see our healthcare app development company page.
Code Brew Labs designs and builds healthcare apps for providers, startups and health-tech companies, from telemedicine and patient portals to AI-assisted tools. We start with a scoped plan and a data map, so you know what is protected, where, and what it costs before you commit. If you want a team that treats privacy as part of the design, not a late add-on, see our healthcare app development company page.
Ready to build a healthcare app that protects patient data?
Partner with Code Brew Labs to plan your safeguards, your integrations and your launch. We will tell you what to build now and what to add later.
It means designing and building an app so that it protects patient health information as HIPAA requires. That covers access control, encryption, audit logs, signed agreements with vendors, a documented risk analysis and an incident plan.
If your app handles patient data for a healthcare provider, health plan or another covered entity, yes. If people download it and use it on their own with no provider involved, HIPAA usually does not apply, but other laws such as the FTC Health Breach Notification Rule and state privacy laws may.
No. HHS does not certify or endorse apps or software as “HIPAA compliant”. Be careful with vendors that claim to be certified.
A BAA is a contract in which a vendor agrees to protect patient data as HIPAA requires. You need one with every vendor that touches PHI, and your client needs one with you if you are a business associate.
Compliance typically adds 20 to 40% to the base build, plus a security review. For example, a telemedicine app with a $40,000 to $80,000 base build would cost about $48,000 to $112,000 with compliance. Advanced apps with AI and EHR integration cost more.
Encryption is an “addressable” specification under the current Security Rule, which means you must either implement it or document an equal alternative. In practice, you should encrypt data in transit and at rest. HHS has proposed making it a requirement.
Yes, but only if you control what data goes in. Use an AI provider that will sign a BAA, or keep PHI out of the prompts. Check how long the provider keeps data and whether it uses it for training.
You should not. Keep notifications generic, such as “You have a new message”, and show the details only after the user signs in.
You must follow the breach notification process. Covered entities must notify affected people within 60 days of discovery and also notify HHS, and sometimes the media. As a business associate you must tell your client under the terms of your contract. Properly encrypted data is generally not treated as unsecured PHI.
A focused patient portal or telemedicine app typically takes 4 to 7 months, including the risk analysis and security testing. Advanced apps with AI and EHR integration take 6 to 12 months.
HIPAA-compliant app development comes down to three habits: know where patient data goes, protect it at every step, and write down what you did. Decide early whether HIPAA applies, map your data, sign agreements with every vendor and build the safeguards in from day one. It costs more up front and far less than fixing a breach.
If you want a plan and a price for your own healthcare app, talk to the Code Brew Labs team, and we will scope it with you.
Free Consultation from Top Industry Experts
Level- 18, Dubai World Trade Centre Tower, Sheikh Rashid Tower, Sheikh Zayed Rd, Dubai, UAE
Plot no I - 36, Sector 83 Alpha, Mohali SAS Nagar 140308
Al Akaria 2, 6926 Olaya Street, RHOA2566, Riyadh, Saudi Arabia.
Av. Miguel Hidalgo y Costilla 1995, Arcos Vallarta, 44600 Guadalajara, Mexico
4231 Balboa Ave #512 San Diego, CA 92117 United States
2nd floor, College House, 17 King Edwards Rd, London HA4 7AE, UK
Partner With Experts Who Leverage AI & Tech To Transform Ideas Into Market-Leading Solutions.