When you decide to part with a MacBook, whether you sell your MacBook for cash or hand it to a family member, the two tasks that matter most are signing out of iCloud and doing a proper factory wipe. Leave either one undone, and the next person gets more than a laptop. They get access to your saved passwords, iMessages, Apple Pay cards, and every file that was syncing to iCloud Drive the moment you walked away.
To sign out of iCloud on a MacBook, go to System Settings → [Your Name] → Sign Out and enter your Apple ID password. Then erase the device under System Settings → General → Transfer or Reset → Erase All Content and Settings. This two-step process clears your personal data, disables Find My, and releases Activation Lock so the Mac is ready for its next owner.
This guide covers the exact steps for every supported macOS version, explains what changes after a wipe, and flags the most common mistakes people make before handing over a MacBook.
Why Signing Out of iCloud First Is Non-Negotiable
Most people assume a factory reset wipes everything clean. That is only partially true. Apple builds a security feature called Activation Lock into every Mac with Apple silicon or a T2 Security Chip. When Find My is active and you erase the drive without signing out of your Apple Account first, the Mac stays locked to your Apple ID, even after a clean install of macOS. The new owner boots it up and hits a wall: a password prompt tied to an account they do not own.
This is not a minor inconvenience. A Mac with Activation Lock active is essentially unusable, and most professional buyback services will reject it or offer a fraction of its value. Signing out of iCloud before wiping is the step that releases that lock cleanly.
Beyond Activation Lock, there is a broader privacy argument. According to research cited by StationX, 77% of internet users worldwide are worried about their personal information being stolen. A MacBook still signed into an active Apple Account is one of the most direct paths to that kind of exposure, iCloud Keychain alone can contain hundreds of saved passwords, and Messages holds years of private conversations.
What to Do Before You Sign Out
A few preparation steps before signing out will prevent data loss and make the whole process smoother. None of these take long, but skipping them creates problems that are harder to fix after the fact.
- Back up your Mac. Open System Settings → General → Time Machine and run a final backup to an external drive. This is your safety net if you realize after the wipe that something was not synced to iCloud.
- Confirm iCloud Drive has finished syncing. Open Finder, navigate to iCloud Drive, and look for any spinning sync indicators next to files or folders. Wait for all syncing to finish before proceeding.
- Deauthorize the Mac in Music and FaceTime. Open the Music app and go to Account → Deauthorize This Computer. Do the same in FaceTime under FaceTime → Settings → Sign Out. These deauthorizations are separate from iCloud and do not happen automatically during an erase.
- Export passwords if needed. If you rely on iCloud Keychain as your password manager and do not have another device signed in to the same Apple Account, export your credentials to a separate password manager before signing out.
How to Sign Out of iCloud on a MacBook, Step by Step
Apple renamed System Preferences to System Settings starting with macOS Ventura (2022), and later renamed Apple ID to Apple Account in macOS Sequoia. The process is the same regardless of which label your version uses.
macOS Ventura, Sonoma, Sequoia, or later:
- Click the Apple menu in the top-left corner and select System Settings.
- Click your name (shown at the top of the sidebar) to open your Apple Account settings.
- Scroll to the bottom of the right pane and click Sign Out.
- You will be prompted to keep or remove local copies of iCloud data. Since the device is being wiped, select Remove from Mac for each category, Documents, Photos, and any others listed.
- Enter your Apple ID password to disable Find My Mac and confirm the sign-out.
- Wait for the process to complete. The sidebar will no longer show your name when it is done.
macOS Monterey or earlier:
- Open the Apple menu and click System Preferences.
- Click Apple ID in the top-right corner of the window.
- Select Overview in the left sidebar, then click Sign Out.
- Follow the prompts to choose which data to keep, then enter your Apple ID password to confirm.
Once the sign-out finishes, Find My Mac is off and the device is detached from your account. The Mac will no longer appear in your iCloud device list at icloud.com.
If you cannot sign out because you have forgotten your Apple ID password, reset it at iforgot.apple.com before starting this process. Attempting to erase the Mac while Find My is still active will leave Activation Lock in place, making the device difficult or impossible for the next owner to use, and significantly hurting its resale value.
How to Wipe a MacBook: Erase All Content and Settings
Apple’s built-in erase tool is the cleanest and fastest way to wipe a MacBook. It is available on any Mac running macOS Monterey (12) or later that has either Apple silicon (M1 through M4 chips) or an Intel processor with a T2 Security Chip. According to Apple’s official support documentation, the tool handles everything in a single pass, it signs you out of Apple services, disables Find My, erases all apps and personal files, and wipes every volume on the drive, including Boot Camp partitions if present.
Here is how to run it after completing the iCloud sign-out above:
- Open the Apple menu and select System Settings.
- Click General in the sidebar.
- Scroll down and click Transfer or Reset.
- Click Erase All Content and Settings.
- Enter your administrator password when prompted.
- Review the summary of what will be removed. Note that this does not affect your other Apple devices.
- If offered the option to run a final Time Machine backup, take it if you have an external drive connected.
- Click Continue, enter your Apple Account password when asked, then confirm by clicking Erase All Content & Settings.
The wipe typically takes between 15 and 30 minutes. When it finishes, the Mac restarts and lands on the “Hello” welcome screen, the same one that appears when a Mac is brand new out of the box. If you are selling or giving the device away, hold the power button to shut it down at this point. Do not run through the setup yourself. Leave that for the new owner.
What If Erase All Content and Settings Is Greyed Out?
Older Intel Macs without a T2 chip, generally any MacBook released before 2018, and some models from 2018 and 2019, do not have this option. If the button is missing or greyed out, you will need to use Recovery Mode to erase the drive manually.
After signing out of iCloud, Messages, Music, and FaceTime using the steps above, restart the Mac. Hold Command (⌘) + R immediately as the machine powers on. Keep holding until the Apple logo appears. This boots into macOS Recovery. On Apple silicon Macs, hold the power button until “Loading startup options” appears, then choose Options and click Continue.
From the macOS Utilities window, open Disk Utility, select Macintosh HD (your startup disk), and click Erase. Choose APFS for SSDs or Mac OS Extended (Journaled) for older spinning hard drives, then confirm the erase. After Disk Utility finishes, quit it and choose Reinstall macOS from the Utilities menu. This downloads and installs a clean copy of the operating system. The Mac will need an internet connection to complete this step.
Selling Your MacBook After a Full Wipe
Once the Mac is back to factory state, any buyer or buyback service can confirm it is clean by checking the serial number at checkcoverage.apple.com. An Activation Lock-free Mac with a fresh macOS install inspires confidence and commands a better price. Buyers know they are getting a device that has been properly prepared, not one where they might run into someone else’s account mid-setup.
MacBook models with Apple silicon hold their value particularly well. If you want to understand how much your specific model is worth before deciding where to sell, comparing MacBook resale value by chip generation gives you a realistic baseline. A properly wiped, Activation Lock-free MacBook is the starting point for getting maximum value when you sell, it is not just good practice, it is a prerequisite.
Frequently Asked Questions
Do I have to sign out of iCloud before wiping my MacBook?
Yes, and the order matters. Signing out first disables Find My Mac and removes Activation Lock. If you wipe the drive without signing out, the Mac remains linked to your Apple ID and the next user cannot activate it without your password, even after a full reinstall of macOS.
What happens to my iCloud photos and files when I sign out on my MacBook?
They stay in iCloud. Signing out on one device does not delete anything from Apple’s servers. Your photos, documents, and contacts remain accessible on every other device signed in to your Apple Account. On the Mac you are signing out of, you will be asked whether to keep a local copy or remove those files. Choose Remove from Mac if you are wiping the device.
Will wiping a MacBook affect my iPhone or iPad?
No. Signing out of iCloud on a Mac only removes that device from your account. Your iPhone, iPad, and any other Apple devices remain signed in and fully functional. Nothing on those devices changes.
Can I wipe a MacBook without knowing my Apple ID password?
Technically you can erase the drive via Recovery Mode without the password, but Activation Lock will remain active because Find My was never disabled. This leaves the Mac in a state that most buyers and buyback services will not accept. Reset your Apple ID password at iforgot.apple.com before starting.
Does Erase All Content and Settings delete the operating system?
No. Apple’s built-in erase tool removes all personal data, apps, and settings but leaves macOS installed. The Mac lands on the setup screen, fully functional, ready for a new user to configure from scratch. If you use Disk Utility in Recovery Mode to manually erase the drive, macOS is also removed and must be reinstalled.
How do I know if my MacBook still has Activation Lock on it?
Visit checkcoverage.apple.com and enter the Mac’s serial number (found under Apple menu → About This Mac). The results will show whether Activation Lock is active. You can also check by going to System Settings → [Your Name] → Find My to confirm Find My Mac is turned off before handing the device over.
Signing out of iCloud and wiping a MacBook are two steps that belong together. Do both in the right order, and the device goes out clean, your data stays yours, and the next owner starts fresh without any friction. That combination is exactly what gives a pre-owned MacBook its full resale potential.
