How-to · macOS
How to Erase All Data on Your Mac Before Giving It Away
Before you sell or hand over your MacBook, wiping it the right way protects your data and stops the new owner from getting locked out by Activation Lock - here's the exact 2026 order.

How to Erase All Data on Your Mac Before Giving It Away?
Quick answer
Why a simple file delete is never enough
Dragging files to the Trash or signing out of a few apps does not remove your data, and it does not detach the Mac from your Apple account. If you skip the steps below, two things go wrong: your personal data (passwords, photos, browser logins, work files) can still be recovered, and the Mac stays tied to your Apple ID through Activation Lock - leaving the new owner with a machine they can't even set up. Follow the order here and the Mac leaves your hands as cleanly as the day it arrived in its box.
The correct 2026 order, at a glance
- Back up your files with Time Machine or iCloud
- Sign out of iCloud (this turns off Find My and Activation Lock)
- Sign out of iMessage and deauthorize Music/iTunes
- Unpair Bluetooth devices you're keeping (optional)
- Erase All Content and Settings - or erase in Recovery on older Macs
- Deregister the Mac from your Apple account
Step 1 - Back up before you wipe anything
Erasing is permanent. Plug in an external drive and run System Settings → General → Time Machine → Back Up Now, or sync what matters to iCloud. If the Mac is already misbehaving and you can't reach your files, stop here - don't erase a drive you can't read. Our MacBook data recovery in Dubai can pull data off a failing drive before it's wiped for good.
Step 2 - Sign out of iCloud and turn OFF Find My
This is the step people forget, and it's the one that locks buyers out. Go to System Settings → tap your name at the top (Apple ID) → scroll down → Sign Out. Signing out of iCloud automatically disables Find My Mac and removes Activation Lock, the security feature that ties the Mac to your Apple ID. You'll be asked for your Apple ID password to confirm. If you erase a Mac while Find My is still on, the next owner will hit a permanent login wall they cannot pass without your credentials.
Step 3 - Sign out of iMessage and Music/iTunes
Two more services keep a tie to your account even after iCloud sign-out:
- iMessage: open Messages → Settings → iMessage → Sign Out, so texts don't keep routing to a Mac you no longer own.
- Music / iTunes: open the Music app (or iTunes on older macOS) → Account → Authorizations → Deauthorize This Computer, freeing up one of your five authorized devices.
Step 4 - Unpair Bluetooth devices (optional)
If you're selling the Mac together with its Magic Keyboard or Mouse, leave them paired. If you're keeping those accessories, go to System Settings → Bluetooth, click the (i) beside each device, and choose Disconnect or Forget. This avoids your keyboard re-pairing with the Mac during a handover and keeps things tidy.
Step 5 - Erase All Content and Settings (the clean modern method)
If your Mac runs macOS Monterey or later and has Apple Silicon (M1, M2, M3, M4, M5) or an Intel chip with the Apple T2 Security Chip, you get the easiest, safest option - the same instant wipe an iPhone uses. Go to:
- System Settings → General
- → Transfer or Reset
- → Erase All Content and Settings
Enter your administrator password, review what will be removed (Apple ID, Touch ID, accessories, Find My, Wallet items), and confirm. The Mac erases all your data, settings, and apps in a few minutes and reboots to a clean setup screen - no Recovery mode and no macOS reinstall needed. This is the recommended method for any modern Mac.
Step 5 (older Macs) - Recovery-mode erase + reinstall macOS
Don't see "Erase All Content and Settings"? Your Mac is older (pre-Monterey, or an Intel model without a T2 chip). Do it the classic way:
- Restart and hold Command + R (Intel) until the Apple logo appears to enter macOS Recovery.
- Choose Disk Utility → select Macintosh HD → click Erase. Use APFS (newer macOS) or Mac OS Extended (Journaled) for older systems.
- Quit Disk Utility, then choose Reinstall macOS and follow the prompts to lay down a fresh copy.
Need help getting a clean install on an older machine? Our macOS reinstall service in Dubai handles it for you, including stubborn drives that won't reinstall.
Why FileVault and the T2 chip make your data unrecoverable
Here's the reassuring part. Modern Macs store everything on the SSD as hardware-encrypted data. On Apple Silicon and T2 Macs, "Erase All Content and Settings" doesn't just delete files - it destroys the encryption key. Without that key, the data left on the SSD is unreadable scrambled noise that no recovery tool can reverse. If you also had FileVaultturned on (System Settings → Privacy & Security → FileVault), the whole drive was already encrypted, so a wipe renders it permanently unrecoverable. This is exactly why a quick "Erase All Content and Settings" is as secure as physically shredding an old hard drive used to be.
Step 6 - Leave it at the Hello screen, then deregister
After the wipe (or reinstall) the Mac shows the Hello welcome screen. Press Command + Q to shut down without setting it up - hand it over at this screen so the buyer starts completely fresh. Finally, visit appleid.apple.com → Devices, select the old Mac, and click Remove from Account. This is the belt-and-braces step that guarantees the Mac is fully detached from your Apple ID and clear of Activation Lock for good.
Quick handover checklist before money changes hands
Selling locally in Dubai? Confirm all of this with the buyer present so there are no disputes later:
- Mac boots to the Hello / setup screen (not your login)
- No Apple ID prompt or Activation Lock appears during setup
- You're signed out of iCloud, iMessage, and Music
- The device is removed from appleid.apple.com
Not sure your data is truly gone? Let us verify
If you're handing over a Mac with sensitive work or client data and want certainty, we can wipe it to a verified clean state for you. Book a free diagnosis and we'll confirm the erase, the Find My status, and the install - see our full MacBook diagnostic or just contact us. We offer free pickup across Dubai.
Frequently asked questions
- Back up your data first (Time Machine or iCloud), then sign out of iCloud - which automatically turns off Find My and Activation Lock - then sign out of iMessage and deauthorize Music/iTunes. Only after that should you run Erase All Content and Settings, or erase in Recovery and reinstall macOS on older Macs. Finally remove the Mac from appleid.apple.com.
- Yes - this is the most important step. Signing out of iCloud turns off Find My Mac and removes Activation Lock. If you skip it, the new owner is locked out at the setup screen and cannot use the Mac without your Apple ID password. Always sign out of iCloud before you wipe.
- It's a one-click wipe under System Settings → General → Transfer or Reset, available on macOS Monterey or later with Apple Silicon (M1-M5) or an Intel Mac with the T2 chip. It erases all data, settings, and accounts and returns the Mac to a clean setup screen without needing Recovery mode or a macOS reinstall.
- Your Mac is older or lacks a T2 chip. Restart holding Command + R to enter Recovery, open Disk Utility, erase Macintosh HD as APFS or Mac OS Extended (Journaled), then choose Reinstall macOS. This wipes the drive and installs a fresh copy for the new owner.
- On modern Apple Silicon and T2 Macs, no. Erasing destroys the SSD's encryption key, so the leftover data is unreadable noise. If you also had FileVault on, the whole drive was encrypted and is permanently unrecoverable. This makes a proper erase as secure as physically destroying an old drive.
- Yes. Even after iCloud sign-out, sign out of Messages → Settings → iMessage so texts stop routing to the old Mac, and open Music (or iTunes) → Account → Authorizations → Deauthorize This Computer to free up one of your five authorized devices.
- It's the safest final step. Go to appleid.apple.com → Devices, select the old Mac, and click Remove from Account. This guarantees the device is fully detached from your Apple ID and clear of Activation Lock, even if a sign-out step was missed.
- Yes. If you want certainty that your data is gone and the Mac is clear of Find My before handing it over, we'll wipe it to a verified clean state and confirm the install. Book a free diagnosis with free pickup across Dubai - call 055 741 3706 or message us on WhatsApp.
Related on MacBook Repair Dubai
About the author
Usman is a senior macbook technician at MacBook Repair Dubai, Dubai's longest-running Apple-only repair workshop (since 2004). Personally signs the QC checklist on every job leaving the bench.