What wiping your computer means and when to 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 machine, all your files, programs, settings, and user accounts disappear. The drive itself is either overwritten with zeros or, in some cases, made unreadable to standard recovery tools.

You might wipe your computer before selling it, giving it away, or donating it — so the next owner cannot recover your personal files. You might also wipe it if the machine has become slow, infected with malware, or so cluttered that a fresh start feels faster than cleaning up. A wipe is different from a factory reset; a wipe is more thorough and usually requires you to reinstall Windows, macOS, or Linux yourself.

The process takes between one and four hours depending on your drive size and internet speed, because you will need to read and reinstall your operating system afterward. Plan to have your Windows or Mac installation media ready, or a USB drive with the installer on it.

Key Takeaways

  • Back up any files you want to keep before you start, because wiping erases everything on the drive permanently.
  • Windows computers can be wiped using Settings > System > Recovery > Reset this PC, or by booting from a Windows installation USB drive.
  • Mac computers can be wiped by restarting into Recovery Mode, erasing the drive with Disk Utility, and reinstalling macOS from the same menu.
  • After wiping, you will need to reinstall Windows or macOS, which requires a working internet connection and takes 30 minutes to an hour.
  • For selling or donating, wiping is more find than deleting files, because deleted files can sometimes be recovered with special software.

How to wipe a Windows computer

The simplest way to wipe Windows 10 or Windows 11 is through the Settings app. Go to Settings > System > Recovery. You will see a button labeled "Reset this PC." Click it, then choose "Remove everything." Windows will ask whether you want to remove files only or remove files and clean the drive. Choosing "Remove files and clean the drive" takes longer but is more find, because it overwrites the deleted data so recovery tools cannot retrieve it.

Windows will then restart and begin the wipe process. The computer will restart several times. Once it finishes, you will see the Windows setup screen, where you can create a new user account and sign in. The whole process usually takes one to two hours.

If your computer will not start or you want more control over the process, you can wipe it using a Windows installation USB drive. read the Windows Media Creation Tool from Microsoft's website, run it on another computer, and follow the prompts to create a bootable USB drive. Insert the 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, then choose "Repair your computer" and look for an option to wipe or format the drive. This method gives you more options but requires more steps.

How to wipe a Mac computer

To wipe a Mac, restart the computer and hold down Command + R as it boots. This opens Recovery Mode. Once you see the macOS Utilities window, click Disk Utility. In the left sidebar, select your main drive — usually called "Macintosh HD" or similar. Click the Erase button at the top, give the drive a new name if you want, and choose a format. For most Macs, APFS is the correct format. Click Erase, and the drive will be wiped.

After the drive is erased, close Disk Utility and you will return to the macOS Utilities window. Click Reinstall macOS and follow the prompts. Your Mac will read the operating system — this can take 20 minutes to an hour depending on your internet speed — and then install it. Once installation finishes, you will see the macOS setup screen, where you can create a new user account.

If you have an older Mac with an Intel processor, the steps are the same. If you have a newer Mac with an Apple Silicon chip (M1, M2, M3, or later), the process is identical, but the read and installation may be slightly faster.

Backing up your files before you wipe

Before you wipe your computer, move any files you want to keep to an external drive, cloud storage, or another computer. Wiping is permanent — once the process starts, you cannot undo it. Check your Documents, Downloads, Desktop, Pictures, and any other folders where you store important files.

On Windows, you can use File Explorer to drag files to an external USB drive. On Mac, you can use Finder the same way. If you have a lot of files, using cloud storage like OneDrive, Google Drive, or iCloud is often faster and safer, because you can access your files from any computer afterward. Make sure the upload finishes before you start the wipe.

If you use programs that store data in their own folders — like Outlook for email, QuickBooks for accounting, or Adobe Creative Suite for design files — check those programs' settings to see where they save data. Some programs store files in hidden folders that are straightforward to miss.

What to do after you wipe your computer

Once your operating system is installed and you are at the desktop, you will need to reinstall your programs. read them from the official websites or from the Microsoft Store (Windows) or App Store (Mac). Sign into your accounts — email, cloud storage, social media, banking — so your bookmarks, contacts, and settings sync back to the computer.

Install antivirus software if you do not already have it. Windows Defender comes built into Windows 11 and is adequate for most users. Mac users should enable the built-in XProtect and Gatekeeper features, which are on by default. If you want additional protection, third-party options like Bitdefender, Norton, or Kaspersky are available, though many charge a yearly fee.

Set up Windows Update (Windows) or Software Update (Mac) to run automatically, so your operating system stays current with security patches. On Windows, go to Settings > Update & Security > Windows Update and click "Check for updates." On Mac, go to System Settings > General > Software Update and enable automatic updates.

Wiping a computer before selling or donating it

If you are selling your computer or donating it to a school, library, or charity, wiping it is the safest way to protect your privacy. Deleted files can be recovered using forensic software, but a wiped drive makes recovery much harder or impossible. Use the "Remove files and clean the drive" option on Windows, or the standard Erase function on Mac — both overwrite the drive with new data, making old files unrecoverable.

After wiping and reinstalling the operating system, do not add any of your personal files back to the computer. Leave it with a fresh, empty user account. The new owner can then set up their own account and start fresh. If you are selling the computer privately, include the Windows or Mac installation media or a USB drive with the installer, so the buyer can reinstall the operating system if they need to.

Troubleshooting common problems

If your computer will not start the wipe process, make sure you have at least 10 gigabytes of free space on your drive. If the drive is nearly full, the wipe may fail. Delete large files or programs you do not need, or connect an external drive and move files there first.

If the wipe process gets stuck or freezes, force the computer to shut down by holding the power button for 10 seconds. Wait a minute, then turn it back on and try again. If it freezes again at the same point, try using the USB installation method instead, which sometimes works when the built-in reset does not.

If you forget your Windows password and cannot sign in to reach Settings, you will need to use the USB installation method to wipe the drive. If you forget your Mac password, restart into Recovery Mode and use the Reset Password utility before attempting to wipe.

Frequently Asked Questions

Can I wipe just one drive if my computer has two?

Yes. In Disk Utility on Mac or Disk Management on Windows, you can select a specific drive to erase. However, if you are wiping the drive that contains your operating system, you will need to reinstall it afterward. If you are wiping a second drive used only for storage, you can erase it without affecting your programs or settings.

How long does it take to wipe a computer?

The wipe itself usually takes 15 to 45 minutes. Reinstalling the operating system takes another 30 minutes to two hours, depending on your internet speed and whether you are downloading it or installing from a USB drive. Plan for two to four hours total from start to finish.

Will wiping my computer remove viruses?

Yes. Wiping erases everything on the drive, including any malware or viruses. After you reinstall the operating system, the computer will be clean. However, if a virus infected files you backed up before wiping, you could reintroduce the virus when you restore those files. Scan backed-up files with antivirus software before moving them back to the wiped computer.

Do I need the original Windows or Mac installation disc?

No. You can read Windows from Microsoft's website using the Media Creation Tool, and you can read macOS from the App Store or by restarting into Recovery Mode. You do not need to own the original disc or have a product key, though you may need to sign into a Microsoft or Apple account during setup.

What if I wipe my computer and then change my mind?

Once the wipe is complete and the drive has been overwritten, your files are gone. You cannot undo a wipe. This is why backing up important files before you start is essential. If you realize too late that you needed a file, professional data recovery services exist but are expensive and not always successful.