iPhone Errors

How to Fix iTunes Error 2002 on iPhone

Error 2002Plain English: your iPhone restore failed because the computer lost its connection to the phone partway through — the phone itself is almost certainly fine, but the cable, USB port, or something on the computer broke the link during the restore.
Quick answer: Error 2002 means the USB connection between your iPhone and the computer failed during the restore. Unplug everything except the keyboard, mouse, and iPhone, then restart the computer. Change the USB cable, plug the iPhone directly into a different USB port (no hubs or docks), update iTunes, and temporarily disable security software. The full steps are below.

What error 2002 means

Error 2002 appears in iTunes on Windows or Finder on a Mac while you're restoring an iPhone. The dialog reads, "The iPhone could not be restored. An unknown error occurred (2002)," and the phone is left on the recovery-mode screen — computer icon and cable — waiting for a restore that actually finishes. Your photos and messages aren't gone, and the phone itself almost certainly isn't broken; the connection between the phone and the computer simply broke partway through.

That "unknown error" label hides a very specific meaning. Error 2002 belongs to Apple's 2000 range of restore errors — 2000, 2001, 2002, 2005, 2006, 2009 — and every code in that range means the same thing: something went wrong with the USB connection between the iPhone and the computer, or with software on the computer that interferes with it. A restore is a long, continuous data transfer, and it has zero tolerance for a cable that only works at certain angles, a USB hub that drops the signal, a port that powers the phone but fails on data, or a security program that interrupts iTunes' helper processes mid-restore. Any one of those can produce error 2002.

Because the failure sits in the connection path rather than in the phone, the fix is almost always on the computer side: the cable, the port, what's plugged into the other ports, and what's running on the computer. Work through the steps below in order and the restore usually completes on the next attempt.

Common causes

How to fix error 2002 — step by step

Follow these in order. Error 2002 is a connection problem, so the first three steps — isolating the USB setup, changing the cable, and fixing the port path — solve the overwhelming majority of cases. Leave the second computer as the fallback.

  1. Unplug everything non-essential and restart. Apple points at the USB chain first for the whole 2000 range of errors, and the first move is isolation: on Windows, remove every USB device and spare cable except the keyboard, mouse, and the iPhone, then restart the computer and try the restore again. On a Mac, disconnect third-party devices, hubs, displays, and spare cables, and reset the SMC if your model allows it. A full restart — not sleep, not a quick reboot request — gives the USB controllers a clean slate, and that alone clears error 2002 more often than people expect.
  2. Change the USB cable. The cable is the single most replaced part in this error, and cheap or worn-out Lightning cables are the reason in a large share of cases: the data lines inside can be frayed enough to charge but too damaged to sustain a restore. Swap in the cable that came with the iPhone, or another genuine or Apple-certified cable, and make sure it seats firmly on both ends with no wobble. If the cable only works at certain angles, or the restore fails at the same progress percentage every time, the cable is guilty — retire it.
  3. Switch USB ports and bypass hubs. Plug the iPhone directly into a USB port on the computer itself — not into a keyboard, monitor, dock, or USB hub — and try a different port than the one you started on. Ports can fail partially: a port that powers the phone may still drop data mid-restore, which is exactly the failure error 2002 reports. On a desktop, the rear ports on the back of the case are usually the most reliable because they sit directly on the motherboard. If your computer has both USB 2.0 and 3.0 ports, try the USB 2.0 ones; restores are old-school workloads and the slower, simpler port is often more stable.
  4. Update iTunes and the computer's software. Outdated restore software can mishandle the long conversation with the iPhone during firmware installation. In classic iTunes on Windows, click Help at the top of the window and choose Check for Updates, then follow the prompts. If you use the modern Apple apps on Windows, open the Microsoft Store, go to Library, and update Apple Devices (the app that replaced iTunes for restores). On a Mac, restores happen in Finder, so keep macOS current through System Settings, General, Software Update. Restart the computer after updating and attempt the restore again.
  5. Temporarily disable security software. Apple flags conflicting security software as the other main cause of the 2000-range errors: antivirus, firewall, and endpoint-protection programs can interrupt the USB data stream or block the iTunes helper processes that manage the restore. On Windows, open Windows Security, go to Virus and threat protection, and pause real-time protection while you retry; also check any third-party antivirus you have installed and disable it for the restore. Try the restore with protection off, then turn everything back on immediately afterward — this is a diagnostic step, not a permanent configuration.
  6. Try a different computer, or finish in recovery mode. If the same iPhone with the same good cable fails on this computer, the problem lives in the computer — a flaky USB controller, a broken iTunes installation, or something lurking in the system. Borrow another computer and run the restore there; when it succeeds, you've proven the phone is fine. If no second computer is available, put the iPhone into recovery mode first — press and quickly release Volume Up, press and quickly release Volume Down, then press and hold the Side button until the recovery-mode screen (computer and cable) appears — and let iTunes or Finder offer Restore or Update. Choose Update first to keep your data. If error 2002 survives a clean USB chain, a second computer, and recovery mode, the iPhone itself may need service — contact Apple Support.

Did this fix it? Quick checklist

If error 2002 survives a clean USB chain, a known-good cable, updated software, disabled security tools, and a second computer, the blockage may be the iPhone's charging port or internal connection — inspect the Lightning port for lint and bent pins, cleaning it gently with a dry brush. As a last resort, book an appointment at an Apple Store or authorized service provider and mention error 2002; it tells them exactly which part of the restore pipeline failed.

Frequently asked questions

What does iTunes error 2002 mean?

Error 2002 means iTunes lost its connection to the iPhone during a restore or update. It belongs to Apple's 2000 range of errors (2000, 2001, 2002, 2005, 2006, 2009), which all point to the USB connection or something interfering with it — a bad cable, a hub, a flaky port, or conflicting security software — rather than a problem with the iPhone's hardware.

Is error 2002 a hardware problem with my iPhone?

Usually not. Error 2002 almost always traces to the connection path between the phone and the computer: the cable, the USB port, a hub or dock in between, or software on the computer interfering with the restore. The standard way to prove it is to try the restore on a different computer with a known-good cable. If it succeeds there, the iPhone is healthy and the original computer or cable is at fault.

Why does Apple tell me to remove other USB devices?

Because a restore is a delicate, continuous data transfer, and anything else on the USB bus can disturb it. External drives, hubs, and even some keyboards draw power or generate traffic that causes the iPhone connection to drop mid-restore. Stripping the setup down to just the keyboard, mouse, and iPhone eliminates those variables, which is why it is Apple's first troubleshooting step for the entire 2000 error range.

How is error 2002 different from error 2009?

They are close relatives in the same 2000 range, and the fixes overlap almost completely — cable, ports, hubs, security software, and a second computer. Error 2009 is more commonly associated with the iPhone being disconnected or unresponsive mid-restore, while error 2002 leans toward the connection path itself: the cable, the port, or another program holding the USB connection. If one of them appears, the USB isolation steps in this guide cover both.

Will fixing error 2002 erase my iPhone?

The fixes themselves — changing the cable, switching ports, updating iTunes, disabling security software — don't touch your data. The only step that erases is choosing the full Restore option instead of Update when iTunes offers it, and that is a last resort. If you do end up restoring fully, bring everything back from an iCloud or computer backup afterward, and always try Update first.