ThisCalculator

Everyday

Forgot Phone PIN? How to Unlock It

Updated · Standard formula, shown below

Forgetting your phone’s PIN can lock you out of your own device, but there are legitimate ways to regain access without losing your data. This guide covers the standard methods for Android and iPhone, from using your Google or Apple account to factory reset as a last resort. Before starting, check if your phone is linked to a Google (Android) or Apple ID (iPhone) account, as most recovery paths require it.

What You’ll Need

  • Your phone’s Google account credentials (Android) or Apple ID and password (iPhone).
  • A computer or another device with internet access.
  • Your phone’s charging cable (for some methods).
  • If you have a backup (Google Drive, iCloud, or local), it will help restore data after a reset.

Step-by-Step

For Android (Samsung, Pixel, etc.)

  1. Try ‘Find My Device’ (Google): On a computer, go to google.com/android/find and sign in with the Google account linked to your phone. Select your device from the top. Choose Erase Device. This will remotely wipe the phone, removing the PIN. After the erase, you can set up the phone again with your Google account and restore from backup.
  2. Use Samsung ‘Find My Mobile’ (for Samsung): If you have a Samsung phone, go to findmymobile.samsung.com and sign in with your Samsung account. Select your device, then choose Unlock (if available) or Erase Data. The Unlock option may require the phone to be connected to the internet.
  3. Try ‘Forgot PIN’ after several attempts: On many Android devices, after entering the wrong PIN 5 times, a Forgot PIN or Forgot pattern option appears. Tap it and sign in with your Google account to reset the PIN. This may not appear on all models, especially newer ones.
  4. Factory reset via Recovery Mode (last resort): Turn off the phone. Press and hold the Volume Up and Power buttons simultaneously (on Samsung, use Volume Up + Bixby + Power; on Pixel, Volume Down + Power) until the recovery menu appears. Use the volume keys to navigate to Wipe data/factory reset and press the power button to select it. Confirm. This erases all data, including the PIN. After reboot, set up as new or restore from backup.

For iPhone (iOS)

  1. Use iCloud ‘Find My iPhone’: On a computer, go to icloud.com/find and sign in with your Apple ID. Select your iPhone from the device list. Click Erase iPhone. This will remotely wipe the device and remove the passcode. After the erase, you can restore from an iCloud or iTunes backup.
  2. Use iTunes/Finder (if you’ve synced before): Connect your iPhone to a computer you’ve previously synced with. Open iTunes (Windows or older macOS) or Finder (macOS Catalina or later). Put the iPhone into Recovery Mode: For iPhone 8 or later, press and release Volume Up, then Volume Down, then hold the Side button until the recovery mode screen appears. For iPhone 7/7 Plus, hold Volume Down + Side. For iPhone 6s and earlier, hold Home + Top/Side. When prompted, choose Restore. This will erase the phone and install the latest iOS. If you have a backup, you can restore it after.
  3. If ‘Find My iPhone’ is off: You can still use Recovery Mode with a computer (as above), but you’ll need to trust the computer. If you’ve never connected to that computer, you may need to use another method or contact Apple Support.

Common Mistakes

  • Guessing the PIN too many times: After 10 wrong attempts on iPhone, the device is disabled. On Android, it may wipe data after a certain number of attempts if you’ve enabled that setting. Stop guessing after a few tries.
  • Forgetting the Google/Apple account password: You’ll need it for most recovery methods. If you forgot it, use the account recovery options on the web first.
  • Using a recovery mode method without a backup: Factory reset erases everything. If you don’t have a backup, you’ll lose photos, messages, and apps. Check if you have a cloud backup before resetting.
  • Not checking if ‘Find My Device’ or ‘Find My iPhone’ is enabled: These services must be turned on in settings for remote erase to work. If they’re off, you’ll have to use recovery mode.

Tips

  • Always enable cloud backups: Turn on Google Drive backup (Android) or iCloud backup (iPhone) so you can restore data after a reset.
  • Use a PIN you can remember but hard to guess: Avoid birthdays, 1234, or repeated numbers. Consider a passphrase or pattern if your phone supports it.
  • Write down your PIN and store it somewhere safe: A password manager or a physical note in a secure place can save you from this situation.
  • If you have a Samsung, set up ‘Find My Mobile’ and enable ‘Remote unlock’ in settings: This gives you an extra way to unlock without wiping.
  • After a factory reset, your phone may require your Google or Apple account password to set up (FRP/Activation Lock): This is a security feature. Make sure you know those credentials.

Troubleshooting

  • If ‘Find My Device’ doesn’t show your phone: Ensure the phone is turned on and connected to the internet (Wi-Fi or mobile data). If it’s off, the command will be queued. If it still doesn’t appear, the phone may not be linked to that Google account.
  • If ‘Forgot PIN’ doesn’t appear: This option is not available on all Android versions. If it doesn’t appear after 5-10 attempts, you’ll need to use the recovery mode method.
  • If recovery mode isn’t working: Make sure you’re using the correct button combination for your exact model. Try a different USB cable/port. If the screen stays black, charge the phone for a few minutes and try again.
  • If you get a ‘Security Lockout’ on iPhone: The phone may be disabled for 1, 5, or 15 minutes, or longer. Wait it out, then try again. If it says ‘Connect to iTunes’, you’ll need to use recovery mode.
  • If you can’t remember your Google/Apple password: Use the account recovery options on the web (e.g., Google Account Recovery, iforgot.apple.com). You may need access to a recovery email or phone number.
  • If the phone is still locked after a factory reset: On Android, you may see a ‘Verify your account’ screen (FRP). On iPhone, ‘Activation Lock’ may appear. You must enter the Google/Apple account credentials that were previously on the device. If you don’t have them, you’ll need to contact the carrier or manufacturer (for Android) or Apple Support (for iPhone) with proof of purchase.

Frequently Asked Questions

Will I lose my data if I forget my PIN?

It depends on the method. Using ‘Find My Device’ or ‘Find My iPhone’ to erase will wipe data, but you can restore from a backup if you have one. Recovery mode also wipes data. If you use the ‘Forgot PIN’ option (Android) or a remote unlock (Samsung), you may keep data.

Can I unlock my phone without a computer?

Yes, if you have the ‘Forgot PIN’ option on Android, or if you can use Samsung’s Find My Mobile. For iPhone, you generally need a computer for recovery mode, but iCloud erase can be done from any web browser.

How many times can I try the PIN before the phone locks?

On iPhone, after 5 wrong attempts, the phone is disabled for 1 minute; after 10, it’s disabled for longer (up to 1 hour). On Android, it varies by manufacturer, but many lock after 5-10 attempts, and some may wipe after a set number if you enabled that feature.

What is FRP (Factory Reset Protection) on Android?

FRP is a security feature that requires you to enter the Google account credentials that were previously synced on the phone after a factory reset. It prevents unauthorized use of a stolen phone. You’ll need to know the Google email and password to bypass it.

Can I unlock a phone that is not connected to the internet?

No, most remote methods (Find My Device, iCloud) require an internet connection. Recovery mode via a computer works offline, but the phone must be recognized by the computer.

Is there any way to unlock without losing data if I don’t have a backup?

If you don’t have a backup, the only way to unlock is to use a method that doesn’t erase data, like the ‘Forgot PIN’ option on Android (if available) or Samsung’s remote unlock. For iPhone, there is no official way to remove the passcode without erasing the device. If you have a backup, you can restore after a reset.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.