Erase a PC or Mac Before You Sell or Give It Away
Matthew Mbaka · September 22, 2026 · Guides
Dragging your files to the Trash or Recycle Bin does not prepare a computer for its next owner. Neither does deleting your user account. If you are selling, donating or giving away a PC or Mac, back up what matters and use the operating system's full erase process.
Do this while the computer still starts normally. Recovery is much easier before the drive is wiped and the account is removed.
Make a backup you can actually open
Copy documents, photos, downloads, browser exports and any local project files you need. An external drive can be useful, but do not trust a copy until you open several files from it on another device.
If the drive needs to work with both operating systems, Mapletechie's guide to using one external drive with Mac and Windows explains the format tradeoffs.
Check applications that keep data outside the usual Documents folder. Accounting software, password managers, email archives, game saves, virtual machines and photo catalogues may need their own export or backup process. Deauthorize licensed software if its vendor limits the number of active computers.
Prepare a Windows PC
Before resetting Windows, make sure you can access the device's BitLocker recovery key. You may need it if Windows starts in the recovery environment or the hardware changes unexpectedly. If you are unsure where it is, follow the Mapletechie guide to finding a BitLocker key before a reset.
On Windows 11:
- Open Settings.
- Select System, then Recovery.
- Under Recovery options, choose Reset PC.
- Select Remove everything.
- Choose Cloud download or Local reinstall.
- Open the additional settings and turn on Clean data when the computer is leaving your control.
Microsoft says the Clean data option removes files and cleans the drive, making recovery harder. It takes longer than a normal reset, but that is the appropriate consumer setting for a sale, donation or recycling.
Cloud download fetches a fresh Windows copy and is useful when local system files may be damaged. Local reinstall is faster on a slow connection. Neither choice replaces the Clean data setting.
During the reset, the screen can remain black for more than 15 minutes and the PC may restart several times. Do not force a restart because it looks stuck.
When Windows reaches its first-time setup screen, stop. Shut the computer down and leave setup for the buyer. Do not create a temporary account for them.
Prepare a recent Mac
Apple provides Erase All Content and Settings on Macs with Apple silicon or the Apple T2 Security Chip running macOS Monterey 12 or later.
- Open the Apple menu and choose System Settings.
- Select General.
- Choose Transfer or Reset.
- Select Erase All Content and Settings.
- Enter the requested Mac and Apple Account passwords, then confirm the erase.
Apple's current instructions say the process removes data, settings and apps while keeping the installed operating system. It also signs the Mac out of Apple services.
After the Mac activates and reaches Setup Assistant, do not continue if it is going to someone else. Hold the power button until it turns off. That leaves the new owner to complete setup with their own account.
If Erase All Content and Settings is missing, the Mac may be too old, running an earlier macOS release or lack the required security hardware. Use Apple's model-specific instructions for signing out, erasing the disk in macOS Recovery and reinstalling macOS. Do not improvise by deleting your home folder.
Remove the computer from your accounts
After the erase, check the device lists for your Microsoft account, Apple Account, password manager and any remote-access service you used. Remove the computer once you are sure you will not need it for recovery.
For a work or school computer, stop and contact the administrator. Device-management software, company encryption and return procedures can survive or block a normal consumer reset. The organization may also require a recorded chain of custody.
Know when a consumer reset is not enough
Microsoft is explicit that Windows' data-erasure feature is intended for consumers and does not meet government or industry erasure standards. A normal reset is appropriate for an ordinary household sale, but not necessarily for a computer that held regulated medical, legal, financial, government or corporate data.
For unusually sensitive information, follow the organization's approved media-sanitization process. Depending on the drive and policy, that may require a certified erase, cryptographic procedure or physical destruction.
Do one last physical check
Remove SD cards, USB receivers, security keys and discs. Check laptop sleeves and ports. Include the correct charger, but keep any dongle that contains its own storage or account credentials.
Record the serial number and photograph the computer's condition before handing it over. Then confirm that it boots to the initial setup screen without showing your name, email address or files.
A proper handoff ends with a blank setup screen, a verified backup and no personal accessories left in the ports. Once those three things are true, the computer is ready for its next owner.
Tags: Windows, macOS, computer security, device resale, data erasure