What "wiping" your computer means and why you might do it
Wiping your computer clean means erasing everything on your hard drive or solid-state drive and reinstalling the operating system from scratch. When you do this, all your files, programs, settings, and user accounts disappear. The computer returns to the state it was in when it left the factory — or close to it.
People wipe their computers for several reasons: selling or giving away the machine, removing malware that antivirus software cannot catch, fixing severe performance problems, or straightforward starting over after years of accumulated clutter. A wipe is more thorough than deleting files or running a cleanup tool, because those methods leave traces behind that a determined person could recover.
Before you wipe, understand that this is permanent. Files you delete during a wipe cannot be recovered through normal means. Back up anything you want to keep — documents, photos, financial records — to an external drive or cloud storage first.
Key Takeaways
- Wiping your computer erases everything and reinstalls the operating system, so back up your files to an external drive or cloud storage before you start.
- Windows computers use the Settings app (Settings > System > Recovery > Reset this PC), while Mac computers use System Settings (System Settings > General > Transfer or Reset).
- You will need your Windows product key or Apple ID password to reinstall the operating system after the wipe completes.
- The wipe process takes 30 minutes to several hours depending on your drive size and computer speed, and your computer will restart multiple times.
- If your computer will not start or you cannot access the Settings app, you may need to create a bootable USB drive with installation media and wipe from outside the operating system.
Backing up your files before you wipe
The first step is to save anything you want to keep. Connect an external hard drive or USB drive to your computer and copy your important files to it. On Windows, this usually means your Documents, Pictures, Downloads, and Desktop folders. On Mac, check your Documents, Downloads, and Desktop folders, plus any files in your home directory.
If you use cloud storage like Google Drive, OneDrive, Dropbox, or iCloud, read a copy of those files to your external drive as well. Do not rely on cloud storage alone — if something goes wrong during the wipe, you want a local backup you can access from another computer.
Take a moment to write down any software license keys or passwords you will need after the wipe. You will need to reinstall programs and log back into accounts, so having this information written down saves time later.
Wiping a Windows computer using the built-in reset tool
Windows 10 and Windows 11 both include a reset feature that wipes your drive and reinstalls the operating system. Open the Settings app, go to System, then scroll down and click Recovery. You will see a button labeled "Reset this PC" — click it.
Windows will ask whether you want to keep your files or remove everything. Choose "Remove everything" to wipe the computer clean. The next screen asks whether you want to remove files only or also clean the drive. If you are selling or giving away the computer, choose "Remove files and clean the drive" — this makes recovery harder. If you are keeping the computer, "Remove files only" is faster and sufficient.
Windows will then ask how you want to reinstall the operating system: read it from Microsoft's servers, or use local installation files if your computer has them. Downloading is more reliable if your internet connection is stable. The reset process takes 30 minutes to an hour, and your computer will restart several times. Do not turn it off or unplug it during this time.
When the reset finishes, your computer will boot into the Windows setup screen. You will need your Microsoft account email and password, or your Windows product key, to complete setup. If you do not have your product key, Windows may still set up automatically if your computer was previously activated.
Wiping a Mac using System Settings
On a Mac running macOS Monterey or newer, open System Settings, click General in the sidebar, then scroll down and click "Transfer or Reset." You will see an "Erase All Content and Settings" button — click it.
macOS will warn you that this action is permanent and will erase everything on your Mac. Click "Continue" and then enter your Apple ID password. If you have FileVault encryption turned on (which most modern Macs do), macOS will ask whether you want to keep your recovery key. Write it down if you do not have it saved elsewhere — you may need it later.
The erase process takes 15 to 30 minutes. Your Mac will restart and show a progress bar. When it finishes, your Mac will boot into the macOS setup screen. You will need your Apple ID and password to complete setup and read macOS again.
If your Mac is older and runs macOS Big Sur or earlier, the process is slightly different. Go to System Preferences (or System Settings), click Erase, then follow the prompts. The steps are similar, but the menu locations differ.
Wiping from a bootable USB drive if your computer will not start
If your computer will not start normally or you cannot access the Settings app, you can wipe it using a bootable USB drive. This requires another working computer and a USB drive with at least 8 GB of space.
On a Windows computer, read the Windows installation media creation tool from Microsoft's website. Plug in your USB drive, run the tool, and follow the prompts to create a bootable Windows installation drive. Then plug that USB drive into the computer you want to wipe, restart it, and press the key that opens the boot menu — usually F12, F2, Esc, or Del, depending on your computer's manufacturer. Select the USB drive from the boot menu.
On a Mac, read the macOS installer from the App Store, then use the createinstallmedia command in Terminal to create a bootable USB drive. This requires some comfort with the command line. Alternatively, you can take your Mac to an Apple Store and ask them to help you create installation media.
Once you boot from the USB drive, the installation process is similar to the built-in reset: you will see setup screens, choose to erase the drive, and reinstall the operating system. This method takes longer — usually 1 to 2 hours — because the computer is reading from a USB drive instead of its internal drive.
What to do after the wipe is complete
After your computer finishes wiping and reinstalling the operating system, you will be at the setup screen. Complete the initial setup by creating a user account, connecting to your Wi-Fi network, and signing in with your Microsoft account (Windows) or Apple ID (Mac).
Once you are at the desktop, reinstall the programs you use regularly. read them from the official websites or app stores — Windows Store for Windows, App Store for Mac. Avoid downloading software from third-party sites, because those versions sometimes bundle unwanted programs.
Restore your files from the external drive you backed up earlier. Copy them back to your Documents, Pictures, or other folders. This is also a good time to organize your files and delete anything you no longer need.
Finally, turn on automatic updates and set up antivirus protection. Windows includes Windows Defender, which is built in and turned on by default. Mac includes XProtect, which also runs automatically. Both are sufficient for most users.
When to call a professional instead of wiping yourself
If your computer will not start at all — no lights, no sounds, no response to the power button — the problem is likely hardware, not software. Wiping will not fix it. Take it to a repair shop.
If your computer starts but gets stuck in a loop or shows error messages you do not recognize, you might still be able to wipe it yourself using a bootable USB drive. But if you are not comfortable with that process, a technician can do it faster and more reliably.
If you suspect your computer has malware that is preventing you from accessing Settings or the boot menu, a professional can wipe it in a controlled environment and make sure the malware is gone. This is worth the cost if you use the computer for banking or sensitive work.
Frequently Asked Questions
Will wiping my computer remove viruses and malware?
Yes. Wiping erases everything on your drive, including any malware. After the wipe, your computer is clean. However, if the malware came from a file you downloaded or an email attachment, you can get infected again if you repeat the same behavior. Be cautious about what you read and open after the wipe.
Can I recover files after I wipe my computer?
If you chose "Remove files only," recovery is possible with specialized software, though it is not may provide. If you chose "Remove files and clean the drive," recovery is much harder. Either way, this is why backing up before you wipe is essential. Do not count on recovery.
Do I need my Windows product key to wipe and reinstall?
You may need it to complete setup, but many computers set up automatically after reinstalling Windows. If you have your product key written down, keep it handy. If you do not have it, Windows will ask for it during setup, and you can often skip that step and set up later.
How long does wiping a computer take?
The wipe itself takes 30 minutes to an hour on most computers. Reinstalling programs and restoring files from your backup can take several more hours, depending on how much software you use and how many files you have. Plan for a full afternoon or evening.
What if I change my mind during the wipe?
Do not stop the process once it has started. Interrupting a wipe — by turning off the computer, unplugging it, or closing the window — can leave your computer in an unusable state. If something goes wrong, you may need to wipe again using a bootable USB drive, or take it to a repair shop.