Ask a technician

iPhone error 4013, 4014 or 4005: the iPhone could not be restored

Updated

iTunes, Finder or the Apple Devices app stopped with "An unknown error occurred (4013)", or 4014 or 4005. Apple says the iPhone lost its connection during the update. When a good cable and another computer give the same error, a part inside the phone is usually the cause. Keep your data first, then find the part.

How it works

Choose Update, not Restore. Update keeps your data.

Still 4013? The part depends on the model. The lookup asks for it.

Does this apply to me?

Is error 4013 hardware or software?

Once the cable and the computer are ruled out, it is usually hardware. Apple only says the iPhone disconnected and never names a part. At repair benches the most common cause is the front sensor flex at the top of the screen, often after water damage. It crashes the phone while iOS installs. After that come the storage chip (NAND) and the processor power.

Need your data? Choose Update, not Restore

Show more
  • Update reinstalls iOS and keeps your personal data. Restore reinstalls iOS and erases all your data. Both lines are Apple's own words.
  • Apple's steps end with Restore when the iPhone drops into recovery mode during the update. If you need the photos, stop before that step and find the fault first.
  • A phone in DFU mode only offers Restore. Use recovery mode when you want Update.
  • On a Mac, Apple Configurator has Revive. Apple says it can "attempt to revive the device to recover any data on it".
  • When a flex cable is the cause, the update can finish with that flex unplugged. Fit a known-good part before the phone boots. From the iPhone 8 on, the phone checks its parts while it starts and restarts again if one does not answer.
  • Every extra restore on a failing storage chip can make it worse. We have seen this on our bench too, so stop after two tries.

What Apple says to try first

Show more
  1. Update the computer: macOS, or iTunes or the Apple Devices app on Windows.
  2. Force restart the iPhone.
  3. Connect it straight to the computer and choose Update, not Restore.
  4. Still failing: try another USB cable, then another computer.
  5. The same error on a good computer: Apple sends it for service. This is where a repair technician looks for the part.

When it is hardware: which part

Show more
PartErrorWhat points to itHow sure
Front sensor flex: earpiece, proximity and light sensor, Face ID flood light4013, 4005Water damage in the history. The update finishes with this flex unplugged.High on iPhone X and XS: several fixed repairs
Storage chip (NAND) or its solder joints4014, 4013The Apple logo shows but the progress bar never moves.Medium: a new NAND fixed a 4014 on an iPhone X
Processor power4013, 4014No Apple logo at all during the restore.Low: repair lists only
Charging port4013The connection drops when the cable moves.Medium
Proximity sensor or battery4005The Apple Wiki lists 4005 as a peripheral fault. An iPhone 6 Plus was fixed with a new proximity sensor.Medium
Baseband, iPhone 7 and 7 Plus on iOS 11 or older4013No IMEI when you dial *#06#.Medium

For the iPhone 12 to 17 we found no confirmed board-level repair of these errors yet, in any language. The order above comes from older models. If you fix one, post it on the forum and we will add it.

Where the restore stops tells you more

Show more
  • No Apple logo at all: look at the processor side first.
  • Apple logo, but the progress bar never moves: the storage chip (NAND), or a bad write to it.
  • The logic board restores on its own, the complete phone fails: a part on a flex cable.
  • Newer computers add four characters after the number, like 130A.0000. They show the step where the restore stopped. Paste the whole message into the restore error lookup.

Test order

Show more
  1. Do Apple's steps above and choose Update. Write down where it stops.
  2. Open the phone. Look for liquid marks and corrosion on the front sensor flex, the charging port flex and the wireless charging flex.
  3. Keep the battery, screen and charging port connected. Unplug the front sensor flex and try Update again. Then the other flexes, one at a time.
  4. If it updates with a flex unplugged, do not boot it like that. From the iPhone 8 on, the phone talks to its serialized parts while it starts and recovers the data: the front sensor (proximity) flex, the charging port flex and the wireless charging flex with the flash and rear microphone. If a part does not answer, it starts restarting again. Fit a known-good part first, then boot it and back up.
  5. On an iPhone X or XS, move the original Face ID flood light to the new flex, or Face ID stops working. The light sensor is paired to the phone too, so a new flex can lose True Tone.
  6. The same error with every flex unplugged: board level. Check the storage and processor power lines for a short. If there is no short, measure the power on those lines. Next are the NAND and the CPU themselves. A new NAND must be programmed with the board's own data and the old data is gone with the old chip, so repair the original chip if you need the data. If you are not a professional motherboard technician with micro-soldering experience, stop here. From this point the job is not an experiment anymore and one wrong step is unrecoverable.

Questions people ask

Will restoring my iPhone delete everything?

Yes. Apple says Restore reinstalls iOS and erases all your data. Update reinstalls iOS and keeps your personal data. Try Update first, and only choose Restore when your data is backed up or you don't need it.

Can water damage cause error 4013?

Yes. Most confirmed fixes are phones with liquid damage. Corrosion on the front sensor flex or its connector crashed the phone while iOS installed. Cleaning or replacing that flex let the update finish on several iPhone X and XS phones.

Does error 4013 mean Face ID is broken?

Not by itself. On the iPhone X and XS the Face ID flood light sits on the front sensor flex, so a corroded flood light can cause 4013. When that flex is replaced, the original flood light must move to the new one or Face ID stops working.

What is the difference between error 4013 and 4014?

Apple treats them the same: the iPhone lost its connection during the update. At repair benches 4014 points more often to the storage chip (NAND), and 4013 more often to a part on a flex cable. Both start with the same checks.

What about iPad error 4014?

Apple gives the iPad the same steps. On iPad, the iPad Rehab board repair forum checks the charging chip (Tristar) first, then the storage.

Can I fix error 4013 myself?

Apple's steps, another cable and another computer, yes. Unplugging a flex means opening the phone, which needs the right tools and care with the screen and battery. A fault on the logic board needs micro-soldering.

Not the same problem

Still stuck on 4013 or 4014? Post your model, where the restore stops and what you tried on the NoPowerFix repair forum. Board-level technicians answer, and every confirmed fix improves this page.

Ask on the NoPowerFix forum

Free, private, built to keep devices alive

✓ No ads✓ No cookies✓ Nothing uploaded✓ Free

In 15 years at the bench we saw too many good devices go in the bin because nobody found the real fault. Our Hardware Specialist and Senior Repair Technicians built these tools so more devices get fixed instead of thrown away. If they helped you, a review helps the next person find them, and your support pays for the next fix.

> goal: Less e-waste · Greener Earth

We find the real fault before parts are replaced, so fewer working batteries, boards and devices end up as e-waste.