What a factory reset does and when you need one
A factory reset wipes your Mac completely and reinstalls the original operating system, removing all your files, programs, and settings. This is different from restarting — it erases the entire drive and returns the machine to the state it left the factory. You would do this if you are selling the computer, giving it away, handing it to another person in your household, or trying to fix a serious software problem that won't respond to simpler fixes.
Before you start, understand that this action cannot be undone. Every photo, document, email, and program will be gone. Back up anything you want to keep first — use Time Machine, iCloud, or copy files to an external drive. The reset itself takes 30 minutes to several hours depending on your Mac's age and speed.
Key Takeaways
- Back up all your files before starting, because a factory reset erases everything on your Mac permanently.
- On newer Macs with Apple Silicon chips (M1, M2, M3), you erase the drive through System Settings, then reinstall macOS from Recovery Mode.
- On older Intel-based Macs, you restart into Recovery Mode, erase the drive, and reinstall the operating system from there.
- The process requires your Apple ID password and can take one to three hours from start to finish.
- If you plan to sell or give away the Mac, sign out of iCloud and remove it from your Apple ID account after the reset completes.
How to reset an Apple Silicon Mac (M1, M2, M3, M4)
On newer Macs with Apple Silicon chips, the reset process starts in System Settings rather than Recovery Mode. Open System Settings, click General in the left sidebar, then scroll down and click Transfer or Reset. You will see an Erase All Content and Settings button — click it.
The Mac will ask for your Apple ID password and may ask for your login password as well. Enter both when prompted. The computer will then erase the drive, which takes 10 to 20 minutes. When it finishes, the Mac will restart and show the setup screen, just as if it were brand new. You can then set it up as a new computer or leave it for someone else to configure.
If you cannot access System Settings because you forgot your password, restart the Mac and hold Command + Q when ready after the startup sound to enter Recovery Mode, then follow the Intel Mac instructions below.
How to reset an Intel-based Mac
Shut down your Mac completely. Turn it back on and when ready hold Command + R until you see the Apple logo or a spinning globe. This takes you into Recovery Mode. Once the macOS Utilities window appears, click Disk Utility.
In Disk Utility, select your main drive (usually called Macintosh HD) from the left sidebar. Click the Erase button at the top. A dialog will appear asking for a name — you can leave it as Macintosh HD or change it. Make sure the format is set to APFS (or Mac OS Extended if your Mac is very old). Click Erase and confirm. The drive will be wiped, which takes 5 to 15 minutes.
When erasing finishes, close Disk Utility and you will return to macOS Utilities. Click Reinstall macOS, then Continue. The Mac will read and install the operating system — this is the longest part and can take 1 to 2 hours depending on your internet speed. When it finishes, the Mac will restart and show the setup screen.
What to do after the reset is complete
When your Mac restarts after the reset, you will see the setup assistant asking you to choose a language and region. If you are keeping the Mac, go through setup normally and sign in with your Apple ID. If you are giving it to someone else or selling it, do not sign in — let them do that when they receive it.
If you already signed in during setup and now want to remove the Mac from your Apple ID account (important before selling or giving it away), go to System Settings, click your name at the top, scroll down, and click Remove This Mac. You will need your Apple ID password. This step prevents the next owner from being locked out by your account.
Troubleshooting a stuck or failed reset
If your Mac gets stuck during the erase or reinstall, force it to shut down by holding the power button for 10 seconds, then try again. If it keeps failing at the same point, restart into Recovery Mode again and try erasing a second time — sometimes the first attempt does not complete fully.
If you see an error message about not being able to erase because the drive is locked, it usually means FileVault (Mac's encryption) is still active. Restart into Recovery Mode, open Disk Utility, select your drive, and look for a lock icon. If you see one, you may need to unlock it with your password before erasing. If you do not remember your FileVault password, you will need to contact Apple Support, as the drive cannot be erased without it.
If the Mac will not start into Recovery Mode, try restarting and holding Command + Option + R instead, which downloads Recovery Mode from Apple's servers rather than using the local copy. This takes longer but works if the local Recovery partition is damaged.
Alternatives if you want to keep your setup
If you want to start fresh without erasing everything, consider a clean install instead. This reinstalls macOS while keeping your files and settings. Go to System Settings, General, Software Update, and install the latest macOS version — this often fixes performance problems without the full wipe.
If a specific program is causing problems, you can uninstall just that program by dragging it to the Trash from Applications, then emptying the Trash. This is much faster than a full reset and solves most software issues. Restart your Mac after uninstalling to make sure the problem is gone.
Frequently Asked Questions
Do I need an internet connection to reset my Mac?
Yes. During the reset, your Mac will need to read and reinstall macOS, which requires a stable internet connection. If you do not have Wi-Fi, connect an Ethernet cable to your Mac using a USB adapter. The read can be 10 to 15 gigabytes, so a wired connection is faster and more reliable than Wi-Fi.
Can I reset my Mac if I forgot my password?
Yes, but it is more complicated. Restart into Recovery Mode (Command + R), open Terminal from the Utilities menu, and type resetpassword to launch the password reset tool. You can then create a new password and proceed with the reset. If that does not work, you will need to contact Apple Support with proof of ownership.
How long does a factory reset actually take?
The erase itself takes 10 to 20 minutes. Downloading and reinstalling macOS takes 1 to 2 hours depending on your internet speed and Mac age. Plan for 2 to 3 hours total from start to finish, longer if your internet is slow.
What if I need my files back after I reset?
If you backed up with Time Machine before the reset, you can restore from that backup during setup — the setup assistant will offer this option. If you did not back up, recovery is possible but difficult and may require paid data recovery software. Back up before you reset.
Do I need to remove my Apple ID before selling my Mac?
Yes. After the reset completes and you sign in, go to System Settings, click your name, scroll down, and click Remove This Mac. This removes the Mac from your Apple ID account so the new owner can set up their own account without being blocked by yours.