How to Fix iTunes Error 17 During iPhone Restore or Update
What error 17 means
Error 17 shows up mid-restore or mid-update with the message, "The iPhone could not be restored. An unknown error occurred (17)." The phone typically ends up on the computer-and-cable recovery screen, and every retry seems to die at roughly the same point. That consistency is actually a clue: something in the link between the computer and the phone keeps breaking.
Apple documents error 17 as a USB communication or hardware-side failure. A restore is a long, continuous data transfer from the computer to the iPhone, and it cannot survive interruptions. A cable with a damaged data wire, a USB hub that momentarily loses power, a corrupt driver on the computer, or a security suite interfering with the USB channel will all drop that stream — and iTunes has no way to resume it, so the whole restore aborts with error 17. The iPhone itself is almost never the problem at this stage; it is simply waiting for the computer to finish a conversation that keeps getting cut off.
The good news is that the fix is physical and systematic. Work through the steps below in order, starting with the cable and port — the single most common cause — and move toward drivers, software, and finally a second computer if needed. Most people clear error 17 in the first three steps.
Common causes
- Damaged or charge-only cable: a cable that powers the phone fine can still have broken data wires, and USB-C adapters add more failure points.
- USB hub, dock, or front-panel port: anything between the computer and the iPhone adds latency and power dips that can drop the restore stream.
- Competing USB devices: external drives, printers, and cameras share the same USB controller and can knock the iPhone off mid-restore.
- Corrupt Apple Mobile Device USB driver: on Windows, a damaged driver disconnects the phone from iTunes at the worst possible moment.
- Security software or outdated iTunes blocking the connection: antivirus filters and old iTunes builds can interrupt the USB data channel.
How to fix error 17 — step by step
Work through these in order. Error 17 is a connection problem, so the steps start with the physical link — cable and port — and move inward to drivers and software. Don't skip the first step: it resolves the majority of error 17 cases by itself.
- Swap the cable and use a direct USB port. Error 17 is almost always the cable or the port losing the iPhone mid-restore, so this first step fixes most cases by itself. Use a genuine Apple cable, or at least a cable you know works for data, and plug it straight into a rear USB port on the computer — no hubs, no docks, no front-panel ports, no keyboard USB. If the cable has visible wear, a loose connector, or only charges the phone, replace it before doing anything else.
- Unplug other USB devices and retry. USB hubs, external drives, printers, and cameras can fight the iPhone for bandwidth or power and knock it off the bus at exactly the wrong moment. Disconnect everything from the computer except the mouse, keyboard, and the iPhone, then start the restore or update again. If error 17 disappears, reintroduce your devices one at a time later to find the troublemaker.
- Restart both the computer and the iPhone, then retry. A stuck USB driver or a half-initialized phone state can produce error 17 on every attempt until both sides get a clean start. Shut the computer down fully rather than just sleeping it, power the iPhone off and back on, and if the phone is stuck on the recovery screen, keep it connected while you restart the computer. Then open iTunes or Finder fresh and retry the restore.
- Reinstall the Apple Mobile Device USB driver on Windows. When this driver is corrupt or outdated, Windows drops the iPhone connection mid-restore and error 17 is the result. Open Device Manager, expand Universal Serial Bus controllers, right-click Apple Mobile Device USB Driver, and choose Uninstall device, then unplug the iPhone, restart the computer, and plug the iPhone back in so Windows reinstalls the driver automatically. On a Mac, the equivalent fix is simply updating macOS and using Finder, since the drivers ship with the system.
- Pause security software and update iTunes. Antivirus and firewall suites sometimes block the driver installation or the USB data channel iTunes needs, and an old iTunes build can mishandle the connection handshake. Pause real-time protection for the duration of the restore attempt, update iTunes through Help, Check for Updates or the Microsoft Store, and make sure no firewall rule is blocking iTunes or Apple Mobile Device Service. Turn protection back on immediately after the restore finishes.
- Try a completely different computer. If error 17 follows you through a good cable, a direct port, fresh drivers, and paused security software, the problem may be the computer's USB hardware itself or a deeper fault on the phone side. Test the same iPhone with the same cable on another computer. If the restore succeeds there, the first computer's USB controller or system software is at fault; if error 17 appears on both computers, have the iPhone checked by Apple Support or an authorized service provider.
Did this fix it? Quick checklist
- Genuine Apple cable plugged directly into a rear USB port — no hubs, docks, or front-panel ports
- All other USB accessories unplugged, and both the computer and iPhone restarted cleanly
- Apple Mobile Device USB driver reinstalled in Device Manager (Windows), iTunes updated to the latest version
- Restore or update completes without error 17; if not, the same iPhone and cable tested on a second computer
If error 17 survives a good cable, a direct port, fresh drivers, and a second computer, the fault is almost certainly inside the iPhone — usually the dock connector or a board-level issue that only a hardware diagnosis can find. Book a Genius Bar appointment or visit an authorized service provider and mention error 17; the code tells them the restore pipeline is losing the USB link, which narrows the diagnosis immediately.
Frequently asked questions
What does iTunes error 17 mean?
Error 17 means the computer lost its connection to the iPhone while iTunes or Finder was restoring or updating it. The typical message is The iPhone could not be restored. An unknown error occurred (17). Apple documents it as a USB communication or hardware-side failure — the restore data stream broke before it finished, so the iPhone usually ends up stuck on the recovery screen.
Is error 17 the same as error 21?
They are close cousins. Both describe the computer losing touch with the iPhone mid-restore, and both are usually fixed the same way: a better cable, a direct USB port, and fresh drivers. Error 21 historically leans toward firmware or custom-restore issues, while error 17 points more directly at the USB link itself dropping. If you see either one, work through the cable, port, and driver steps on this page.
Does error 17 mean my iPhone is broken?
Usually not. Error 17 is overwhelmingly a connection problem — a bad cable, a flaky port, a USB hub, or a corrupt driver on the computer. The iPhone sitting on the recovery screen is normal: the restore simply never finished. Only treat the phone itself as suspect if the error survives a known-good cable and port on two different computers.
Error 17 keeps happening even with a genuine Apple cable. What now?
Move down the list: plug into a rear USB port with nothing else attached, restart both devices, reinstall the Apple Mobile Device USB driver in Device Manager, and try the restore on a different computer. A genuine cable failing on one computer but working on another points at that computer's USB hardware or drivers; failing everywhere with good accessories points at the iPhone, and that is the point to contact Apple Support.