iPhone & iPad · iPhone & iPad update and restore errors

4005: the computer lost contact with the device

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

What does this code mean?

Error 4005 means the computer could not tell the device to finish the update or restore, usually because the connection was interrupted. Apple's steps focus on updated software, a force restart and a reliable USB connection.

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.