macOS · Troubleshooting
Erase Your Mac and Reset to Factory Settings
Erase All Content and Settings lets you wipe your Mac back to factory defaults — useful for major troubleshooting, or before selling, trading in, or giving away your device.
How to open Erase & Reset Mac
- Open System Settings → General → Transfer or Reset.
- Click 'Erase All Content and Settings'.
- Follow the prompts to confirm your Apple Account and begin erasing.
- Your Mac restarts into Setup Assistant once complete.
What you should know
- Erase All Content and Settings signs you out of your Apple Account and removes all personal data.
- It's recommended to back up your Mac (e.g. with Time Machine) before erasing.
- The process is built into System Settings on modern macOS — no bootable installer required.
- After erasing, your Mac restarts into Setup Assistant as if it were new.
This action cannot be undone. Make sure you have a current backup and know your Apple Account credentials before proceeding.
Why it matters
Erasing a Mac correctly protects your personal data and Apple Account when selling, trading in, or giving the device away, and doing it wrong can leave your files exposed to the next owner. It's also one of the more effective troubleshooting steps for a Mac with deep, unresolvable software issues, since it returns the machine to a known-clean state. Because the action is irreversible and requires your Apple Account credentials, understanding what happens beforehand avoids being locked out of your own erased Mac.
Best practices
- Back up everything you want to keep with Time Machine or verify iCloud sync is complete before erasing.
- Sign out of iMessage and FaceTime manually beforehand to avoid phone number or email association issues on the next device.
- Confirm you remember your Apple Account password before starting, since Activation Lock will require it to set up the Mac again.
- Stay on a stable power source throughout the erase process, since interrupting it can leave the Mac in an unusable state.
Common problems and fixes
- Forgot to back up before erasing.
- If the Mac hasn't been erased yet, stop and back up immediately with Time Machine; if it's already erased, recovery isn't possible without a prior backup, underscoring why backing up first is essential.
- New owner is stuck at an Activation Lock screen after receiving the Mac.
- The original owner must remove the Mac from their Apple Account devices list (via Find My or Apple Account settings) before Activation Lock will clear for the next user.
- Erase process seems frozen or the Mac won't restart afterward.
- Stay on stable power and wait it out, since it can take a while; if it truly hangs, force a restart and use macOS Recovery to reinstall macOS from there.
Tips and tricks
- Use 'Erase All Content and Settings' instead of the older full reinstall method — it's faster and doesn't require a recovery-mode installer on modern Macs.
- Double-check Find My Mac is removed from your device list on iCloud.com after selling a Mac, since a lingering entry can cause Activation Lock problems for the buyer even after a successful local erase.
- Erasing is still worthwhile even for a non-functional Mac before donating or recycling it, since data can sometimes be recovered from drives even in broken machines.
Frequently asked questions
Do I need a bootable USB installer to erase my Mac?
No, on modern macOS 'Erase All Content and Settings' is built directly into System Settings → General → Transfer or Reset, with no external installer required.
What happens to my Apple Account after erasing?
The erase process signs your Mac out of your Apple Account and removes it from your list of trusted devices, so make sure you know your password to set the Mac up again or to help a new owner past Activation Lock.
Is erasing a Mac the same as reinstalling macOS?
Not exactly — erasing wipes your data and settings back to factory defaults while keeping the current macOS version installed and ready for Setup Assistant, whereas a reinstall replaces the OS itself.
Related settings
- Time Machine BackupTime Machine automatically backs up your entire Mac — apps, accounts, preferences, and files — to an external or network drive, so you can restore individual files or your whole system if something goes wrong.
- Apple Account & iCloud SynciCloud settings control which of your apps and data — Photos, Mail, Contacts, Find My Mac, and more — stay in sync across all your Apple devices, plus your iCloud storage plan.
- FileVault Disk EncryptionFileVault encrypts the entire startup disk on your Mac, so your data stays protected even if the device is lost or stolen. Only someone with your password or recovery key can unlock and read the disk.
- Software UpdateSoftware Update in System Settings keeps macOS current with the latest security fixes, features, and app compatibility improvements. Regular updates help keep your Mac fast, stable, and protected.
More Troubleshooting guides for macOS
- macOS RecoverymacOS Recovery is a built-in set of utilities for reinstalling macOS, restoring from a Time Machine backup, repairing a damaged disk, and resetting a forgotten password — all accessible without needing a working copy of macOS already running.
- Safe ModeSafe Mode starts your Mac with only essential system software and drivers loaded, skipping login items, most fonts, and system caches. It's a diagnostic first step used to determine whether a startup problem is caused by third-party software or a deeper system issue.
- Analytics & ImprovementsAnalytics & Improvements controls whether your Mac automatically sends crash reports and usage analytics to Apple, and optionally to third-party app developers, to help them find and fix bugs. It's separate from location services and general privacy settings, focused specifically on diagnostic and usage data.
- Activity MonitorActivity Monitor is macOS's built-in tool for seeing exactly what's using your Mac's CPU, memory, energy, disk, and network resources in real time, broken down by individual app and process. It's the first place to look when the Mac feels slow, hot, or the fan is running loudly.
- Disk Utility First AidRun Disk Utility's First Aid tool to check a disk or volume for directory and file system errors and attempt automatic repair.
- Apple DiagnosticsUse Apple Diagnostics, launched at startup, to test your Mac's hardware components including memory, logic board, and battery for underlying issues.