A factory reset wipes your personal files, accounts, and settings — but not the operating system itself
A factory reset erases the data you created and installed on your device, then restores the original software that came from the manufacturer. This means your photos, messages, documents, installed apps, and login information all get deleted. The Windows or iOS or Android system itself stays in place — that is what makes it a "reset" rather than a complete wipe.
What actually gets removed depends on where your data lives. Files stored only on your device vanish. Files backed up to cloud services like Google Drive, iCloud, or OneDrive remain in those accounts and can be restored later. Accounts you have signed into (Gmail, Microsoft, Apple ID) are removed from the device but still exist in those services — you can sign back in after the reset.
The one thing that does not come back is anything you never backed up and never stored in the cloud. Once it is gone, recovery is difficult and sometimes impossible, which is why the step before a factory reset matters more than the reset itself.
Key Takeaways
- A factory reset removes all personal files, photos, messages, installed apps, and account logins from your device.
- Files stored in cloud services like Google Drive or iCloud are not deleted and can be restored after the reset.
- The operating system (Windows, iOS, Android) is reinstalled fresh, not removed.
- You should back up your device before resetting if you want to keep any of your data.
- After a reset, you can sign back into your accounts and re-download apps, but you cannot recover files that were never backed up.
What gets deleted during a factory reset
Your personal files disappear: photos, videos, documents, spreadsheets, PDFs, audio files, anything you created or downloaded and stored on the device itself. Text messages, email stored locally on the device, and call history are gone. Any app you installed after you bought the device is removed, leaving only the apps that came pre-installed from the manufacturer.
Login information for every account vanishes. If you were signed into Gmail, Facebook, your bank app, or anything else, those sign-ins are erased. Saved passwords, autofill data, and browser history disappear. Settings you changed — display brightness, notification preferences, keyboard layout, accessibility options — all reset to factory defaults.
Cached data and temporary files are cleared. This includes app caches, browser caches, and temporary downloads. On Android devices, data stored in app-specific folders is removed. On Windows, user profiles and their contents are deleted.
What does not get deleted
Files you backed up to the cloud remain in those services. If you used Google Photos, your photos are still in your Google account. Documents in Google Drive, Microsoft OneDrive, or Dropbox are untouched. Email stored on a server (Gmail, Outlook, Yahoo) stays there — only locally cached copies are removed.
Your accounts themselves are not deleted. Your Google account, Microsoft account, Apple ID, and social media accounts all still exist. You simply are not signed in on the device anymore. After the reset, you can sign back in and access everything associated with those accounts.
The operating system remains. Windows, macOS, iOS, or Android is reinstalled fresh, but it is still there. You are not left with a blank device — you have a working system with no personal data on it.
How to protect your data before resetting
Back up to the cloud first. On Android, go to Settings, then Google Account, then Manage your Google Account, then Storage, and turn on backup. On iPhone, go to Settings, tap your name, then iCloud, then iCloud Backup, and tap Back Up Now. On Windows, go to Settings, then System, then About, then Advanced options, then Recovery options, and choose Cloud backup if available.
Download important files manually if you want them on another device. Connect an external hard drive or USB stick, or email files to yourself. Take screenshots of important information like account numbers, insurance details, or contact lists if they are not stored elsewhere.
Write down your account passwords or export them from your password manager before you reset. After the reset, you will need these to sign back in. If you use two-factor authentication, make sure you have access to the phone number or email address associated with each account.
Sign out of accounts before resetting if you want to be thorough, though this is not required. It simply makes the process cleaner. On most devices, you can also choose to keep some data during a reset — look for options like "Keep my files" on Windows or "Keep app data" on Android.
What happens after you reset
You will see a setup screen, just like when the device was new. You choose your language, connect to Wi-Fi, and create or sign into an account. On Android and iPhone, signing into your Google or Apple account automatically restores your backed-up photos, contacts, and some app data. On Windows, signing into your Microsoft account restores some settings and files.
Your apps are not automatically reinstalled — you have to download them again from the app store or Microsoft Store. This takes time but gives you a chance to remove apps you no longer use. Your cloud files remain in their services and can be accessed once you sign in.
Accounts you sign back into will restore some data. Gmail restores your email and contacts. Dropbox restores your files. Apps like banking apps, social media, and messaging apps will sync your data once you log in, though the sync may take a few minutes.
When a factory reset does not solve the problem
If your device has malware or a serious software problem, a factory reset usually fixes it because it removes everything the malware installed. However, some advanced malware can survive a reset by hiding in the firmware — this is rare but possible. If problems return immediately after a reset, contact the device manufacturer or a technician.
If you forgot your account password, a factory reset does not help you recover it. You will be stuck at the setup screen unable to sign in. Before you reset, recover your password through the account's official recovery process (usually a link on the login screen).
If your device is encrypted and you forgot the encryption password, a factory reset may not work at all. Some devices require the encryption password before allowing a reset. Check your device documentation or contact support before attempting a reset if you think this applies to you.
Factory reset versus other ways to erase data
A factory reset removes your data and reinstalls the operating system. A full wipe or secure erase removes your data more thoroughly, making recovery harder, but still leaves the operating system. A clean install of Windows or macOS removes everything and lets you install a fresh copy of the operating system from scratch, which takes longer but gives you complete control.
For most people, a factory reset is the right choice when selling a device, giving it away, or troubleshooting problems. A full wipe is better if you are concerned about data recovery. A clean install is better if you want to upgrade to a newer version of Windows or macOS.
Frequently Asked Questions
Can I recover files after a factory reset?
Files that were backed up to the cloud can be restored by signing back into your account. Files that were never backed up are very difficult to recover — data recovery software sometimes works, but success is not may provide. This is why backing up before you reset is so important.
Will a factory reset remove viruses or malware?
A factory reset removes most malware because it deletes everything the malware installed. However, some advanced malware can hide in firmware or boot sectors and survive a reset. If problems return immediately after resetting, contact a technician or the device manufacturer.
Do I lose my phone number or carrier service after a factory reset?
No. Your phone number and carrier service are tied to your SIM card and your account with the carrier, not to the device data. A factory reset does not affect either one. You will still have service after the reset.
What if I reset my device and forgot my password?
You will be stuck at the setup screen. Before you reset, recover your password through the account's official recovery process — usually a "Forgot password" link on the login screen. If you have already reset, you may be able to use a recovery email or phone number to regain access.
Does a factory reset delete the operating system?
No. A factory reset removes your personal data and reinstalls the operating system fresh, but the operating system itself is not deleted. You end up with a working device with no personal files on it, ready to set up as new.