How to Factory Reset Any Device Safely
Learn how to factory reset any device safely in 7 proven steps. Protect your data, avoid account lockouts, and wipe your phone, PC, or router the right way.

Factory reset your device the wrong way, and you could lose years of photos, lock yourself out permanently, or leave sensitive personal data behind for the next person to find. That is a real problem, and it happens more often than you would think.
Whether you are selling an old phone, fixing a stubborn software bug, or just starting fresh, knowing how to factory reset any device safely is a skill worth having. The process looks simple on the surface — a few taps in settings and you are done. But there is a lot happening underneath, and skipping even one step can cost you something you cannot get back.
This guide covers everything: what a factory reset actually does to your data, when you genuinely need one, and the exact steps to perform it safely on every major type of device — Android phones, iPhones, Windows PCs, Macs, routers, and smart TVs. You will also learn what does not get deleted (which surprises most people), the most common mistakes to avoid, and how to make sure your personal data is truly gone before you hand the device to someone else.
No fluff. No unnecessary detours. Just a clear, practical walkthrough that covers every device you are likely to own.
What Is a Factory Reset? (And Why It’s More Than Just Deleting Files)
A factory reset — sometimes called a hard reset, master reset, or factory restore — returns a device to the same state it was in when it left the manufacturer. Every app you installed, every account you signed into, every setting you changed, and every file you saved gets wiped.
But here is something most people do not realize: a standard factory reset does not always make your data unrecoverable. It removes the directory pointing to your files, but the underlying data may still exist on the storage chips until it gets overwritten. For everyday use, that is fine. For security-sensitive situations — like handing a device to a stranger or disposing of it — you need to take a few extra steps to make sure the data wipe is thorough.
There is also a difference between a soft reset and a hard reset:
- Soft reset: A simple restart. It clears temporary memory and stops background processes but does not touch your personal data or apps.
- Hard reset / Factory reset: A full wipe that removes all user data and returns the device to its factory default settings.
Understanding this distinction matters because a lot of people run a soft reset expecting it to fix deeper problems, get frustrated, and then jump straight to a hard reset without preparing properly.
When Should You Actually Perform a Factory Reset?
A factory reset is not something you do casually. It is a drastic, largely irreversible action. That said, there are situations where it is genuinely the right call:
- Selling or giving away your device: This is the single most common reason. You want to make sure no personal data — passwords, bank apps, photos, messages — transfers to the new owner.
- Persistent software problems: If your device keeps crashing, freezing, or behaving erratically despite normal troubleshooting, a factory restore often fixes what updates and app reinstalls cannot.
- Removing malware or a virus: Some malicious software buries itself deep enough that only a complete device wipe can eliminate it. Antivirus tools may not catch everything.
- Performance has severely degraded: Years of apps, cached data, and fragmented settings can slow a device down significantly. A clean factory default wipe gives it a fresh start.
- Forgotten PIN or password: If you are locked out of your own device, a factory reset via recovery mode is often the only path forward.
- Preparing a device for a new user: Kids, elderly family members, or employees getting a second-hand device benefit from a clean setup.
If none of those apply to you, try simpler fixes first — clearing the app cache, running a malware scan, or freeing up storage space. Those steps fix a lot of problems without the permanent consequences of a full reset.
The 7 Essential Steps to Factory Reset Any Device Safely
These steps apply across all devices. Think of them as your pre-reset checklist. Skip any of them and you risk losing data, locking yourself out, or leaving your personal information on the device.
Step 1 – Back Up All Your Important Data
This is non-negotiable. A factory reset deletes everything. Before you start, back up:
- Photos and videos: Use Google Photos, iCloud, OneDrive, or manually transfer files to a computer.
- Contacts: Sync them with your Google account, iCloud, or export them as a VCF file.
- Messages and chat history: Apps like WhatsApp have built-in backup tools. Use them.
- App data: Check which apps offer cloud backup or account-based sync. Not all do.
- Documents and downloads: Move anything important to a cloud service or external drive.
- Passwords: Make sure your password manager is synced and accessible from another device.
The goal is simple: if the reset goes perfectly, you should be able to restore everything. If something unexpected happens, you want a safety net.
Step 2 – Sign Out of All Accounts
This step protects both you and whoever gets the device next. Sign out of:
- Google account (on Android devices)
- Apple ID / iCloud (on iPhones, iPads, and Macs)
- Microsoft account (on Windows PCs)
- App-specific accounts: Banking apps, social media, streaming services
Skipping this step can trigger Factory Reset Protection (FRP) on Android devices, which means the phone will ask for your Google account credentials after the reset. If you forget those credentials, the phone becomes essentially unusable — even for someone trying to help you recover it.
On iPhones and iPads, the equivalent is Activation Lock tied to your Apple ID. Always turn off Find My iPhone before performing a reset, or the device will be locked to your Apple ID afterward.
Step 3 – Remove External Storage and SIM Cards
A factory reset typically does not touch data on microSD cards or SIM cards. If you are handing the device to someone else, take these out first. Your contacts stored on the SIM, and any files saved to the SD card, will stay intact unless you manually erase them.
If you want to wipe external storage as well, do it separately before or after the reset.
Step 4 – Charge Your Device (Or Plug It In)
A factory reset can take anywhere from a few minutes to over an hour depending on the device. If the battery dies partway through, you can end up with a partially wiped device that fails to boot — what is commonly called a “bricked” device. Charge your phone or tablet to at least 80% before starting, or keep it plugged in throughout the process.
For laptops and desktop PCs, keep them connected to power.
Step 5 – Disable Factory Reset Protection and Find My Device
- Android: Go to Settings → Accounts → Google and remove your Google account before resetting. This disables FRP.
- iPhone/iPad: Go to Settings → [your name] → Find My → Find My iPhone and toggle it off. You will need your Apple ID password.
- Windows: Sign out of your Microsoft account if you do not want to tie the reset device to it.
Step 6 – Perform the Reset
This step varies by device. Detailed instructions for each type of device are covered in the sections below.
Step 7 – Verify the Wipe Was Successful
After the reset completes, the device should walk you through its initial setup screen — the same one you saw when it was brand new. If it does, the reset worked.
For extra security, especially before selling or disposing of a device, you can go one step further: after the reset, set the device up without adding your accounts, then encrypt the storage and perform a second reset. This double-wipe approach makes data recovery significantly harder.
How to Factory Reset an Android Phone or Tablet
Android is the most common smartphone platform in the world, and the steps are broadly similar across manufacturers, with some variation in menu names.
Method 1: Through Settings (Standard)
- Open Settings.
- Scroll down to General Management (Samsung) or System (Pixel, most stock Android).
- Tap Reset or Reset Options.
- Select Factory Data Reset (or Erase All Data).
- Review the list of accounts and data that will be erased.
- Tap Reset and enter your PIN or password when prompted.
- Confirm and wait for the process to complete.
Method 2: Via Recovery Mode (If the Device Won’t Boot)
This method lets you perform a hard reset even if you cannot get into the operating system.
- Power off the device completely.
- Press and hold the correct button combination for your device (commonly Power + Volume Up for Samsung; Power + Volume Down for some Pixel models).
- When the Android Recovery screen appears, use the volume buttons to navigate.
- Select Wipe data / factory reset.
- Confirm with the power button.
- Select Reboot system now when done.
Method 3: Remotely via Find My Device
If your phone is lost or stolen and you need to wipe it remotely:
- Go to google.com/android/find on any browser.
- Sign in with the Google account linked to the device.
- Select the device and choose Erase Device.
This performs a remote factory reset as long as the device has an internet connection.
How to Factory Reset an iPhone or iPad
Apple’s process is straightforward, but you must disable Find My iPhone first or Activation Lock will prevent anyone — including you — from setting up the device afterward.
Standard Reset via Settings
- Open Settings.
- Tap your name at the top to access your Apple ID.
- Scroll down and tap Find My → Find My iPhone → toggle it off (requires Apple ID password).
- Go back to Settings → General.
- Scroll to the bottom and tap Transfer or Reset iPhone.
- Tap Erase All Content and Settings.
- Follow the on-screen prompts and enter your passcode.
- Confirm and wait.
Reset via a Computer (Using Finder or iTunes)
Useful if the device is unresponsive or you forgot your passcode:
- Connect the iPhone to a Mac (Finder) or Windows PC (iTunes) using a USB cable.
- Put the device into Recovery Mode using the correct button sequence for your model.
- When prompted on the computer, click Restore.
- This reinstalls iOS from scratch and performs a full factory restore.
For iPhone 8 and later: press and release Volume Up, then Volume Down, then hold the Side button until the Recovery Mode screen appears.
How to Factory Reset a Windows PC
Windows 10 and Windows 11 both have a built-in reset option that gives you control over what happens to your files and whether the drive gets thoroughly wiped.
Steps for Windows 10/11
- Open Settings (Windows key + I).
- Go to System → Recovery.
- Click Reset this PC.
- Choose one of two options:
- Keep my files: Removes apps and settings but keeps personal files. Good for fixing software issues.
- Remove everything: Performs a full factory reset and wipes all personal data. Use this before selling the PC.
- If removing everything, you will get a second option: Just remove my files or Remove files and clean the drive. For security, always choose Remove files and clean the drive — it overwrites data and makes recovery much harder.
- Follow the prompts and let Windows handle the rest. This can take 1–3 hours.
How to Factory Reset a Mac
Macs running macOS Monterey (12) or later have a streamlined Erase All Content and Settings option similar to iPhones.
macOS Monterey and Later (Apple Silicon or Intel Macs with T2 chip)
- Click the Apple menu → System Preferences (or System Settings in Ventura and later).
- Go to General → Transfer or Reset.
- Click Erase All Content and Settings.
- Sign out of your Apple ID when prompted.
- Confirm and let the process run.
Older Macs (macOS Big Sur and earlier)
For older Macs, you need to boot into macOS Recovery:
- Restart and immediately hold Command + R (for Intel Macs) until the Apple logo appears.
- For Apple Silicon Macs, hold the power button until startup options appear, then select Options.
- Select Disk Utility → choose your main drive → click Erase.
- After erasing, go back and select Reinstall macOS from the recovery menu.
Sign out of iCloud and turn off Find My Mac before starting this process.
How to Factory Reset a Router
Routers store your Wi-Fi passwords, network configurations, firewall settings, and sometimes admin credentials. A factory reset returns all of this to the manufacturer’s defaults.
You will typically need to do this if:
- You forgot the admin password
- You are changing your internet service provider
- You are giving the router away
- The network settings are corrupted
How to Reset Most Routers
- Locate the small Reset button on the back or bottom of the router (usually requires a pin or paperclip to press).
- With the router powered on, press and hold the Reset button for 10–30 seconds until the lights blink or change pattern.
- Release the button and wait for the router to reboot (1–3 minutes).
- The router will return to its factory default settings — default SSID, default admin password (printed on the label underneath).
After resetting, you will need to reconfigure your internet settings, set a new Wi-Fi name and password, and log back into the admin panel.
How to Factory Reset a Smart TV
Smart TVs accumulate login credentials, streaming app data, and account links over time. If you are selling or giving away your TV, a factory reset ensures none of that carries over.
Samsung Smart TV
- Press Home on your remote.
- Go to Settings → General → Reset.
- Enter your PIN (default is usually 0000).
- Select Reset and confirm.
LG Smart TV
- Press the Settings button on your remote.
- Go to All Settings → General → Reset to Initial Settings.
- Confirm when prompted.
Sony (Google TV / Android TV)
- Press Home → Settings (gear icon).
- Go to Device Preferences → Reset.
- Select Factory data reset and confirm.
Apple TV
- Go to Settings → System.
- Select Reset for a standard reset, or Reset and Update to also reinstall the latest tvOS.
Before resetting any smart TV, sign out of your streaming apps (Netflix, Disney+, etc.) manually, as the reset may not fully remove account tokens on older firmware versions.
What Doesn’t Get Deleted in a Factory Reset?
This surprises a lot of people. A factory reset is thorough, but it does not wipe everything:
- Data on external SD cards: These are separate from internal storage and usually untouched.
- SIM card data: Contacts and SMS stored directly on the SIM stay there.
- Carrier-installed apps (bloatware): On some Android phones, these come back after the reset.
- Operating system and firmware: The OS itself is restored to its factory version, not removed.
- Residual data fragments: As mentioned earlier, forensic tools can sometimes recover data from storage that has not been overwritten. Enabling full disk encryption before resetting makes this much harder.
- iCloud data: An iPhone reset does not delete data already synced to iCloud. You need to manage that separately through your Apple ID settings.
For high-security situations — old work laptops, devices with financial data, or anything going to a stranger — consider using dedicated data erasure software on top of the factory reset for complete peace of mind. Tools like DBAN for PCs or Blancco offer certified, forensic-grade data wiping.
Common Mistakes to Avoid During a Factory Reset
Even tech-savvy people make these errors:
- Skipping the backup: The most common and most painful mistake. Always verify the backup is complete and accessible before starting the reset.
- Forgetting to sign out of accounts: Leaving your Google or Apple ID signed in triggers Activation Lock or FRP, making the device difficult or impossible to set up again.
- Running the reset on a low battery: If the device powers off mid-reset, you can end up with a corrupted system that will not boot. Always charge to at least 80%.
- Using a basic reset before selling: Choosing “Keep my files” or the quickest reset option before selling means your data is still there, just hidden. Always use the most thorough wipe option available.
- Not removing the SD card: Then handing the device to someone and realizing your photos or documents are still on it.
- Resetting when it is not necessary: A factory reset fixes software problems, not hardware ones. If your phone has a failing battery, a broken display, or a damaged charging port, no amount of resetting will help.
- Not verifying the reset worked: Always check that the device boots into its initial setup screen after the reset completes.
After the Reset: Setting Your Device Back Up
Once the reset is done and you are keeping the device, here is how to restore it cleanly:
- Android: During setup, you can restore from a Google account backup. Apps, settings, and most data will be downloaded and re-applied automatically.
- iPhone: Restore from an iCloud backup or a local backup made through Finder/iTunes during the setup wizard.
- Windows: Use OneDrive to restore files, then manually reinstall apps. There is no full system restore from a Windows reset.
- Mac: Use Migration Assistant or restore from a Time Machine backup.
One piece of advice worth following: do not just restore everything blindly. If your device had a software problem that was causing issues, restoring the same configuration might bring the problem back. Take this as an opportunity to reinstall only the apps you actually use and rebuild your settings from scratch. Devices stay faster and cleaner this way.
A Note on Data Privacy and Factory Resets
According to the National Institute of Standards and Technology (NIST), simply deleting files or performing a basic factory reset does not guarantee that data is unrecoverable. For personal devices, this level of concern is probably overkill. But for business laptops, devices handled by multiple employees, or anything that touched sensitive financial or medical data, proper data sanitization matters.
The safer approach for these situations:
- Enable full-disk encryption on the device before resetting. On Android, this is often on by default. On Windows, use BitLocker.
- Perform the factory reset.
- The combination of encryption plus wiping means anyone attempting recovery would get encrypted gibberish, not usable data.
Conclusion
A factory reset is one of the most powerful tools built into every modern device, and when done correctly, it is completely safe. The key is preparation: back up your data, sign out of all your accounts, remove your SIM and SD cards, keep the device charged, and choose the most thorough wipe option available for your situation. Whether you are resetting an Android phone, an iPhone, a Windows PC, a Mac, a router, or a smart TV, the core principles stay the same.
Follow the 7 steps outlined in this guide, tailor them to your specific device using the platform-specific instructions provided, and you will be able to perform a complete, safe factory reset without losing anything important or leaving your personal data exposed.











