What a complete reset does and when you need one
A complete reset of your MacBook wipes everything — your files, apps, settings, and user accounts — and reinstalls macOS from scratch. This is different from restarting your Mac, which just closes and reopens the operating system while keeping your data intact.
You might want a complete reset if you're selling or giving away your Mac, if it's running so slowly that basic troubleshooting hasn't helped, or if you suspect malware that you can't remove through normal means. A reset is also useful if you've inherited someone else's Mac and want a clean slate without their accounts and files.
Before you reset, understand that this process is permanent. Everything on your drive will be gone unless you've backed it up first. If you have files you want to keep, use Time Machine or copy them to an external drive before you start.
Key Takeaways
- Back up your entire Mac using Time Machine or by copying files to an external drive before you begin, because a reset deletes everything.
- Sign out of iCloud, Apple ID, and Find My Mac before starting the reset, or you may be locked out of your Mac afterward.
- The reset process uses macOS Recovery, which you reach by restarting your Mac and holding Command + R (or Command + Option + R for older versions).
- After the reset completes and macOS reinstalls, you can restore your files from a Time Machine backup if you created one.
Back up your Mac before you do anything else
The safest way to back up is Time Machine, Apple's built-in backup tool. Plug in an external hard drive or SSD, open System Settings, click General, then Time Machine, and select your drive. Time Machine will back up your entire Mac automatically. The first backup takes a while — usually an hour or more depending on how much data you have — so start this before you plan to reset.
If you don't have an external drive, you can copy important files to a cloud service like iCloud Drive, Google Drive, or Dropbox. This won't back up your apps or system settings, but it will preserve your documents, photos, and other files. Open Finder, go to iCloud Drive (or your cloud service folder), and drag your files there.
If you're resetting because you're selling the Mac and don't need your files back, you can skip the backup. But if there's any chance you'll want something later, back up now. You cannot recover files after a reset.
Sign out of iCloud and Find My Mac
Before you reset, you need to remove your Apple ID and iCloud account from the Mac. If you don't, the Mac will ask for your Apple ID password after the reset completes, and you won't be able to use it until you provide the correct password. This is a security feature called Activation Lock.
Open System Settings and click your name at the top of the sidebar. Scroll down and click "Sign Out". You'll be asked whether to keep a copy of your iCloud data on the Mac — choose "Keep a Copy" if you want to preserve that data, or "Don't Keep" if you're giving the Mac away. You'll also need to enter your Apple ID password to confirm.
While you're in System Settings, also turn off Find My Mac. Click your name, then "iCloud", then uncheck "Find My Mac". This removes the Mac from your Find My network so the next owner won't see it tied to your account.
Restart into macOS Recovery
Shut down your Mac completely. Press the power button to turn it on, then immediately hold down Command + R. Keep holding until you see the Apple logo or a spinning globe. This takes you into macOS Recovery, a special mode that lets you erase and reinstall the operating system.
On newer Macs with Apple Silicon chips (M1, M2, M3, and later), hold the power button instead of Command + R. You'll see startup options appear on the screen — click "Options", then "Continue".
If you're not sure which Mac you have, go to the Apple menu before you reset and click "About This Mac". Look for "Chip" — if it says M1, M2, M3, or any number with an M, use the power button method. If it says Intel, use Command + R.
Erase your drive and reinstall macOS
Once you're in Recovery, you'll see a menu with several options. Click "Disk Utility", then select your main drive (usually called "Macintosh HD" or similar). Click the "Erase" button at the top. A dialog will appear asking for a name and format — you can keep the default name or type a new one. Make sure the format is "APFS" (the modern format for newer Macs) or "Mac OS Extended" (for older ones). Click "Erase" to confirm.
This step deletes everything on your drive. It usually takes a few minutes. When it's done, close Disk Utility and you'll return to the Recovery menu.
Now click "Reinstall macOS" (or "Reinstall OS X" on older Macs). The installer will download and install the version of macOS that came with your Mac originally. This can take 20 minutes to an hour depending on your internet speed. Your Mac will restart several times during this process — let it finish without interrupting.
Set up your Mac after the reset
When the installation finishes, your Mac will restart and show the setup screen. You'll be asked to choose your language, connect to Wi-Fi, and sign in with an Apple ID. You can use your own Apple ID or create a new one, or skip this step and set it up later.
If you backed up your Mac with Time Machine, you can restore your files and settings now. The setup screen will ask if you want to restore from a backup — plug in your backup drive and select it. This copies all your files, apps, and settings back onto the Mac. Restoration takes time depending on how much data you have.
If you didn't use Time Machine but saved files to the cloud, sign into that service (iCloud, Google Drive, Dropbox) and download your files after setup is complete.
Troubleshooting if something goes wrong
If your Mac gets stuck during the macOS reinstall, force it to shut down by holding the power button for 10 seconds, then try again. Restart into Recovery the same way you did before and try the reinstall once more.
If you see a message saying you need an internet connection, make sure you're connected to Wi-Fi. Recovery needs to download macOS, so a weak or unstable connection can cause problems. Move closer to your router or use a wired connection if possible.
If you forgot your Apple ID password and can't sign out before the reset, you'll be locked out after the reset completes. Go to iforgot.apple.com on another device to reset your password, then use the new password to unlock your Mac.
Frequently Asked Questions
Can I reset my Mac without losing my files?
Not with a complete reset — that process erases everything. If you want to keep your files, use Time Machine to back them up first, then restore from that backup after the reset. Alternatively, if you just want to clean up your Mac without erasing it, restart and hold Command + R, but choose "Reinstall macOS" without using Disk Utility to erase first — this keeps your files but removes corrupted system files.
How long does a complete reset take?
The entire process usually takes one to three hours, depending on your internet speed and how much data you have. The macOS download and installation takes the longest. If you're restoring from a Time Machine backup afterward, add extra time for that — large backups can take several more hours.
What if I'm selling my Mac and the buyer needs to set it up?
After you complete the reset and reinstall macOS, your Mac will show the setup screen. You can stop there and hand it to the buyer, who can then create their own Apple ID and set everything up. Don't create a user account or sign into iCloud yourself — let the new owner do that so they have full control.
Will a reset remove viruses or malware?
A complete reset will remove most malware because it erases everything and reinstalls a clean copy of macOS. However, if malware is on an external drive or in a cloud account, it could come back when you restore files. If you suspect malware, restore only specific files you know are safe rather than restoring your entire backup.
Can I undo a reset after I've started it?
Once you've erased your drive in Disk Utility, you cannot undo it. If you realize you've made a mistake before you click "Erase", force shut down your Mac by holding the power button and restart normally — your files will still be there. After you've erased, your only option is to restore from a Time Machine backup if you created one.