---
title: basalBodyTemperature
framework: healthkit
role: symbol
role_heading: Type Property
path: healthkit/hkquantitytypeidentifier/basalbodytemperature
---

# basalBodyTemperature

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

## Declaration

```swift
static let basalBodyTemperature: HKQuantityTypeIdentifier
```

## Discussion

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) and measure discrete values (described in HKQuantityAggregationStyle).

## See Also

### Related Documentation

- [HKCategoryValue](healthkit/hkcategoryvalue.md)
- [HKCategoryTypeIdentifier](healthkit/hkcategorytypeidentifier.md)
- [HKCategoryType](healthkit/hkcategorytype.md)
- [HKCategorySample](healthkit/hkcategorysample.md)

### Reproductive health

- [menstrualFlow](healthkit/hkcategorytypeidentifier/menstrualflow.md)
- [intermenstrualBleeding](healthkit/hkcategorytypeidentifier/intermenstrualbleeding.md)
- [infrequentMenstrualCycles](healthkit/hkcategorytypeidentifier/infrequentmenstrualcycles.md)
- [irregularMenstrualCycles](healthkit/hkcategorytypeidentifier/irregularmenstrualcycles.md)
- [persistentIntermenstrualBleeding](healthkit/hkcategorytypeidentifier/persistentintermenstrualbleeding.md)
- [prolongedMenstrualPeriods](healthkit/hkcategorytypeidentifier/prolongedmenstrualperiods.md)
- [cervicalMucusQuality](healthkit/hkcategorytypeidentifier/cervicalmucusquality.md)
- [ovulationTestResult](healthkit/hkcategorytypeidentifier/ovulationtestresult.md)
- [progesteroneTestResult](healthkit/hkcategorytypeidentifier/progesteronetestresult.md)
- [sexualActivity](healthkit/hkcategorytypeidentifier/sexualactivity.md)
- [contraceptive](healthkit/hkcategorytypeidentifier/contraceptive.md)
- [pregnancy](healthkit/hkcategorytypeidentifier/pregnancy.md)
- [pregnancyTestResult](healthkit/hkcategorytypeidentifier/pregnancytestresult.md)
- [lactation](healthkit/hkcategorytypeidentifier/lactation.md)
- [HKCategoryValueVaginalBleeding](healthkit/hkcategoryvaluevaginalbleeding.md)
