What restoring to factory settings means on a Mac

Restoring your Mac to factory settings wipes your hard drive and reinstalls the operating system that came with your machine when it left the factory. This removes all your files, apps, and settings. On a Mac, this process is called erasing and reinstalling macOS, and it is different from a straightforward restart or backup — it is a complete reset.

You might do this if your Mac is running slowly, you are selling it, you want to start fresh after malware, or you are troubleshooting a problem that won't go away. Before you start, understand that this action cannot be undone unless you have a backup. Your data will be gone.

Key Takeaways

  • Back up your entire Mac using Time Machine or another backup method before you erase anything, because the reset will delete all your files.
  • On Intel Macs, restart into Recovery Mode by holding Command + R, then use Disk Utility to erase the drive and Reinstall macOS from the Recovery menu.
  • On Apple Silicon Macs (M1, M2, M3), the process is similar but you may need to erase from the startup options screen instead of Recovery Mode.
  • The reinstall downloads macOS from Apple's servers and can take one to three hours depending on your internet speed and Mac age.
  • After the reset completes, your Mac will restart and ask you to set up as a new user, just like when it was new.

Back up your Mac before you start

Do not skip this step. Once you erase your drive, the only way to get your files back is from a backup made before the erase. The easiest way is Time Machine, which is built into macOS. Plug in an external hard drive (at least as large as your current drive), open System Settings, go to General > Time Machine, and click "Add Backup Disk". Select your external drive and let Time Machine run until it shows a recent backup date.

If you do not have an external drive, you can also back up to iCloud by going to System Settings > [Your Name] > iCloud and turning on iCloud Drive. This is slower for large amounts of data, but it works. You can also use a cloud service like Google Drive or Dropbox to back up your most important files.

Once your backup is complete and you can see a recent date in Time Machine or your cloud service, you are ready to proceed.

How to erase and reinstall on an Intel Mac

Shut down your Mac completely. Then turn it back on and when ready hold down Command + R until you see the Apple logo or a spinning globe. This boots your Mac into Recovery Mode, which is a separate operating system stored on your drive just for repairs and reinstalls.

When Recovery Mode finishes loading, you will see a window with four options. Click Disk Utility. In the next window, select your main drive (usually called "Macintosh HD" or your Mac's name) from the left sidebar. Click the Erase button at the top. A dialog will ask for a name and format — you can keep the default name or type a new one. Make sure the format is set to APFS (or Mac OS Extended if your Mac is very old). Click Erase again to confirm.

Disk Utility will erase your drive, which takes a few minutes. When it finishes, close Disk Utility and you will return to the Recovery Mode window. Click Reinstall macOS (or "Reinstall OS X" on older Macs). Follow the prompts to read and install the operating system. This can take one to three hours depending on your internet speed. Your Mac will restart several times during this process — let it finish without interrupting.

How to erase and reinstall on an Apple Silicon Mac

Apple Silicon Macs (M1, M2, M3, and newer) have a slightly different process because they use a different startup system. Shut down your Mac completely. Then turn it back on and hold down the power button (not Command + R) until you see "Loading startup options".

When the startup options screen appears, you will see your main drive and a gear icon labeled "Options". Click the gear icon, then click Continue. You will be asked to sign in with your Apple ID — this is a security step to prevent unauthorized erasing. Enter your credentials.

Once signed in, you will see the Recovery Mode window. Click Erase Mac (not Disk Utility). Choose your drive, confirm the format is APFS, and click Erase. When that finishes, click Reinstall macOS and follow the prompts. Like Intel Macs, this takes one to three hours and your Mac will restart multiple times.

What happens after the reinstall completes

When macOS finishes reinstalling, your Mac will restart and show the setup screen — the same one you saw when the Mac was brand new. You will be asked to choose your language, connect to Wi-Fi, and sign in with your Apple ID. You can set up as a new user or, if you have a Time Machine backup, you can choose to restore from that backup during setup.

If you choose to restore from backup, Time Machine will copy your files, apps, and settings back onto your Mac. This can take several hours depending on how much data you have. If you set up as a new user, you will have a blank Mac and can manually copy files back from your backup or cloud storage later.

After setup is complete, your Mac will be in the same state it was when it left the factory — clean, with no old files or settings. You can then reinstall your apps from the App Store or by downloading them from their websites.

When to call Apple Support instead

If your Mac will not start up at all, or if you cannot get into Recovery Mode even after holding the correct keys, do not keep trying. Contact Apple Support or visit an Apple Store. If your drive is physically damaged, a factory reset will not help and you may need drive replacement.

If you are selling your Mac and want to make sure no personal data remains, a factory reset is the right choice. However, if you are doing this because your Mac is running slowly, try these steps first: restart your Mac, check Activity Monitor for apps using too much CPU or memory, and delete apps you no longer use. Sometimes a reset is not necessary.

Frequently Asked Questions

Can I undo a factory reset if I change my mind?

Only if you have a backup made before the erase. If you do, you can restore from Time Machine during the setup process or afterward by opening Time Machine and selecting an older backup date. Without a backup, your data is permanently gone.

Do I need my Apple ID password to reset an Apple Silicon Mac?

Yes. Apple Silicon Macs require you to sign in with your Apple ID during the erase process as a security measure. If you forget your password, you can reset it at iforgot.apple.com before you start the erase.

How long does a factory reset take?

The erase itself takes a few minutes, but downloading and installing macOS takes one to three hours depending on your internet speed and how old your Mac is. Older Macs read slower. Plan for at least two hours and do not unplug your Mac or disconnect from Wi-Fi during this time.

Will a factory reset remove malware?

Yes. Because a factory reset erases your entire drive and reinstalls a clean copy of macOS, any malware on your Mac will be removed. However, if malware is on an external drive or in cloud storage, it will still be there — only your Mac's internal drive is cleaned.

What if I want to keep some files but reset everything else?

You cannot selectively reset — a factory reset erases everything. Instead, manually back up the files you want to keep to an external drive or cloud storage, then do the reset. After setup, copy those files back onto your Mac.