How to Wipe a MacBook Air

Reset your MacBook and clear your data back to factory defaults

Man sitting on couch at home using laptop

Westend61/Getty Images

Whether you are looking to sell your MacBook Air and want to wipe its data for your security, or just want to start over with a fresh installation of macOS, follow this tutorial to clear all data off your computer.

After wiping your computer of its data by resetting your machine to factory default setting and setting up like new or leaving the you will have the option to reinstall macOS if desired or to leave the machine completely blank.

This process will erase all data on your computer — this includes, but is not limited to, files, photos, videos, and programs. Follow the backup procedure below to make a copy of your data before continuing.

Backing Up Your MacBook Air

Before you begin wiping your MacBook Air, you will want to back up any data on the machine so that you have a duplicate. Any data remaining on the laptop when we begin the procedure will be permanently lost. Follow these steps to backup your MacBook to an external storage device using Time Machine (which is already installed on your Mac):

Screenshot of Apple Time Machine
  1. Begin by plugging in an external storage device to your MacBook Air's USB port.

    When purchasing an external drive for backup purposes, ensure the drive has enough capacity to cover your internal drive.

  2. Open System Preferences on your Mac.

  3. Click on Time Machine.

    Time Machine Option
  4. Select the Choose Backup Disc or Select Disk option.

  5. Choose your USB storage device and press Use Disk.

  6. On the next screen, select the Save option.

Within a few minutes, the backup process will begin. Your first backup may take a few hours or more depending on how much data is on your machine. Check back in the Time Machine preference pane to confirm when Time machine has finished its first backup — it will note when its latest backup completed. For more information, check out our detailed tutorial on using Time Machine.

Sign Out of iCloud on Your MacBook

Before you wipe your MacBook Air, it is a good idea to sign out of iCloud, and services such as Find My iPhone. If you don't sign out of said features, future users may be prompted for your login information. Follows these steps to easily log out of iCloud on your device:

Screenshot Sign Out of iCloud
  1. Open System Preferences on your Mac.

  2. Select iCloud.

  3. Click the Sign Out button.

    You might be prompted to enter your password when signing out of iCloud.

  4. When the dialog asks whether you wish to keep a copy of your iCloud data, select the Keep a Copy option as we will be erasing all data shortly.

Wiping Your MacBook Air Without Reinstalling macOS

Once you have confirmed that your data is backed up to an external storage device, you can begin erasing your MacBook Air's internal storage of all information. Follow these instructions to begin the process if you want to erase the machine and not reinstall macOS:

Wiping Your MacBook Air

The following steps will completely erase your MacBook's internal storage device; all data and information will be lost.

  1. Begin by shutting down your Mac from the Apple menu or by pressing the power button once on your keyboard.

  2. Once your computer is completely off, hold down the Command and R keys on your MacBook's keyboard simultaneously.

    Command + R
  3. Without letting go of any previous keys, turn on your MacBook Air.

  4. Once you see the Apple logo or a Spinning Globe on screen, you can let go of the Command and R keys.

  5. Allow the computer to start up into Recovery Mode, you can proceed once you are presented with the macOS Utilities window.

  6. Within the macOS Utilities window select the Disk Utility option.

  7. Under the View menu option, select Show All Devices.

    Show All Devices
  8. Below the View menu button are the drives attached to your machine. Select your primary drive; it contains Macintosh HD within it.

  9. Once your drive is selected, select the Erase button.

  10. In the Erase window, leave all settings as is and click the Erase button.

  11. Restart your Mac. If successfully erased, your machine will turn on to a flashing question mark in a folder icon.

Wiping Your MacBook Air and Reinstalling macOS

If you are simply cleaning out your machine to start from scratch or are selling/gifting the unit to another individual, you will want to erase it and reinstall macOS, so that the computer is usable. If done successfully, Mac's software will appear as it did when you first unboxed the unit.

Screenshot of macOS Mojave
 Apple

The following steps will completely erase your MacBook's internal storage device; all data and information will be lost.

  1. Begin by shutting down your Mac from the Apple menu or by pressing the power button once on your keyboard.

  2. Once your computer is completely off, hold down the Command and R keys on your MacBook's keyboard simultaneously.

    Command + R
  3. Without letting go of any previous keys, turn on your MacBook Air by pressing the power button.

  4. Once you see the Apple logo or a Spinning Globe on screen, you can let go of the Command and R keys.

  5. Allow the computer to start up into Recovery Mode, you can proceed once you are presented with the macOS Utilities window.

  6. Within the macOS Utilities window select the Reinstall macOS option.

  7. Click Continue to begin the macOS installer.

    The macOS installer may ask you to unlock your disk or enter your Mac password before continuing.

  8. Your MacBook will now restart several times as it erases the old disk and installs macOS — a progress bar will show you the estimated amount of time remaining.

  9. Once completed, the machine will boot to the Setup Assistant to begin setting up the computer. If you don't wish to set up the machine because you are selling or gifting it, press Command + Q to quit the wizard and then Shut Down your machine.

Additional macOS Install Options

By default, pressing Command + R when booting your Mac will lead you to install the latest version of macOS that has been installed on your machine.

Female hands typing on a white computer keyboard. White background.
Getty Images/TARIK KIZILKAYA

However, two additional options are available when booting, and they are as follows:

Option + Command + R

The above option will install the latest version of macOS that is compatible with your MacBook Air.

Shift + Option + Command + R

This last option will install the version of macOS that came with our Mac. If you're MacBook Air is a bit older, it will install the closest version still available.