The iPhone’s passcode feature is an important way to keep your data safe from prying eyes. But what if you forget your iPhone’s passcode?
Forgot Your iPhone Passcode? Here's How to Fix It
If you forget your passcode and enter the wrong one six times, your iPhone will tell you that it’s disabled. Depending on your settings, entering the wrong passcode too many times could cause your iPhone to erase all of your data. You don’t want that!
Whether you've gotten this message or you know you've forgotten your iPhone passcode, follow these steps to regain access to your iPhone.
There is only one way to fix it if you forget your iPhone passcode. You may not like it, but you have to erase all data on your iPhone and restore it from a backup (assuming you have a backup).