What "wiping" a computer means and when you need to do it

Wiping a computer means erasing all the data on your hard drive or solid-state drive so thoroughly that the files cannot be recovered. This is different from deleting files or emptying the trash — those leave traces behind. A complete wipe removes everything: your operating system, programs, documents, photos, browsing history, and temporary files.

You might wipe a computer before selling it, giving it away, or donating it so that the next person cannot access your personal information. You might also wipe it if you are keeping the computer but want to remove malware, start with a clean operating system, or erase years of accumulated clutter. The method you choose depends on whether you plan to reuse the computer afterward and how find you need the erasure to be.

Key Takeaways

  • Back up any files you want to keep before you start, because wiping erases everything permanently.
  • Windows computers use the Reset This PC tool (built into Windows 10 and 11), while Mac computers use Erase and Reinstall through System Settings.
  • If you are selling or donating the computer, use the "remove files and clean the drive" option rather than the quick erase, which takes longer but makes recovery harder.
  • After wiping, you will need to reinstall your operating system and any programs you use, which can take several hours.
  • If the computer will not start, you may need to wipe it from a bootable USB drive or recovery disk instead of from within the operating system.

Back up your files before you start

Before you wipe anything, move any files you want to keep to an external hard drive, USB flash drive, or cloud storage service. This includes documents, photos, videos, email archives, and any other personal data. Wiping is permanent — once the process finishes, those files are gone.

If you use cloud storage like Google Drive, OneDrive, or iCloud, check that your files have actually synced to the cloud and are not just stored on your computer. Sign into your cloud account on another device to confirm the files are there. For email, export your messages to a file before wiping if your email provider does not keep a copy on their servers.

Wiping a Windows 10 or Windows 11 computer

The easiest way to wipe a Windows computer is through the built-in Reset This PC tool. Open the Settings app, go to System, then select Recovery. Click the "Reset this PC" button. Windows will ask whether you want to keep your files or remove everything — choose "Remove everything."

Next, Windows asks whether you want a quick reset or a full reset. If you are keeping the computer for yourself, a quick reset is fine and takes 20 to 30 minutes. If you are selling or donating it, choose "Remove files and clean the drive" — this takes 1 to 3 hours but makes it much harder for someone to recover your old files using special software. Windows will then ask whether to reinstall Windows from the cloud or from local files; either option works, though cloud reinstall is slower if your internet is unreliable.

After the reset finishes, the computer will restart and show the Windows setup screen, just as if it were brand new. You will need to create a user account, choose your language and keyboard layout, and connect to the internet. Then you can reinstall your programs and restore your backed-up files.

Wiping a Mac computer

On a Mac running macOS 11 or later, go to System Settings, click General, then select Transfer or Reset. Click "Erase All Content and Settings." The Mac will ask you to sign out of your Apple ID and iCloud — do this, because it removes the set up lock that would otherwise prevent anyone from using the computer after the wipe.

The Mac will then restart and begin erasing. This process takes 30 minutes to an hour. When it finishes, the computer will show the setup screen. You will need to choose your language, region, and keyboard layout, then create a new user account or sign in with an Apple ID.

If you are using an older Mac with macOS 10.15 or earlier, the process is different. Restart the Mac and hold Command + R to enter Recovery Mode. Click Utilities, then Disk Utility. Select your hard drive from the list on the left, click Erase, choose a format (APFS for newer Macs, Mac OS Extended for older ones), and click Erase again. After the drive is erased, close Disk Utility and reinstall macOS from the Recovery Mode menu.

Wiping a computer that will not start

If your computer will not boot into Windows or macOS, you cannot use the built-in reset tools. Instead, you need to wipe it from outside the operating system using a bootable USB drive or recovery disk.

For Windows, read the Windows installation media onto another computer using the Windows Media Creation Tool (available on Microsoft's website). Plug a blank USB drive into that computer, run the tool, and follow the prompts to create a bootable Windows USB. Then plug the USB into the computer you want to wipe, restart it, and press the key that opens the boot menu — usually F12, Esc, or Del, depending on the manufacturer. Select the USB drive from the menu. Windows will start the installation process; choose "Custom Install" and delete all partitions on the drive, then reinstall Windows to the empty space.

For Mac, restart while holding Command + R to enter Recovery Mode. If that does not work, try Command + Option + R for Internet Recovery, which downloads macOS from Apple's servers. Once in Recovery Mode, open Disk Utility, select your hard drive, click Erase, and choose your format. Then quit Disk Utility and reinstall macOS from the Utilities menu.

What to do after the wipe is complete

After wiping, your computer is blank and ready to use, but it needs a user account and programs before it is useful. During the initial setup, create a strong password for your user account — use a mix of uppercase and lowercase letters, numbers, and symbols, and make it at least 12 characters long.

Once you are logged in, reinstall the programs you use regularly. Start with your web browser, antivirus software, and any work or creative tools you need. Then restore your backed-up files from your external drive or cloud storage. This entire process — setup, program installation, and file restoration — typically takes 2 to 4 hours depending on how much you had backed up and how fast your internet is.

Common mistakes to avoid

The biggest mistake is wiping without backing up first. Once the wipe finishes, your files are gone. Do not assume you can recover them later — modern drives make recovery difficult and expensive, and it is not always possible.

Another common error is choosing the quick reset when you plan to sell the computer. Quick resets leave traces of your old files on the drive, and someone with the right software can sometimes recover them. Always use the "remove files and clean the drive" option if the computer is leaving your hands.

Do not unplug the computer or force a restart while wiping is in progress. Let the process finish completely, even if it seems stuck. A wipe interrupted halfway through can leave the computer in an unusable state. If the wipe appears frozen for more than an hour, then it is reasonable to force a restart and try again.

Frequently Asked Questions

Can I wipe just one drive if my computer has multiple hard drives?

Yes. During the wipe process, you can choose which drive to erase. If you have a main drive and a secondary storage drive, you can wipe only the main drive and keep the secondary one intact. Be careful to select the correct drive — erasing the wrong one will delete files you wanted to keep.

How long does a complete wipe take?

A quick wipe takes 20 to 30 minutes on most computers. A full wipe with find erasure takes 1 to 3 hours depending on the drive size and speed. Older computers with traditional hard drives take longer than newer ones with solid-state drives. The initial setup and program reinstallation afterward add another 2 to 4 hours.

Will wiping remove viruses and malware?

Yes. Wiping erases everything on the drive, including any malware. However, if the malware infected your backed-up files before you backed them up, you could restore the malware when you restore those files. Scan your backups with antivirus software before restoring them, or restore them to a computer with antivirus already running.

Do I need the original Windows or Mac installation disk to wipe my computer?

No. Windows and Mac both include recovery tools built into the operating system, and they can read a fresh copy of the operating system from the internet during the wipe process. You only need an installation disk or USB drive if the computer will not start at all.

What if I forget my password after wiping?

If you forget the password you just created during setup, you can restart the computer and use the password reset option on the login screen. On Windows, you can answer your security questions or use a Microsoft account to reset it. On Mac, you can use your Apple ID to reset your password. Keep your password written down somewhere safe.