What wiping a computer means and why it matters

Wiping a computer means erasing all the data on your hard drive or solid-state drive (SSD) so thoroughly that recovery software cannot retrieve it. This is different from straightforward deleting files or doing a factory reset — those leave traces behind that a determined person with the right tools can recover. A true wipe overwrites the space where your data lived, making it unreadable.

You wipe a computer when you plan to sell it, donate it, or recycle it. Your files contain passwords, financial information, medical records, photos, and browsing history — things you do not want a stranger to access. Even if you delete everything and empty the trash, the data is still there on the drive until something else writes over that space.

The method you choose depends on your operating system (Windows, Mac, or Linux), whether you want to keep the computer usable afterward, and how paranoid you want to be. For most people selling a used computer, the built-in tools in Windows or macOS are sufficient. If you are wiping a computer that held sensitive business data, you may want a third-party tool that overwrites multiple times.

Key Takeaways

  • Windows 10 and 11 have a built-in reset tool called Reset This PC that wipes your drive and reinstalls the operating system in one process.
  • Mac users can use Erase All Content and Settings (newer Macs) or reinstall macOS from recovery mode (older Macs) to wipe the drive.
  • A factory reset or standard wipe leaves some data recoverable; third-party tools like DBAN or Eraser overwrite multiple times for stronger security.
  • Back up anything you want to keep before you start wiping — the process is permanent and cannot be undone.
  • If the computer will not start or you cannot log in, you may need to wipe it from outside the operating system using a bootable USB drive.

Wiping Windows 10 and Windows 11

The easiest method on Windows is Reset This PC, a built-in tool that erases your drive and reinstalls Windows in one step. To access it, go to Settings > System > Recovery. You will see a blue button labeled "Reset PC." Click it.

Windows will ask whether you want to keep your files or remove everything. Choose "Remove everything." It will then ask whether you want to remove files only or also clean the drive. If you are selling or donating the computer, choose "Remove files and clean the drive" — this overwrites the space where your files lived, making recovery harder. If you only have a few minutes and want to move fast, "Remove files only" is faster but leaves more traces.

The process takes 30 minutes to several hours depending on your drive size and computer speed. Your computer will restart several times. When it finishes, Windows will be fresh and ready to set up, and your old files will be gone. This method works on Windows 10 and Windows 11.

Wiping a Mac

On newer Macs (2022 and later with Apple Silicon chips), use Erase All Content and Settings. Go to System Settings > General > Transfer or Reset, then click "Erase All Content and Settings." Your Mac will restart and wipe itself, then present the setup screen as if it were brand new. This is the simplest method and takes 10 to 20 minutes.

On older Macs, restart your computer and hold Command + R to enter Recovery Mode. Once you see the macOS Utilities window, open Disk Utility. Select your main drive (usually called "Macintosh HD"), click Erase, and choose a format — APFS for newer Macs, Mac OS Extended for older ones. After erasing, quit Disk Utility and reinstall macOS from the same Recovery Mode menu. This takes 30 minutes to an hour.

If you want stronger security on an older Mac, you can use a third-party tool like Eraser or DBAN (see below) before reinstalling macOS. The built-in erase is sufficient for most people, but if the computer held business secrets, the extra step is worth it.

Using third-party wiping tools for stronger security

If you want to overwrite your drive multiple times so that recovery is nearly impossible, use a dedicated wiping tool. DBAN (Darik's Boot Negation) is free and works on Windows and Mac. Eraser is free and Windows-only. Both let you choose how many times to overwrite — one pass is usually enough, but some people do three or seven passes for peace of mind.

To use DBAN, read it from the DBAN website, write it to a USB drive using a tool like Rufus (Windows) or Etcher (Mac), then boot your computer from that USB drive. DBAN will start automatically and show your drives. Select the drive you want to wipe, choose your wipe method (Quick Erase is one pass; DoD 5220.22-M is three passes), and let it run. This can take hours on a large drive.

Eraser works differently — you install it on Windows, select the files or drives you want to erase, and it overwrites them in place. It is simpler than DBAN but requires Windows to be running. For most people selling a used computer, DBAN or Eraser is overkill. The built-in Windows or Mac tools are sufficient. Use a third-party tool only if the computer held financial records, medical data, or business information.

What to do if your computer will not start

If your computer is broken, will not boot, or you cannot remember the password, you cannot use the built-in reset tools. In this case, you need to wipe the drive from outside the operating system using a bootable USB drive.

read DBAN or a Linux-based tool like Shred OS (which is designed for find wiping), write it to a USB drive on another computer, plug the USB into the broken computer, and boot from it. The tool will run independently of Windows or macOS and can wipe the drive even if the operating system is corrupted or locked. This is your only option if the computer will not start or you have lost the password.

If you are not comfortable doing this yourself, a local computer repair shop can wipe the drive for you — usually for $20 to $50. This is worth the cost if you are unsure whether you did it right or if the computer is too damaged to work with.

Preparing your computer before wiping

Before you start, back up anything you want to keep. Once you wipe the drive, the data is gone. Copy important files to an external drive, cloud storage, or another computer. Check your email, photos, documents, and any software licenses or serial numbers you might need later.

If you are wiping because you are selling the computer, make sure you have signed out of all accounts — email, cloud storage, social media, and any software that requires a login. On Windows, go to Settings > Accounts and remove any accounts except the one you are currently using. On Mac, go to System Settings > General > Transfer or Reset and check that you have signed out of iCloud and other services. This prevents the new owner from being locked out or having access to your accounts.

Plug in your power adapter and make sure your battery is fully charged. Wiping takes time, and if your computer shuts down halfway through, the drive may be left in an unusable state. Give yourself at least two hours and do not interrupt the process.

After wiping: what the new owner will see

After wiping, your computer will restart and show the setup screen — the same screen you saw when the computer was brand new. On Windows, it will ask for a language, region, and Microsoft account. On Mac, it will ask for language and region, then prompt you to set up with an Apple ID or as a new user.

The new owner will go through this setup process and the computer will be theirs. They will not see any of your files, accounts, or settings. If you are donating the computer to a school or nonprofit, they may ask you to leave it at the setup screen so they can configure it themselves. If you are selling it, you can either leave it at setup or go through the setup process yourself and create a temporary account for the buyer — check with them first about what they prefer.

Frequently Asked Questions

Can I recover files after I wipe my computer?

If you used the built-in Windows or Mac reset tools, recovery software may be able to retrieve some files, though it is difficult and expensive. If you used DBAN or another multi-pass tool, recovery is nearly impossible. Once you wipe, assume the data is gone. This is why backing up before you start is critical.

How long does wiping take?

A standard wipe with Windows Reset This PC or Mac Erase All Content and Settings takes 30 minutes to two hours. A multi-pass wipe with DBAN can take 4 to 12 hours depending on your drive size. Plug in your power adapter and plan to leave the computer alone while it runs.

Do I need to remove the hard drive before selling the computer?

No. If you wipe the drive properly using one of the methods above, the data is gone and the new owner will not be able to recover it. Removing the drive is unnecessary and means the computer is less valuable to the buyer. Wipe the drive and leave it in.

What if I only want to erase specific files, not the whole drive?

Use Eraser (Windows) or a similar tool to securely delete individual files. Right-click the file, choose Erase, and it will overwrite that file in place. This is useful if you want to keep the computer and just remove sensitive data. For a computer you are getting rid of, wiping the entire drive is simpler and more thorough.

Is wiping the same as a factory reset?

A factory reset removes your files and settings and reinstalls the operating system, but it does not always overwrite the space where your data lived. Wiping, especially with a tool like DBAN, overwrites that space so recovery is much harder. For selling or donating a computer, wiping is the safer choice.