How to Wipe Your Laptop Before Selling It
Your laptop holds more than files: saved passwords, banking sessions, WhatsApp Web, photos of your IC, work documents. Deleting files and emptying the Recycle Bin does not remove them; it only marks the space as free, and recovery tools may be able to bring the data back, especially from hard drives. The good news is that modern Windows and macOS include proper reset tools. Done in the right order, the whole process takes an evening, and most of that is waiting.
Back up first, sign out of accounts, then wipe. Wiping before signing out can leave the laptop locked to you.
Step 1: Back up what you want to keep
Once you reset, your data is gone for good, so back up first. Copy documents, photos and anything on the desktop or in Downloads to an external drive or cloud storage. Export browser bookmarks and make sure your password manager is synced.
Check the less obvious places: authenticator apps tied to the laptop, licence keys for paid software, game saves, and any files stored only locally rather than in OneDrive or iCloud. If you use Outlook with a local data file, back that up too.
Step 2: Sign out of accounts and remove the device
Signing out matters as much as wiping. It stops the laptop staying linked to your accounts and, on a Mac, it is what releases Activation Lock so the next owner can use it.
- Microsoft account: after the reset, also remove the laptop from the devices list in your Microsoft account online.
- Apple Account: turn off Find My Mac (System Settings > your name > iCloud > Find My) and sign out. Activation Lock stays on while Find My is enabled. If you already sold it, you can remove it from iCloud.com/find.
- Sign out of iMessage on a Mac, and deauthorise iTunes on macOS Mojave or earlier.
- Browsers: sign out of Chrome, Edge or Firefox sync so passwords and history are not left behind.
- Unpair Bluetooth accessories you are keeping, and cancel or transfer any AppleCare or extended warranty if needed.
- Work laptops: ask IT to remove the device from Intune and Windows Autopilot. Microsoft says a device should be deregistered when it permanently leaves an organisation.
Our estimate comes from recent Malaysian listings for the same model. If we have too few listings, we say so instead of guessing.
Step 3 (Windows): BitLocker and Reset with Clean data
Many laptops have BitLocker or device encryption turned on. Microsoft says that if the device is encrypted, you will need your BitLocker recovery key to complete a reset; with a Microsoft account it is usually saved in your account online. Encryption is helpful here: a fully reset encrypted drive is much harder to recover anything from.
Go to Settings > System > Recovery > Reset this PC. Choose Remove everything, then turn on the option to clean the drive (shown as Clean data or Clean the drive fully, depending on the Windows version). Microsoft says this takes longer but makes it harder for others to recover removed files, and recommends it when you sell, donate or recycle a PC. Cloud download fetches a fresh copy of Windows; local reinstall uses the files already on the laptop.
Microsoft also notes that this option does not meet government and industry data erasure standards. For a personal laptop it is generally enough. For business laptops holding customer data, see the section on certificates below.
Step 3 (Mac): Erase All Content and Settings
On a Mac with Apple silicon (M1, M2 and later) or an Intel Mac with the T2 chip running macOS Monterey or later, use Erase All Content and Settings. On macOS Ventura or later, go to System Settings > General > Transfer or Reset > Erase All Content and Settings. Enter your Mac password and Apple Account password when asked. It removes your data, settings and apps while keeping macOS installed, and signs you out of Apple services.
When it restarts, Apple says not to continue through setup if you are selling it: press and hold the power button until it turns off, leaving it ready for the new owner. Older Macs without this option need the manual method: sign out of iCloud and iMessage, then erase the disk in Disk Utility from macOS Recovery and reinstall macOS.
Step 4: Check the result before handing it over
Turn the laptop on. A Windows laptop should go to the first setup screen asking for region and keyboard. A Mac should show the Hello setup screen without asking for your Apple Account. If either asks for your account, something is still linked; fix it before the sale.
Also remove any BIOS supervisor or startup password you set, and take out SIM cards or SD cards if the laptop has slots for them.
The sections of this guide, in order.
Data-wipe certificates and NIST 800-88
A data-wipe certificate is a record, usually tied to the laptop's serial number, showing that storage was erased, with what method and when. Professional services generally refer to NIST Special Publication 800-88, Guidelines for Media Sanitization, the widely used US standard for erasing storage. Revision 2 was published in September 2025 and replaces the 2014 Revision 1.
For an individual, a certificate is mostly peace of mind. For a business, it is evidence. If a laptop buyer, refurbisher or IT disposal company wipes your devices, ask which method they use, whether the certificate lists each serial number, and what happens to drives that fail to erase.
Why this matters for Malaysian businesses (PDPA)
Under the Personal Data Protection Act 2010, businesses that process personal data in commercial transactions must follow its principles. The Security Principle requires steps to protect personal data from loss, misuse, unauthorised access and alteration, and the Retention Principle says data should not be kept longer than needed for its purpose.
An old office laptop with customer records on its drive is exactly the kind of risk those principles cover. Before selling or disposing of company laptops, keep a list of the devices, wipe each one with a documented method, and keep the certificates. This is a practical summary, not legal advice; check your obligations with the Personal Data Protection Department or a lawyer.
Common questions
Is deleting files and formatting enough before selling a laptop?
No. Deleting files or doing a quick format can leave the data recoverable with free tools. Use Reset this PC with Remove everything and the clean drive option on Windows, or Erase All Content and Settings on a Mac.
Do I need my BitLocker recovery key to reset my laptop?
Microsoft recommends having it ready before a reset in case Windows asks for it. If you sign in with a Microsoft account, the key is usually saved in your account online. Microsoft Support cannot recover a lost key for you.
What happens if I forget to turn off Find My before selling a Mac?
Activation Lock may stop the buyer from setting it up. You can remove the Mac from your account at iCloud.com/find even after it has left your hands, but it is much easier to sign out and erase it before the sale.
Does my small business need a data-wipe certificate?
No Malaysian rule names a certificate specifically, but the PDPA Security Principle requires businesses to protect personal data. A certificate listing each device's serial number and erase method is good evidence that you did, so it is worth asking for when you dispose of laptops.
Related guides
Sources · Updated 2026-11-23
- support.microsoft.com/en-us/windows/reset-your-pc-0ef73740-b927-549b-b7c9-e6f2b4
- support.microsoft.com/en-us/windows/back-up-your-bitlocker-recovery-key-e63607b4
- support.apple.com/en-us/102664
- support.apple.com/en-us/102773
- support.apple.com/en-us/102541
- learn.microsoft.com/autopilot/registration-overview
- csrc.nist.gov/pubs/sp/800/88/r2/final
- pdp.gov.my/prinsip-perlindungan-data-peribadi/