<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "macOS: 13.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "HealthKit",
  "identifier" : "/documentation/HealthKit/HKHeartRateRecoveryTestType/maxExercise",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "HealthKit"
    ],
    "preciseIdentifier" : "c:@E@HKHeartRateRecoveryTestType@HKHeartRateRecoveryTestTypeMaxExercise"
  },
  "title" : "HKHeartRateRecoveryTestType.maxExercise"
}
-->

# HKHeartRateRecoveryTestType.maxExercise

Measures a person’s actual heart-rate recovery.

```
case maxExercise
```

## Discussion

In this test, a person exercises to their physical limit. The test measures their max heart rate during the workout, and then compares this with their heart rate after the workout ends. This lets the test calculate the actual heart rate recovery.

---

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)