How do I completely wipe my computer and delete everything?

Skip To Content

  • Manage your account
  • Saved for later
  • Log out

    • Air Purifiers
    • Dishwashers
    • iPhone Cases
    • Beard Trimmers
    • Infant Car Seats
    • Space Heaters
    • Humidifiers
    • Leaf Blowers
    • Rain Boots
    • Carry-On Luggage
    • Comforters
    • Robot Vacuums
    • Stick Vacuums
    • TV Deals
    • Apple Deals
  • Gifts
    • All Gifts
    • Gifts for Babies & Kids
    • Gifts for Grown-Ups
    • Gifts for Mom
    • Gifts for Dad
    • Gifts for Grandparents
    • Best Online Flower Delivery
  • Tech
    • All Tech
    • Accessories
    • Audio
    • Batteries and Charging
    • Cameras
    • Camera Accessories
    • Computers
    • Exercise
    • Gaming
    • Headphones
    • Home Theater
    • Laptops
    • Networking
    • Printers & Scanners
    • Projectors
    • Smart Home Devices
    • Smartphones
    • Storage
    • Tablets
    • TVs
    • USB-C
  • Home & Garden
    • All Home & Garden
    • Gardening
    • Bathroom
    • Bedroom
    • Cleaning
    • Closet & Laundry
    • Cooling
    • Garage
    • Entertaining
    • Furniture
    • Safety
    • Smart Home Devices
    • Storage
    • Tools
    • Weather
    • Sleep
      • All Sleep
      • All Best Mattresses
      • Best Mattress for Back Sleepers
      • Best Mattress for Side Sleepers
      • Best Mattress for Stomach Sleepers
      • Best Mattress for Back Pain
      • Best Cheap Mattresses
      • Best Memory Foam Mattresses
      • Best Innerspring Mattresses
      • Best Hybrid Mattresses
      • Best Mattress Toppers
      • Best Sheets
      • Best Bed Pillows
      • Best Comforters
    • Kitchen
      • All Kitchen
      • Baking
      • Coffee
      • Cookware
      • Dining & Entertaining
      • Food & Grocery
      • Large Appliances
      • Small Appliances
      • Storage
      • Tools
      • Wine & Bar
      • Black Friday
        • All Black Friday
        • Early Black Friday Deals
        • Wirecutter Deals, Explained
        • Walmart Deals for Days
        • Appliances
          • All Appliances
          • Large Appliances
          • Small Appliances
          • Vacuum Cleaners
        • Outdoors
          • All Outdoors
          • Apparel
          • Camping
          • Gear
          • Hiking
          • Snow
          • Swim
          • Weather
        • Style
        • Travel
          • All Travel
          • Backpacks
          • Bags
          • Gear
          • Luggage
        • Health & Fitness
          • All Health & Fitness
          • Cycling
          • Exercise
          • Medical Supplies
          • Personal Care
          • Wearables
        • Baby & Kid
          • All Baby & Kid
          • Baby
          • Pregnancy & Nursing
          • School
          • Toys
        • Pets
          • All Pets
          • Cats
          • Dogs
          • Gear
        • Hobby & Crafts
          • All Hobby & Crafts
          • Music
        • Software
        • Office
          • All Office
          • Furniture
          • Home Office
          • Printers & Scanners
        • Cars
          • All Cars
          • Accessories
        • Adult
        • Money
          • All Money
          • Managing Your Money
          • Shopping
  • Deals
  • Blog

How do I completely wipe my computer and delete everything?
Photo: Sarah Kobos

Your computer, phone, or tablet holds all kinds of personal information about you, and before you sell, return, recycle, or donate it, you should make sure to delete all of that information correctly. On most devices, wiping your data securely is pretty straightforward, and doing so can prevent your data from being recovered by someone you would rather not have it. How you do this depends on which operating system you have and what type of storage drive your device has.

Before you wipe a computer, make sure that you have a backup of any files you need and deactivate any software that requires doing so. For Macs, Apple recommends logging out of any iCloud services, including iTunes and iMessages.

Next, figure out which type of storage your computer has. On Windows, this information is harder to find than it should be, but the easiest way is to open the Defragment and Optimize Drives tool (type “defragment” into the search menu in the taskbar). On a Mac, click the Apple logo and then About this Mac, and select the Storage tab. The entry typically says “solid state” or “flash storage” for a solid-state drive (SSD), whereas for a mechanical hard drive it says “hard disk drive.”

The following directions for wiping a computer will work with any system running Windows 10, as well as most Macs. If you have an older copy of Windows or if you like to get into the weeds with different file-deletion methods, a third-party tool like Dban is your best option.

If you have a solid-state drive, start with encryption

If you purchased your computer in the past few years, it probably has a solid-state drive. SSDs are faster than older, mechanical hard drives and use flash memory instead of magnetic platters. But the downside of the technology is that securely deleting files from an SSD is very hard. SSDs use a technique called wear leveling to prolong life, but a side effect of this process is that data can remain on a drive even after you’ve erased it. Instead of using special software to erase an SSD’s contents, you’re better off encrypting the drive, which employs a mathematical process to muddle up the data using a passkey that only you have. Without the key, files on the drive look like gibberish—even if someone succeeds in recovering files, that person still won’t be able to open them.

The good news: Encrypting your storage drive is simple. This is something we recommend doing for every computer with an SSD, even if you’re not selling it. You can also encrypt mechanical hard drives for the same reason, but the process takes a particularly long time, and it’s easier to do a good-enough job of removing data on mechanical drives.

Chromebooks usually use solid-state storage, but Google enables encryption by default, so if you’re resetting a Chromebook, you can skip this section.

Windows

How do I completely wipe my computer and delete everything?

If you have a Windows computer, encrypting your storage drive can be a little tricky and depends on which version of Windows your computer has and what components you have installed.

  1. Open Settings > Update & Security. Look for Device Encryption on the left sidebar. If Device encryption isn’t an option on this screen, it’s not available. If it’s not showing up, also try searching for “device encryption” in the search bar, as in our experience it may show up there.
  2. If Device encryption is turned off, turn it on.

  1. Open Settings > Privacy & Security > Device Encryption.
  2. If Device encryption is turned off, turn it on (BitLocker may be an option here, in which case you can enable it and skip the steps).

If device encryption isn’t an option, BitLocker may be, provided you have a copy of Windows 10 (or 11) Pro, Education, or Enterprise. In Windows 11, the BitLocker toggle is on the above page in Settings, but in Windows 10 you’ll need to look elsewhere:

  1. In the search box in the taskbar, type “Manage BitLocker” then select it from the result.
  2. Click Turn on BitLocker and follow the instructions.

If you’re having trouble finding device encryption for your device, the Windows support articles may provide more information. BitLocker can also encrypt external drives, including SD cards and flash drives, which is a more secure way to delete files on such drives before formatting.

If BitLocker isn’t an option, you’ll need to turn to third-party software. We like VeraCrypt, but keep in mind that its encryption process is more complicated than BitLocker’s. Some SSD manufacturers may also provide software for securely erasing their SSDs, though we haven’t tested any of those utilities.

Mac

How do I completely wipe my computer and delete everything?

Macs have had the same free encryption tool—called FileVault 2—since 2011, and the process is the same in every version of macOS:

  1. Open System Preferences.
  2. Click Security & Privacy.
  3. Select the FireVault tab.
  4. Click Turn on FileVault.
  5. In OS X Yosemite and later, you’re prompted to use either your iCloud password or a recovery key (since you’re wiping the drive, either choice is fine).

Wipe and reset your computer

This is your last chance to retrieve any files, so check one more time before you proceed.

Once you enable encryption on the SSD, or if your computer has a mechanical hard drive, all that’s left is to format the storage drive and reset the operating system. When you do this, you have two options: to keep your files (which is useful if your computer is running slow or has other issues) or to remove everything, which deletes all your files stored on the computer and reinstalls the operating system. If your computer has an SSD and it’s encrypted, this step isn’t necessary if you’re recycling the computer, but it is a good practice.

Windows

How do I completely wipe my computer and delete everything?

  1. Open Settings and select Update & Security.
  2. Click the Recovery tab, then Get Started.
  3. Select Remove everything.

  1. Open Settings and select Windows Update.
  2. Click Advanced Options, then scroll down to Recovery.
  3. Click Reset PC then Remove everything.

Follow the on-screen prompts, and your computer will restart; depending on the size of your storage drive, this can take a few hours. Eventually it’ll land on the setup screen, and you can power it off.

Mac

How do I completely wipe my computer and delete everything?

For a Mac, you need to boot your computer into a special menu:

  1. Turn on your computer (or restart it).
  2. Immediately press and hold the Command and R keys on the keyboard until the Apple logo appears. Once it does, release the keys.
  3. Your Mac will boot into a special recovery menu. Select the Disk Utility option from the menu.
  4. Choose your storage drive and then click the Erase button. It’s okay to keep the default settings for the format and the scheme.
  5. Click Security Options. If you encrypted the storage drive, you can leave this at the default option, but if you’re formatting a mechanical hard drive, you should move it up to at least the second most secure tier, “3-pass secure erase.”

Once Disk Utility finishes erasing everything, you can turn off the computer. Or you can head back to the Utilities menu and select Install macOS if you want to start the process for the next owner, but that isn’t required.

ChromeOS

How do I completely wipe my computer and delete everything?

Google enables encryption in ChromeOS by default, and the reset process is straightforward:

  1. Open Settings.
  2. Type Powerwash into the search bar.
  3. Click Reset.
  4. Click Restart.
  5. Click Powerwash and then Continue.

Note that Chromebooks connect to a Google account, which still stores most, if not all, of your data. When you run Powerwash, it automatically logs you out of your Google account.

Smartphones and tablets

As with a computer, you should take the steps to securely wipe and reset your phone or tablet before selling it. The process is much easier on mobile devices than on computers.

iOS and iPadOS

How do I completely wipe my computer and delete everything?

iPhones and iPads have device encryption enabled by default, so you need only to reset yours. First, make sure you have a recent backup, and then disable Find My. Once that’s done, you can reset the phone or tablet:

  1. Open Settings.
  2. Tap General.
  3. Tap Transfer or Reset.
  4. Tap Erase All Content and Settings. Enter your passcode when prompted and then tap Erase.

When the process is complete, the iPhone or iPad will restart, after which you can power it off.

Android

How do I completely wipe my computer and delete everything?

Recent Android devices have encryption enabled by default, but double-check to make sure it’s enabled under Settings > Personal > Security (it may be in a different place on some Android phones). Also, make sure your phone is backed up. From there, you can reset the device. This process will vary depending on the phone model, but here’s how to do so on a phone running stock Android:

  1. Open Settings.
  2. Tap System.
  3. Tap Reset options.
  4. Tap Erase all data and follow the on-screen directions.

Whether you’re passing a computer on to someone else or sending it off to a recycling center, wiping your personal data is an integral first step, so take the time to do it properly.

About your guide

How do I completely wipe my computer and delete everything?

Thorin Klosowski is the editor of privacy and security topics at Wirecutter. He has been writing about technology for over a decade, with an emphasis on learning by doing—which is to say, breaking things as often as possible to see how they work. For better or worse, he applies that same DIY approach to his reporting.

Mentioned above

  • After hundreds of hours researching the best local storage and online backup services, we’ve put together a guide to backing up your Mac or Windows computer.

    How to Back Up Your Computer 

  • Whether you’re building a new computer or looking to upgrade an existing one, the best SSDs offer big speed improvements over traditional hard drives.

  • After extensive research and testing, we've found the best SD card for use in digital cameras or other devices.

  • Almost any flash drive can be used as a cheap storage option, but the best ones won’t keep you waiting when opening, saving, and transferring files.

    The Best USB Flash Drives 

Further reading

  • How do I completely wipe my computer and delete everything?

    Back Up and Secure Your Digital Life

    by Haley Perry

    From password managers to backup software, here are the apps and services everyone needs to protect themselves from security breaches and data loss.

  • How do I completely wipe my computer and delete everything?

    The Best Online Tax Filing Software

    by Melanie Pinola

    The most helpful tool to file your taxes online is TurboTax. Use the IRS Free File version if you qualify, or start with the Free Edition if you don’t.

  • How do I completely wipe my computer and delete everything?

    Gear for a Paperless Home Office

    by Erica Ogg

    This is the gear and the strategies we at Wirecutter use to move from a paper-based home office to an all-digital filing and storage system.

  • How do I completely wipe my computer and delete everything?

How do you wipe a computer clean to sell it?

Under recovery options, click on the Reset PC button. A window should appear that gives two options. a) Keep my files - Choosing this option will only erase the programs you installed on your PC. It will also reset any personalization or settings made.

Does wiping a computer get rid of everything?

Wiping a computer hard drive is different from shredding because it merely erases any stored information while keeping the physical hard drive intact. This is also different from moving documents to the trash or recycle bin because, even though the files are hidden from view, they remain on the device.