macOS

How to reinstall macOS on a MacBook step by step

You can reinstall your Mac from macOS Recovery without losing files or erase it before selling it. Here are the steps for Apple silicon and Intel plus a checklist.

FixLabReading 5 min

Thin laptop on a cafe table
Laptop before reinstalling the system

To reinstall macOS on a MacBook, start your Mac in macOS Recovery, select the option to reinstall macOS in the Utilities window, and wait for the installation to finish. Apple notes that your apps and personal data aren't deleted in the process, but recommends making a backup beforehand. If you need to sell your Mac, you'll need to erase it instead, which is a different task.

How reinstalling differs from erasing

Reinstalling sets up the operating system fresh over your current one. Erasing removes all content, returning the computer to its factory state. If you want to fix system glitches, you need a reinstall. For selling, giving away, or starting with a clean slate, you need an erase.

Which action to choose
TaskWhat to doData
System is glitchingReinstall from macOS RecoveryKept
Selling your MacErase All Content and SettingsDeleted
No such option in settingsErase in macOS RecoveryDeleted
System won't bootmacOS Recovery, reinstallKept

Even if you're only reinstalling the system, you still need a backup: Apple advises creating one before installing. Don't erase anything until you have a backup.

What to do before you start

Time Machine makes the backup: connect an external drive, open System Settings, find the Time Machine settings, and click Add Backup Disk. Apple clarifies that Time Machine doesn't save system files or apps that came installed with macOS. A backup made on macOS 12 or newer can only be restored to a Mac with macOS 11 or newer. Other backup methods are described in our guide on how to back up.

Before reinstalling

USB-C cable in a laptop port and an external drive
Connecting an external drive for a backup

How to reinstall macOS on a MacBook step by step

First, you need to enter macOS Recovery. The method depends on your processor. You can find out what you have from the Apple menu under About This Mac: it shows either an Apple chip or an Intel processor.

  1. Apple silicon. Shut down your Mac. Press and hold the power button until the startup options window and the Options button appear. Click Options, then click Continue. If prompted by the system, select an administrator account and enter the password.

  2. Intel. Turn on or restart your Mac and immediately hold Cmd+R until the macOS Recovery window appears. This installs the current version of macOS.

  3. Intel, another version. Option+Cmd+R over the internet will most likely install the latest macOS version compatible with your Mac. Shift+Option+Cmd+R will most likely install the version your Mac shipped with, or the closest one available.

  4. In the Utilities window, select the option to install or reinstall macOS and click Continue. Then follow the onscreen instructions.

  5. If the installer asks to unlock the drive, enter your login password. When you need to select a volume, choose "Macintosh HD", not "Data".

  6. Wait for it to finish. The Mac will restart several times, and the screen may stay black for a few minutes.

How to erase a MacBook before selling it

On a Mac with Apple silicon, or an Intel Mac with the Apple T2 Security Chip running macOS 12 or later, there's a built-in feature. Open "System Settings" → "General" → "Transfer or Reset" → "Erase All Content and Settings" and enter the administrator password.

This feature removes all content, settings, installed apps, all volumes, and all user accounts, not just yours. It signs out of Apple services like iCloud, and turns off Find My and Activation Lock. After erasing, the Mac launches Setup Assistant: for a sale, don't enter anything in it, let the new owner complete setup, and turn off the computer.

If there's no such option in settings or it doesn't work, Apple explains how to erase using Recovery Mode and Disk Utility in a separate article on support.apple.com.

Hands resting on a closed laptop on a sofa
Laptop prepared for erasing before handoff
External drive, cable, charger, and screwdriver on a mat
Everything needed for a backup and reinstallation

Installation won't proceed: no internet, drive not visible, error

Installing from Recovery Mode requires broadband internet over Wi-Fi or Ethernet with DHCP. If the installer doesn't see the drive, open Disk Utility from the Recovery Mode window as Apple recommends, but remember: erasing the startup drive deletes everything on it.

If Disk Utility also can't see the drive or can't erase it, Apple notes that the Mac may need service. Reinstalling won't help here: you need diagnostics first. Other MacBook issues are gathered on the MacBook problems page.

What you can do yourself

  • The Mac turns on and enters Recovery Mode
  • You have a Time Machine backup and home internet
  • You need to sell or hand over a Mac with Apple silicon or a T2 chip

Better to call a technician

  • The Mac won't enter Recovery Mode
  • The installer and Disk Utility don't see the drive
  • Important data is only on this Mac, and it won't boot
  • The installation aborts and returns to the same window

Frequently asked questions

Will files be erased when reinstalling macOS?
According to Apple, reinstalling from Recovery Mode doesn't delete apps or personal data. Make a backup beforehand anyway.
Which version of macOS will Cmd+R install on Intel?
The currently installed one. For the latest compatible version, people usually use Option+Cmd+R over the internet.
Do you need to sign out of Apple ID before selling?
The Erase All Content and Settings feature automatically signs out of Apple services and turns off Find My. Check this in the assistant window before erasing.
Installation won't start without internet. What should I do?
To install from Recovery mode, you'll need an internet connection via Wi-Fi or Ethernet. Connect to your home network and try again.

Contact

Tell us what broke

Describe the problem: a technician tells you what to do next and quotes the price before any work starts.

  • Daily 10:00-21:00
  • Price agreed before any work starts
Request