What wiping your computer means and why you might do it
Wiping your computer clean means erasing all the files, programs, and settings on your hard drive and reinstalling a fresh copy of your operating system. When you wipe a computer, you remove everything — your documents, photos, installed software, browsing history, and temporary files that accumulate over time. The result is a machine that runs like it did when it first came out of the box.
People wipe their computers for different reasons. You might do it because your machine has slowed down from years of use, because you are selling or giving away the computer and want to erase your personal data, because malware or viruses have infected the system, or straightforward because you want a fresh start. Wiping is also the most thorough way to remove your information before the computer leaves your hands.
The process takes between one and four hours depending on your computer's speed and which method you use. You will need your Windows or Mac installation media (or the ability to read it), and you should back up any files you want to keep before you begin, because wiping erases everything.
Key Takeaways
- Back up all files you want to keep before you start, because wiping removes everything on the drive permanently.
- Windows computers use the Settings app to reset the system, while Mac computers use Recovery Mode and the Disk Utility tool.
- You will need your Windows product key or Apple ID to complete the wipe and reinstall the operating system.
- The process takes one to four hours and your computer will restart several times during the wipe.
- After wiping, you will need to reinstall your programs and restore your backed-up files one by one.
Back up your files before you start
Before you wipe anything, move every file you want to keep to an external hard drive, USB flash drive, or cloud storage service. Open File Explorer (Windows) or Finder (Mac), navigate to your Documents, Pictures, Desktop, and Downloads folders, and copy them to your backup location. If you use cloud storage like OneDrive, Google Drive, or iCloud, make sure your important files have synced to the cloud before you proceed.
Check for files in less obvious places too. Look in your email client for any attachments you need, check your Downloads folder for installers or documents, and search for any spreadsheets or work files scattered across your desktop or subfolders. If you have a second user account on the computer, back up files from that account as well — wiping affects all accounts.
Once your backup is complete and you have verified that the files are actually on the external drive or in the cloud, you are ready to begin the wipe. Do not skip this step. A wipe is permanent and there is no undo button.
How to wipe a Windows computer
On Windows 10 or Windows 11, the easiest method is to use the built-in reset tool. Click the Start button, type "Reset this PC" into the search box, and open the Settings app result. Click the "Reset this PC" button under the Recovery section. You will see two options: "Keep my files" and "Remove everything." Choose "Remove everything" to perform a full wipe.
Windows will ask you whether you want to remove files locally or remove them and clean the drive. If you are keeping the computer, local removal is fine. If you are selling or giving it away, choose "Remove files and clean the drive" — this overwrites the deleted data so it cannot be recovered. Windows will then ask for your Microsoft account password to confirm the action.
The reset process will take 30 minutes to two hours. Your computer will restart multiple times and show a progress screen. Do not turn off the computer during this time. When the wipe is complete, you will see the Windows setup screen asking you to choose your language and region. Follow the prompts to create a new user account or sign in with your Microsoft account, and Windows will reinstall itself fresh.
How to wipe a Mac computer
On a Mac, wiping requires you to restart into Recovery Mode and use the Disk Utility tool. Shut down your Mac completely. Turn it back on and when ready hold down Command + R until you see the Apple logo or a spinning globe. This boots your Mac into Recovery Mode, where you can repair or erase the drive.
Once Recovery Mode loads, click "Disk Utility" from the utilities window. In the left sidebar, select your main hard drive (usually named "Macintosh HD" or similar). Click the "Erase" button at the top. A dialog will appear asking for a name for the drive — you can leave it as "Macintosh HD" or choose a new name. Make sure the format is set to "APFS" (for newer Macs) or "Mac OS Extended" (for older ones). Click "Erase" to begin.
The erase process takes 10 to 30 minutes depending on drive size. When it finishes, close Disk Utility and you will return to the Recovery Mode utilities window. Click "Reinstall macOS" and follow the prompts. Your Mac will read and reinstall the operating system — this can take one to three hours depending on your internet speed. Your Mac will restart several times. When setup is complete, you will see the macOS welcome screen.
What to do after the wipe is complete
After your operating system is reinstalled, your computer is blank. You will need to restore your files and reinstall your programs. Start by signing into your Microsoft account (Windows) or Apple ID (Mac) so your system settings and preferences sync back. Then plug in your external backup drive or log into your cloud storage and copy your files back to the appropriate folders.
Next, reinstall your programs one by one. If you kept the installer files for your software, use those. Otherwise, read the latest versions from the publishers' websites. This is actually an advantage of wiping — you get the newest versions of your programs instead of old ones that may have accumulated bugs or security issues.
Finally, update your operating system. Windows and Mac both check for updates automatically, but you can speed this up by going to Settings (Windows) or System Preferences (Mac) and checking for updates manually. Install all available updates before you start using the computer for important work.
Common mistakes to avoid during a wipe
The biggest mistake is not backing up your files first. A wipe is irreversible. Once the process starts, there is no recovery option. Spend the extra 30 minutes backing up before you begin.
Another common error is losing track of your product keys or account credentials. If you have a Windows product key written down somewhere, find it before you wipe. If you use a Microsoft account, make sure you remember the password. On a Mac, have your Apple ID and password ready. Without these, you may not be able to complete the setup after the wipe.
Do not interrupt the wipe process by turning off the computer, unplugging it, or closing the lid. Let it run to completion even if it seems stuck. Progress screens may appear blank for several minutes, especially during the reinstall phase. If your computer has been sitting on the same screen for more than 10 minutes with no disk activity, then you can force a restart, but this should be rare.
When to wipe versus when to try other fixes
A wipe is the most thorough solution, but it is not always necessary. If your computer is just running slowly, try these steps first: restart the computer, uninstall programs you no longer use, run a disk cleanup tool, and disable startup programs. These often speed things up without erasing everything.
If you suspect a virus or malware infection, run a full scan with Windows Defender (Windows) or Malwarebytes before wiping. Many infections can be removed without a full wipe. However, if the scan finds nothing but the computer still behaves strangely, or if the malware returns repeatedly, a wipe is the most reliable fix.
If your computer is very old and slow even after cleanup, wiping may help, but it will not make a 10-year-old machine run like a new one. In that case, upgrading the RAM or replacing the hard drive with a solid-state drive (SSD) may be a better investment than your time spent wiping and reinstalling.
Frequently Asked Questions
Can I wipe my computer without losing my files?
Windows has a "Keep my files" option in the reset tool that removes programs and settings but preserves your documents and photos. However, this is not a true wipe — it leaves behind some system files and does not fully clean the drive. If you want a complete wipe, you must back up your files first, then restore them afterward.
How long does it take to wipe a computer?
The entire process — backup, wipe, reinstall, and setup — typically takes three to six hours. The wipe and reinstall themselves take one to four hours depending on your drive size and internet speed. Plan for a full afternoon or evening.
Do I need the original Windows or Mac installation disc?
No. Windows and Mac both allow you to read the installation files from Microsoft and Apple's websites. You will need your product key (Windows) or Apple ID (Mac) to complete the reinstall, but you do not need a physical disc.
Will wiping remove a virus or malware?
Yes. A full wipe erases everything on the drive, including any malware. This is the most reliable way to remove a stubborn infection. However, if the malware came from a file you back up and restore, you could reinfect the computer. Scan your backup files with antivirus software before restoring them.
What if I forget my password after wiping?
On Windows, if you forget your Microsoft account password, you can reset it from another device at account.microsoft.com. On a Mac, if you forget your Apple ID password, you can reset it at iforgot.apple.com. Have a backup email address or phone number associated with your account so you can verify your identity.