If your MacBook has Apple silicon (M1 / M2 / M3)
This is the easiest method.
Option A: Erase Assistant (macOS Monterey or newer)
Click Apple menu () → System Settings
Go to General → Transfer or Reset
Click Erase All Content and Settings
Follow the prompts and enter your Apple ID password
Mac will erase itself and restart to the setup screen
✅ This fully resets the Mac to factory state.
Option B: Recovery Mode (manual)
Shut down your Mac
Press and hold the power button until you see
“Loading startup options”Click Options → Continue
Select Disk Utility
Choose Macintosh HD
Click Erase
Name:
Macintosh HDFormat: APFS
Scheme: GUID Partition Map
Quit Disk Utility
Click Reinstall macOS
Follow on-screen steps
If your MacBook has an Intel processor
Shut down your Mac
Turn it on and immediately press and hold:
Command (⌘) + RRelease when you see the Apple logo or spinning globe
Select Disk Utility
Choose Macintosh HD
Click Erase
Format: APFS (or Mac OS Extended for older macOS)
Quit Disk Utility
Click Reinstall macOS
After reset
Mac will restart to the Hello / Setup Assistant screen
If you’re selling or giving it away, stop here
If keeping it, sign in and restore from backup