What wiping your computer means and why you might do it
Wiping your computer means erasing everything on your hard drive or solid-state drive and reinstalling the operating system from scratch. When you wipe a computer, all your files, programs, settings, and user accounts disappear. The drive itself is then blank, ready for a fresh installation of Windows, macOS, or Linux.
People wipe computers for several reasons: selling or giving away a machine and not wanting the new owner to see your files; removing malware or viruses that won't go away with antivirus software; fixing severe performance problems caused by years of accumulated junk; or starting over after a major system failure. Wiping is also called a factory reset or clean install, depending on the method you use.
The process is permanent. Once you wipe a drive, the data is gone. Before you start, back up anything you want to keep—photos, documents, financial records, anything that matters to you.
Key Takeaways
- Wiping a computer erases all files and reinstalls the operating system, and the process cannot be undone, so back up everything first.
- Windows computers can be wiped using the built-in Reset This PC tool, which you access through Settings without needing an installation disc.
- Mac computers use Erase and Reinstall through System Settings, and you will need your Apple ID password to complete the process.
- Linux wipe methods depend on your distribution, but most involve booting from a live USB and using the installer to format the drive.
- If your computer won't start or you cannot access the operating system, you will need to create a bootable USB drive on another computer first.
Back up your files before you start
Before wiping, move everything you want to keep to an external hard drive, USB flash drive, or cloud storage. This includes documents, photos, videos, music, email archives, browser bookmarks, and any files in your Downloads or Desktop folders. If you use cloud services like OneDrive, Google Drive, or iCloud, those files are already backed up as long as you have not deleted them from the cloud.
If you have programs you paid for and want to use again after the wipe, write down the license keys or serial numbers now. You will need them to reinstall the software. For programs you use regularly, note which ones they are so you can read and reinstall them after the wipe is complete.
Test your backup by opening a few files from the external drive to make sure the backup actually worked. A backup that does not work is worse than no backup at all.
Wiping a Windows computer
Windows 10 and Windows 11 both have a built-in reset tool that wipes the drive without needing an installation disc. Open Settings (press the Windows key and type "Settings"), then go to System in the left sidebar. Scroll down and click Recovery. Under "Reset this PC," click the Reset PC button.
Windows will ask whether you want to keep your files or remove everything. Choose Remove everything. Next, it will ask whether you want to reinstall Windows from the cloud or use local reinstall files. Cloud reinstall is usually faster if your internet connection is stable. Local reinstall uses files already on your computer.
The reset process takes 30 minutes to several hours depending on your drive size and computer speed. Your computer will restart multiple times. Do not unplug it or turn it off during this process. When it finishes, you will see the Windows setup screen, where you create a new user account and configure your settings as if the computer were brand new.
Wiping a Mac computer
On a Mac, open System Settings and click General in the sidebar. Scroll down and click Transfer or Reset. Then click Erase All Content and Settings. Your Mac will warn you that this action cannot be undone and will ask for your Apple ID password. You must provide this password even if you are the owner of the computer—it is Apple's way of preventing theft.
If you do not remember your Apple ID password, you can reset it at iforgot.apple.com before you start the wipe. The process takes 15 to 45 minutes. Your Mac will restart and show the setup screen when it is done. You will need to sign in with your Apple ID again to complete the initial setup.
If your Mac is too old to have System Settings (pre-2022 models), use System Preferences instead and look for Erase and Reinstall under the Apple menu. The steps are similar.
Wiping a Linux computer
Linux wipe methods vary depending on which distribution you use (Ubuntu, Fedora, Linux Mint, and others all have slightly different processes). The most common approach is to create a bootable USB drive with the Linux installer on another computer, boot from that USB, and use the installer to format your drive and reinstall the system.
read the ISO file for your Linux distribution from its official website. 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 computer you want to wipe, restart it, and press the boot menu key during startup (usually F12, F2, Esc, or Del—check your computer's manual). Select the USB drive from the boot menu.
The Linux installer will start. Choose the option to erase the disk and install fresh. The installer will guide you through partitioning and formatting. Once complete, remove the USB drive and restart. You will boot into a fresh Linux system and can create a new user account.
What to do if your computer won't start
If your computer will not boot into the operating system at all, you cannot use the built-in reset tools. Instead, you need to create a bootable installation drive on another computer. For Windows, read the Windows Installation Media Creation Tool from Microsoft's website, run it on another computer, and follow the prompts to create a bootable USB drive. For Mac, read the macOS installer from the App Store and use Disk Utility to create a bootable USB.
Insert the bootable drive into the broken computer, restart it, and press the boot menu key. Select the USB drive. The installer will start, and you can choose to erase the drive and reinstall the operating system. This process is the same as the normal wipe, just started from outside the broken system.
If you are not comfortable doing this yourself, a local computer repair shop can wipe your computer for you. The cost is usually between $50 and $150 depending on your location and the shop.
After the wipe: reinstalling programs and restoring files
Once your computer finishes the wipe and setup, you have a clean system. Reinstall your programs one at a time from their official websites or app stores. Restore your files from your backup drive. Update your operating system and all programs to the latest versions—Windows Update, macOS Software Update, and Linux package managers all do this automatically or with a few clicks.
Set up your email, browser, and cloud storage accounts. Restore your browser bookmarks if you saved them. This is a good time to delete programs you no longer use and only install what you actually need. A fresh computer with fewer programs tends to run faster and more reliably than one loaded with years of accumulated software.
Frequently Asked Questions
Can I recover files after I wipe my computer?
Once you wipe a drive and reinstall the operating system, recovery is very difficult and expensive. Data recovery services exist, but they cost $300 to $3,000 and do not always work. The only reliable way to keep files is to back them up before you wipe. If you realize after the wipe that you forgot something important, stop using the computer when ready and contact a data recovery service—the more you use the drive, the less likely recovery becomes.
Do I need the original Windows or Mac installation disc?
No. Windows 10, Windows 11, and recent versions of macOS can all be wiped and reinstalled using built-in tools without a disc. The operating system downloads what it needs from the internet or uses files already on your computer. If your computer is very old or cannot connect to the internet, you may need a disc, but this is rare.
How long does a wipe take?
A typical wipe takes 30 minutes to 2 hours for Windows, 15 to 45 minutes for Mac, and 20 minutes to 1 hour for Linux, depending on your drive size and computer speed. Older computers and larger drives take longer. Do not interrupt the process—let it run to completion even if it seems stuck.
Will wiping remove viruses and malware?
Yes. Wiping erases everything on the drive, including any viruses or malware. After the wipe, your computer starts fresh with only the operating system. However, if the malware came from a file you read again or a website you visit again, you can get infected again. Use antivirus software and keep your system updated to prevent reinfection.
What if I change my mind after starting the wipe?
If you stop the wipe before it finishes, your drive may be left in an unusable state. Do not turn off the computer or unplug it. Let the process complete. If it is already stuck or frozen, you can force a restart, but you may then need to use a bootable installation drive to fix the drive or wipe it properly.