<!--
{
  "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/HKBiologicalSex",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "HealthKit"
    ],
    "preciseIdentifier" : "c:@E@HKBiologicalSex"
  },
  "title" : "HKBiologicalSex"
}
-->

# HKBiologicalSex

Constants indicating the user’s sex.

```
enum HKBiologicalSex
```

## Overview

A person’s sex is a combination of bodily characteristics including: chromosomes, hormones, internal and external reproductive organs, and secondary sex characteristics.

## Topics

### Constants

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

A constant indicating that either the user’s biological sex characteristic type is not set, or the user has not granted your app permission to read that characteristic type.

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

A constant indicating that the user is female.

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

A constant indicating that the user is male.

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

A constant indicating that the user is otherwise not categorized as either male or female.

## Relationships

### Conforms To

[`Equatable`](/documentation/Swift/Equatable)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

[`Hashable`](/documentation/Swift/Hashable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

---

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)