<!--
{
  "availability" : [
    "iOS: 9.3.0 -",
    "iPadOS: 9.3.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 13.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "HealthKit",
  "identifier" : "/documentation/HealthKit/HKActivitySummary/appleExerciseTime",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "HealthKit"
    ],
    "preciseIdentifier" : "c:objc(cs)HKActivitySummary(py)appleExerciseTime"
  },
  "title" : "appleExerciseTime"
}
-->

# appleExerciseTime

The amount of time that the user has spent exercising during the specified day.

```
var appleExerciseTime: HKQuantity { get set }
```

## Discussion

Exercise time measures every full minute of movement that equals or exceeds the intensity of a brisk walk.

Apple watch automatically records exercise time. By default, the watch uses the accelerometer to estimate the intensity of the user’s movement. However, during workout sessions, the watch uses additional sensors, like the heart rate sensor and GPS, to generate estimates. [`HKWorkoutSession`](/documentation/HealthKit/HKWorkoutSession) sessions also contribute to the exercise time.  For more information, see [`Fill the Activity rings`](/documentation/HealthKit/HKWorkout#Fill-the-Activity-rings).

The [`HKQuantity`](/documentation/HealthKit/HKQuantity) object for this property must use units of time, such as [`hour()`](/documentation/HealthKit/HKUnit/hour()), [`minute()`](/documentation/HealthKit/HKUnit/minute()), or [`second()`](/documentation/HealthKit/HKUnit/second()).

## See Also

[`appleExerciseTime`](/documentation/HealthKit/HKQuantityTypeIdentifier/appleExerciseTime)

A quantity sample type that measures the amount of time the user spent exercising.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)