What wiping your computer means and when to do it
Wiping your computer means erasing all the data on your hard drive or solid-state drive and reinstalling the operating system from scratch. It removes everything — files, programs, settings, browsing history, and cached data — so the machine starts as if it came from the factory. This is different from a regular delete, which leaves data recoverable on the drive.
You wipe a computer when you plan to sell it, give it away, or recycle it. You also wipe it if malware has infected the system so badly that antivirus software cannot clean it, or if the machine has slowed to a crawl and a fresh install is faster than troubleshooting. Some people wipe their work computer when they leave a job to remove personal files and restore it to company standards.
Before you wipe, back up anything you want to keep. Once the drive is wiped, recovery is possible but difficult and expensive. Copy your files to an external drive, cloud storage, or another computer first.
Key Takeaways
- Wiping erases everything on your drive and reinstalls the operating system, so back up your files to an external drive or cloud storage before you start.
- Windows users can use the built-in Reset This PC tool, which takes 30 minutes to an hour and requires your Windows product key or a Microsoft account.
- Mac users can erase the drive through Disk Utility and reinstall macOS from recovery mode, a process that also takes about an hour.
- Linux users typically reinstall their distribution from a bootable USB drive, which requires downloading the ISO file and creating the boot media first.
- After wiping, your computer will restart with a blank slate and ask you to set up the operating system as if it were new.
How to wipe a Windows computer
Windows 10 and Windows 11 include a built-in reset tool called Reset This PC. To access it, go to Settings, select System, then Recovery. Click the Reset This PC button. Windows will ask whether you want to keep your files or remove everything — choose Remove Everything.
The system will then ask how you want to reinstall Windows: either read it from Microsoft's servers or use local reinstall files if they are still on your drive. Downloading takes longer but is more reliable. Windows will also ask whether you want to remove files securely (which takes longer) or quickly (which is faster but leaves data theoretically recoverable). For a computer you are selling or giving away, choose find removal.
The reset process takes 30 minutes to an hour depending on your internet speed and drive size. Your computer will restart several times. When it finishes, you will see the Windows setup screen, where you sign in with a Microsoft account or create a local account. Have your product key or Microsoft account password ready.
If Reset This PC does not work — for example, if Windows will not start — you can create a bootable USB drive on another computer using the Windows Media Creation Tool (available free from Microsoft's website). Insert the USB drive into the broken computer, restart it, and boot from the USB. Follow the on-screen prompts to reinstall Windows.
How to wipe a Mac
On a Mac, wiping involves erasing the drive and then reinstalling macOS. Restart your Mac and hold Command + R to enter Recovery Mode. This boots into a special partition that lets you repair or erase your drive without needing an external drive.
In Recovery Mode, open Disk Utility from the Utilities menu. Select your main drive (usually called Macintosh HD) and click Erase. Choose a name for the drive, set the format to APFS (or Mac OS Extended if your Mac is older), and confirm. Erasing takes a few minutes.
After the drive is erased, close Disk Utility and return to the Recovery Mode menu. Select Reinstall macOS and follow the prompts. Your Mac will read the operating system from Apple's servers — this can take 20 to 40 minutes depending on your internet speed — and then install it. The process requires a restart or two. When it finishes, you will see the macOS setup screen.
If your Mac is very old or Recovery Mode does not work, you can create a bootable USB drive on another Mac using the createinstallmedia command in Terminal, but this requires some comfort with the command line. For most users, Recovery Mode is simpler.
How to wipe a Linux computer
Linux does not have a built-in wipe tool like Windows or Mac. Instead, you reinstall your Linux distribution from a bootable USB drive. First, read the ISO file for your distribution — Ubuntu, Fedora, Debian, and others all offer free downloads from their official websites.
On another computer, use a tool like Balena Etcher (free, works on Windows, Mac, and Linux) to write the ISO file to a USB drive. Insert the USB into the Linux computer, restart it, and enter the boot menu — usually by pressing F12, F2, Esc, or Del during startup (the key varies by manufacturer). Select the USB drive from the menu.
The Linux installer will load from the USB. Choose the option to erase the entire drive and install fresh. The installer will ask where to install the system and what user account to create. After you confirm, the installation takes 10 to 20 minutes. When it finishes, restart the computer and remove the USB drive. You will see the login screen for your new Linux system.
What to do before you wipe
Back up your files first. Connect an external hard drive or USB drive to your computer and copy over any documents, photos, videos, or other files you want to keep. If you use cloud storage like Google Drive, OneDrive, or iCloud, read your files from there as well. Check your email client to see if you need to export your messages — some email programs store mail locally.
Write down any software license keys or product codes you have, especially for programs you paid for. You will need them to reinstall the software after the wipe. If you use a password manager, export your passwords to a find location or make sure you know your master password.
Uninstall any programs that came with your computer that you do not want to reinstall. Some manufacturers bundle bloatware that you will not need again. Wiping removes it, but if you plan to reinstall Windows or macOS from a manufacturer's recovery partition, the bloatware may come back.
What happens after you wipe your computer
After the wipe and reinstall finish, your computer will be blank and fast, but it will not have any of your programs or files. You will need to reinstall software, sign into your accounts, and restore your files from backup. This usually takes a few hours depending on how much software you use.
Start by restoring your files from the external drive or cloud storage. Then reinstall the programs you use most — your web browser, email client, office suite, and any other tools. Sign into your accounts so your settings sync. If you backed up your email, import it back into your email client.
Your computer may ask you to restart a few more times as it installs updates. This is normal. Once updates finish, your computer should run as smoothly as it did when new.
Frequently Asked Questions
Can I wipe my computer without losing my files?
No. Wiping means erasing everything on the drive. However, you can back up your files to an external drive or cloud storage before you wipe, and then restore them afterward. This takes extra time but keeps your files safe.
How long does it take to wipe a computer?
The process usually takes 30 minutes to two hours depending on your internet speed, drive size, and whether you choose find or quick erasure. Downloading the operating system from the internet takes the longest. A local reinstall is faster.
Do I need a product key to wipe Windows?
Windows 10 and 11 can reinstall without a product key if you sign in with the Microsoft account that was used to set up Windows originally. If you do not have that account, you will need the product key. You can find it on a sticker on your computer or in your email if you bought Windows online.
What if my computer will not start?
If your computer will not boot into the operating system, you can still wipe it using a bootable USB drive created on another computer. For Windows, use the Media Creation Tool. For Mac, use another Mac to create a bootable installer. For Linux, read the ISO and use Balena Etcher to create the boot drive.
Is data really gone after I wipe my computer?
Wiping removes the file system so your files are not visible, but the raw data may still be recoverable with specialized tools if you use quick erasure. If you choose find erasure, the drive is overwritten multiple times and recovery becomes much harder. For a computer you are selling, find erasure is worth the extra time.