iPhone & iPad · iPhone & iPad update and restore errors

4013: device disconnected or couldn't be restored

Try first, may need helpLast checked: October 23, 2026

What does this code mean?

Error 4013 appears when the iPhone or iPad disconnects during the process or the computer can't instruct it to restore. It is commonly a cable, port or software problem, but if it persists across computers it can indicate a hardware fault.

Before you start

Back up important files before any big step such as a reset or restore. Don't download 'repair' programs suggested online; use only official tools from Microsoft, Apple, Google or your device maker. On work or school devices, ask your IT admin first.

Likely causes

  1. The device disconnected from the computer during the update or restore
  2. Faulty USB cable, worn port, or a hub/keyboard connection
  3. Outdated macOS, Apple Devices app or iTunes
  4. Security software interrupting the process
  5. A hardware fault in the device if the error persists

Steps you can try

Did that fix it?

When to get help

If error 9, 4005, 4013 or 4014 keeps appearing after you have tried another cable and another computer, Apple recommends contacting Apple Support; a persistent error can point to a hardware issue that needs repair.

Differences between versions

Apple covers errors 9, 4005, 4013 and 4014 in one article and also lists 4005, 4013 and 4014 under USB connection checks.

Sources

This page is based on official sources from Microsoft, Apple, Google and other makers, written in our own words. Code meanings can differ between versions.