<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "Dispatch",
  "identifier" : "/documentation/Dispatch/DISPATCH_QUEUE_PRIORITY_BACKGROUND",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Dispatch"
    ],
    "preciseIdentifier" : "c:@macro@DISPATCH_QUEUE_PRIORITY_BACKGROUND"
  },
  "title" : "DISPATCH_QUEUE_PRIORITY_BACKGROUND"
}
-->

# DISPATCH_QUEUE_PRIORITY_BACKGROUND

Tasks run at the background priority, which is equivalent to the background quality-of-service level.

```
var DISPATCH_QUEUE_PRIORITY_BACKGROUND: Int32 { get }
```

## Discussion

Use quality-of-service constants instead. This constant maps to the `QOS_CLASS_BACKGROUND` class.

Items dispatched to the queue run at background priority; the queue is scheduled for execution after all high priority queues have been scheduled and the system runs items on a thread whose priority is set for background status. Such a thread has the lowest priority and any disk I/O is throttled to minimize the impact on the system.

---

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)