<!--
{
  "availability" : [
    "macOS: -",
    "watchOS: 3.0.0 - 5.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "HealthKit",
  "identifier" : "/documentation/HealthKit/HKHealthStore/pause(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "HealthKit"
    ],
    "preciseIdentifier" : "c:objc(cs)HKHealthStore(im)pauseWorkoutSession:"
  },
  "title" : "pause(_:)"
}
-->

# pause(_:)

Pauses the provided workout session.

```
func pause(_ workoutSession: HKWorkoutSession)
```

## Parameters

`workoutSession`

The workout session to pause.

## Discussion

This method pauses the provided session if it is currently running. The workout session’s state transitions to `HKWorkoutSessionStatePaused`, and the system generates an [`HKWorkoutEventType.pause`](/documentation/HealthKit/HKWorkoutEventType/pause) event and passes it to the workout session delegate’s `workoutSession:didGenerateEvent:` method.

---

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)