com.apple.buildinfo.preflight.error (error 21)

Reinstalling macOS from Recovery Mode is often an effective way to resolve software problems on a Mac. However, getting the “com.apple.buildinfo.preflight.error” message can quickly turn the process into a frustrating experience. While there are several potential solutions, the quickest and most reliable option is to contact MacKeeper’s Premium Services.

System Requirements: macOS 10.11 or later

More than 60 Million Downloads

i

AV-TEST certified

i

Notarized by Apple

i

AV-TEST is an independent lab that checks the effectiveness of antivirus apps against real malware samples.

The notarization by Apple is a security measure to check if software is free from malicious components.

Trustpilot is an independent digital platform that hosts insightful and honest consumer reviews.

com.apple.buildinfo.preflight.error (error 21)
Written By   Alba Mora Antoja
Published: February 20, 2026

What does “com.apple.buildinfo.preflight.error error 21” mean?

The “com.apple.buildinfo.preflight.error error 21” is a Mac issue that may appear when you try to reinstall macOS from Recovery Mode. This message indicates a failure of the pre-installation check, which is often caused by connection issues, improper disk formatting, a corrupted hard drive, or other system glitches.

 

If an error occurred while preparing the installation, refer to our guide, where our team of experts details additional causes and solutions.

How to fix “com.apple.buildinfo.preflight.error error 21” on Mac?

To fix the “com.apple.buildinfo.preflight.error error 21,” you have several solutions at hand. Start by resetting your Mac, which often addresses common issues. Advanced users might also repair the startup disk, erase the Mac, or reset the SMC and NVRAM. As a last resort, consider reinstalling macOS through Internet Recovery Mode, which provides an online alternative.

A note from our experts: 

 

It can feel overwhelming when your Mac starts acting strange. Fortunately, MacKeeper’s Premium Services team offers 24/7 support, ensuring you’re never alone with tech issues. Developed by Clario Tech and notarized by Apple, MacKeeper is an industry-leading software solution supported by a dedicated team of technical experts ready to help you.

 

Follow these steps to start using MacKeeper’s Premium Services:

  1. Download, install, and launch MacKeeper.
  2. In the sidebar, select Premium Services.
  3. Click Chat Now.
  4. Type in your message and start chatting with our team.
To contact MacKeeper’s team of technical experts and fix the com.apple.buildinfo.preflight.error, launch the MacKeeper app on your Mac.
Step 1. Launch MacKeeper
To chat with a MacKeeper technician about the com.apple.buildinfo.preflight.error on your Mac, select Premium Services from the left sidebar.
Step 2. Select Premium Services from the sidebar
To speak to a technician about the com.apple.buildinfo.preflight.error on your Mac, click the Chat Now button.
Step 3. Click Chat Now
To contact MacKeeper’s expert team from your Mac and address the com.apple.buildinfo.preflight.error issue, type in your message.
Step 4. Type in your message

1. Restart your Mac

Whenever you experience a technical issue with your Mac, our top recommendation is to restart your device before attempting any advanced troubleshooting steps. This quick and easy action often resolves temporary glitches that might be preventing you from reinstalling macOS in Recovery Mode.

 

We explain how to restart your Mac or MacBook below:

  1. Go to the menu bar and click the Apple logo.
  2. Choose Restart from the dropdown menu.
  3. In the new window, click Restart again to confirm.
To restart your Mac and fix the com.apple.buildinfo.preflight.error, go to the Apple logo, then click Restart from the dropdown menu.
Step 1. Apple logo > Restart
To reboot your Mac and resolve the com.apple.buildinfo.preflight.error, click Restart again in the new window.
Step 2. Click Restart again to confirm

If your Mac becomes unresponsive and you’re unable to access the restart menu, press and hold the power button for several seconds until you hear the startup sound. This forces your Mac to shut down and restart, helping to resolve temporary freezes.

2. Check and repair startup disk

Let’s move on to the first advanced troubleshooting step: repairing the startup disk. Disk issues are a common cause of interruptions during macOS reinstallation from Recovery Mode. To address this, use Mac’s built-in Disk Utility app, specifically designed to diagnose and repair disk problems efficiently.

 

Here’s how to use Disk Utility to check and repair your startup disk:

  1. Open Finder, then go to Applications.
  2. Open the Utilities folder.
  3. Launch Disk Utility.
  4. Select your disk from the left-hand menu.
  5. Click First Aid, then hit Run to confirm.
  6. Click Done to finish the process.
To repair the com.apple.buildinfo.preflight.error with Disk Utility on Mac, go to Finder and open the Utilities folder from Applications.
Step 1. Finder > Applications > Utilities
To fix disk issues related to the com.apple.buildinfo.preflight.error on your Mac, launch Disk Utility from the Utilities folder.
Step 2. Launch Disk Utility
To use Disk Utility to solve the com.apple.buildinfo.preflight.error on your Mac, click the disk to fix from the left-hand menu.
Step 3. Select your disk from the left-hand menu
To fix the com.apple.buildinfo.preflight.error on your Mac using Disk Utility, click First Aid, then confirm by clicking Run.
Step 4. First Aid > Run
To repair the com.apple.buildinfo.preflight.error on your Mac, click Done when the process is complete.
Step 4. Click Done when the process is complete

3. Erase your Mac

This tip is intended for users who are willing to erase their Mac, along with any underlying issues that may be causing the “com.apple.buildinfo.preflight.error.” Before you proceed, we strongly advise you to back up all your data, as this process will permanently delete everything on your disk. Once your backup is complete, you can then perform a clean install of macOS.

 

Follow this step-by-step guide to securely erase your Mac:

  1. Open System Settings on your Mac.
  2. Click General from the sidebar.
  3. Scroll down and click Transfer or Reset.
  4. Click Erase All Content and Settings.
  5. Enter your admin password and click Unlock.
  6. In the Erase Assistant, select the items to delete, then click Continue.
  7. Wait until the process is complete.
  8. Set up your Mac.
To erase your Mac and fix the com.apple.buildinfo.preflight.error, open the System Settings app on your device, then select General in the sidebar.
Step 1. System Settings > General
To resolve the com.apple.buildinfo.preflight.error by erasing your Mac, select Transfer or Reset from the right-hand menu.
Step 2. Click Transfer or Reset
To see if the com.apple.buildinfo.preflight.error is resolved by erasing your Mac, click Erase All Content and Settings from the System Settings app.
Step 3. Click Erase All Content and Settings
To resolve the com.apple.buildinfo.preflight.error on your Mac, enter your admin password, then click Unlock.
Step 4. Enter your admin password
To erase your Mac to solve the com.apple.buildinfo.preflight.error, select the items to remove and click Continue.
Step 5. Select items
To perform a clean install on your Mac and fix the com.apple.buildinfo.preflight.error, wait until the erasing process is complete and set up your machine again.
Step 6. Set up your Mac

4. Reset SMC

The next two tips apply exclusively to users with Intel-based Macs. If you own a Mac with an Apple Silicon chip, you can skip these steps, as the reset process is handled automatically on newer models.

 

First, we’ll walk you through how to force an SMC reset. The SMC is a critical component that manages various hardware functions, so resetting it can help resolve formatting or corruption issues on your disk.

 

Here’s how to reset your SMC:

  1. Go to the menu bar and click the Apple icon.
  2. Select Shut Down.
  3. Press and hold the Shift + Option + Control keys for 7 seconds.
  4. While holding the three keys, press and hold the Power button.
  5. Let go of all keys after 7 seconds.
  6. Wait a few seconds, then press the Power button again.
To reset your SMC settings to resolve the com.apple.buildinfo.preflight.error, go to the Apple icon in the menu bar and click Shut Down.
Step 1. Apple logo > Shut Down
To reset your Mac’s SMC and fix the com.apple.buildinfo.preflight.error, press and hold down the Shift + Option + Command keys, then press the Power button.
Step 2. Power button + Shift + Option + Command

5. Reset NVRAM

If you’re using an Intel-based Mac, consider also resetting the NVRAM, which manages software settings. We believe this step is especially helpful if the “com.apple.buildinfo.preflight.error” is caused by underlying system errors.

 

Our steps below will help you reset your Mac’s NVRAM:

  1. Go to the menu bar and click the Apple logo.
  2. Select Shut Down.
  3. Press the Power button to turn on your Mac again.
  4. Immediately press and hold Command + Option + P + R.
  5. Let go of all keys after 20 seconds.
  6. Press the Power button again.
To reset your NVRAM settings and fix the com.apple.buildinfo.preflight.error, go to the Apple icon in the menu bar again and click Shut Down.
Step 1. Apple icon > Shut Down
To reset your Mac’s NVRAM, press the power button, then hold down the Command + Option + P + R keys, and see if the com.apple.buildinfo.preflight.error is fixed.
Step 2. Power button + Command + Option + P + R

6. Reinstall macOS in Internet Recovery Mode

Based on our experience, the final troubleshooting step before seeking expert assistance is to reinstall macOS using Internet Recovery Mode. As you might have guessed, this is the online alternative to the standard Recovery Mode and operates independently of your startup disk.

 

To boot your Mac into Internet Recovery Mode, follow these steps:

  1. Go to the menu bar and click the Apple logo.
  2. Click Shut Down.
  3. Wait a few seconds.
  4. Hold down the Shift + Option + Command + R keys simultaneously.
  5. Release the keys once you see the spinning globe icon.
  6. Connect to your Wi-Fi network.
  7. Follow the steps to reinstall macOS from Internet Recovery Mode.
To enter Internet Recovery Mode on your Mac and fix the com.apple.buildinfo.preflight.error, go to the Apple icon in the menu bar, then select Shut Down.
Step 1. Apple icon > Shut Down
To boot your Mac into Recovery Mode and reinstall macOS to fix the com.apple.buildinfo.preflight.error, hold down the Shift, Option, Command, and R keys at the same time.
Step 2. Shift + Option + Command + R
To check whether the com.apple.buidlinfo.preflight error is fixed on your Mac, wait until Internet Recovery mode starts.
Step 3. Wait until Internet Recovery Mode starts

Our final tips on fixing com.apple.buildinfo.preflight.error on Mac

Getting the “com.apple.buildinfo.preflight.error error 21” message during a macOS reinstallation from Recovery Mode can be both confusing and frustrating. In many cases, performing a simple reset of your Mac resolves the issue. As more advanced solutions, we suggest repairing the startup disk, resetting the SMC or NVRAM, or, as a last resort, erasing your Mac to start fresh.

 

If none of these steps fixes the problem, there’s no need to worry. More than 150 experts at MacKeeper’s Premium Services are available 24/7 to provide personalized assistance. With a track record of supporting over 1 million users, MacKeeper not only protects your Mac, but also delivers reliable solutions whenever technical issues arise.

Use your Mac to the fullest! Sign up and get:
Effective tips on how to fix Mac issues
Reliable advice on how to stay safe online
Mac-world news and updates

Thank you!

You’ll love exploring your Mac with us.

Oops, something went wrong.

Try again or reload a page.

Here’s another sign you need to upgrade your macOS ASAP:

30% off your MacKeeper subscription

Сopy the code now and use it in the MacKeeper checkout after the upgrade.

Copy Code

Please be aware that this code cannot be combined with any other discounts, offers, or promotions.

Contents

Unlocked
PC

MacKeeper - your all-in-one solution for more space and maximum security.

Try Now

Read more

Fix "Your Computer Restarted Because of a Problem"
Fix "Your Computer Restarted Because of a Problem"
Is AirPlay Not Working on Mac?
Is AirPlay Not Working on Mac?
arrow

Run Application

step_1

Click Continue

step_2

Click Install

step_1

Your macOS version is lower than OS 10.11. We’d like to offer you MacKeeper 4 to solve the cleaning, privacy, and security issues of your macOS.