What to do if you're locked out of your own phone

If you've forgotten your phone's password, your first move depends on what kind of phone you have and whether you set up recovery options when you first got it. Most phones have a built-in way to regain access — usually through an email address or phone number you registered, a backup PIN, or biometric recovery. The process takes anywhere from a few minutes to a few hours, and you won't lose your data if you use the official recovery method.

The key is acting quickly and using the legitimate recovery path your phone manufacturer built in. Trying workarounds or third-party "unlock" tools often fails, can damage your phone's security, or may void your warranty. The official routes are faster and safer.

Key Takeaways

  • iPhone users can reset their password through iCloud, a trusted device, or Apple's Find My iPhone feature if they set it up beforehand.
  • Android users can recover access through their Google account, Samsung Find Mobile, or a factory reset if they know their registered email.
  • You'll need proof of ownership — usually a receipt, account information, or ID — if you contact the phone company or manufacturer directly.
  • Factory reset erases all data on the phone, so it should be your last option after other recovery methods fail.
  • If someone else locked you out of a phone you own, contact the manufacturer with proof of purchase; they can verify ownership and help you regain access.

iPhone: Using iCloud or a trusted device

If you have an iPhone and set up iCloud when you first activated it, you can reset your password from another device. Go to iCloud.com on a computer or another phone, sign in with your Apple ID, and select Find My iPhone. Locate your locked phone in the list of devices, select it, and choose "Erase iPhone." This wipes the phone and lets you set a new password when it restarts.

If you have another Apple device — a Mac, iPad, or another iPhone — you can use that to reset your password instead. Open Settings, tap your name at the top, go to Password & Security, and select Change Password. Your locked phone will prompt you to confirm the change using Face ID or Touch ID on the trusted device. This method keeps your data intact.

If you don't have access to iCloud or another Apple device, you'll need to contact Apple Support with proof of ownership. Have your receipt, the serial number (on the box or in Settings before you were locked out), or your Apple ID ready. Apple can verify you own the phone and walk you through a recovery process that may take a few days.

Android: Using your Google account or Samsung Find Mobile

Most Android phones let you reset your password using the Google account linked to the device. On the lock screen, tap "Forgot password?" and enter the email address and password for the Google account you used when you set up the phone. Google will send a verification code to that email. Enter the code, and you can set a new phone password.

If you have a Samsung phone, you can also use Samsung Find Mobile. Go to findmobile.samsung.com on a computer, sign in with your Samsung account, select your phone, and choose "Unlock." Samsung will send a verification code to the email on your account. Enter it, and your phone will unlock. This method works even if you don't remember your Google password.

If you don't have access to the email address linked to your phone, or if you can't remember the password, contact Google or Samsung directly with proof of ownership. You'll need your receipt, the phone's IMEI number (usually on the box or in the original paperwork), or a photo ID. The process typically takes 24 to 48 hours.

Factory reset as a last resort

A factory reset erases everything on your phone — all photos, messages, apps, and settings — and returns it to the state it was in when it left the factory. Do this only after you've tried recovery through your email, manufacturer account, or phone company and none of those options worked.

On an iPhone, you can factory reset through iCloud (as described above) or by connecting it to a computer with iTunes or Finder and selecting "Restore." On Android, hold down the power button and volume down button together for about 10 seconds until you see the recovery menu. Select "Wipe data / factory reset" and confirm. The phone will restart with no password set.

After a factory reset, you'll need to set up the phone again from scratch. You'll be prompted to sign in with your Google account (Android) or Apple ID (iPhone), and you can restore your data from a backup if you made one before you got locked out. If you didn't back up your data, it will be gone permanently.

If someone else locked your phone and you own it

If a family member, ex-partner, or someone else set a password on a phone that belongs to you, contact the phone manufacturer with proof of ownership. Bring your receipt, the original box with the IMEI number, or a photo ID to an Apple Store or authorized Android retailer. Explain that you own the phone but don't have access to the password. The manufacturer can verify ownership through their records and help you regain access.

If you bought the phone used and the previous owner locked it, the situation is more complicated. The manufacturer will verify that the previous owner is the registered account holder and may not unlock it without their consent. In this case, contact the seller and ask them to remove the phone from their account or provide the password. If they won't cooperate, you may have limited options — some manufacturers allow a return or replacement if the phone is still under warranty.

Protecting your phone going forward

Once you regain access, set up recovery options so you don't get locked out again. On iPhone, make sure you have an Apple ID set up and that Find My iPhone is turned on in Settings. On Android, link a Google account and a recovery email address in Settings, and consider setting up a backup PIN. Write down your password in a find place — a password manager like Bitwarden or 1Password, or a physical notebook kept in a safe location.

Enable biometric unlock — Face ID, Touch ID, or fingerprint — so you don't have to type your password every time. If you use biometric unlock, you'll still need your password for sensitive actions like changing security settings or accessing your payment information, but you won't be locked out of the phone itself if you forget it.

Frequently Asked Questions

How long does it take to unlock my phone through the manufacturer?

If you contact Apple or Google with proof of ownership, the process usually takes 24 to 48 hours. If you use iCloud, Google account recovery, or Samsung Find Mobile, you can regain access in minutes to a few hours. A factory reset is when ready but erases all your data.

Will I lose my photos and messages if I reset my password?

No, not if you use iCloud recovery (iPhone), Google account recovery (Android), or Samsung Find Mobile. These methods reset your password without erasing data. A factory reset does erase everything, so use that only as a last resort.

What if I don't remember the email address I used to set up my phone?

Check your phone bill or the original receipt — they often list the email you registered. If you still can't find it, contact your phone company or the manufacturer with proof of ownership. They can look up the account information in their system.

Can I unlock someone else's phone if I know their password?

No. Unlocking a phone you don't own is illegal, even if you know the password. If you need access to someone else's phone, ask them directly or contact the manufacturer with proof that you own the device.

What's the difference between a password reset and a factory reset?

A password reset changes your lock screen password but keeps all your data. A factory reset erases everything on the phone and returns it to its original state. Use password reset first; factory reset is only for when nothing else works.