What deleting everything on your phone actually does
Deleting everything on your phone removes your photos, messages, contacts, installed apps, and settings — but the process works differently depending on whether you have an iPhone or Android device. On both types, a factory reset (also called a hard reset) returns your phone to the state it was in when it left the factory, erasing all your personal data in the process.
Before you start, understand that this action is permanent. Once you delete everything, you cannot undo it unless you have a backup saved elsewhere. Most people back up to cloud storage like iCloud (iPhone) or Google Drive (Android) before wiping their phone, so they can restore their data later if needed. If you do not have a backup and you are not certain you want to lose everything, stop here and create one first.
Key Takeaways
- Back up your phone to iCloud (iPhone) or Google Drive (Android) before wiping it, unless you are certain you want to lose all your data permanently.
- On iPhone, go to Settings > General > Transfer or Reset > Erase All Content and Settings, then enter your Apple ID password when prompted.
- On Android, go to Settings > System > Reset Options > Erase All Data (Factory Reset), then confirm your choice on the next screen.
- The wipe process takes 5 to 15 minutes and your phone will restart several times — do not turn it off or remove the battery during this time.
- After the wipe completes, your phone will ask you to set it up as new or restore from a backup, just like when you first bought it.
How to back up your phone before wiping it
On iPhone, open Settings, tap your name at the top, then tap iCloud. Scroll down and tap iCloud Backup. Make sure the toggle next to iCloud Backup is turned on (it will be blue). Then tap Back Up Now. Your phone will back up to Apple's servers — this usually takes 5 to 10 minutes depending on how much data you have. You can check the progress by going back to Settings > [Your Name] > iCloud > iCloud Backup and looking at the timestamp that says when the last backup completed.
On Android, open Settings and search for "backup" in the search bar at the top. Tap Backup and Restore or Google Account Backup depending on your phone model. Make sure the toggle next to Backup is turned on. Then tap Back Up Now. Your phone will back up to your Google account — again, this takes a few minutes. You can verify it worked by opening Google Drive on your phone or computer and checking that your files appear there.
If you are selling or giving away your phone, backing up is especially important because the new owner will not have access to your data. If you are wiping it for yourself and plan to restore everything afterward, the backup ensures you do not lose photos, messages, or contacts.
Deleting everything on an iPhone
Open the Settings app and tap your name at the very top of the screen. Scroll down and tap General. Scroll to the bottom and tap Transfer or Reset. Tap Erase All Content and Settings. Your phone will warn you that this will erase all media, data, and settings. Tap Continue.
Your phone will ask for your Apple ID password. This is a security feature — Apple requires this to prevent someone else from wiping your phone without permission. Enter the password you use to sign into your Apple account. If you do not remember it, you will need to reset it on Apple's website before you can proceed.
After you enter your password, tap Erase. Your phone will show a progress bar and may restart several times. This is normal. Do not turn off your phone or remove the battery. The process usually takes 5 to 15 minutes. When it finishes, your phone will display the setup screen, just like when you first turned it on. At this point, all your personal data is gone.
Deleting everything on an Android phone
Open the Settings app. Scroll down and tap System or About Phone depending on your phone model — the exact name varies by manufacturer. Look for an option called Reset or Reset Options and tap it. Tap Erase All Data or Factory Reset. Your phone will show a warning that this action cannot be undone.
Tap Erase All Data again to confirm. Your phone may ask for your PIN, pattern, or password — enter it if prompted. This is another security measure. After you confirm, your phone will begin the wipe process. You will see a progress bar and your phone may restart multiple times. Leave it alone during this time. Do not turn it off or interrupt the process.
The wipe usually takes 5 to 15 minutes depending on how much storage your phone has. When it finishes, your phone will show the initial setup screen. All your apps, photos, messages, and settings are now gone. If you want to restore your data from the backup you created earlier, you can do that during the setup process by signing into your Google account.
What happens if you cannot access your password
If you forgot your Apple ID password on iPhone, you cannot complete the wipe without resetting it first. Go to iforgot.apple.com on a computer, enter your Apple ID email address, and follow the steps to reset your password. You will need access to a recovery email address or phone number associated with your account. Once you have reset your password, return to your phone and try the wipe again.
On Android, if you forgot your PIN or pattern, you may still be able to wipe the phone. Some Android phones allow you to tap Forgot Pattern or Forgot PIN and answer security questions instead. If that does not work, you will need to sign into your Google account during the wipe process. If you do not remember your Google password, go to accounts.google.com on a computer and reset it there, then try the wipe again.
After the wipe is complete
Your phone will restart and show the setup screen. If you want to restore your backed-up data, sign into your Apple ID (iPhone) or Google account (Android) during setup. Your phone will ask if you want to restore from a backup. Select the backup you created before wiping, and your phone will download your photos, messages, contacts, and app data back onto the device. This process can take 30 minutes to an hour depending on how much data you have.
If you are giving the phone to someone else or selling it, do not restore from a backup. Instead, set it up as a new phone. This ensures the new owner starts with a completely clean device with no trace of your personal information.
Common mistakes to avoid
The biggest mistake is wiping your phone without a backup and then realizing you needed something that was on it. Take the time to back up first, even if you think you do not need anything. The second mistake is turning off your phone during the wipe process. Your phone needs to complete the entire reset sequence without interruption. If you turn it off halfway through, you may end up with a phone that does not work properly.
A third mistake is forgetting your password before you start. If you cannot remember your Apple ID or Google password, reset it on a computer before you begin the wipe. Trying to figure it out while your phone is in the middle of resetting will only slow things down. Finally, do not assume the wipe is complete just because your phone restarts. Wait for the setup screen to appear and stay fully loaded before you consider the process done.
Frequently Asked Questions
Will a factory reset remove viruses or malware from my phone?
A factory reset will remove most malware because it deletes all files on your phone and reinstalls the operating system fresh. However, if malware is embedded in your phone's firmware (the lowest level of software), a factory reset may not remove it. For most people, a factory reset solves malware problems. If you are concerned about a serious infection, contact your phone manufacturer or a repair shop before wiping.
Can I recover photos or messages after I wipe my phone?
If you backed up your phone before wiping it, you can restore everything during setup. If you did not back up and you wiped your phone, recovery is very difficult and usually requires professional data recovery services, which can be expensive. This is why backing up before you wipe is so important.
How long does it take to wipe a phone?
The actual wipe process takes 5 to 15 minutes depending on how much storage your phone has and how fast it is. Restoring from a backup afterward can take 30 minutes to an hour. Plan for at least an hour total if you are wiping and restoring.
Do I need to remove my SIM card before wiping my phone?
No, you do not need to remove your SIM card. A factory reset does not affect your SIM card or your phone number. Your phone will still work on your carrier's network after the wipe is complete.
What if my phone is frozen and I cannot open Settings?
If your phone is completely frozen, you can force a restart by holding down the power button and volume down button at the same time for 10 to 15 seconds. This will restart your phone without opening any apps. Once it restarts, you should be able to open Settings and perform the wipe normally.