Use macOS Recovery on an Intel-based Mac
macOS Recovery is the built-in recovery system on your Mac.
You can use the apps in macOS Recovery on an Intel-based Mac to repair your internal storage device, reinstall macOS, restore your files from a Time Machine backup, set security options and more.
Reinstalling macOS requires an internet connection. To connect to the internet, you can use a wireless or wired network connection. If you’re trying to connect to Wi-Fi through a captive portal (for example, at a coffee shop, library or hotel) or an enterprise network, you might not be able to access the internet in macOS Recovery. See Connect to the internet using Wi-Fi.
Note: If you want to get your Mac ready to trade in, sell or give away, and your computer is an Intel-based Mac with an Apple T2 Security Chip, use Erase Assistant in macOS. To use Erase Assistant, start up your computer in macOS, choose Apple menu > System Settings, click General in the sidebar (you may need to scroll down), click “Transfer or Reset” on the right, click the Erase All Content and Settings button, then follow the onscreen instructions.
Apps available in macOS Recovery on an Intel-based Mac
The following apps are available in macOS Recovery on an Intel-based Mac:
Recovery: The Recovery app opens when your computer starts up in macOS Recovery. See Start up your Intel-based Mac in macOS Recovery and Quit macOS Recovery.
Time Machine System Restore: Restore your data from a Time Machine backup. In the Recovery app, select Restore from Time Machine, then click Continue. To return to the Recovery app, choose Time Machine System Restore > Quit Time Machine System Restore. See Use Time Machine to restore your files.
Install macOS: Reinstall macOS on your computer. In the Recovery app, select Reinstall macOS [name], then click Continue. To return to the Recovery app, choose Install macOS [name] > Quit Install macOS. See Reinstall macOS.
Safari: In the Recovery app, select Safari, then click Continue. To return to the Recovery app, choose Safari > Quit Safari. If you’re connected to the internet, you can use Safari to search for more information on the Apple Support website.
Disk Utility: Repair or erase your disk. In the Recovery app, select Disk Utility, then click Continue. To return to the Recovery app, choose Disk Utility > Quit Disk Utility. See Erase and reinstall macOS.
Startup Security Utility: Set the security policies for your Mac. In the Recovery app, choose Utilities > Startup Security Utility. To return to the Recovery app, choose Startup Security Utility > Quit Startup Security Utility. See Use Startup Security Utility to set a firmware password and Use Startup Security Utility to set secure boot options.
The options available in Startup Security Utility vary depending on your Mac model. See the Apple Support articles About Startup Security Utility on a Mac with the Apple T2 Security Chip and Mac computers with the Apple T2 Security Chip.
Startup Disk: Set the startup disk for your Mac. Choose Apple menu > Startup Disk. To return to the Recovery app, choose Startup Disk > Quit Startup Disk.
Terminal: In the Recovery app, choose Utilities > Terminal. To return to the Recovery app, choose Terminal > Quit Terminal.
You can also use macOS Recovery to do the following:
Start up your Intel-based Mac in macOS Recovery
Restart your Mac.
Immediately press and hold one of the following key combinations until you see the startup screen:
Command-R: Start up from the built-in macOS Recovery System. Use this key combination to reinstall the latest macOS that was installed on your system, or to use the other apps in macOS Recovery.
Option-Command-R: Start up from macOS Recovery over the internet. Use this key combination to reinstall macOS and upgrade to the latest version of macOS that’s compatible with your Mac.
Option-Shift-Command-R: Start up from macOS Recovery over the internet. Use this key combination to reinstall the version of macOS that came with your Mac or the closest version that’s still available.
If you see a lock, enter the password for your Mac.
If you have multiple volumes on your disk, select the volume you want to recover, then click Next.
If requested, choose an administrator account, click Next, enter the password for the account, then click Continue.
When the Recovery app appears in the menu bar, you can choose any of the available options in the window or the menu bar.
Connect to the internet using Wi-Fi
If the Wi-Fi menu icon (in the upper-right corner of the screen) contains one or more bars , Wi-Fi is turned on and connected to a wireless network. If the Wi-Fi menu icon doesn’t contain any bars , Wi-Fi is turned on but isn’t connected to a wireless network. If the Wi-Fi menu icon has a slash through it , Wi-Fi is turned off. Wi-Fi needs to be turned on before you can join a wireless network.
On your Mac, do any of the following:
Turn on Wi-Fi: Click the Wi-Fi menu icon, then choose Turn Wi-Fi On.
Turn off Wi-Fi: Click the Wi-Fi menu icon, then choose Turn Wi-Fi Off.
Join a network: Click the Wi-Fi menu icon, then choose a network. If requested, type the network’s password.
Join a closed network: Click the Wi-Fi menu icon, then choose Join Other Network. Enter the network’s name and, if requested, the network’s password.
Repair your internal storage device
If you have issues with your computer or if you started your computer and the macOS Recovery window appeared, you may need to repair your computer’s internal storage device (such as a solid-state drive (SSD)).
In the Recovery app, select Disk Utility, then click Continue.
In the Disk Utility app, choose View > Show All Devices.
In the sidebar, select a volume, then click the First Aid button .
In the First Aid dialogue, click Run, then follow the onscreen instructions.
When the First Aid process is complete, click Done.
Repeat steps 3 to 5 for each volume on the storage device.
In the sidebar, select a container, then click the First Aid button .
In the First Aid dialogue, click Run, then follow the onscreen instructions.
When the First Aid process is complete, click Done.
Repeat steps 7 to 9 for each container on the storage device.
In the sidebar, select the storage device, then click the First Aid button .
In the First Aid dialogue, click Run, then follow the onscreen instructions.
When the First Aid process is complete, click Done.
If Disk Utility can’t repair your disk, back up as much of your information as possible, then follow the instructions in Erase and reinstall macOS.
To return to the Recovery app, choose Disk Utility > Quit Disk Utility.
Use Time Machine to restore your files
If you previously created a Time Machine backup, you can restore your files from the backup.
Important: Only use your Time Machine backup to restore information to the computer that is the source of the backup. If you want to transfer information from this Mac to a new computer, quit macOS Recovery, restart your Mac, then use the Migration Assistant app in macOS.
If your backup is on a Time Capsule, make sure you’re connected to the internet.
In the Recovery app, select Restore from Time Machine, then click Continue.
In the Time Machine System Restore app, follow the onscreen instructions.
Use Startup Security Utility to set a firmware password
Setting a firmware password prevents your Mac from starting up from any internal or external storage device other than the startup disk you’ve selected unless the firmware password is entered. You can turn on, turn off or change the firmware password using Startup Security Utility.
When the firmware password is turned on, each time you start up from macOS Recovery or from a storage device other than the one selected in Startup Disk settings, you need to enter the firmware password.
After you restart your Mac, changes to the firmware password take effect.
In the Recovery app, choose Utilities > Startup Security Utility.
If requested, enter an administrator username and password.
Do any of the following:
Turn on the firmware password: Click Turn On Firmware Password, enter a new password, re-enter it to verify the password, then click Set Password.
Turn off the firmware password: Click Turn Off Firmware Password, enter the password, then click Turn Off Password.
Change the firmware password: Click Change Password, enter the old password, enter a new password and verify it, then click Change Password.
Click Quit Startup Security Utility.
Use Startup Security Utility to set secure boot options
Secure boot options are available only on Mac computers with the Apple T2 Security Chip.
After you restart your Mac, changes to the secure boot option take effect.
In the Recovery app, choose Utilities > Startup Security Utility.
Enter an administrator username and password.
Select a security option below Secure Boot.
Full Security: Ensures that only your current OS, or signed operating system software currently trusted by Apple, can run. This mode requires a network connection at software installation time.
Medium Security: Allows any version of signed operating system software ever trusted by Apple to run.
No Security: Does not enforce any requirements on the bootable operating system.
Select a boot option below Allowed Boot Media.
Disallow booting from external or removable media: Restricts the ability to boot from any device not protected by the Apple T2 Security Chip, such as USB and Thunderbolt drives or internally connected PCIe or SATA drives.
Allow booting from external or removable media: Does not restrict the ability to boot from any devices.
Choose Startup Security Utility > Quit Startup Security Utility.
Reinstall macOS
Under some circumstances, you may need to reinstall macOS. You can reinstall macOS while keeping your files and user settings intact.
Make sure you’re connected to the Internet.
In the Recovery app, click Reinstall macOS [name], then click Continue.
Follow the onscreen instructions.
Important: When you’re asked to select a disk, select your current macOS disk (in most cases, it’s the only one available).
Erase and reinstall macOS
If you erase and reinstall macOS, your user accounts, network settings, and all the files and folders on your Mac are deleted. Before you erase macOS, attempt to log back in to your system, then back up any files you want to keep by copying them to another storage device. Also, write down your network settings from Network settings to make it easier to get connected again after reinstalling macOS.
Make sure you’re connected to the Internet.
In the Recovery app, click Disk Utility, then click Continue.
In Disk Utility, select the volume you want to erase in the sidebar, then click the Erase button in the toolbar.
Type a name for the volume in the Name field.
Click the Format pop-up menu, choose APFS, then click Erase Volume Group.
When the erase process is complete, click Done, then choose Disk Utility > Quit Disk Utility.
In the Recovery app, click Reinstall macOS [name], click Continue, then follow the onscreen instructions.
View the recovery log
The recovery log contains messages logged by macOS Recovery. You can specify the types of message to view, filter messages to search for specific text and save the recovery log to a file.
In the Recovery app, choose Window > Recovery Log.
Click the Detail Level pop-up menu, then choose which messages to display:
Show Errors Only: Choose this option to display only error messages.
Show Errors and Progress: Choose this option to display error messages and progress messages.
Show All Logs: Choose this option to display all messages.
To filter messages, type the text you want to search for in the Filter field.
To save the recovery log, click the Save button, choose a location for the file, then click Save.
When you’ve finished viewing the recovery log, click the Close button in the top-left corner of the window.
Create a recovery diagnostics file
If you file a problem report using Feedback Assistant, you may be asked to provide a recovery diagnostics file. You can create the file and save it to an external storage device.
Connect an external storage device to your Mac.
Press Control-Option-Shift-Command-Period.
After the screen flashes, wait a few moments until a dialogue appears.
Use the dialogue to save the recovery diagnostics file to a location on your external storage device.
Quit macOS Recovery
Your Mac restarts automatically while restoring your system from Time Machine or reinstalling macOS. In other cases, you need to quit macOS Recovery manually (for example, if you want to back up your files before reinstalling macOS, or if you just changed a setting using Startup Security Utility).
On your Mac, do one of the following:
Restart your Mac: Choose Apple menu > Restart.
Choose a different startup disk before restarting your Mac: Choose Apple menu > Startup Disk, select a startup disk, then click Restart.
Shut down your Mac: Choose Apple menu > Shut Down.