---
title: timeoutInterval
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/nsurlrequest/timeoutinterval
---

# timeoutInterval

The request’s timeout interval, in seconds.

## Declaration

```swift
var timeoutInterval: TimeInterval { get }
```

## Discussion

Discussion If during a connection attempt the request remains idle for longer than the timeout interval, the request is considered to have timed out.

## See Also

### Related Documentation

- [timeoutInterval](foundation/nsmutableurlrequest/timeoutinterval.md)

### Controlling request behavior

- [httpShouldHandleCookies](foundation/nsurlrequest/httpshouldhandlecookies.md)
- [httpShouldUsePipelining](foundation/nsurlrequest/httpshouldusepipelining.md)
- [allowsCellularAccess](foundation/nsurlrequest/allowscellularaccess.md)
