What a complete reset does and when you need one
A complete reset of your Mac wipes the hard drive, removes all your files and settings, and reinstalls the operating system from scratch. This is different from restarting your computer — a restart just turns it off and back on. A reset erases everything.
You might reset your Mac before selling it, giving it away, or handing it to someone else. You might also reset it if malware has infected the system so deeply that normal removal tools cannot reach it, or if your Mac has become so slow or unstable that nothing else has fixed it. A reset is also the most thorough way to remove your personal data if you are concerned about recovery tools pulling files from the drive after you delete them normally.
Before you reset, understand that this action cannot be undone. Every photo, document, email, password, and setting will be gone. Back up anything you want to keep to an external drive or cloud storage first.
Key Takeaways
- Back up all your files to an external drive or cloud service before starting, because a reset erases everything on your Mac permanently.
- Sign out of your Apple ID and iCloud before resetting, or you may lock yourself out of the Mac after the reset completes.
- The reset process takes 30 minutes to several hours depending on your Mac model and internet speed, and your Mac will restart multiple times.
- After the reset finishes, your Mac will boot into the setup screen as if it were brand new, and you can choose not to restore any of your old data.
Back up your files before you start
Connect an external hard drive or USB drive to your Mac. Open Finder, click on the drive in the sidebar, and drag your important folders into it — Documents, Desktop, Photos, and any other folders holding files you want to keep. This takes time if you have a lot of data, so plan for it.
Alternatively, use Time Machine, which is built into macOS. Go to System Settings, click General, then Time Machine, and turn it on. Select your external drive as the backup destination. Time Machine will back up your entire Mac automatically, and you can restore from that backup later if you change your mind about what you deleted.
If you use cloud storage like iCloud, Google Drive, or Dropbox, those files are already backed up as long as they are stored in the cloud folder on your Mac, not just on your desktop. Check that syncing is complete before you reset.
Sign out of Apple ID and iCloud
Go to System Settings and click on your name at the top of the sidebar. Scroll down and click Sign Out. You will be asked whether to keep a copy of your iCloud data on this Mac — choose No, because you are about to erase the drive anyway. Enter your Apple ID password when prompted.
This step is critical. If you do not sign out before resetting, your Mac will ask for your Apple ID password after the reset completes, and you may not be able to proceed if you forget the password or no longer have access to that account. Signing out first prevents that lock.
Erase the drive and reinstall macOS
Restart your Mac and hold down Command + R as soon as it starts up. Keep holding until you see the Apple logo or a spinning globe. This boots your Mac into Recovery Mode, a special environment that exists outside your main operating system.
In Recovery Mode, you will see a macOS Utilities window. Click Disk Utility, then click Continue. In the sidebar on the left, select your main drive — usually called Macintosh HD. Click the Erase button at the top, give the drive a new name if you want, and confirm. This wipes everything on the drive.
After erasing, close Disk Utility and return to the Utilities window. Click Reinstall macOS and follow the prompts. Your Mac will read the operating system from Apple's servers — this can take 20 minutes to an hour depending on your internet speed — and then install it. Your Mac will restart several times during this process. Do not turn it off.
Complete the setup and choose what to restore
When the installation finishes, your Mac will boot into the Setup Assistant, the same screen you see when a new Mac comes out of the box. You will be asked to select your language, connect to Wi-Fi, and agree to terms. You can skip most of these steps by clicking the back arrow or Continue without signing in.
When you reach the screen asking whether to restore from a backup or set up as a new Mac, choose Set Up as a New Mac. This prevents your old files, settings, and any malware from being restored. If you backed up your files to an external drive, you can copy them back manually after setup is complete, choosing only the folders you want.
If you used Time Machine and want to restore specific files later, you can do that without restoring the entire backup. Open Finder, hold Command + Option, and click Go in the menu bar. Select Enter Time Machine. Browse to the date of your backup, find the files you want, and restore them individually.
Verify the reset is complete
After setup finishes and you reach the desktop, open System Settings and check that your Apple ID is not signed in. Go to Privacy & Security and confirm that FileVault (the Mac's encryption tool) shows as Off — it will turn back on automatically if you sign into iCloud later, but it should be off right now.
Open Finder and look at the drive capacity. Go to the Apple menu, click About This Mac, and select Storage. The used space should be much smaller than before, usually 10 to 15 gigabytes for a fresh macOS installation. If the used space is still large, something did not erase properly.
If the reset fails or gets stuck
If your Mac gets stuck during the reinstall, restart it by holding the power button for 10 seconds, then try again. Boot back into Recovery Mode with Command + R and try erasing the drive a second time.
If you cannot boot into Recovery Mode, or if the erase fails repeatedly, your drive may have a hardware problem. In that case, you may need to take your Mac to an Apple Store or a certified repair shop. They can run diagnostics and replace the drive if necessary.
If you are resetting because of malware and you are not confident the reset worked, consider taking the Mac to a professional. They can scan it after the reset to confirm the malware is gone.
Frequently Asked Questions
Can I reset my Mac without losing my files?
No. A complete reset erases everything. If you want to keep your files, back them up to an external drive or cloud storage first, then restore them after the reset. You can also use Time Machine to back up your entire Mac and restore specific files later without restoring everything.
How long does a complete reset take?
The entire process usually takes 30 minutes to two hours, depending on your Mac model, internet speed, and how much data was on the drive. The read and installation of macOS is the slowest part. Do not turn off your Mac during this time.
What if I forget my Apple ID password before signing out?
If you cannot sign out before resetting, your Mac will ask for the password after the reset. If you do not remember it, go to iforgot.apple.com on another device and reset your password, then use the new password on your Mac. If you no longer have access to that Apple ID account, contact Apple Support.
Do I need to reinstall my programs after a reset?
Yes. A reset removes all programs except those built into macOS. You will need to read and install any third-party software again. If you have the installer files or read links saved, gather them before you reset.
Is a reset the same as erasing my Mac through System Settings?
No. System Settings has an Erase All Content and Settings option, but it is less thorough than a full reset through Recovery Mode. For maximum security, especially before selling or giving away your Mac, use the Recovery Mode method described here.