What happens when you reset a phone with a forgotten password
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. The reset itself does not require you to know your password. However, after the reset completes, you will need to sign back into your Google account (Android) or Apple ID (iPhone) to use the phone again, and you will need to remember those credentials.
If you do not remember your Google account password or Apple ID password, you can recover those accounts through their own password-reset tools before you reset the phone. That step takes 10 to 30 minutes and should happen first.
A factory reset is permanent and cannot be undone. Before you start, make sure you have backed up anything you want to keep — photos, contacts, messages — to cloud storage or a computer. Once the reset begins, that data is gone.
Key Takeaways
- A factory reset erases your phone completely but does not require your password to perform.
- After the reset, you must sign into your Google account (Android) or Apple ID (iPhone), so recover those passwords first if you have forgotten them.
- The reset process takes 15 to 45 minutes depending on your phone model and how much data is on it.
- Back up any photos, messages, or files you want to keep before starting, because they will be deleted and cannot be recovered.
- You will need access to your phone's power button and volume buttons, or a computer with a USB cable, depending on which reset method you use.
How to reset an Android phone without the password
On most Android phones, you can reset through the Settings menu without entering your password. Go to Settings > System > Reset options > Erase all data (factory reset). The exact path varies slightly by manufacturer — Samsung uses Settings > General management > Reset > Factory data reset — but the concept is the same. The phone will ask you to confirm by typing your PIN or pattern one more time, but if you have forgotten that too, you can skip this step on most devices.
If you cannot access Settings because the phone is locked, use the hardware reset method instead. Power off the phone completely. Then press and hold the Power button and Volume Down button together for 10 to 15 seconds until the recovery menu appears (this varies by phone model — some use Power + Volume Up instead). Use the volume buttons to navigate to Wipe data / factory reset and press the Power button to select it. Confirm the action, and the reset will begin.
After the reset completes, the phone will restart and show the initial setup screen. You will be asked to sign into your Google account. If you do not remember your Google password, go to accounts.google.com on a computer, click Sign in, enter your email address, and click Forgot password? to reset it before continuing with phone setup.
How to reset an iPhone without the password
If you can access the Settings app, go to Settings > General > Transfer or Reset > Erase All Content and Settings. The phone will ask for your Apple ID password before erasing. If you do not know it, you can reset your Apple ID password at iforgot.apple.com on a computer before you start the reset.
If the phone is locked and you cannot open Settings, use a computer instead. Connect the iPhone to a Mac or Windows PC with a USB cable and open Finder (Mac) or iTunes (Windows). Select your phone when it appears, then choose Restore. This will read the latest iOS version and erase the phone. You will need your Apple ID password to set up the phone again after the reset.
If you do not have access to a computer or cannot remember your Apple ID password, you can also reset the iPhone through iCloud. Go to iCloud.com on any web browser, sign in with your Apple ID, click Find My, select your iPhone from the list, and choose Erase iPhone. This works remotely and does not require the phone to be in your hands, but it does require you to know your Apple ID password.
Recovering your Google account or Apple ID password first
Before you reset the phone, spend time recovering your account password. This step prevents you from being locked out of your own phone after the reset is complete.
For Google accounts, go to accounts.google.com on any computer or tablet. Click Sign in, enter your email address, and click Forgot password? Google will ask you to enter the last password you remember, or will send a recovery code to a backup email address or phone number you set up when you created the account. Follow the prompts to set a new password. Write it down or save it in a password manager before you reset the phone.
For Apple ID, go to iforgot.apple.com on any computer. Enter your Apple ID email address and follow the prompts. Apple will ask you to verify your identity using a trusted phone number, a recovery key (if you saved one when you set up two-factor authentication), or answers to security questions you created when you opened the account. Once you verify, you can set a new password. Save this password somewhere safe before you reset the iPhone.
What to do if you cannot remember your account password either
If you have forgotten both your phone password and your Google or Apple ID password, the recovery process takes longer but is still possible. Google and Apple both use backup verification methods — a recovery email address, a phone number, or security questions — to confirm you own the account.
Start with the account recovery pages above. If you cannot answer the security questions or access the backup email or phone number, you may need to provide additional proof of identity. Google may ask for a government ID or a credit card you used to make purchases on the account. Apple may ask for a photo of your ID or details about your account history. This verification can take several days.
If you are completely locked out and cannot recover the account, contact Google Support or Apple Support directly. Have your phone's IMEI number ready (dial *#06# on any Android phone to see it, or find it in Settings > General > About on iPhone). Support staff can verify you own the device and help you regain access to your account.
What data is lost and what is not
A factory reset deletes everything stored on the phone itself: photos, videos, messages, call history, installed apps, and all settings. It does not delete data that is already backed up to the cloud. If you use Google Photos, Google Drive, iCloud, OneDrive, or another cloud service, those files remain in your account and you can read them again after the reset.
Contacts stored in your Google account or iCloud are also safe — they sync back to your phone as soon as you sign in after the reset. Text messages, however, are usually stored only on the phone unless you have specifically backed them up to a third-party app. If you want to keep your messages, use an app like SMS Backup+ (Android) or a third-party backup service before you reset.
Apps you purchased through the Google Play Store or Apple App Store can be reinstalled for free after the reset, but any data those apps stored locally on the phone will be gone. If an app has its own cloud backup feature (like Slack or Telegram), your data in that app will be safe as long as you sign back in with the same account.
How long the reset takes and what to expect
The reset process itself usually takes 15 to 45 minutes, depending on how much data is on the phone and which method you use. A hardware reset (using buttons) is often faster than a settings-based reset because it skips some verification steps. During the reset, the phone will show a progress bar and may restart several times — this is normal and you should not interrupt it.
After the reset completes, the phone will boot into the initial setup screen, just as if it were brand new. You will be asked to select a language, connect to Wi-Fi, and sign into your Google account (Android) or Apple ID (iPhone). This setup takes another 10 to 20 minutes depending on your internet speed and how many apps you choose to reinstall. Do not turn off the phone during setup.
Once setup is complete, your phone will be fully functional and ready to use. Any apps you had before will be available to reinstall from the app store, and any data you had backed up to the cloud will sync back automatically.
Frequently Asked Questions
Can I reset my phone if it is completely powered off?
Yes. Use the hardware reset method: press and hold Power and Volume Down (or Power and Volume Up, depending on your phone) until the recovery menu appears. This works even if the phone has been off for days. For iPhones, you can also connect to a computer and use Finder or iTunes to reset without powering on the phone first.
Will the reset remove the password so I do not need one after?
No. The reset erases your old password, but during setup you will be asked to create a new one. You can choose a PIN, pattern, or biometric lock (fingerprint or face recognition) depending on your phone model. You must set up some form of security to complete the setup process.
What if I reset the phone but then cannot remember my Google or Apple ID password?
You will be locked out of the phone until you recover that account password. Go to accounts.google.com or iforgot.apple.com on a computer and use the recovery options there. This is why recovering your account password before the reset is so important.
Can I recover my photos and messages after a factory reset?
Photos are recoverable if you backed them up to Google Photos, iCloud, or another cloud service before the reset. Messages are usually not recoverable unless you used a backup app. Contacts are safe if they were stored in your Google account or iCloud. After the reset, sign back into your accounts and your cloud data will sync back automatically.
Do I need a computer to reset my phone?
No, not for Android. You can reset through Settings or using the hardware button method. For iPhone, you can reset through Settings or iCloud without a computer, but having a computer with Finder or iTunes available gives you an additional option if the phone is severely locked down.