Quick Navigation:
Before you format your Mac and restore it to factory settings, you need to know and understand how to do it right and how to recover files after factory reset Mac if accidents happen during the formatting process. If anything goes wrong when formatting your Mac, You may need to choose the best Mac data recovery software to recover those lost data. You can't afford to risk your data. So, it's natural for users to ask the "how to format the mac" question.
This guide takes you through how to format the MacBook pro and any other Mac computer for any reason or to resolve any underlying issues. It also includes information on what to do if you erase your data during formatting.
There are different reasons why you would want to format your Mac to factory settings, including:
To prepare it for a new owner: If you plan to sell, trade in, or give away your Mac, you will need to erase the data to give the new owner a fresh device.
Booting and performance issues: If your Mac is slow or has booting issues because of many applications or age formatting, it can speed it up.
Viruses or malware attacks: Viruses and malware can attack your Mac and capture its functionalities. Formatting the Mac can help remove viruses.
How to Format USB Flash Drive to FAT32 on Mac without Data Loss
Computer users who use a USB might have the demand for formatting it to the FAT32 file system.
To prevent data loss and your data landing in unauthorized hands, consider doing the following before formatting your Mac:
Before erasing your Mac, make sure you back up all the data and files it contains because you'll lose your data if you don't. If you use Time Machine, your contacts, photos, documents, mail, and other data you selected should be automatically backed up on your Mac. In addition, it is also very convenient to restore time machine backup to your Mac if you have found that significant data has been erased during the formatting process. If not, you can back up your data manually by copying the files to an external drive.
You need to manually sign out of all your accounts and apps and unlink them from the Mac before you erase all data. Initially, you could do this using iTunes. But now, you must manually deauthorize individual apps - iTunes Music, TV, and Books - from your accounts to remove their access to content that you bought, such as music, apps, movies, books, etc. To do this:
Step 1. Open up any of those apps > Go to Account > Authorizations > Deauthorize This Computer.
Step 2. Enter your Apple ID and password
Step 3. Hit the Deauthorize button
Also, sign out of other third-party apps on your Mac that have licenses that only work on a limited number of devices.
You'll also need to remove all lingering information linking your Apple ID to the device. That means signing out of all the accounts associated with you from the device. To sign out of iCloud:
Step 1. Click the Apple symbol in the MacBook Pro's top left corner > Select System Preferences.
Step 2. In preferences, click iCloud > From the list, uncheck all the boxes to remove copies of related data on the Mac > Click Sign Out.
You'll also need to sign out of your Mac Messages and remove all the messages/traces from the Mac.
Step 1. Open the Messages app on Mac > Go to Messages > Preferences.
Step 2. Click the iMessage tab > Sign Out.
If you're giving away your Mac to someone in your house - your kid, sibling, wife, etc. - unpair any Bluetooth device connected to it to stop your mouse or keyboard controls from interfering with it. To do this:
Step 1. Go to System Preferences > Bluetooth > Mouse over the device/gadget you want to unpair.
Step 2. Click the X button on the right of its name.
Step 3. Click Remove.
Now the Mac is ready for factory reset, and you don't risk losing your data or handing them over to other users.
There are different methods to format a MacBook Pro or any other Mac computer. The following are the key methods you can use.
Disk Utility is Mac's built-in tool that can help erase your Mac. Use the following steps to format your Mac using the disk utility:
Step 1. Start Mac from macOS Recovery > Turn on/restart MacBook Pro > Press and hold Command (⌘) and R keys together.
Step 2. Select user password > In the macOS utility window, select Disk Utility >Continue.
Step 3. Choose your Mac's system drive - named Macintosh HD > In the toolbar, click the Erase button > enter the requested format details when prompted:
Format: Mac OS Extended (Journaled) or APFS (or recommended by Disk Utility).
Step 1. Click Erase and enter your Apple ID and password if prompted and wait for the formatting to complete
In this step, if you see an Erase Volume Group button, you'll click this button instead.
After the erase is complete, you can delete any other internal volumes from the sidebar. Disregard any internal volume with the name Macintosh HD or Macintosh HD Data.
Step 2. Now, quit Disk Utility to return to the macOS utility window > Finish the factory reset Mac formatting by reinstalling macOS.
Step 3. Go back to the macOS utility window > Select the Reinstall macOS option > click Continued.
Step 4. Follow the on-screen prompts/instructions to reinstall a new macOS
Another way of formatting a Mac is by reinstalling OS X. You'll start this process from macOS recovery as you did with disk utility. This process also needs an internet connection to complete the macOS installation.
Step 1. Turn on or restart your MacBook Pro and press and hold Command (⌘) and R keys together until you see an Apple logo or other startup screen or image.
Step 2. Click Reinstall macOS or Reinstall OS X and Continue > In the left panel, click your startup disk: called Macintosh HD by default.
Step 3. If your disk was renamed, select the name it was renamed to > Click Install > Wait for the installation to complete > Your MacBook Pro will restart.
Step 4. If you're keeping the Mac within the house, continue the setup process. If selling the Mac, transfer your saved files onto an external drive, then press Command ⌘ + Q to quit the setup assistant.
Step 5. Power down the Mac, and you're good to go.
The Terminal or command line approach to macOS formatting is different and requires precision syntax to ensure that you erase the Mac correctly. This method is only appropriate for advanced users, but if you are up for the task, follow the steps below:
Step 1. Navigate to Applications > Utilities and choose Terminal.
Step 2. Alternatively > restart Mac, hold the Command ⌘ + R keys > Utilities and Terminal from the macOS utility window.
Step 3. In the Terminal, type xartutil –erase-all > then press Return > Type yes if prompted > then press Return again > Choose Terminal and click Quit.
Your data will be erased from the MacBook Pro during the formatting process. If you didn't back up the data, you'd be unfortunate to lose your important information. But no hope is lost.
You can still try and recover the erased data using efficient software - Deep Data Recovery for Mac. This tool helps to recover data loss from different cases such as, deletion, formatting, system crash, macOS wrongly restored, virus attack, hard driver damage, and more.
It can not only recover trash data on Mac, but also etrieve music files, photos, videos, emails, documents, and other data from different Mac-based devices: SSD, HDD, fusion drive, Time Machine backup, etc. It will recover your data no matter the size.
Here are the steps to download, install, and use the Deep Data Recovery for Mac:
Step 1. Launch Deep Data Recovery. Choose file types and click "Next" to start.
Step 2. Select the disk location (it can be an internal HDD/SSD or a removable storage device) where you lost data and files. Click the "Scan" button.
Step 3. Deep Data Recovery for Mac will immediately scan your selected disk volume and display the scanning results on the left pane.
Step 4. In the scan results, select the file(s) and click the "Recover" button to have them back.
Don't let it go with your data and accounts intact if you want to sell, trade-in, or give away your Mac. Your data security is important, and formatting the Mac will help secure your data. Now, you know how to format the MacBook or any other Mac computer using the three methods: Disk Utility, Reinstalling Mac OS X, and Mac Terminal.
We've also given you pointers you can use to ensure that you don't lose your files, apps, photos, and other data when you format your MacBook pro. If you, unfortunately, erase your data during formatting, use the Deep Data Recovery for Mac to recover them.