iPhone update error: why it happens and how to fix
In this article
Your iPhone shows an error during an update because the device can’t verify the download, runs out of storage, or encounters a temporary server issue. The steps below walk you through the most common fixes, from simple restarts to a full DFU restore.
What You\'ll Need
- An iPhone with at least 50 % battery or a charger plugged in
- A stable Wi‑Fi connection (cellular data is not recommended for iOS updates)
- A computer with the latest version of macOS (Finder) or Windows (iTunes) if you need to restore via cable
- Your Apple ID password for re‑sign‑in after a reset
Step-by-Step
- Restart your iPhone. Press and hold the side button with either volume button until the power‑off slider appears, slide to power off, wait 10 seconds, then turn the device back on. A fresh boot clears temporary caches that often trigger update errors.
- Check Apple’s System Status page (https://www.apple.com/support/systemstatus/). Look for any outage under “iOS Software Update”. If the service is down, wait until Apple resolves the issue before proceeding.
- Verify that you have enough free storage. Go to Settings > General > iPhone Storage. If less than 2 GB is free, delete unused apps, photos, or offload media to iCloud. Insufficient space is a frequent cause of "Error 401" and similar messages.
- Connect to a reliable Wi‑Fi network. In Settings > Wi‑Fi, tap the network you trust, ensure the signal strength is strong, and that you have internet access by opening a webpage in Safari.
- Attempt the update again: Settings > General > Software Update. Tap “Download and Install”. If the error reappears, note the exact wording (e.g., “Error 319” or “Cannot Verify Update”) – it helps narrow the cause.
- Reset network settings. Go to Settings > General > Transfer or Reset iPhone > Reset > Reset Network Settings. This clears cached DNS entries and VPN configurations that can block Apple’s servers. You will need to reconnect to Wi‑Fi afterwards.
- Delete the partially‑downloaded update. Open Settings > General > iPhone Storage, scroll to the iOS update entry, tap it, then choose “Delete Update”. This forces the device to fetch a fresh copy.
- Turn off any VPN or content‑filtering profiles. Navigate to Settings > General > VPN & Device Management and disable active VPNs. Some corporate or school VPNs interfere with Apple’s certificate verification.
- Make sure your date, time, and region are correct. Go to Settings > General > Date & Time and enable “Set Automatically”. Incorrect clock settings can cause certificate validation failures.
- If the error persists, update via a computer. Connect the iPhone to a Mac (or PC) with a Lightning cable, open Finder (macOS Catalina or later) or iTunes (Windows/macOS Mojave or earlier). Select your device, then click “Check for Update”. Follow the on‑screen prompts. This method bypasses the over‑the‑air download and often resolves server‑side hiccups.
- Perform a DFU (Device Firmware Upgrade) restore as a last resort. On iPhone models with Face ID, quickly press and release Volume Up, then Volume Down, then hold the side button while also holding Volume Down for 5 seconds, release the side button but keep holding Volume Down for another 10 seconds. The screen stays black, indicating DFU mode. On a computer, open Finder/iTunes and choose “Restore”. This erases the device and reinstalls iOS from scratch; ensure you have a recent iCloud or encrypted iTunes backup first.
- After a successful update, re‑enable any VPN, profiles, or custom settings you previously disabled. Verify that the error no longer appears by checking Settings > General > Software Update again.
Common Mistakes
- Attempting an update while the battery is below 20 % without a charger, causing the process to abort.
- Using cellular data for the download; Apple often blocks large OTA updates on mobile networks, resulting in a generic error.
- Deleting the update file but not restarting the device, leaving the system in a half‑installed state.
- Skipping the step to reset network settings; residual DNS caches can persist after a simple Wi‑Fi toggle.
- Not backing up before a DFU restore, which leads to permanent data loss if the user forgets to restore from a backup later.
Tips
- Keep iOS updated regularly. Smaller incremental updates are less likely to hit storage or server verification limits.
- Schedule updates when you have at least an hour of uninterrupted Wi‑Fi and power.
- Use iCloud Photos with “Optimize iPhone Storage” turned on to free space automatically before a major iOS release.
- Disable “Automatic Updates” in Settings > General > Software Update > Automatic Updates if you prefer to control when the download starts.
- Maintain a recent encrypted iTunes backup; it preserves passwords and health data, which iCloud backups may not retain.
Troubleshooting
If the steps above do not resolve the error, follow this escalation path:
- Re‑check Apple’s System Status page for any new outages that may have started after your last check.
- This forces the device to refresh its authentication tokens.
- Try a different Wi‑Fi network, such as a friend’s house or a public hotspot, to rule out router‑level blocks.
- Temporarily remove any SIM card or cellular data plan, then attempt the OTA update again on Wi‑Fi only.
- If the error code references a specific server (e.g., “Error 319 – Server Unavailable”), note it and search Apple’s support site for that code – Apple often publishes targeted fixes.
- Contact Apple Support via the Support app or by calling the official helpline. Provide the exact error message and the steps you’ve already taken; they can run remote diagnostics.
Frequently Asked Questions
Why does my iPhone say “Error 401” during an update?
“Error 401” indicates the device cannot verify the authenticity of the iOS package, usually because of a network issue, corrupted download, or incorrect date/time settings.
Can I install iOS without Wi‑Fi?
Yes, by connecting the iPhone to a Mac or PC and using Finder/iTunes to install the update. Over‑the‑air updates require Wi‑Fi unless you have a very large cellular data plan and Apple permits the download.
Do I lose data if I perform a DFU restore?
A DFU restore erases all content on the iPhone. Always back up to iCloud or an encrypted iTunes backup before starting a DFU restore.
What if the update keeps failing after I’ve freed up space?
After confirming sufficient storage, try resetting network settings, deleting the partially downloaded update, and then reinstalling via a computer. If it still fails, the issue may be hardware‑related (e.g., a faulty storage chip) and requires professional service.
Is it safe to disable VPNs during an update?
Disabling VPNs temporarily is safe and often necessary because some VPN configurations block Apple’s update servers. Re‑enable the VPN after the update completes.