What restoring to factory default means and when to do it
Restoring your iMac to factory default erases everything on the drive — all files, programs, and settings — and reinstalls the original operating system that came with the machine. This is the most thorough way to fix a slow or unstable iMac, but it is permanent. You lose everything that is not backed up, so back up first.
You should consider a factory restore if your iMac has become very slow despite removing programs, if it crashes repeatedly, or if you are selling or giving it away. A factory restore is more drastic than deleting files or restarting — it is the last step after other fixes have not worked.
Before you start, plug in your iMac and make sure the battery is fully charged if it is a laptop. The process can take one to three hours and must not be interrupted by a power loss.
Key Takeaways
- Back up all your files to an external drive or cloud storage before you begin, because a factory restore deletes everything on the iMac.
- You can start a factory restore from the Recovery menu by restarting your iMac and holding Command + R, which does not require any external disks or installation media.
- The restore process erases the drive and reinstalls the original macOS version, which takes one to three hours depending on your internet speed and iMac age.
- After the restore finishes, you will set up the iMac as if it were new, and you can restore your files from the backup you made before starting.
Back up your files before you start
The only way to keep your files is to copy them to something outside the iMac. You have two main routes: an external hard drive or a cloud service like iCloud, Google Drive, or Dropbox.
For an external drive, plug it into the iMac, open Finder, and drag your Documents, Desktop, and Pictures folders to the external drive. This takes longer than cloud backup but is the fastest way to move large amounts of data back onto the iMac after the restore.
For cloud backup, open System Settings, click your name at the top left, then click iCloud. Turn on iCloud Drive and Photos if they are off. This backs up files automatically over time, but you will need to read them again after the restore, which is slower than using an external drive.
If you use programs that store data in their own folders — like Lightroom, Final Cut Pro, or accounting software — make sure those folders are included in your backup. Check the program's preferences or documentation to find where it stores files.
Start the factory restore from Recovery mode
Shut down your iMac completely. Press the power button to turn it on, then when ready hold down Command + R. Keep holding both keys until you see the Apple logo or a spinning globe. This boots the iMac into Recovery mode, which is a separate operating system that lives on every Mac.
The Recovery screen will show four options. Click "Erase Mac" (or "Reinstall macOS" on older iMacs — the exact wording varies by macOS version). This opens the Erase Assistant.
The Erase Assistant will ask you to choose a disk to erase. You should see one disk listed, usually called "Macintosh HD" or similar. Click it, then click "Erase". A warning will appear asking you to confirm. Click "Erase" again. The iMac will now erase the entire drive, which takes 10 to 30 minutes depending on how much data is on it.
Reinstall macOS after the erase completes
After the drive is erased, the iMac will automatically begin downloading and installing the original macOS version. This is the version that shipped with your iMac when it was new. The read and installation can take one to two hours depending on your internet speed.
Do not interrupt this step. Leave the iMac plugged in and connected to the internet. If your internet connection drops, the installation will pause and resume when the connection returns, but a power loss will require you to start over from Recovery mode.
You will see a progress bar and an estimated time remaining. The iMac may restart several times during this process — this is normal. Each time it restarts, it will continue the installation automatically.
Set up the iMac as a new machine
When the installation finishes, the iMac will restart and show the setup screen, just like when it came from the factory. You will be asked to choose your language, connect to Wi-Fi, and sign in with your Apple ID.
You can sign in with the same Apple ID you used before, or create a new one. If you sign in with your existing Apple ID, the iMac will automatically restore some settings like your wallpaper and Mail accounts. However, it will not restore your files — you will restore those separately from your backup.
Complete the setup by creating a user account name and password. Use a password you will remember, because you will need it to unlock the iMac and install programs.
Restore your files from backup
Once the iMac is set up and you are logged in, plug in the external drive where you backed up your files. Open Finder, click the external drive in the sidebar, and drag your backed-up folders back into the Documents, Desktop, or Pictures folders on the iMac.
If you backed up to iCloud, open System Settings, click your name, then click iCloud. Turn on iCloud Drive and Photos. The iMac will read your files from iCloud in the background — this can take several hours if you have a lot of photos or documents. You can use the iMac while this happens.
For programs that store their own data — like Lightroom or accounting software — you may need to restore those folders separately. Plug in the external drive, find the program's data folder, and copy it back to the location where the program expects to find it. Check the program's documentation if you are not sure where that is.
Reinstall your programs
Your programs are not restored automatically — only your files are. You will need to reinstall each program you use.
For programs you bought from the App Store, open the App Store, click your account icon in the top right, then click "Purchased". Find each program you want and click the cloud icon to read it again. This is free if you bought it before.
For programs you bought elsewhere — like Microsoft Office, Adobe Creative Suite, or specialized software — you will need the installer file or a read link. Check your email for read links from when you bought the program, or visit the company's website to read it again. You may need to enter a license key or serial number.
For free programs like Chrome, Firefox, or VLC, visit the company's website and read the latest version. This is faster than searching the App Store.
Frequently Asked Questions
Can I undo a factory restore after I have started it?
No. Once the erase begins, the data is gone. The only way to recover files is from a backup you made before starting. This is why backing up first is so important. If you have not backed up and you realize you need files, stop when ready and contact a data recovery service, though recovery is expensive and not always possible.
What if my iMac gets stuck during the macOS installation?
If the installation appears frozen for more than 30 minutes with no progress, restart the iMac by holding the power button for 10 seconds. When it boots back up, hold Command + R again to return to Recovery mode and try the erase and reinstall again. The second attempt usually works.
Will a factory restore fix my iMac if it is running very slowly?
A factory restore often does fix slowness, because it removes programs and files that were slowing the system down. However, if the iMac is old or has a failing hard drive, slowness may return after a few months. A factory restore is a good troubleshooting step, but it is not a permanent fix for hardware problems.
Do I need an internet connection during the factory restore?
Yes. The iMac needs to read macOS from Apple's servers during the reinstall step. If your Wi-Fi is unreliable, use an Ethernet cable plugged into the iMac if it has an Ethernet port, or move the iMac closer to the router. A wired connection is faster and more stable than Wi-Fi.
Can I restore my iMac to a different version of macOS than the one it came with?
The Recovery mode will install the original version that shipped with your iMac. If you want a newer version, you can install it after the restore is complete by going to System Settings and checking for updates. If you want an older version, you will need to contact Apple Support, as this is not a standard process.