Written by Denys Havryliak
watchOS Health & Fitness App Development: A 2026 Guide
Apple Watch health and fitness app development in 2026: HealthKit, live workout sessions, what sensors your app can actually read, App Store health rules, and US regulation.

TL;DR
- Why the watch: it's on the body during a workout, and HealthKit gives apps one permissioned store of health data
- Core APIs: HealthKit (data), HKWorkoutSession and HKLiveWorkoutBuilder (live workouts), CoreMotion (motion), CoreLocation (GPS), WorkoutKit (planned workouts)
- Rules that shape the product: Apple bars using HealthKit data for advertising and storing personal health information in iCloud. In the US, FDA and FTC rules may apply depending on what you claim and who you serve
- Typical cost: Starts at $1,500 for a serious watchOS health/fitness app, $5,000 for full iPhone+watch+backend platforms
- Applefy builds native watchOS apps, including Mellow
How we checked this: in November 2026 we confirmed the APIs and availability below against the watchOS 27.0 SDK in Xcode 27.0, and compiled the sample code against it. We did not run the workout on a physical watch. The rules are quoted or summarized from the primary sources linked under Sources. This is a starting point, not legal advice.
Apple Watch's biggest advantage for health apps is where it sits: on the wrist, with its sensors running while the phone is in a pocket or a bag.
Building a health or fitness app for watchOS in 2026 means knowing what those sensors actually give your app, and what Apple and regulators let you do with the data. Here's what that takes.
Why Health and Fitness Suits Apple Watch
Three structural advantages over phone-only apps:
- The watch is on the body during the workout. The phone is in a pocket or on a treadmill armband. The watch knows what's happening; the phone often doesn't.
- Passive data. The watch records heart rate, sleep, and activity without user effort. With permission, your app can build on that history.
- HealthKit. One shared store across health apps. Users grant access per data type, and your app gets data with explicit consent.
The Core APIs You'll Use
| API | Purpose | Notes |
|---|---|---|
| HealthKit | Read and write health and fitness data | The shared store. Available since watchOS 2. |
| HKWorkoutSession + HKLiveWorkoutBuilder | Live workout sessions | Real-time heart rate, energy, and distance during a workout. The live builder arrived in watchOS 5. |
| CoreMotion | Accelerometer, gyroscope, device motion | For motion analysis HealthKit doesn't cover. Batched high-frequency data needs watchOS 10. |
| CoreLocation + HKWorkoutRouteBuilder | GPS and saved routes | For outdoor workouts with route tracking. |
| WorkoutKit | Create, preview, and sync planned workouts | iOS 17+, watchOS 10+. Syncs to Apple's Workout app. |
| WidgetKit | Complications | Puts health data on the watch face. See our complications guide. |
What Your App Can Actually Read
A sensor being on the watch doesn't mean your app gets a live feed from it. Here's what the documentation and SDK show:
| Data | How you get it | What to know |
|---|---|---|
| Heart rate | A workout session, through HKLiveWorkoutBuilder | Apple says all workout sessions generate high-frequency heart rate samples. |
| ECG | HKElectrocardiogram | Apple describes this as read-only access to ECG data saved by Apple Watch. |
| Blood oxygen | HKQuantityType(.oxygenSaturation) | Apple's Blood Oxygen app runs on Series 6 or later and all Ultra models, not on SE, and Apple says its measurements are "not intended for medical use". On US models bought on or after January 18, 2024 with part numbers ending in LW/A or LS/A, the analysis runs on iPhone. |
| Sleep | The sleepAnalysis category type in HealthKit | Read what's already been recorded, with permission. |
| Motion | CoreMotion | Mellow, an app we built, reads motion data to recognize seizure-like movement. |
| Route | CoreLocation and HKWorkoutRouteBuilder | Apple says an outdoor cycling session generates accurate location data, while an indoor one doesn't. |
Building a Live Workout
HKWorkoutSession and HKLiveWorkoutBuilder are the core of a watchOS fitness app. While a session runs, Apple says your app keeps running in the background even when the user lowers their wrist, keeps receiving sensor data, and can alert the user with audio or haptics. Your app must clearly show when a session is in progress.
Before you write any code, set up the project:
- Add the HealthKit capability in Signing & Capabilities.
- Add the Background Modes capability and turn on Workout processing, which Apple requires for workout sessions.
- Add the
NSHealthShareUsageDescriptionandNSHealthUpdateUsageDescriptionpurpose strings.
Then the session itself. This class compiles against the watchOS 27.0 SDK in Swift 5 and Swift 6 modes. A real app would update its UI instead of printing:
import Foundation
import HealthKit
final class WorkoutManager: NSObject, HKWorkoutSessionDelegate, HKLiveWorkoutBuilderDelegate {
private let store = HKHealthStore()
private var session: HKWorkoutSession?
private var builder: HKLiveWorkoutBuilder?
func requestAuthorization() async throws {
let toShare: Set = [HKQuantityType.workoutType()]
let toRead: Set = [
HKQuantityType(.heartRate),
HKQuantityType(.activeEnergyBurned),
HKQuantityType(.distanceWalkingRunning),
]
try await store.requestAuthorization(toShare: toShare, read: toRead)
}
func start() async throws {
let configuration = HKWorkoutConfiguration()
configuration.activityType = .running
configuration.locationType = .outdoor
let session = try HKWorkoutSession(healthStore: store, configuration: configuration)
let builder = session.associatedWorkoutBuilder()
builder.dataSource = HKLiveWorkoutDataSource(
healthStore: store,
workoutConfiguration: configuration
)
session.delegate = self
builder.delegate = self
self.session = session
self.builder = builder
let startDate = Date()
session.startActivity(with: startDate)
try await builder.beginCollection(at: startDate)
}
func stop() {
session?.stopActivity(with: Date())
}
// Save only after the session reaches .stopped.
nonisolated func workoutSession(
_ workoutSession: HKWorkoutSession,
didChangeTo toState: HKWorkoutSessionState,
from fromState: HKWorkoutSessionState,
date: Date
) {
guard toState == .stopped else { return }
let builder = workoutSession.associatedWorkoutBuilder()
Task {
do {
try await builder.endCollection(at: date)
_ = try await builder.finishWorkout()
} catch {
print("Could not save the workout: \(error)")
}
workoutSession.end()
}
}
nonisolated func workoutSession(_ workoutSession: HKWorkoutSession, didFailWithError error: Error) {}
nonisolated func workoutBuilder(
_ workoutBuilder: HKLiveWorkoutBuilder,
didCollectDataOf collectedTypes: Set<HKSampleType>
) {
let heartRate = HKQuantityType(.heartRate)
guard collectedTypes.contains(heartRate),
let quantity = workoutBuilder.statistics(for: heartRate)?.mostRecentQuantity()
else { return }
let bpm = quantity.doubleValue(for: HKUnit.count().unitDivided(by: .minute()))
print("Heart rate: \(bpm)")
}
nonisolated func workoutBuilderDidCollectEvent(_ workoutBuilder: HKLiveWorkoutBuilder) {}
}
The order at the end matters. Apple's sequence is to stop the activity, wait for the .stopped state, end collection, finish the workout, and only then end the session. Also plan for crashes: after a relaunch, recoverActiveWorkoutSession lets you pick up the session, and you must set up its data source and delegates again.
The App Store Rules for Health Data
Apple's App Review Guidelines say health, fitness, and medical data are "especially sensitive". These are the rules that shape a watchOS health app:
- Purpose strings.
NSHealthShareUsageDescriptionexplains why you read data, andNSHealthUpdateUsageDescriptionexplains why you write it. Be specific. - Disclose what you collect. Guideline 5.1.3 says "You must disclose the specific health data that you are collecting from the device."
- No advertising use. Guideline 5.1.3(i) bars using or disclosing this data to third parties for advertising, marketing, or other use-based data mining. The exceptions are improving health management and health research, and then only with permission.
- No personal health information in iCloud. Guideline 5.1.3(ii) says apps "may not store personal health information in iCloud", and that apps must not write false or inaccurate data into HealthKit. If you sync health data, that points to your own server rather than CloudKit.
- Back up accuracy claims. Guideline 1.4.1 says apps "must clearly disclose data and methodology to support accuracy claims relating to health measurements". It also bars apps that claim to measure blood pressure, body temperature, blood glucose, or blood oxygen "using only the sensors on the device", and says apps should remind users to check with a doctor.
- Expect partial permissions. Users grant access per data type, so design for the case where some are denied.
(See also our iOS app security guide.)
Battery: What to Get Right
A workout app runs for as long as the workout does, so battery is a design constraint from day one. What helps:
- Let the session collect the data. While it runs, Apple Watch collects workout samples for you, so don't add your own polling on top.
- Keep background CPU low. Apple warns that watchOS may suspend an app that uses too much CPU in the background. Check with Xcode's CPU report or the Time Profiler in Instruments.
- Simplify the Always-On view. Use the
isLuminanceReducedenvironment value in SwiftUI to reduce what's on screen when the wrist is down. - Update the UI only as often as it's useful. A live metric rarely needs more than one update a second.
- Defer network requests. Sync after the workout, not during it.
- Measure on a real watch. The simulator can't tell you what your app does to the battery.
Regulatory Considerations
Which rules apply depends on what your app claims and who you serve. Use this to start the conversation with a lawyer, not to end it:
- FDA. Under 21 U.S.C. 360j(o), software intended "for maintaining or encouraging a healthy lifestyle" and "unrelated to the diagnosis, cure, mitigation, prevention, or treatment of a disease or condition" is not a device. The FDA's General Wellness guidance, updated in January 2026, covers this low-risk category. For software that does meet the device definition, the FDA says it takes a risk-based approach. Your claims decide which side you're on.
- FTC Health Breach Notification Rule. It requires "vendors of personal health records and related entities" to notify consumers after a breach, and to notify the media in certain breaches involving 500 or more people. Ask your lawyer whether your app counts as a personal health record.
- HIPAA. It covers health plans, clearinghouses, health care providers that transmit health information electronically, and their business associates. If you handle protected health information on behalf of one of them, expect it to apply. A consumer fitness app with no such relationship usually falls outside it.
- Outside the US. GDPR Article 9 treats "data concerning health" as a special category. The EU Medical Device Regulation counts software intended for medical purposes such as diagnosing or monitoring disease as a medical device.
Cost Estimate for a watchOS Health/Fitness App
| App scope | Cost range | Timeline |
|---|---|---|
| Workout tracker (single discipline, e.g. running) | Starts at $1,500 | 7–10 weeks |
| Multi-discipline fitness (run, cycle, gym, etc.) | Starts at $2,250 | 10–14 weeks |
| Health monitoring (heart, sleep, recovery) | Starts at $2,000 | 8–12 weeks |
| Full platform (iPhone + watch + backend + web) | Starts at $5,000 | 4–8 months |
Why Applefy for watchOS Health and Fitness
We build native watchOS apps. The closest example we can show is Mellow, an iOS and Apple Watch app that detects motions typical of motor seizures and alerts emergency contacts. For products that handle patient data, see our healthcare app development page.
Book a free first conversation.
Frequently Asked Questions
What does it cost to build a watchOS health or fitness app?
Starts at $1,500 for a focused single-discipline app, $2,250 for multi-discipline fitness, $5,000 for full health platforms with iPhone, watch, and backend.
Do I need HIPAA compliance for a watchOS health app?
Only if you handle protected health information as a covered entity or on behalf of one, as a business associate. A consumer fitness app with no such relationship usually falls outside HIPAA, but Apple's guidelines still apply, the FTC's Health Breach Notification Rule may, and GDPR does if you serve EU users. Get legal advice.
How long does it take to build a watchOS fitness app?
7–14 weeks depending on scope. Single-discipline tracker: 7–10 weeks. Multi-discipline platform: 10–14 weeks. Full health platform with backend: 4–8 months.
What's the difference between WorkoutKit and HKWorkoutSession?
HKWorkoutSession, with HKLiveWorkoutBuilder, runs a live workout inside your app. WorkoutKit (iOS 17+, watchOS 10+) creates, previews, and syncs planned workouts to Apple's Workout app. They solve different problems, and one app can use both.
How do I keep watchOS battery usage acceptable during workouts?
Let the workout session collect sensor data, keep background CPU low, simplify the Always-On view, defer network requests, and profile on a real watch. Apple warns that watchOS may suspend an app that uses too much CPU in the background.
What sensors does Apple Watch expose to apps?
Through HealthKit: heart rate, saved ECG recordings (read-only), blood oxygen samples, and sleep analysis. Through CoreMotion: accelerometer and gyroscope data. Through CoreLocation: GPS. What's available depends on the watch model.
Can I store HealthKit data in iCloud?
No. App Review Guideline 5.1.3(ii) says apps "may not store personal health information in iCloud". If you need to sync across devices, plan on your own backend.
Can my watchOS app sync to a backend without iPhone?
Yes. Apple says independent watchOS apps can download data directly to the watch and can't rely on Watch Connectivity as their main source of data. For health data, use your own server rather than CloudKit because of guideline 5.1.3(ii).
Can I share data between my watchOS app and Apple Health?
Yes, via HealthKit. Read with permission, write with permission. Apple's guidelines say HealthKit should integrate with the Health app, and that apps must not write false or inaccurate data into it.
Sources
- Apple: Running workout sessionsSession setup, the Workout processing background mode, high-frequency heart rate samples, the end sequence, background behavior, CPU limits, and crash recovery.
- Apple: HKElectrocardiogramRead-only access to ECG data.
- Apple: oxygenSaturationThe blood oxygen quantity type.
- Apple Support: How to use the Blood Oxygen app on Apple WatchSupported models, the US part-number note, and "not intended for medical use".
- Apple: WorkoutKitWhat the framework does and where it's available.
- Apple: Creating independent watchOS appsDownloading data directly to the watch and Watch Connectivity limits.
- Apple: App Review GuidelinesGuidelines 1.4.1, 2.5.1, and 5.1.3.
- 21 U.S.C. 360jThe healthy-lifestyle software exclusion in subsection (o).
- FDA: General Wellness, Policy for Low Risk DevicesThe January 2026 guidance.
- FDA: Device Software Functions Including Mobile Medical ApplicationsThe risk-based approach to software that meets the device definition.
- FTC: Health Breach Notification RuleWho it covers and the notice requirements.
- 45 CFR 160.103HIPAA's definitions of covered entity and business associate.
- GDPR Article 9Special categories of personal data.
- EU MDR Article 2The definition of a medical device.
Related articles
- Native watchOS vs Companion App: Architecture Decision for Your iPhone App (2026)Development
- Apple Watch Complications: Building Useful Watch Faces (2026)Development
- Apple Watch App Development: A Founder's Guide for 2026Development
