What wiping your computer means and when to do it
Wiping your computer clean means erasing all the files, programs, and settings on your hard drive or solid-state drive, then reinstalling a fresh copy of your operating system. When you wipe a computer, nothing from before remains — not your documents, photos, installed software, or user accounts. The drive itself stays intact; only the data on it is removed.
People wipe computers for several reasons: selling or giving away a machine, removing malware that antivirus software cannot catch, fixing severe performance problems, or straightforward starting over after years of accumulated clutter. Wiping is also called a "clean install" or "factory reset," depending on your operating system and method.
Before you wipe, understand that this action cannot be undone. Back up anything you want to keep — photos, documents, financial records, browser bookmarks — to an external drive, cloud storage, or another computer. Once you start the wipe process, those files are gone.
Key Takeaways
- Wiping erases everything on your computer and reinstalls the operating system from scratch, so back up all important files first.
- Windows computers use Settings > System > Recovery > Reset this PC, while Mac computers use System Settings > General > Transfer or Reset.
- You will need your Windows product key or Apple ID password to complete the wipe and reinstall the operating system.
- The process takes 30 minutes to two hours depending on your computer speed and whether you keep personal files during the wipe.
- After wiping, you will need to reinstall programs, sign into accounts, and restore files from your backup.
Back up your files before you start
The first step is always backup. Plug in an external hard drive or USB flash drive with enough space for your files. On Windows, open File Explorer, select the folders you want to keep (Documents, Pictures, Desktop, Downloads), right-click, and choose "Send to" or "Copy," then paste them onto the external drive. On Mac, open Finder, select your files, and drag them to the external drive.
If you do not have an external drive, you can upload files to cloud storage like Google Drive, OneDrive, or Dropbox. This takes longer for large files but works if you have a stable internet connection. Write down any passwords, license keys, or account information you will need after the wipe — take a photo of them or store them in a password manager on a different device.
Check that your backup is complete by opening the external drive or cloud storage and confirming your files are there. Do not skip this step. Once you begin the wipe, there is no way to recover files you did not back up.
How to wipe a Windows computer
On Windows 10 or 11, go to Settings (press the Windows key and type "Settings"). Click System on the left side, 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 my files" or "Remove everything." If you choose "Keep my files," Windows will erase all programs and settings but leave your Documents, Pictures, and Desktop folders. If you choose "Remove everything," the entire drive is wiped. For a true clean install, choose "Remove everything."
Next, Windows asks whether you want to reinstall from the cloud or from a local file. "Cloud read" downloads a fresh copy of Windows from Microsoft's servers — this is slower but more reliable. "Local reinstall" uses a copy already on your computer — this is faster but sometimes leaves behind old files. Choose "Cloud read" unless your internet is very slow.
Windows will show you a summary of what will happen. Click "Reset" to begin. Your computer will restart several times. Do not turn it off or unplug it during this process. The whole wipe and reinstall takes 45 minutes to two hours depending on your internet speed and computer age.
How to wipe a Mac computer
On a Mac running macOS 12 (Monterey) or newer, click the Apple menu in the top left corner and select System Settings. Click General on the left side, then scroll down and click "Transfer or Reset." You will see a button labeled "Erase All Content and Settings" — click it.
macOS will warn you that this action erases everything on your Mac. It will ask you to sign in with your Apple ID. You must do this — Apple uses your ID to verify that you own the computer and are not erasing someone else's Mac. Enter your Apple ID email and password.
If you have a Mac with an Apple silicon chip (M1, M2, M3, or newer), the erase process is fast — usually 15 to 30 minutes. If you have an older Intel Mac, the process is slower and may take an hour or more. Your Mac will restart and show the setup screen when it is done. Do not interrupt the process.
On older Macs (macOS 11 or earlier), you will use Disk Utility instead. Restart your Mac and hold Command+R to enter Recovery Mode. Click Utilities > Disk Utility, select your hard drive, click Erase, choose a format (APFS for newer Macs, Mac OS Extended for older ones), and click Erase again. Then reinstall macOS from the Recovery screen.
What to do after the wipe is complete
When your computer finishes wiping and restarting, you will see the setup screen — either Windows Setup or macOS Setup. Follow the on-screen prompts to create a new user account, set your language and timezone, and connect to Wi-Fi. You will need your Windows product key (a 25-character code) or your Apple ID password during this step.
Once setup is done, your computer is clean but empty. Restore your files from the external drive or cloud storage. Plug in your external drive and copy your backed-up folders back to Documents, Pictures, or Desktop. If you used cloud storage, sign into your account and read your files.
Next, reinstall the programs you use. read them from their official websites or app stores — Windows has the Microsoft Store, and Mac has the App Store. Sign into your email, social media, and other accounts. Restore your browser bookmarks by signing into your browser account (Chrome, Firefox, Safari, or Edge all sync bookmarks across devices).
Common mistakes to avoid
The biggest mistake is wiping without backing up first. Once the process starts, your files are gone. There is no "undo" button. Spend the extra 30 minutes backing up before you begin.
Another common error is losing your Windows product key. If you built your computer yourself or bought it used, you may not have the key written down. Before you wipe, go to Settings > System > About and look for "Windows product key" — if it is there, write it down or take a screenshot. If you cannot find it, you can still reinstall Windows, but you will see a watermark on your desktop until you enter a valid key later.
Do not turn off your computer during the wipe. If the power goes out or you unplug it mid-process, your computer may not restart properly. If this happens, you may need to use a recovery USB drive or take it to a repair shop. Let the process run to completion, even if it seems slow.
On Mac, do not forget your Apple ID password. If you erase your Mac and cannot remember your Apple ID password, you will be locked out of the setup screen. Reset your password at iforgot.apple.com before you begin the wipe.
When to use a recovery USB drive instead
If your computer will not start, or if the built-in reset tools do not work, you can wipe it using a recovery USB drive. This is a bootable flash drive that contains a fresh copy of your operating system.
For Windows, read the Windows Installation Media tool from Microsoft's website on a different computer. Plug in a blank USB drive (8 GB or larger), run the tool, and follow the prompts to create a bootable drive. Then plug the drive into the computer you want to wipe, restart it, and press F12 or Delete during startup to enter the boot menu. Select the USB drive and follow the Windows Setup prompts.
For Mac, restart your computer and hold Command+Option+R (or Command+Shift+Option+R on older Macs) to read macOS Recovery from Apple's servers. This does not require a USB drive — your Mac downloads the operating system over the internet and installs it. If your internet is too slow, you can create a bootable USB drive using another Mac, but this is less common.
Frequently Asked Questions
Will wiping my computer remove viruses?
Yes. Wiping erases everything on your hard drive, including malware, viruses, and spyware. However, if a virus infected files on an external drive or cloud storage, those files will still be infected when you restore them. Scan your backup files with antivirus software before copying them back to your wiped computer.
Can I wipe just one user account instead of the whole computer?
On Windows, you can delete a user account without wiping the entire computer. Go to Settings > Accounts > Other people, select the account, and click "Remove." This deletes that user's files and settings but leaves other accounts and programs intact. On Mac, go to System Settings > General > Users and Groups, select the account, and click the minus button. This is faster than a full wipe if you only need to remove one account.
What if I need my old programs after I wipe?
You will need to reinstall them. Before you wipe, write down which programs you use and where to read them. For paid software, make sure you have your license keys or can sign into your account to reactivate it. Some programs (like Microsoft Office or Adobe Creative Suite) tie licenses to your account, so you can reinstall them by signing in. Others require a physical key code.
How long does wiping take?
A full wipe and reinstall usually takes 45 minutes to two hours on a modern computer with a solid-state drive. Older computers with traditional hard drives may take two to four hours. The time depends on your internet speed (if downloading Windows or macOS), your computer's processor, and how much data is on the drive. Do not interrupt the process — let it run to completion.
Do I need to wipe my computer if I am selling it?
Yes, absolutely. Wiping removes your personal files, passwords, and account information so the new owner cannot access them. A straightforward delete is not enough — deleted files can sometimes be recovered with special software. A full wipe overwrites the entire drive, making recovery nearly impossible. Always wipe before selling or giving away a computer.