Short answer
Error 4037 means the iPhone was locked. A computer cannot update a locked device: unlock the iPhone with its passcode, tap Trust if asked, and start the update again.
What you see
An unknown error occurred (4037).
| Error code | 4037 |
| Where the problem is | iPhone software — Something about the software on the iPhone stopped the install. |
| Will the fix erase my iPhone? | Not if you choose Update; only Restore erases |
| Apple's article | iOS update and restore errors |
How to fix error 4037
- Unlock the iPhone with its passcode, and keep it unlocked while the computer prepares the update.
- Tap Trust if the iPhone asks whether to trust the computer, and enter the passcode again.
- Start the update again from the Finder or the Apple Devices app.
If you have forgotten the passcode
Without the passcode the iPhone cannot be updated, only erased. Apple's route is to put it in recovery mode and restore it, which removes the passcode along with everything else. Your data comes back only from a backup.
After the restore, the iPhone asks for the Apple Account it was signed in with — Activation Lock. Have that password ready; without it the iPhone cannot be set up.
Updating without a computer
If the iPhone starts normally, the simplest route is to skip the computer: Settings → General → Software Update installs the update over Wi-Fi.
Frequently Asked Questions
What is error 4037 on iPhone?
The computer tried to update the iPhone while it was locked. Unlock it, trust the computer, and try again.
Can I fix error 4037 without the passcode?
No. Without the passcode the iPhone can only be erased through recovery mode, then restored from a backup.
Will error 4037 erase my data?
No. It stops the update before anything changes. Your data is only erased if you choose Restore.
Written from Apple's support article iOS update and restore errors and our own restore guides. Last reviewed November 15, 2026.