<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 13.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "HealthKit",
  "identifier" : "/documentation/HealthKit/HKQuantityTypeIdentifier/basalBodyTemperature",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "HealthKit"
    ],
    "preciseIdentifier" : "c:@HKQuantityTypeIdentifierBasalBodyTemperature"
  },
  "title" : "basalBodyTemperature"
}
-->

# basalBodyTemperature

A quantity sample type that records the user’s basal body temperature.

```
static let basalBodyTemperature: HKQuantityTypeIdentifier
```

## Discussion

Basal body temperature measures the body’s temperature when at rest (for example, taking the temperature immediately after waking). These samples use temperature units (described in [`HKUnit`](/documentation/HealthKit/HKUnit)) and measure discrete values (described in [`HKQuantityAggregationStyle`](/documentation/HealthKit/HKQuantityAggregationStyle)).

## See Also

[`HKCategoryValue`](/documentation/HealthKit/HKCategoryValue)

Categories that are undefined.

[`HKCategoryTypeIdentifier`](/documentation/HealthKit/HKCategoryTypeIdentifier)

Identifiers for creating category types.

[`HKCategoryType`](/documentation/HealthKit/HKCategoryType)

A type that identifies samples that contain a value from a small set of possible values.

[`HKCategorySample`](/documentation/HealthKit/HKCategorySample)

A sample with values from a short list of possible values.



---

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)