To factory reset a Samsung phone quickly, open Settings, then General management, Reset and Factory data reset. If the phone is locked, turn it off and hold your model's recovery keys (usually Volume Up and the Power button) until the recovery screen appears, then choose the factory reset option. A reset erases everything on the phone, so back up your data first.
People reset Samsung phones for all kinds of reasons: the phone has problems or has slowed down, you forgot the screen lock PIN or password, or you plan to sell the phone or give it to someone. Whatever your reason, here is how to factory reset a Samsung phone, whether it's locked or unlocked.
How to factory reset a Samsung phone

Before you start, know what a reset does. It returns the phone to its factory settings and deletes all the data and files on it, and you can't get them back afterward. Back up the files on your phone first so you can restore them after the reset. These are the best ways to factory reset a Samsung phone:
- Factory reset from Settings
- Factory reset a locked Samsung phone
- Automatic factory reset
- Samsung factory reset codes
- Remote factory reset
1. Factory reset from Settings

Sometimes a factory reset is the best way to clear faults and glitches on a Samsung phone. Formatting a Samsung phone means a factory reset, which removes all the data on it. This is the fastest and easiest method:
- Open Settings.
- Tap General management.
- Tap Reset.
- Tap Factory data reset.
- Tap Reset to confirm.
That's it: the phone is back to its factory state, as if it were new, and you can sell it, give it away or keep using it.
2. Factory reset a locked Samsung phone

If you forgot your password or screen lock, this is the method for you. Here's how to reset a Samsung phone when you can't remember the PIN:
- Turn off your Samsung phone.
- Press and hold the recovery keys for your model: Volume Up and the side (Power) button on most recent models, plus the Bixby or Home button on some others.
- Wait for the Samsung logo to appear.
- The recovery screen opens next.
- Use the volume buttons to move between options.
- Select the factory reset option (Wipe data/factory reset).
- Press the Power button.
- Confirm that you want to delete all user data.
The phone then resets to its factory settings, and you never needed the password or screen lock.
3. Automatic factory reset

Many Android users don't know that a Samsung phone can factory reset itself automatically. The option helps when the phone keeps showing faults and errors, or if you often forget its password. Once it's on, the phone resets itself when someone enters the wrong unlock code several times in a row. To turn it on:
- Open the Settings app.
- Tap Lock screen.
- Choose Secure lock settings.
- Unlock with your screen lock.
- Turn on Auto factory reset.
Auto factory reset is now on. The next time the wrong screen lock is entered too many times, the phone will reset itself. If you use this option, back up regularly so you don't lose your files for good.
4. Samsung factory reset codes

Want an even quicker way to reset your phone? Samsung reset codes are meant to factory reset a phone in seconds, without menus or long steps. A reset code is a string of symbols and numbers that, once dialed, erases your data and returns the phone to its default settings. The codes are only for Samsung phones and won't work on other brands. Users share several codes, but Samsung doesn't document them, and they may not work on recent versions of One UI. Here is how to reset a Samsung phone with a code:
- Open the Phone app.
- Enter one of these codes:
- *2767*3855#
- *2767*2878#
- #*7728#
- Tap the call button.
If a code works on your phone, it will erase all your data. It may not work on recent One UI versions, so Settings or the recovery screen is the safer route.
5. Remote factory reset

Use this method if your Samsung phone is lost or stolen and you're worried someone could get to the data on it. You can reset it remotely:
- Open the Find Hub app (formerly Find My Device) on another device, or go to google.com/android/find.
- Sign in with the Google account linked to your phone.
- Select the lost phone, then Settings, then Factory reset to erase all its data.
The remote reset starts on your phone shortly afterward and removes every file, app and piece of data on it, so no one can get to your personal files.
Each method above has its own steps and screenshots. If you still have a question about how to factory reset a Samsung phone, leave it in the comments.





