Phones & Tablets

Forgot Your Phone Passcode — What You Can Actually Do

Being locked out of your phone is stressful. The steps you can take depend on your phone model and whether you have a backup. Here's an honest guide to your options.

Forgot Your Phone Passcode — What You Can Actually Do
Photo: Rodion Kutsaiev · Unsplash
On this page
  1. iPhone — What to Do If You're Locked Out
  2. Android — What to Do If You're Locked Out
  3. Restoring Your Data After a Reset

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.

Frequently asked questions

Is there any way to unlock my phone without losing data?

For iPhones and modern Android phones, there is no official method to bypass a passcode without erasing the device — this is intentional. Samsung Find My Mobile is the only mainstream exception, allowing remote unlock for Samsung devices registered to a Samsung account. Some third-party services claim to unlock phones without data loss, but these are unreliable at best and scams at worst. The realistic answer is: always maintain a recent backup.

My child set a passcode on the iPad and won't tell me what it is. Same process?

Yes, exactly the same process applies to iPads as iPhones. Use recovery mode via a computer (Finder on Mac, Apple Devices on Windows), choose Restore, and after the erase completes, set the iPad up fresh. If you had Family Sharing configured and your child's iPad backed up to iCloud, you can restore most of the content. Going forward, Screen Time in Settings lets parents set their own Screen Time passcode which overrides the child's device passcode.

Marcus Bell

IT support veteran who breaks messy tech problems into simple, ordered steps anyone can follow.

Comments & Questions (0)

No comments yet — be the first to ask. Comments appear after review.

Leave a comment

Your comment appears after our team approves it. Or sign in to post faster.