What "wiping" your computer means and when to do it

Wiping a computer clean means erasing all the files, programs, and settings on your hard drive and reinstalling the operating system from scratch. When you wipe a computer, you remove everything — your documents, photos, installed software, browser history, and personal data. The drive returns to the state it was in when the computer left the factory.

People wipe computers for several reasons: selling or giving away the machine, removing malware or viruses that won't go away through normal deletion, fixing severe software problems that slow the computer down, or straightforward starting over with a clean setup. Wiping is more thorough than emptying the trash or using a cleanup tool — those methods leave recoverable data behind.

Before you wipe, understand that this action cannot be undone. Once the process finishes, your files are gone. Back up anything you want to keep to an external hard drive, USB flash drive, or cloud storage first.

Key Takeaways

  • Wiping your computer erases everything and reinstalls the operating system, so back up your files to an external drive or cloud storage before you start.
  • Windows computers use the Settings app to reset to factory defaults, while Mac computers use macOS Recovery mode.
  • The process takes 30 minutes to two hours depending on your computer's speed and how much data is on the drive.
  • After wiping, you will need to reinstall your programs and sign back into your accounts.

How to wipe a Windows computer

On Windows 10 or Windows 11, the easiest method is the built-in reset tool. Click the Start button, then open Settings (the gear icon). Go to System, then select Recovery from the left menu. 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" to wipe the drive completely. The system will then ask whether you want to reinstall Windows from the cloud or use local reinstallation files. Cloud reinstallation is usually faster if your internet connection is stable. Windows will restart several times during the process — do not turn off your computer.

The entire process typically takes 45 minutes to two hours. Your computer will restart into the Windows setup screen when it finishes, where you will create a new user account and configure basic settings.

How to wipe a Mac computer

On a Mac, restart your computer and hold down Command + R as it boots up. This launches macOS Recovery mode. When the recovery window appears, click Disk Utility, then select your main hard drive from the list on the left. Click the Erase button at the top, choose a format (APFS for newer Macs, Mac OS Extended for older ones), and confirm.

After erasing the drive, close Disk Utility and return to the recovery menu. Select "Reinstall macOS" and follow the on-screen prompts. Your Mac will read and install the operating system — this step requires an internet connection and can take one to three hours depending on your connection speed.

Once installation finishes, your Mac will restart and show the setup screen. You will create a new user account and configure settings from there.

Preparing your computer before wiping

Back up your files first. Connect an external hard drive or USB flash drive to your computer. On Windows, open File Explorer, select the folders you want to keep (Documents, Pictures, Desktop, Downloads), and drag them to the external drive. On a Mac, open Finder, select your files, and drag them to the external drive.

Write down any software license keys or passwords you will need after wiping. Many programs require a license key to reinstall, and you will need your passwords to sign back into email, cloud storage, and other accounts. Take screenshots of your browser bookmarks if you have not synced them to your browser account.

If your computer will not start normally, you can still wipe it using recovery mode (Command + R on Mac, or the Windows recovery key on Windows — usually F11, F12, or Del during startup, depending on your computer model). Check your computer's manual or manufacturer website for the exact key.

What happens after the wipe is complete

Your computer will boot into the setup screen for a fresh operating system. You will create a new user account with a password, connect to Wi-Fi, and configure basic preferences. This takes about 10 to 15 minutes.

After setup, you will need to reinstall your programs. read them from the publisher's website or the Microsoft Store (Windows) or App Store (Mac). Restore your files from the external drive by dragging them back into the appropriate folders. Sign back into your email, cloud storage, and other accounts.

Your computer will run noticeably faster after a wipe because there is no accumulated clutter, temporary files, or background programs slowing it down. However, it will take time to rebuild your setup with the programs and files you actually use.

Common mistakes to avoid when wiping

Do not unplug your computer or close the lid during the wipe process. Interrupting the process can leave your computer in an unusable state. Let it run to completion, even if it seems stuck — the screen may go black for several minutes, which is normal.

Do not wipe your computer if you are not sure you have backed up everything you need. Once the process starts, recovery is extremely difficult and expensive. Take time to copy your files to an external drive before you begin.

Do not assume cloud-synced files are safe. If you use OneDrive, Google Drive, or iCloud, those files may be deleted from the cloud when you wipe your computer, depending on your sync settings. read important files to a local external drive as well.

When wiping might not be the right choice

If your computer has a virus or malware, wiping will remove it — but so will running a full antivirus scan from a bootable USB drive, which takes less time. If your computer is straightforward slow, a wipe helps, but so does uninstalling unused programs, clearing temporary files, and adding more RAM.

If you are selling your computer, wiping is the right choice for security. However, some buyers prefer to receive a computer with the operating system already installed and ready to use, so check with them first. If you are donating the computer, wiping protects your privacy and gives the recipient a clean slate.

Frequently Asked Questions

Can I recover files after I wipe my computer?

Once the wipe completes and the operating system reinstalls, recovery is very difficult and requires specialized software or professional data recovery services, which are expensive. Back up your files before you start. If you accidentally wiped your computer, stop using it when ready and contact a data recovery service — the longer you use the computer, the less likely recovery becomes.

Do I need the Windows or macOS installation disc to wipe my computer?

No. Both Windows and Mac can reinstall their operating systems from recovery mode built into the computer. Windows downloads the installation files from Microsoft's servers, and macOS downloads from Apple. You only need an internet connection.

How long does wiping a computer take?

The entire process — erasing the drive and reinstalling the operating system — typically takes 45 minutes to two hours. Older computers or those with large hard drives may take longer. The initial setup after wiping takes another 10 to 15 minutes.

Will wiping my computer remove viruses?

Yes. Wiping erases everything on the drive, including any malware or viruses. However, if a virus is on an external drive or USB device you plug back in, you can reinfect your computer. Scan any external drives with antivirus software before transferring files back.

What if my computer won't start after I wipe it?

If your computer gets stuck during the wipe or reinstallation, restart it and try again. If it still will not start, you may need to use a bootable USB drive with the operating system installation files. Contact the computer manufacturer's support line for instructions specific to your model.