<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.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/HKCharacteristicTypeIdentifier/biologicalSex",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "HealthKit"
    ],
    "preciseIdentifier" : "c:@HKCharacteristicTypeIdentifierBiologicalSex"
  },
  "title" : "biologicalSex"
}
-->

# biologicalSex

A characteristic type identifier for the user’s sex.

```
static let biologicalSex: HKCharacteristicTypeIdentifier
```

## Discussion

This type uses values from the [`HKBiologicalSex`](/documentation/HealthKit/HKBiologicalSex) enum.

## See Also

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

A type that represents data that doesn’t typically change over time.

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

The identifiers that create characteristic type objects.

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

Constants indicating the user’s sex.

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

This class acts as a wrapper for the [`HKBiologicalSex`](/documentation/HealthKit/HKBiologicalSex) enumeration.



---

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)