iPhone “unavailable” or disabled: what happens to your data
After too many wrong passcodes, perhaps entered by a child or in a pocket, the iPhone shows “iPhone Unavailable” or “Security Lockout”, with an ever longer waiting time. In the end it allows no more attempts. Before doing anything, it's worth knowing what can be saved.

If you remember the passcode
- Wait for the countdown to finish and enter the passcode calmly.
- If the touchscreen works badly (cracked or dirty screen), don't try: every error lengthens the wait and can lead to a total lock. Have the screen repaired or fix the problem first.
If you don't remember the passcode
Clarity is needed here: without the passcode the iPhone's data can't be read, by anyone. The memory is encrypted and the key is tied to the passcode. The only routes Apple provides: - Erase iPhone from the lock screen (on recent models), with the Apple ID; - or a restore from a computer in recovery mode.
Both erase the data. Afterwards you can restore the iPhone from a backup.
Before erasing: what's in the backups
Check from a computer: - iCloud: date of the last backup (from another Apple device with the same Apple ID), Photos, Contacts, Notes, iCloud Drive; - computer backup in Finder or iTunes; - WhatsApp: backup on iCloud; - photos sent in chats or emails.
Everything in these places comes back. What was only on the iPhone doesn't.
What NOT to do
- Don't rely on programs or services that promise to “unlock an iPhone without losing data”: they either remove the lock by erasing everything, or they're scams.
- Don't keep trying random passcodes.
When the lab can help
If you know the passcode but can't enter it because the screen or touch is broken, or the iPhone is faulty: it's unlocked with a service display or the board is repaired, and the data is copied. See phone with a broken or black screen and iPhone data recovery.

