What Does Factory Reset Do? Everything It Wipes and What Survives
You are probably here because your phone is lagging, you are selling a device, or you just bought a second-hand one and want a clean slate. The factory reset button looks like a nuclear option — and in some ways it is. But what does a factory reset actually do? Does it wipe everything? Can someone recover your photos afterwards? Does it remove your Google or iCloud account?
This guide answers every angle of that question across Android, iPhone, Windows, and Mac. By the end you will know exactly what survives, what doesn’t, and when a reset is — or is not — the right fix.
Quick Answer: What a Factory Reset Erases vs Keeps
| Erased | Survives (Usually) |
|---|---|
| User apps & app data | Operating system (OS) — Android, iOS, Windows, macOS |
| Photos, videos, downloads | System-level firmware updates |
| Contacts stored on device (not synced) | Carrier settings & baseband firmware |
| Wi-Fi passwords & Bluetooth pairings | Hardware-level partitions (recovery, bootloader) |
| Accounts saved on device (sometimes) | Google / Apple account if FRP / iCloud Lock is active |
| Home screen layout & settings | Encrypted data — may remain on storage until overwritten |
| Cache & temporary files | Physical hardware faults (won’t fix broken screens or batteries) |
Bottom line: A factory reset wipes your personal data but keeps the operating system intact. It does not securely erase everything on modern phones with flash storage — more on that below.
What a Factory Reset Actually Does
When you trigger a factory reset — whether from Settings or a hardware key combination — the device does three things in sequence:
- Wipes user-data partitions. The system unmounts and formats partitions like
/data(Android),var/mobile(iOS), or theC:\Usersprofile stores (Windows). This removes all apps, settings, and personal files stored in those areas. - Clears the cache partition. Temporary system and app cache files are deleted. On some devices this is a separate step; on others it happens as part of the data wipe.
- Reboots into a fresh-out-of-box state. The device boots as if it just left the factory — setup wizard, default wallpaper, no accounts. On Android and iOS this triggers the setup assistant where you sign in fresh.
On Android, a factory reset typically runs recovery --wipe_data under the hood. On iPhone (iOS/iPadOS 15+), the “Erase All Content and Settings” option deletes the encryption keys, making the data cryptographically inaccessible. On Windows 10/11, “Reset this PC” rebuilds the operating system from a local or cloud-downloaded image and offers a choice to keep or remove personal files. On Mac (Apple Silicon), the “Erase All Content and Settings” in System Settings uses the same key-destruction approach as iOS.
What a Factory Reset Does NOT Do
There are several misconceptions about what a factory reset can achieve. Here is what it will not do:
It does NOT remove the operating system
A factory reset wipes user data but leaves the OS in place. You still have Android, iOS, Windows, or macOS after the reset — you just need to set it up again. The system partitions (/system, /vendor, the Windows C:\Windows directory) are left untouched. If you need to reinstall the OS cleanly, you need a fresh flash (e.g. using a recovery ROM or a bootable USB installer).
It does NOT fix hardware faults
A dead pixel, a bulging battery, a cracked screen, faulty charging port, or a failing storage chip — none of these are cured by a factory reset. If your device has physical damage or a hardware fault (e.g. the touch screen stops responding in one zone), a reset will not help. It only addresses software-level problems.
It does NOT sanitise storage (on most devices)
This is the most dangerous myth. On almost all Android phones with flash storage and on Windows PCs with SSDs, a factory reset performs a logical wipe — it deletes the file-system index (the “table of contents”) but does not overwrite the actual data blocks. The data remains on the NAND chips until new data overwrites it. This is because modern flash storage uses wear-levelling and TRIM; the OS cannot guarantee every sector gets overwritten. Specialised recovery tools can sometimes recover files from a resold device if the new owner acts quickly.
iPhone (iOS 8+) and Apple Silicon Macs are the exception. They use full-disk encryption with a hardware-backed key. The “Erase All Content and Settings” option destroys the encryption key, rendering all data permanently unrecoverable — even if the underlying NAND still holds the encrypted bytes. This is the gold standard for secure erasure.
Factory Reset on Android vs iPhone vs Windows vs Mac
Each platform handles the reset differently. Here is a platform-by-platform breakdown:
| Platform | Method | Data Wipe Type | Secure? | OS Reinstalled? |
|---|---|---|---|---|
| Android (Google Pixel, Samsung, OnePlus, etc.) | Settings → System → Reset → Erase all data | Logical wipe: formats /data partition. Underlying flash data remains until overwritten. |
No (unless device was encrypted) | No — OS partition left intact |
| iPhone / iPad (iOS 15+) | Settings → General → Transfer or Reset → Erase All Content and Settings | Cryptographic wipe: destroys encryption key. Data bytes stay on NAND but are unreadable. | Yes | No — iOS stays in place |
| Windows 10 / 11 | Settings → Update & Security → Recovery → Reset this PC | Two options: “Keep my files” or “Remove everything.” The “Remove everything” option with “Clean drives” off is a logical wipe. With “Clean drives” on, it overwrites free space (takes hours). | Only with “Clean the drives” selected | Optional — “Cloud download” re-downloads the OS; “Local reinstall” uses existing files. |
| Mac (Apple Silicon) | System Settings → General → Transfer or Reset → Erase All Content and Settings | Cryptographic wipe (same as iOS — key destruction). | Yes | No — macOS stays in place |
| Mac (Intel, pre-2019) | Recovery Mode → Disk Utility → Erase drive, then reinstall macOS | Depends on erase option: “Security Options” let you choose single-pass, 3-pass, or 7-pass overwrite. | Configurable (can be secure if you choose correctly) | Yes — macOS must be reinstalled from Recovery |
For official step-by-step instructions, see Google’s factory reset support page, Apple’s guide to erasing an iPhone, Microsoft’s Windows reset guide, and Samsung UK’s factory reset support.
Does It Remove Your Google / Apple Account? (FRP & iCloud Lock)
This is where many people get caught out — especially when buying or selling a second-hand device. The short answer: a factory reset does not remove your Google or Apple account if Factory Reset Protection (FRP) or Activation Lock is enabled.
Android: Factory Reset Protection (FRP)
Introduced with Android 5.0 Lollipop, FRP is a security feature that links the device to the last signed-in Google account. After a factory reset, the setup wizard will ask for that account’s credentials before allowing access to the home screen. Without the correct email and password, the device is essentially bricked.
FRP is designed to deter thieves: even if someone steals your phone and factory resets it, they cannot use it without your Google login. For sellers, you must sign out of your Google account before resetting. Go to Settings → Accounts → Google → [your account] → Remove account. Then reset. On Samsung devices, also sign out of your Samsung account separately.
Apple: Activation Lock (iCloud Lock)
On iPhone, iPad, and Mac, Activation Lock links the device to your Apple ID via the Find My network. Erasing the device without first turning off Find My will leave the device locked to your Apple ID. The new owner (or thief) will see “iPhone is locked to the owner” and cannot activate it. The only way to remove Activation Lock is to sign out of iCloud on the device or use Apple’s official removal portal (only if you can prove ownership).
Apple’s support documentation is clear: “If you turn off Find My [before erasing], Activation Lock is also turned off, allowing someone else to activate your device.”
Android: Settings → Accounts → Google → Remove account → Then factory reset.
iPhone / iPad: Settings → [your name] → Find My → Turn off Find My → Then Settings → General → Erase All Content and Settings.
Mac (Apple Silicon): System Settings → [your name] → iCloud → Turn off Find My Mac → Then Erase All Content and Settings.
Can Recovered Data Still Exist? Why Encryption Matters
As mentioned earlier, a standard factory reset on most devices leaves the raw data on the storage chip. The question is: can someone actually recover it?
The file system perspective
When you perform a factory reset on an Android phone or a Windows PC, the OS marks the storage blocks as “free” in the file allocation table. The data is still there — it just gets overwritten when new data is saved. If the device is turned off immediately after the reset and never used again, the old data sits intact on the NAND.
Recovery tools exist
Forensic tools like Cellebrite, UFED, or even consumer-grade software (e.g. Disk Drill, Recuva) can scan unallocated space for file headers and reconstruct deleted files. On unencrypted devices, this is straightforward. On encrypted devices, the recovery tool would need the encryption key, which was destroyed during the reset — making recovery mathematically infeasible.
The encryption difference
| Device State | Data After Factory Reset | Recoverable? |
|---|---|---|
| Android with encryption enabled (default on Android 6+ for most devices) | Encrypted data + encryption key destroyed? Not always. On many Android phones, the key is stored in the TEE (Trusted Execution Environment) and may be wiped — but the data partition formatting may not overwrite the encrypted data. This is a grey area. | Unlikely without the key, but possible with advanced forensics if the key survives. |
| Android with encryption disabled (older devices, custom ROMs) | Unencrypted, logical wipe only | Easily recoverable with disk tools |
| iPhone (iOS 8+) | Encryption key destroyed by SEP (Secure Enclave) | Effectively impossible |
| Windows PC (no BitLocker) | Raw file data on disk, no encryption | Easily recoverable |
| Windows PC with BitLocker enabled | Encrypted data. BitLocker key may be in TPM. After “Remove everything” + “Clean drives” + key protection deactivation, data is secure. | Secure only if key is properly removed |
| Mac (Apple Silicon) | Encryption key destroyed | Effectively impossible |
| Mac (Intel, FileVault on) | Encrypted, key may survive in recovery partition | Varies — key destruction method matters |
The takeaway: If you care about data security, ensure encryption is enabled before resetting. On Android, encrypt the device (Settings → Security → Encrypt phone) if it is not already. On Windows, enable BitLocker before resetting and select “Clean the drives” in the reset wizard. On iPhone and Apple Silicon Mac, the default encryption makes the factory reset inherently secure.
When to Factory Reset
A factory reset is a powerful troubleshooting step, but it is not the first thing you should try. Here is when it makes sense:
- Selling or giving away a device: This is the number-one reason. A factory reset removes your personal data and restores the device to a like-new state for the next owner.
- Resolving persistent software issues: If your device is plagued by frequent crashes, app freezes, boot loops, or malware that antivirus cannot remove, a factory reset can clear the slate. It is the software equivalent of turning everything off and on again — at scale.
- Preparing for a major OS upgrade: Some users prefer to reset before upgrading to a new version of Android, iOS, or Windows to avoid carrying over configuration cruft that could cause incompatibilities.
- Fixing forgotten lock-screen credentials: On most devices, a factory reset (via recovery mode) can bypass a forgotten PIN, password, or pattern — but at the cost of all data on the device. (Note: FRP may still require the Google account credentials afterwards.)
- Returning a device under warranty: Manufacturers and carriers often require a factory reset before accepting a return of a software-glitched device.
When NOT to factory reset: Do not reset for hardware problems (screen damage, battery drain, charging port issues). Do not reset expecting to fix a cellular network problem that may be carrier-side. And do not reset if you think it will “clean the storage” in a forensic sense — it will not, unless encryption is active.
What to Back Up Before Resetting
A factory reset is destructive. Once you confirm, everything inside the user-data partitions is gone. Before you tap that final button, back up the following:
| Item | Android | iPhone / iPad | Windows | Mac |
|---|---|---|---|---|
| Photos & videos | Google Photos, or copy to computer | iCloud Photos, or import to PC/Mac | OneDrive / external drive | iCloud / Time Machine / Photos app |
| Contacts | Sync with Google (Settings → Accounts → Google) | iCloud sync (Settings → [name] → iCloud → Contacts toggle on) | Export from Outlook / People app | iCloud or Apple Contacts export |
| Calendar | Google Calendar — already synced | iCloud calendar sync | Export .ics from Calendar app | iCloud calendar sync |
| Messages / WhatsApp | WhatsApp → Settings → Chats → Chat backup (to Google Drive) | iCloud Backup does this automatically | — (messages typically lost) | Messages in iCloud sync |
| App data (games, settings) | Google Drive app backup (if supported) | iCloud Backup (Settings → iCloud → iCloud Backup) | User profile migration tool | Time Machine backup |
| Documents & files | Google Drive / Dropbox / manual copy | iCloud Drive / Files app | OneDrive / external drive | iCloud Drive / Time Machine |
| Wi-Fi passwords | Google Password Manager (if synced) | iCloud Keychain | Netsh export (command line) or third-party tool | iCloud Keychain |
| 2FA / authenticator codes | Export accounts from Authy / Google Authenticator | Export from authenticator app (critical — you will be locked out otherwise) | Export browser-based authenticator | Same as phone |
Frequently Asked Questions
It deletes all user data — apps, photos, contacts stored locally, settings, accounts saved on the device, Wi-Fi passwords, downloads, and cache. It does not delete the operating system, firmware, carrier settings, or recovery partitions. Data synced to cloud services (Google Photos, iCloud, OneDrive) remains untouched online.
Sometimes. If your device is slow because of accumulated app caches, misbehaving apps, or conflicting settings, a reset can restore peak performance. However, if the slowdown is due to outdated hardware or battery degradation, the effect may be minimal or temporary.
Yes — but only after signing out of your Google or Apple account. Failing to remove your account before resetting will trigger FRP (Android) or Activation Lock (iPhone), locking the device to you and preventing the new owner from using it.
On an unencrypted Android phone or a Windows PC without BitLocker, forensic tools may recover significant amounts of data. On an iPhone with a cryptographic wipe (iOS 8+), recovery is effectively impossible. This is why encryption before resetting matters for security and privacy.
On modern smartphones, usually 2 to 10 minutes. On Windows PCs with the “Clean the drives” option selected, it can take 1 to 3 hours. On Mac, the Erase All Content and Settings option takes a few minutes on Apple Silicon, but can take longer on Intel Macs if you choose secure erase settings in Disk Utility.
In most cases, yes — a factory reset removes malware that resides in the user-data partition (apps, downloads, configuration files). However, some sophisticated rootkits or firmware-level malware can survive a factory reset because they live in the system partition or bootloader. If you suspect firmware malware, you need a full OS reflash via a computer, not just a factory reset.
Not exactly. Formatting (in the traditional PC sense) means overwriting the file system structure on a drive. A factory reset on mobile devices is closer to a “wipe data/factory reset” operation that formats /data and /cache partitions. On Windows, “Reset this PC” is more comprehensive than a simple format — it rebuilds system files as well.
Summary: A factory reset is a powerful tool that wipes your personal data while preserving the operating system. It can fix many software issues and is essential before selling a device — but it is not a secure erase on most Android phones or Windows PCs unless encryption was enabled beforehand. On iPhone and Apple Silicon Mac, the cryptographic wipe provides real protection. Always back up your data, remove your accounts first, and understand the limitations of what a reset can and cannot do.
External sources: Google Factory Reset Support · Apple Erase iPhone · Microsoft Windows Reset Guide · Samsung UK Support









