iPhone & iPad · iPhone & iPad update and restore errors

4037: device is locked with a passcode

Usually fixable yourselfLast checked: October 23, 2026

What does this code mean?

Error 4037 appears when the computer can't update the iPhone or iPad because it is locked with a passcode. Unlocking the device before starting the update clears it.

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 is locked during the update
  2. The device locked itself again while the update was preparing

Steps you can try

Did that fix it?

When to get help

If you have forgotten the passcode, follow Apple's forgotten-passcode instructions, which require erasing the device, or contact Apple Support.

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.