Tech products promotional banner

How to Wipe a Hard Drive Before Selling or Recycling It (Windows & Mac)

July 20, 2026

Affiliate Disclosure: This article may contain affiliate links. If you purchase through these links, we may earn a commission at no extra cost to you.

Selling, donating, or recycling an old computer is a smart move, but the drive inside it remembers everything. Dragging files to the trash or running a quick format only removes the index that points to your data, not the data itself. Free recovery software can bring deleted tax records, saved passwords, and personal photos back in minutes. Before any drive leaves your hands, it needs a proper wipe that overwrites the data or destroys the encryption keys protecting it.

This guide walks through wiping a hard drive or SSD the right way on both Windows and Mac, using tools already built into each system. The process takes a few clicks and some patience, and it protects you from the most common source of second-hand data leaks. Start by backing up your PC to an external hard drive, because once the wipe begins there is no undo.

Portable external backup drives used to save files before wiping a hard drive
Copy everything you want to keep to a backup drive and verify the files open before you erase anything – a wipe is permanent.

Step 1: Back Up and Sign Out of Your Accounts

A few minutes of preparation prevents the two most painful outcomes: losing files you meant to keep, and shipping a machine that is activation-locked to your account.

  1. Copy your documents, photos, and browser bookmarks to one of the best external backup drives or a cloud service, then open a few files from the copy to confirm the backup is good.
  2. Deauthorize software tied to the machine, such as iTunes, Adobe apps, and any license-limited tools, so you can activate them on your next computer.
  3. Sign out of your Microsoft, Google, and Apple accounts, and turn off Find My on a Mac. Activation locks can make a wiped machine unusable for the buyer.
  4. If you are upgrading rather than selling, you may prefer to clone the old drive to an SSD before erasing the original.

Our pick for this guide: Sabrent USB 3.0 to SATA Dual Bay Hard Drive Docking Station

Lets you connect a drive pulled from an old machine so you can run the secure-erase steps from a working computer.

Check price at Amazon

Step 2: Wipe a Drive on Windows 10 or 11

For the drive Windows runs from, the built-in reset tool does the whole job, including the overwrite.

  1. Open Settings, go to System, then Recovery, and click Reset this PC.
  2. Choose Remove everything, then pick either Local reinstall or Cloud download.
  3. Click Change settings and switch on Clean data. According to Microsoft’s documentation, this option overwrites the drive rather than just deleting files, which is exactly what you want before a sale. Expect it to take several hours.
  4. Confirm and let the reset finish. The PC will restart at the Windows setup screen, ready for its next owner.
  5. For a secondary or external drive, open File Explorer, right-click the drive, choose Format, and untick Quick Format so Windows overwrites the full disk. A quick format is fine for drives you are keeping, as covered in our guide to formatting an external hard drive, but a full format is the minimum before a drive changes owners.

Step 3: Wipe a Drive on a Mac

  1. On an Apple silicon or T2-equipped Mac, open System Settings, go to General, then Transfer or Reset, and choose Erase All Content and Settings. Per Apple’s documentation, this destroys the volume’s encryption keys, which makes the data unrecoverable in one quick step.
  2. On an older Intel Mac, restart and hold Command-R to boot into macOS Recovery.
  3. Open Disk Utility, click View, choose Show All Devices, and select the top-level drive rather than a volume under it.
  4. Click Erase, name the drive, and pick APFS (or Mac OS Extended for a mechanical drive) with a GUID partition map.
  5. On mechanical drives, click Security Options and move the slider at least one step to the right so Disk Utility overwrites the old data during the erase.

Step 4: Wipe an SSD the Safe Way

SSDs store and shuffle data differently from mechanical drives, so repeated overwriting adds wear without guaranteeing every cell is cleared.

  1. Use the drive maker’s utility, such as Samsung Magician, Crucial Storage Executive, or WD Dashboard, and run its Secure Erase or Sanitize function following the manufacturer’s documentation.
  2. Alternatively, encrypt the drive first with BitLocker or FileVault, then erase or reset it. Deleting the encryption key leaves only scrambled data behind.
  3. Verify the result by connecting the drive to another computer. It should appear empty or unformatted, with none of your old volumes visible.
Hardware encrypted USB flash drives for moving sensitive files off a computer
Need to keep sensitive files after the wipe? Move them to a hardware-encrypted USB drive instead of leaving copies on the machine.

Common Mistakes to Avoid

The most frequent error is stopping at a quick format or a simple file deletion, both of which leave data easily recoverable. Another is wiping the wrong disk: double-check drive letters and capacities before confirming, because the erase happens immediately. Skip old multi-pass military wipe routines on SSDs; they add wear and, per drive manufacturers, a single secure erase is sufficient. Do not forget activation locks, since a buyer cannot set up a Mac or PC still tied to your account. Finally, if you keep copies of sensitive documents, store them on one of the best encrypted USB flash drives rather than an unprotected disk in a drawer.

Frequently asked questions

Is a quick format enough before selling a hard drive?

No. A quick format only clears the file table, and recovery software can restore most of the data. Use a full format, an overwrite, or a secure erase so the contents are actually destroyed.

How long does wiping a hard drive take?

A full overwrite on a large mechanical drive can take several hours, depending on capacity and speed. Secure erase commands on SSDs usually finish in minutes because they destroy the encryption key instead of rewriting every sector.

Do I need third-party software to wipe a drive?

Usually not. Windows Reset with the Clean data option, a full format, and macOS Disk Utility or Erase All Content and Settings cover most situations. Manufacturer tools are worth using for SSD secure erase.

What should I do with a dead drive I cannot wipe?

If the drive no longer powers on, software wiping is impossible. Remove it from the computer and take it to an electronics recycler that shreds drives, or physically destroy the platters before disposal.

Tech deals promotional banner collage

Related Posts

Glass-side PC case with multiple case fans and a tower CPU cooler in red and blue neon lighting
August 24, 2026

How to Reduce Fan Noise on a PC (Quieter Cooling Without Overheating)

A desktop that roars under load is rarely broken. Work through dust, airflow, fan curves…
Desktop power supply unit being tested with a multimeter, neon studio lighting
August 20, 2026

How to Test a Power Supply (Paperclip Test and Multimeter Steps)

A power supply rarely announces that it is failing. It shows up as random shutdowns,…
Two laptops side by side connected for file transfer, neon studio lighting
August 12, 2026

How to Transfer Files Between Two Computers (Windows and Mac)

Moving files between two computers is easier than it looks: a USB drive, your local…
Portable external SSD with a USB-C cable on a dark reflective surface
August 11, 2026

How to Choose an External SSD (Speed, Size, and Durability Explained)

An external SSD is the quickest way to add fast, pocketable storage to a laptop,…
An SSD and a hard drive side by side with glowing segmented light bars, lit by pink and cyan neon in a dark studio
August 7, 2026

How to Partition a Hard Drive in Windows (Without Losing Data)

Splitting one physical drive into two or more partitions is one of the oldest tricks…
Desktop monitor showing a driver update progress ring beside a triple-fan graphics card
August 5, 2026

How to Update GPU Drivers (NVIDIA, AMD and Intel)

Graphics drivers are the software layer that lets Windows and your games communicate with your…
Multi-bay NAS enclosure beside two hard drives and a coiled network cable
July 31, 2026

How to Set Up a NAS for Home Media (Plex, Backups and Remote Access)

Network-attached storage looks intimidating from the outside: an empty metal box, a bag of screws,…
Multi-bay drive enclosure with green status lights on the front panel
July 30, 2026

Best NAS for Home Media Server in 2026: Top 5 Picks

Five multi-bay NAS units for a whole-home media server with 4K transcoding across Plex, Jellyfin…
External hard drive connected to a laptop by a cable on a dark desk
July 30, 2026

How to Recover Deleted Files (Windows, Mac and SD Cards)

Deleting the wrong file is one of those mistakes you notice a second too late….
Triple-fan graphics card positioned above an open PC case
July 29, 2026

How to Install a Graphics Card (First-Time GPU Upgrade Guide)

A graphics card swap delivers a bigger jump in gaming performance than almost any other…
Multi-bay NAS enclosure with front drive bays and status lights
July 27, 2026

Best NAS for Plex in 2026: Top 5 Picks

For most people the Synology DS224+ is the best all-round pick thanks to its Quick…
Memory modules and a solid state drive beside a glass dome of data blocks
July 27, 2026

How to Free Up Disk Space in Windows (Without Deleting Files You Need)

A full system drive slows down Windows in ways you notice every day: updates fail…
Two upright tower devices with pink and cyan glowing top panels
July 26, 2026

Best DDR5 RAM for Gaming PCs 2026

The best DDR5 RAM kits for gaming PCs in 2026, compared for speed, timings, and…
White-fronted PC tower case with a dark side panel
July 26, 2026

Best White PC Cases 2026

The best white PC cases of 2026, compared for airflow, cooling support, and looks….
Computer processor standing upright showing its metal heat spreader
July 26, 2026

Best CPUs for 1080p Gaming 2026

The best CPUs for 1080p gaming in 2026, from flagship 3D V-Cache chips to budget…
All-in-one liquid cooler radiator with three ringed fans beside a PC case
July 26, 2026

How to Install a CPU Cooler (Air and AIO, Step by Step)

Installing a CPU cooler looks intimidating the first time, but it is one of the…
Dual-fan graphics card leaning on a reflective dark surface
July 23, 2026

Best Budget Graphics Cards for 1080p Gaming 2026

1080p is still the most popular gaming resolution, and it is where budget graphics cards…
M.2 NVMe solid state drive with a ribbed metal heatsink
July 23, 2026

Best 4TB NVMe SSDs 2026

Game installs, 4K video projects, and photo libraries keep getting larger, and a 4TB NVMe…
Motherboard standing upright with an open CPU socket and heatsinks
July 23, 2026

Best B760 Motherboards for Intel Gaming 2026

For Intel gamers who do not need CPU overclocking, a B760 motherboard is the smart…
Power supply unit with a large fan and braided cables attached
July 23, 2026

Best 850W Power Supplies for Gaming PCs 2026

850 watts has become the sweet spot for modern gaming PCs. It comfortably powers a…
Compact SFX power supply showing its fan and modular ports
July 23, 2026

Best SFX Power Supplies for Small Form Factor Builds 2026

Small form factor builds live and die by the power supply. An SFX unit is…
Slim PC tower with a dual-fan graphics card mounted vertically
July 22, 2026

Best Vertical GPU Mount Kits 2026

Turning your graphics card sideways is the single most effective way to show it off…
Three case fans with pink and cyan illuminated RGB rings
July 22, 2026

Best White PC Case Fans 2026

A white build lives and dies by its fans. They are the most visible moving…
A hard disk drive with its casing open showing platters and read arm, lit by pink and cyan neon in a dark studio
July 20, 2026

How to Wipe a Hard Drive Before Selling or Recycling It (Windows & Mac)

Selling, donating, or recycling an old computer is a smart move, but the drive inside…
USB flash drive standing upright with a ribbed grip
July 20, 2026

Best Encrypted USB Flash Drives 2026

An encrypted USB flash drive is the simplest way to carry sensitive files without the…
Finned aluminium heatsink lying on a reflective surface
July 20, 2026

Best M.2 SSD Heatsinks 2026

As NVMe drives get faster, they also get hotter, and a modern PCIe 5.0 SSD…
Single case fan with pink-lit blades in a square frame
July 20, 2026

Best 140mm PC Case Fans 2026

Larger 140mm case fans have become the default choice for builders who want strong cooling…
Three case fans with purple and cyan illuminated rings
July 19, 2026

Best RGB Case Fans 2026

RGB case fans do double duty: they keep your components cool while turning your build…
Syringe of thermal paste beside a processor on a circuit board
July 19, 2026

Best Thermal Paste 2026

Thermal paste is a small purchase that has an outsized impact on your CPU and…
Memory module standing upright on a motherboard
July 17, 2026

How to Install an M.2 NVMe SSD (Desktop & Laptop Guide)

Adding an M.2 NVMe SSD is one of the highest-impact upgrades you can make to…