It's important to know upfront: both Apple and Google have designed their phones so that a forgotten passcode cannot be bypassed without erasing the device. This is a security feature — it protects your data from others. The steps below will get you back in, but they involve a reset.

iPhone — What to Do If You're Locked Out

Option 1: Recovery Mode (requires a computer)

This erases the iPhone and reinstalls iOS. If you have a recent iCloud or iTunes backup, you can restore most of your data afterwards.

  1. On a Mac: open Finder. On a Windows PC: open Apple Devices (or iTunes).
  2. Connect your iPhone while it's off (or power it off first).
  3. Put it into recovery mode using the button sequence for your model (see our guide on black screen fixes for the exact buttons).
  4. When Finder or iTunes detects the phone in recovery mode, choose Restore.
  5. After the restore completes, set up the phone as new or restore from a backup.

Option 2: Erase via iCloud (if Find My was enabled)

  1. On another device or computer, go to iCloud.com and sign in with your Apple ID.
  2. Open Find My → [your device] → Erase iPhone.
  3. Once erased, set up the phone and restore from a backup.

Android — What to Do If You're Locked Out

Google Account Recovery (Android 5.0 and earlier only)

Older Android versions allowed you to unlock after multiple failed attempts using your Google account. This feature was removed in Android 6.0 and does not work on modern phones.

Factory Reset via Recovery Mode

\p>
  1. Power off the phone.
  2. Boot into recovery mode (hold Power + Volume Down on most phones; consult your model's instructions).
  3. Use the volume buttons to navigate to Wipe data / Factory reset and confirm.
  4. Reboot the device. Set it up as new or restore from your Google backup.

Samsung Find My Mobile

If you have a Samsung account linked to your device, go to findmymobile.samsung.com, sign in, and use the Unlock option. This is the one exception that may unlock the phone without a full reset.

Restoring Your Data After a Reset

If you had iCloud, Google, or Samsung backup running, most of your contacts, photos, and app data will restore automatically when you sign in during setup. Your photos specifically are safe if iCloud Photos or Google Photos backup was enabled.

If you have no backup at all, some data is unfortunately unrecoverable — but the phone itself will work again. Ask us if you want help setting up automatic backups going forward so this doesn't happen twice.