iOS Error Code -1018
Data roaming is disabled while the device is abroad.
Data roaming is disabled while the device is abroad.
| Code | -1018 |
| Product | iOS |
| Company / origin | Apple · United States |
| Category | Mobile Platforms |
| Platform / versions | iOS 15 and later · NSURLErrorDomain |
| Severity | warning |
| Official source | Apple Developer: NSURLErrorDomain ↗ |
| Last verified | 2026-11-08 |
What does iOS error -1018 mean?
NSURLErrorInternationalRoamingOff (-1018) means the device is outside its home network and data roaming is turned off, so iOS will not use cellular data for the request.
Common causes
- The user is abroad and Data Roaming is disabled.
- The carrier profile blocks data roaming.
- The app is trying to use cellular data when only Wi-Fi is available.
How to fix it
- Step 1
Connect to Wi-Fi or enable Data Roaming if the user accepts the charges.
- Step 2
Check the carrier's roaming plan and device settings.
- Step 3
Handle the error in the app with a clear message rather than retrying indefinitely.
When to escalate
Related codes
| Code | Name | What it means |
|---|---|---|
-1001 | The Request Timed Out | The request did not complete before the timeout. |
-1003 | Cannot Find Host | The hostname could not be resolved. |
-1004 | Cannot Connect to Host | The host was found, but the connection could not be established. |
-1005 | The Network Connection Was Lost | The connection was established but then dropped. |
-1006 | Cannot Find Host | The DNS lookup for the host failed. |
Source & verification
This page was checked against Apple Developer: NSURLErrorDomain on 2026-11-08. The code, product, and platform fields are kept separate from the explanation so corrections can be made without changing the URL.
Open Error Codes is independent and not affiliated with Apple. Always confirm destructive or security-sensitive steps with the official documentation.