The fastest way depends on what kind of password you set

Samsung phones let you lock the screen with a PIN, pattern, or password, and the way you reset it depends on which one you chose. If you set up a Samsung account on the phone, you can reset from the lock screen itself. If you didn't, you'll need to use your Google account or, as a last resort, a full factory reset that erases everything on the device.

The lock screen reset method works only if you've tried the wrong code fewer than five times — after that, Samsung locks you out temporarily. Start there first, because it's the quickest path and doesn't erase your data.

Key Takeaways

  • If you set up a Samsung account on your phone, you can reset your lock screen password directly from the lock screen after a few failed attempts.
  • A Google account linked to your phone offers a second reset path that works even without a Samsung account.
  • Factory reset erases all data on the phone but works when other methods are unavailable or have been exhausted.
  • After you regain access, write down your password somewhere safe or use your phone's built-in password manager to store it.

Reset using your Samsung account from the lock screen

After you enter the wrong PIN, pattern, or password five times, Samsung shows a message saying the device is locked. Below that message, you'll see a "Forgot password?" or "Forgot PIN?" link — tap it.

The phone will ask you to sign in with your Samsung account. Enter the email address and password you used when you first set up the phone. If you don't remember your Samsung account password, you'll need to reset that first on a computer or another device by going to account.samsung.com, clicking "Forgot password?", and following the steps there.

Once you've signed in with your Samsung account, the phone will let you create a new lock screen password, PIN, or pattern. Choose whichever method you prefer, then tap "Continue" or "Done" to explore it. You can now unlock your phone with the new code.

Reset using your Google account if you don't have Samsung account access

If you don't have a Samsung account or can't remember that password either, your Google account is the backup. After five wrong attempts, the lock screen shows "Forgot password?" — tap it, then look for a link that says "Sign in with Google" or similar wording. The exact text varies by Samsung model and Android version.

Enter the email address and password for the Google account you linked to the phone when you first set it up. If you're not sure which Google account that was, think back to the first time you turned on the phone — it usually asks you to sign in to Google during setup.

Once you sign in, the phone will let you set a new lock screen code. This method works on most Samsung phones running Android 5.0 and newer, though some carriers or older models may not support it.

Factory reset as a last resort

If you can't access your Samsung account or Google account, or if you've already tried those methods and they didn't work, a factory reset is the only remaining option. This erases all data on the phone — photos, messages, apps, everything — so use this only when you have no other choice.

To perform a factory reset, turn off the phone completely. Then press and hold the Volume Up button and the Power button at the same time for about 10 seconds until the Samsung logo appears. Release the buttons, and the phone will boot into recovery mode, showing a menu with white text on a black background.

Use the Volume Down button to navigate to "Wipe data/factory reset" and press the Power button to select it. The phone will ask you to confirm — navigate to "Yes" and press Power again. The reset will take a few minutes. When it's done, the phone will restart and show the initial setup screen, as if it were brand new.

You'll need to sign in with a Google account during setup to restore your apps and contacts from your Google backup, if you had one. Without that backup, you'll be starting fresh.

What to do after you've reset your password

Once you're back in your phone, change your lock screen code to something you can actually remember. If you struggle with passwords, use your phone's built-in password manager — Samsung phones come with Samsung Pass, which can generate and store strong codes securely.

To set up Samsung Pass, go to Settings, search for "Samsung Pass", and follow the setup steps. You can store your lock screen password there so you don't have to remember it, though you'll still need to remember the Samsung Pass password itself.

If you don't want to use Samsung Pass, write your new password down and store the paper somewhere safe — a locked drawer, a safe, or with someone you trust. This sounds old-fashioned, but it's more reliable than trying to remember a code you've never used before.

Preventing this from happening again

Make sure your Samsung account and Google account passwords are ones you actually remember, because both are your backup keys to your phone. If you use a password manager on your computer, store both of those passwords there.

Enable biometric unlock as well — fingerprint or face recognition — so you have a faster way to open your phone that doesn't rely on remembering a code. Go to Settings, search for "Biometrics" or "Face and fingerprint", and follow the setup steps. You can use your fingerprint or face to unlock the phone while still keeping a PIN or password as a backup.

If you set up a new Samsung account or Google account after you've already set up your phone, make sure to add it in Settings under "Accounts" so it becomes a recovery option. The account you use during initial setup is the one Samsung remembers.

Frequently Asked Questions

What happens if I've tried the wrong code more than five times?

Samsung locks the phone for 30 seconds after the fifth wrong attempt, then requires you to wait longer between each subsequent attempt. You can still tap "Forgot password?" to reset using your Samsung or Google account — the lock-out timer doesn't prevent that.

Can I reset my password if I don't remember my Google account password either?

Yes. Go to google.com/accounts/recovery on a computer or another device, enter your email address, and follow the steps to reset your Google password. Once you've done that, you can use the new password to unlock your Samsung phone.

Will factory reset remove my apps and photos?

Yes, a factory reset erases everything on the phone. If your photos and apps were backed up to Google Photos and Google Play, you can restore them during setup by signing in with your Google account. Apps and photos that were never backed up will be gone permanently.

Do I need a computer to reset my Samsung phone password?

No. If you have access to your Samsung account or Google account, you can reset the password entirely from the phone's lock screen. A computer is only needed if you've forgotten your Samsung or Google account password and need to reset those first.

What if my phone is off and I can't turn it on?

Hold the Power button for 10 to 30 seconds — most Samsung phones will vibrate and show a logo even if the battery is low. If the phone won't respond at all, plug it into a charger for at least 15 minutes, then try again. Once it has enough power, you can proceed with the password reset methods above.