<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AlarmKit",
  "identifier" : "/documentation/AlarmKit/Alarm/countdownDuration-swift.property",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AlarmKit"
    ],
    "preciseIdentifier" : "s:8AlarmKit0A0V17countdownDurationAC09CountdownD0VSgvp"
  },
  "title" : "countdownDuration"
}
-->

# countdownDuration

The time left before an alert, in seconds.

```
var countdownDuration: Alarm.CountdownDuration?
```

## Discussion

When set to a non-nil value, the system shows the countdown in the Lock
Screen for the specified duration.
The UI will appear at a time equal
to the next scheduled alert date minus the duration.

---

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)