Key takeaways
- On Windows 11, go to Settings > System > Recovery > Reset PC, choose Remove everything and turn on Clean data before you sell, donate or recycle the PC.
- Macs with Apple silicon or a T2 chip running macOS Monterey or later can use Erase All Content and Settings under System Settings > General > Transfer or Reset.
- Microsoft says its built in erase does not meet government and industry erasure standards, so drives with regulated data or drives that will not power on should go to a certified recycler.
In this story 6 sections
Dragging files to the trash does not erase them. If you want to know how to wipe a hard drive before you sell, donate or recycle a computer, the good news is that both Windows 11 and macOS now include a proper erase tool. What you do need is a little order: back up first, sign out of your accounts, run the right reset option, and confirm the computer boots to a blank setup screen before it leaves your hands.
Red flags that your computer is not really wiped
Any one of these means personal data or account links may still be on the machine.
- You deleted files and emptied the trash, but never ran a reset or erase. The FTC warns that deleting files with normal keyboard commands is not enough, because data can stay on the drive.
- You chose Keep my files in Windows reset. That option removes apps and settings but leaves your personal files in place.
- You picked Remove everything in Windows but skipped the extra Clean data setting.
- The computer still opens to your desktop, your login screen or your name.
- Your Mac still shows your Apple Account in System Settings, or Find My is still on.
- You never wrote down the BitLocker recovery key and the reset stopped partway.
- You are recycling a drive that no longer powers on, so no software can touch it.
Your step by step checklist for Windows 11
Microsoft's Reset this PC guide covers the built in tool. Plan for a while: Microsoft warns the screen can go black for upwards of 15 minutes during a reset, and the clean option takes longer.
- Back up what you want to keep. Copy documents, photos and browser bookmarks to an external drive or cloud storage. Microsoft tells you to do this before you begin, because Remove everything deletes it all.
- Find your BitLocker recovery key if the drive is encrypted. Keep it handy until the reset finishes.
- Open the reset tool. Go to Settings > System > Recovery, then select Reset PC next to Reset this PC under Recovery options.
- Choose Remove everything. Microsoft describes this as the option for a fresh start or for giving away or selling your PC.
- Turn on Clean data. In the additional settings, switch Clean data on. Microsoft says this removes files and cleans the drive, and recommends it if you plan to donate, recycle or sell.
- Pick how Windows comes back. Cloud download pulls a fresh copy of Windows from Microsoft. Local reinstall uses files already on the PC and is the better choice on slow internet.
- Let it run without interruption. Keep it plugged in and do not restart it, even if the screen stays dark.
- Stop at the setup screen. When Windows asks for region and keyboard, shut it down. The next owner sets it up.
One honest caveat. Microsoft notes that this erase feature is aimed at consumers and does not meet government and industry data erasure standards. For a home laptop, that is usually acceptable. If the drive held client records or other regulated data, use a certified erasure tool or a recycler that provides a certificate.
Your step by step checklist for a Mac
Apple's guide for selling or trading in a Mac is the place to start. Most recent Macs make this quick.
- Back up with Time Machine or copy your files elsewhere. If you need a refresher, see our guide on how to back up a MacBook.
- Check if your Mac supports Erase All Content and Settings. It works on Macs with Apple silicon or the Apple T2 Security Chip running macOS Monterey 12 or later.
- Run the erase. Choose Apple menu > System Settings > General > Transfer or Reset > Erase All Content and Settings, then follow the prompts.
- If it was repaired recently, Apple says to run Repair Assistant first on Apple silicon Macs with macOS 26 or later.
- Turn it off at setup. For an out of box experience, hold the power button until the Mac shuts down instead of walking through the setup assistant.
Older Intel Macs without the erase option
If you do not see Erase All Content and Settings, Apple lists a manual route. Sign out of iCloud (System Settings, click your name, then Sign Out, or System Preferences on older versions). Sign out of iMessage in Messages > Settings > iMessage. On macOS Mojave or earlier, deauthorize the computer in iTunes under Account > Authorizations. Optionally unpair Bluetooth accessories in System Settings > Bluetooth. Then start up from macOS Recovery, open Disk Utility, select Macintosh HD, click Erase, choose the format Disk Utility recommends (APFS or Mac OS Extended, Journaled), and reinstall macOS. Apple's Intel Mac Disk Utility page walks through each screen. Finish by resetting NVRAM, which Apple lists for Intel Macs only, and quit setup with Command Q.
Old hard drives, spare SSDs and dead computers
The checklists above handle the drive inside a working computer. Loose drives are a different job.
- A spare drive that still works can be connected and erased with Disk Utility on a Mac or the drive maker's own tool. The FTC suggests a wiping program that overwrites data, since plain deletion leaves it behind.
- SSDs and spinning hard drives store data differently, so check the maker's instructions for your model. Our SSD vs HDD explainer covers the difference.
- A drive that will not power on cannot be wiped with software. Federal guidance from NIST, in its media sanitization guidelines (Revision 2, September 2025), separates three levels: Clear, which removes data from all normal storage locations; Purge, which makes lab recovery infeasible while the drive can still be reused; and Destroy, which leaves the media unusable. For a dead drive, destruction through a recycler that offers drive shredding is the practical choice.
Before you drop anything off, the EPA's electronics donation and recycling page says to delete all personal information first and to remove batteries, which may need separate recycling. It also points to locator sites such as Call2Recycle and Earth911. If phones are part of the pile, our guide on what to do with old phones covers those.
What to do if you already gave away a computer without wiping it
Not sure what was left on a laptop you already traded in or gave away? Act in this order.
- Change the passwords that were saved on it, starting with email, banking and any password manager. Browsers often stored these.
- Sign the device out remotely. In your Microsoft account, Apple Account or Google account security settings, remove the old computer from your device list. On Apple devices, use Find My on another device to erase it if it is still listed.
- Turn on two factor sign in for important accounts so a saved password alone is not enough.
- Watch your accounts and credit. If you see signs of fraud, report it and get a recovery plan at IdentityTheft.gov, the FTC's official site. Our guide on what to do after a data breach covers freezing your credit and the next steps.
- Ask the new owner or the store whether the drive has been erased.
A final check before it leaves the house
Turn the computer on one last time. You should see a language or region selection screen, not a login with your name on it. If that is what appears, the drive has been wiped and your accounts are off it. For more device and security guides, browse our tech section.
Sources
- Microsoft Support: Reset your PC
- Apple Support: What to do before you sell, give away, or trade in your Mac
- Apple Support: Erase your Mac and reset it to factory settings
- Apple Support: Use Disk Utility to erase an Intel-based Mac
- FTC: Protecting Personal Information
- NIST SP 800-88 Rev. 2: Guidelines for Media Sanitization
- EPA: Electronics Donation and Recycling
- FTC: IdentityTheft.gov
Share this story
Spotted an error? Tell us


