how to factory reset macbook
To factory reset a MacBook safely, you need to back up your data, sign out of your accounts, erase the internal disk in recovery mode, and then reinstall macOS so the machine is like new for the next user.
Before you reset
Do these first so you do not lose data or leave accounts linked to the Mac.
- Back up your files with Time Machine or another backup (external drive or cloud).
- Sign out of iCloud (Apple menu > System Settings / System Preferences > Apple ID > Sign Out).
- Turn off Find My Mac in the same Apple ID section.
- Sign out of iMessage (Messages > Settings/Preferences > iMessage > Sign Out).
- Deauthorize the Mac in apps like Music/TV (Account > Authorizations > Deauthorize This Computer).
Easiest method: Erase All Content and Settings
On newer Macs (Apple silicon or recent Intel) with macOS Monterey or later, you can use Erase All Content and Settings , which automates most of the cleanup.
- Go to Apple menu > System Settings (or System Preferences in older layouts).
- Choose Erase All Content and Settings (in General > Transfer or Reset, or from the System Preferences menu bar in Monterey).
- Enter your admin password, follow the prompts to sign out of services, and confirm erase.
- The Mac restarts, erases user data, then lets you set it up as new or shut down for the next owner.
Manual method: Use macOS Recovery
If you do not see Erase All Content and Settings , you can erase the disk from Recovery and then reinstall macOS.
Enter Recovery mode
- For Apple silicon (M1/M2/M3 etc.):
- Shut down the Mac.
- Press and hold the power button until you see Loading startup options and the Options gear icon, then click Options > Continue.
- For Intel Macs:
- Restart or turn on the Mac and immediately hold Command (⌘) + R.
- Release when you see the Apple logo or a spinning globe, then wait for the macOS Utilities screen.
Erase the internal disk
- In the utilities window, select Disk Utility and click Continue.
- In the sidebar, choose your internal disk or its main volume (often named Macintosh HD).
- Click Erase or Erase Volume Group (if shown).
- Format: APFS for recent macOS, or Mac OS Extended (Journaled) for much older systems.
- Confirm and wait until the erase completes, then quit Disk Utility.
Reinstall macOS
- Back at the utilities window, choose Reinstall macOS and click Continue.
- Follow the on‑screen steps, choose the just‑erased disk as the destination, and let the installation finish.
- When you see the setup assistant (language/region screen), you can either:
- Go through setup if you will keep using it, or
- Press Command+Q and shut down so the next owner can set it up themselves.
Extra tips and common pitfalls
A careful reset protects your privacy and avoids activation or sign‑in issues later.
- Make sure you know your Apple ID password; you may be asked to unlock the Mac or turn off Activation Lock.
- Keep the Mac plugged into power during erase and reinstall.
- If the recovery key combo does not work on an older Intel Mac, try Option + Command + R to get Internet Recovery, which installs the latest compatible macOS.
- If you plan to sell or give away the Mac, do not add your Apple ID again after reinstall; stop at the welcome screen and power it off.
Information gathered from public forums or data available on the internet and portrayed here.