Selling or giving away a laptop takes more than deleting your files. Done in the wrong order, you can hand a stranger your photos, saved passwords, and signed-in accounts, or lock the buyer out of a Mac they just paid for. This guide uses the safe order: back up first, sign out of everything, then run the full wipe.
In short: Selling or giving away a laptop means backing up your files, signing out of every account, then running a full reset with the data-cleaning option on Windows or Erase All Content and Settings on a Mac. A quick delete or a quick reset is not enough, because the files stay recoverable with basic tools.
Key takeaways
- Back up first, and open a few files from the backup to prove it works before you wipe anything.
- Sign out of your Microsoft account, Apple ID, browsers, and paid apps, and remove the laptop from your account device lists.
- On Windows, choose Remove everything and turn on Clean data so the drive is overwritten, not just cleared.
- On a Mac, use Erase All Content and Settings on macOS Monterey or later, and sign out of iCloud first to clear Activation Lock.
- After the reset, the laptop must stop at the first setup screen. Do not complete setup for the buyer.
Step 1: Back up everything first

The wipe in this guide cannot be undone, so the backup comes first. Copy your Documents, Pictures, Desktop, and Downloads folders, plus anything in odd places such as a second partition or an app library.
Browser bookmarks, local email archives, and game saves are easy to miss, so export what each daily app offers to export. Loaders in this spot often ask about how to replace a hard drive in a laptop as well.
An external drive is the simplest target, and a cloud copy adds a second safety net. Our guide to how to back up laptop data safely covers the folder checklist in detail. Moving to a replacement machine? The steps for how to transfer files from an old laptop to a new laptop show how to carry the same files across.
Fast enough to copy a full laptop in one sitting, and small enough to keep in a drawer as the archive copy afterwards.
- Create; Explore; Store; The T7 Portable SSD delivers fast speeds and durable features
- Don’t waste a second waiting and spend more time doing; The T7 is embedded with PCIe
When the copy finishes, test it. Open a document, a photo, and a spreadsheet directly from the backup drive. A backup that has never been opened is a hope, not a backup, and the next steps sign you out of the cloud accounts that might otherwise rescue a missed folder.
Warning: Every wipe in this guide is permanent. Once the reset starts, the old files, accounts, and settings on the internal drive are gone, and no undo button brings them back. If any part of your backup is untested, stop here and fix the backup first.
Step 2: Sign out, deauthorize, and remove the laptop from your accounts
Signing out protects both sides. A browser left signed in can hand the buyer your email, saved passwords, and open sessions. A Mac still linked to your Apple ID stays under Activation Lock, and a Windows laptop left on your Microsoft device list can confuse later sign-ins.
Work through this list in order:
- Sign out of your Microsoft account in Windows under Settings > Accounts > Your info, or switch to a local account before the reset.
- On a Mac, sign out of Apple ID and iCloud in System Settings, and turn off Find My Mac. Skipping this step leaves Activation Lock on the machine.
- In each browser, decide on purpose what happens to saved passwords: export them to your new machine or a password manager first, then delete them from the old laptop. Do not leave the browser signed in to sync.
- Deauthorize paid software. Sign out of Microsoft 365 and Office apps, and deactivate Adobe apps from the Help menu, so the installs do not count against your licence seats.
- Remove the laptop from your online device lists. Delete it at account.microsoft.com/devices for Windows, and remove it from Find My on a Mac or at iCloud.com.
- Sign out of chat, music, and store apps, and remove saved payment cards.

A laptop still registered to you can be located, locked, or flagged long after the sale. The same account cleanup steps appear in our guide on how to protect a laptop from theft. Finish them now and the buyer starts with a machine that points to nobody.
Step 3: Wipe a Windows laptop with Reset PC

Windows 11 includes a built-in reset that removes your files, apps, and settings and reinstalls Windows. The option that matters for a sale sits one screen deeper, so follow the full path rather than accepting the defaults.
- Plug the laptop into power, then open Settings > System > Recovery.
- Under Reset this PC, select Reset PC.
- Choose Remove everything. The Keep my files option is for fixing your own machine, never for a sale.
- Choose Cloud download if your connection is fast and stable, or Local reinstall if it is not. Both end at the same clean state.
- On the Additional settings screen, select Change settings and turn on Clean data. Confirm the change and return to the summary.
- Check the summary lists Remove everything and Clean data, then select Reset and leave the laptop alone until it reaches the setup screen.
Clean data takes longer, often an hour or more, because Windows overwrites the drive space instead of only marking files as deleted. That overwrite is the point. On a plain remove-everything reset, an SSD can still hold recoverable copies of files until new data lands on the same cells, and free recovery tools can pull them back. There is more on solve laptop disk error in a separate guide.
BitLocker fits into this cleanly. A reset with Clean data also clears the encryption keys held on the machine, so the old encrypted data cannot be opened afterwards. For background on each setting, see what a factory reset in a laptop actually means.
If the reset stalls or the Reset PC option is missing, stop and work through the fixes in our guide for a laptop factory reset not working before trying again. Do not sell after a failed reset, because a half-finished reset can leave your profile and files behind a fresh-looking start screen.
Step 4: Wipe a Mac with Erase All Content and Settings
On macOS Monterey or later, Apple provides a single erase assistant that signs you out, removes your data, and leaves macOS ready for setup. Sign out of iCloud first, as covered in Step 2, or Activation Lock stays tied to your Apple ID.
- Plug the Mac into power and connect it to Wi-Fi.
- Open System Settings (called System Preferences on older versions) and go to General > Transfer or Reset.
- Select Erase All Content and Settings and enter the admin password when asked.
- Review the list of items that will be erased, confirm, and follow the sign-out prompts for Apple ID and Find My if they appear.
- Let the Mac erase and restart. It should come back to the setup assistant and a welcome screen.
Erase All Content and Settings works on Macs with Apple silicon and on Intel Macs with the T2 chip. The data volume is erased and the encryption keys are destroyed, which makes the old files unrecoverable even though the erase is fast.
Older Intel Macs without the T2 chip use the manual route. Restart into Recovery by holding Command + R during startup, open Disk Utility, erase the internal drive, then choose Reinstall macOS and let setup finish to the welcome screen. Sign out of iCloud, iMessage, and Find My first, for the same Activation Lock reason, and do not sign back in after reinstalling.
Tip: Write down the serial number before you wipe. If a buyer later asks about the model or storage size, you will still have the details after the machine is gone. Before you buy anything, it is worth looking at 7 Key Tips.
Step 5: Do the final check before you hand it over
When the reset finishes, the laptop should stop at the first setup or welcome screen, the one that asks for a language, region, or Wi-Fi network. That screen proves no account is active on the machine. Turn the laptop off there and leave it.
Do not click through the setup wizard, and do not create a test account for the buyer. A completed setup ties the machine to whatever name and password was entered, and the buyer then has to reset it again. The welcome screen itself is enough to confirm the keyboard, trackpad, and charging work.
Finish with the physical checks.
- Remove any SD cards, microSD cards in adapters, USB drives, and dongles from every port. A card left in the slot carries your files to the buyer even after a perfect wipe.
- Check the disc tray on older models and any hub used during the backup.
- Include the correct charger and cable in the box. A laptop without its charger loses value and can leave the buyer unable to run setup.
- Wipe the screen and keyboard with a dry microfibre cloth.

For more help with jobs like this one, browse our laptop repair and upgrade guides.
Mistakes to avoid
- Deleting files only. Emptying the Recycle Bin or Trash removes the index entry, not the data. Recovery tools can rebuild those files until the space is overwritten.
- Forgetting browser passwords and signed-in accounts. A signed-in browser profile restores saved passwords, cards, and history for whoever opens it. Export what you need, then sign out.
- Leaving Activation Lock on. A Mac still linked to your Apple ID cannot be activated by the buyer. Sign out of iCloud and Find My before the erase.
- Wiping before the backup is confirmed. An untested backup can turn out to be empty or unreadable after the only copy of your files is gone. Open real files from it first.
- Completing the setup wizard before handover. Running setup creates accounts and choices the buyer did not make. Stop at the welcome screen.
Frequently asked questions
Is deleting my files and emptying the Recycle Bin enough before selling?
No. Deleting a file removes its index entry, but the data stays on the drive until new files overwrite it, and free recovery tools can rebuild photos and documents from that space. Use Reset PC with Clean data turned on, or Erase All Content and Settings on a Mac, so the drive is properly cleared.
How long does a Windows reset with Clean data take?
Plan for one to three hours on most laptops. The Clean data step overwrites the drive, which is slower than a standard reset, and a cloud download adds time on a slow connection. Keep the laptop plugged into power for the whole process and do not interrupt it, because stopping mid-reset can leave Windows in a broken state.
What happens if I forget to sign out of iCloud on a Mac?
The Mac stays linked to your Apple ID under Activation Lock, and the buyer cannot activate or use it with their own account. You can release it remotely by removing the Mac from Find My in your iCloud account, but the clean fix is to sign out of iCloud on the Mac itself before erasing it.
Should I remove the laptop from my Microsoft account device list?
Yes. After the reset, sign in at account.microsoft.com/devices and remove the old laptop from the list. This clears the device from your account limits and stops it appearing alongside machines you still own. It takes a minute, and it prevents confusion if the buyer later registers the same laptop under their own account.
Can I stop the setup partway so the buyer can test the laptop?
Yes, and that is the right stopping point. Power the laptop on, let it reach the first setup or welcome screen, and let the buyer confirm the screen, keyboard, and charging there. Shut it down at that screen without entering a name, account, or password, so the buyer still gets a true first setup.
Bottom line: Back up and test the backup, sign out of every account, then wipe with Clean data on Windows or Erase All Content and Settings on a Mac. Stop at the welcome screen, remove every card and drive, and pack the charger.
Sources: Microsoft Support, Reset your PC (https://support.microsoft.com/en-us/windows/reset-your-pc-0ef73740-b927-549b-b7c9-e6f2b48d275e); Apple Support, What to do before you sell, give away or trade in your Mac (https://support.apple.com/en-us/108771). Photos: credited per image.

