It includes information on how to install a fresh installation of macOS afterward.

This action wipes a MacBook Pro and returns it to factory tweaks.

Reformatting is a good idea if you plan to sell or give or away your MacBook Pro.

macOS Utilities window

Reformatting a MacBook Pro erases all the information on the gear.

Back up your MacBook before proceeding with this option.

When it is reformatted, install a fresh version of macOS if you are keeping the laptop.

An internet connection is required to plant the fresh macOS.

Release the keys after you see an Apple logo, spinning globe, or another startup screen.

This process boots the Mac into macOS Recovery mode.

In themacOS Utilitieswindow, selectDisk Utility, then clickContinue.

In the left panel ofDisk Utility, choose your startup disk.

It is calledMacintosh HDby default, but if you renamed your startup disk, select it.

ClickEraseat the top of the window.

Enter a name you want the drive to have after you erase it.

Apple recommends using the nameMacintosh HD.

Choose a format, eitherAPFSorMac OS Extended (Journaled).

Disk Utility shows the compatible option by default.

If the Mac asks for the scheme, chooseGUID Partition Map.

ClickEraseand wait for the process to complete.

In theDisk Utilitymenu, selectQuit Disk Utility.

If not, boot back into macOS Recovery as you did to begin the reformatting process.

You must be connected to the internet to complete the macOS installation.

Your MacBook Pro prompts you to connect to Wi-Fi to continue the installation process.

Restart the MacBook Pro and pressCommand+Ron the keyboard before the Apple logo or another startup screen appears.

Release the keys when you see an Apple logo or startup screen.

This process boots into macOS Recovery.

Click eitherReinstall macOSorReinstall OS Xand then clickContinue.

Click your startup disk in the left panel.

It is calledMacintosh HDby default.

If you renamed your startup disk, select it.

This process reinstalls the latest macOS version that your system can run.

When the installation is complete, the MacBook Pro restarts and displays the setup assistant.

Set up your reformatted MacBook Pro to your specifications.

Transfer the files saved on your external hard drive or flash drive to the computer.