How to Fix iTunes Error 9 When Restoring iPhone
What error 9 means
Error 9 — “The iPhone could not be restored. An unknown error occurred (9)” — shows up in iTunes on Windows or in Finder on a Mac while you are restoring or updating an iPhone or iPad. The restore starts, the progress bar moves for a while, and then the whole thing collapses. Your device is usually left in recovery mode, staring back at you with the computer-and-cable screen.
At its core, error 9 is an unexpected disconnect. Your computer was in the middle of writing firmware to the iPhone when the link between the two dropped out from under it. Unlike some iTunes errors that point at Apple’s servers or at the iOS version being installed, error 9 is almost always about the connection itself — the cable, the USB port, the USB controller in the computer, or some piece of software getting in the way of the transfer. Because it strikes mid-write, it feels alarming, but nothing is permanently damaged in most cases: once the connection problem is fixed, the iPhone usually restores cleanly.
Where error 9 differs from its close cousins, errors 4013 and 4014, is its reputation. Error 9 is the one that most often keeps coming back on the exact same cable-and-port combination, and it is also the error most associated with genuine hardware trouble. That does not mean your iPhone is broken — the overwhelming majority of cases are still fixed by the cable, port, and software steps below. But if error 9 survives every cable, port, computer, and software fix you throw at it, it is one of the more reliable signals that the iPhone itself — often the storage chip or board-level components — has a real fault, and no amount of retrying will change that.
Common causes
- Faulty or uncertified USB cable: the most common trigger — worn or cheap cables cannot hold a steady data transfer, and the restore link drops mid-write.
- Loose or underpowered USB port or hub: front-panel ports, hubs, docks, and keyboard ports introduce dropouts that the restore process cannot survive.
- Outdated iTunes, Finder, or macOS: old software can mishandle the restore handshake with newer iOS firmware.
- Security software interference: antivirus and firewall tools sometimes block or interrupt iTunes’ communication with the device mid-restore.
- iPhone hardware fault: damaged storage or board-level components — suspected only after every cable, port, computer, and software cause is ruled out.
How to fix error 9 — step by step
Start with the cable and port. They cause the large majority of error 9 failures, and they take two minutes to rule out.
- Change the cable and USB port. Use a genuine Apple or MFi-certified cable — a worn or uncertified cable is the most common reason the restore link drops. Plug it directly into the computer, with no USB hub, dock, or keyboard port in between. Try a different USB port as well, preferably a rear port on a desktop. Then retry the restore.
- Force-restart the iPhone. On iPhone 8 and later: press and quickly release Volume Up, press and quickly release Volume Down, then press and hold the Side button until the Apple logo appears. (On iPhone 7: hold Volume Down + Sleep/Wake together. On iPhone 6s and earlier: hold Home + Sleep/Wake.) Reconnect to iTunes or Finder and retry the restore.
- Update iTunes or macOS and restart the computer. On Windows with the Microsoft Store apps, open the Microsoft Store > Library and install updates for the Apple Music and Apple Devices apps (or in classic iTunes, go to Help > Check for Updates). On a Mac, open the Apple menu > System Settings > General > Software Update. Restart the computer after updating, then retry the restore.
- Temporarily disable security software. Pause your antivirus and firewall: on Windows, go to Windows Security > Virus & threat protection > Manage settings, and temporarily turn off real-time protection and the firewall. Retry the restore, then re-enable everything immediately afterward.
- Try a different computer. Restore the iPhone on a different computer with a fresh iTunes or Finder install and a known-good cable. If the restore succeeds there, your main computer’s USB hardware or software is the problem — not your iPhone.
- Do a DFU-mode restore. Connect the iPhone to the computer. Press and quickly release Volume Up, press and quickly release Volume Down, then hold the Side button for 10 seconds. While still holding Side, press and hold Volume Down for 5 seconds, then release the Side button but keep holding Volume Down for about 10 more seconds. The screen stays black — that’s DFU mode. iTunes or Finder will detect a device in recovery and offer a restore. Note: this erases the iPhone, so restore from an iCloud or computer backup afterward.
Did this fix it? Quick checklist
- Using a genuine cable plugged directly into the computer, with no hub in the chain
- iTunes or Finder and the computer’s operating system fully updated
- The iPhone force-restarts cleanly to the Apple logo
- The restore completes (or the DFU restore succeeds) without error 9
If error 9 survives new cables, new ports, a different computer, and a DFU restore, the iPhone most likely has a hardware fault — book an appointment at an Apple Store or an authorized repair provider. Mention the error code when you go; it is a recognized diagnostic clue, and it helps the technician get straight to the right tests.
Frequently asked questions
What does iTunes error 9 mean?
It means the restore connection between your iPhone and the computer dropped unexpectedly in the middle of the restore or update. It is almost always a cable, USB port, or software problem — a genuine hardware fault is the last thing to suspect, not the first.
Will error 9 delete the data on my iPhone?
A failed restore may already have erased the iPhone’s data, and a DFU restore definitely will. Before doing any restore, back up if you still can — and make sure you know your Apple ID password so you can sign back in and restore from an iCloud or computer backup afterward.
Does error 9 mean my iPhone is broken?
Usually not. Most error 9 cases are fixed by changing the cable, the USB port, or the computer. It only starts to look like a hardware fault — often the storage or board-level components — when it persists across different cables, ports, computers, and software.
Can I fix error 9 by just retrying the restore?
A couple of clean retries are fine, but blind retries with the same cable and port rarely work. Change something real between attempts — cable, port, computer, or software — and if three properly changed attempts still fail, move to a DFU restore.
Why does error 9 keep happening on a jailbroken iPhone?
Modified system files from a jailbreak can break the restore chain, making error 9 much more likely. A DFU-mode restore to clean, current Apple firmware is the reliable way back — just know it removes the jailbreak and erases the device.