<!--
{
  "availability" : [
    "iOS: 2.0.0 -",
    "iPadOS: 2.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.0.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/NSURLErrorTimedOut-swift.var",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "s:So18NSURLErrorTimedOutSivp"
  },
  "title" : "NSURLErrorTimedOut"
}
-->

# NSURLErrorTimedOut

An asynchronous operation timed out.

```
var NSURLErrorTimedOut: Int { get }
```

## Discussion

[`URLSession`](/documentation/Foundation/URLSession) sends this error to its delegate when the [`timeoutInterval`](/documentation/Foundation/NSURLRequest/timeoutInterval) of an [`NSURLRequest`](/documentation/Foundation/NSURLRequest) expires before a load can complete.

---

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)