When you search for how to factory reset a MacBook Air, you are probably getting ready to sell it, trade it in, or hand it down to someone else. It is a straightforward process, but one wrong step can leave you locked out of your own device. The exact method depends entirely on what chip your MacBook Air uses, and getting that wrong is the most common mistake people make.
Per Apple's official support documentation, the entire erase and reinstall process takes roughly 45 minutes to an hour on a solid internet connection. That includes the download of the macOS installer, which clocks in at about 12 to 16 GB depending on the version. The good news is that once you know which branch of the decision tree you are on, the rest is just following a clear set of steps.
Quick Answer
A factory reset returns your MacBook Air to its out-of-the-box state. It erases all user data, settings, and applications. Then it reinstalls a fresh copy of macOS.
The process requires signing out of iCloud first. On Apple Silicon models (M1, M2, M3), use the Erase All Content and Settings feature. On Intel models, you must boot into macOS Recovery and use Disk Utility.
Follow the chip-specific instructions below, and you will be done in under an hour.
Before You Start: The Pre-Erase Checklist
Skipping the preparation steps is the number one reason a factory reset goes wrong. You cannot undo a full erase, so a few minutes of prep work saves you hours of frustration. Here is what you need to do before you touch a single setting.

Image source: Bing (Web (fair-use with source credit))
Back Up Your Data (Yes, Really)
Even if you are sure you have nothing important on the machine, back it up. The factory reset is permanent. You cannot recover a single photo, document, or application once the erase finishes.
| Backup Method | Best For | Time Required |
|---|---|---|
| Time Machine (external drive) | Complete system backup, easy restore | 1 to 4 hours for first backup |
| iCloud Drive or Photos | Documents, desktop, photo library | Depends on upload speed |
| Manual copy to external SSD | Specific files, quick transfer | 15 to 60 minutes |
| Cloud storage (Dropbox, Google Drive) | Selective file backup | Varies by file size |
Apple's Time Machine is the simplest option. Plug in an external drive, and macOS handles the rest. Our research shows that most data loss after a factory reset happens because people assumed they had nothing worth saving.
Even a single forgotten tax document can cause real hassle later. Take the time, make the backup, and verify the backup actually has your files before proceeding.
Sign Out of iCloud and Disable Find My Mac
This step is non-negotiable. If you do not sign out of iCloud before erasing the drive, the next owner will see Activation Lock the moment they try to set up the machine. That brick-wall message makes the MacBook Air unusable for anyone who does not know your Apple ID and password.
To sign out properly:
- Open System Settings or System Preferences on older macOS.
- Click your Apple ID at the top of the sidebar.
- Scroll down and click Sign Out.
- macOS will ask if you want to keep a copy of your iCloud data on this Mac. Choose to keep it if you have a backup, or remove it entirely.
- Enter your Apple ID password to disable Find My Mac.
- Wait for the confirmation that Find My is off.
You can verify it worked by going to iCloud.com on another device and checking that this MacBook Air no longer appears in your device list. If it still shows up, you have not fully signed out. Do not proceed to the erase until it is gone.
Confirm Your MacBook Air Model and Chip Type
This single piece of information determines the entire reset procedure. Apple Silicon models (M1, M2, M3) use a nearly automatic Erase All Content and Settings feature. Intel models require a manual boot into Recovery Mode and a Disk Utility wipe.
To check your chip:
- Click the Apple menu in the top-left corner of your screen.
- Choose About This Mac.
You will see a line that says either Chip for Apple Silicon or Processor for Intel. If it says "Apple M1," "Apple M2," or "Apple M3," you have an Apple Silicon model. If it says "Intel Core i5" or similar, you have an Intel model.
Write it down if you need to. This information will guide every decision from here on.
The Big Decision: Intel MacBook Air vs Apple Silicon
This fork in the road is where most confusion happens. The two chip architectures handle the reset process very differently. Pick the wrong method and you could end up erasing the wrong volume or getting stuck in a loop.

Image source: Wikimedia Commons / MacLaren, Thomas, 1863-1928
Check Your Chip (It Changes Everything)
If you already checked your chip in the pre-erase checklist, you are ahead of schedule. Here is the quick refresher. The Apple Silicon models (M1, M2, M3) integrate the storage controller into the system on a chip.
This changes how the Mac handles the boot volume group, the recovery partition, and the erase process itself.
Intel models, especially those from 2018 onward with the T2 Security Chip, still use a traditional boot process. They rely on Internet Recovery if the local recovery partition is damaged. The T2 chip adds an extra layer of security that can complicate the reset if you have forgotten a firmware password.
Decision Branch A: You Have Apple Silicon (M1, M2, or M3)
If you have an M1, M2, or M3 MacBook Air, you have the easiest path. Starting with macOS Monterey (12.0) and later, Apple added a dedicated Erase All Content and Settings feature. This is a one-click wipe that does everything for you.
The feature is located in System Settings > General > Transfer or Reset. It walks you through signing out of iCloud, turning off Find My, and erasing the entire volume group. You do not need to manually find Disk Utility or know which APFS container to select.
For the small number of Apple Silicon MacBook Airs running an older macOS (Big Sur or earlier), you will need to fall back to Recovery Mode. But as of 2026, the vast majority of machines in circulation are on Monterey or newer.
Decision Branch B: You Have an Intel Processor
Intel MacBook Air owners have a more manual process. There is no Erase All Content and Settings feature on these models. Instead, you must:
- Boot into macOS Recovery by holding Command + R during startup.
- Open Disk Utility from the Recovery window.
- Select the correct volume (typically Macintosh HD).
- Click Erase and choose the right format (APFS for modern macOS, Mac OS Extended for older versions).
- Quit Disk Utility and select Reinstall macOS from the Recovery menu.
This process is more prone to error because you can accidentally erase the wrong volume. The Intel MacBook Air typically has two volumes inside one container: Macintosh HD (the system volume) and Macintosh HD, Data (the user data volume). You need to erase the entire container, not just one volume.
Step-by-Step: How to Factory Reset an Apple Silicon MacBook Air
Now that you know which branch you are on, here is the exact sequence for Apple Silicon models. The process is the same for M1, M2, and M3 chips running macOS Monterey or later.

Image source: Bing (Web (fair-use with source credit))
Use Erase All Content and Settings (Monterey and Later)
This is the recommended method for clean, fast, and secure erasing. It is the official Apple path for models with this chip. Here is the step-by-step:
- Complete the pre-erase checklist from earlier. You must be signed out of iCloud and have Find My disabled.
- Open System Settings (the gear icon in your Dock or from the Apple menu).
- Click General in the sidebar.
- Click Transfer or Reset at the bottom of the General pane.
- Click Erase All Content and Settings.
- Enter your administrator password when prompted.
- macOS will list which accounts, data, and settings will be removed. Review the list.
- Click Continue and follow the on-screen prompts.
- The Mac will restart and begin the erase process.
- After the erase finishes, the Mac will reboot to a setup assistant screen. This is the out-of-box experience.
The entire sequence takes about two to five minutes. You do not need to reinstall macOS manually. The system handles it automatically.
The new owner will see the same Hello screen they would get on a brand-new Mac.
One important note: this feature is only available on macOS Monterey 12.0 and later. If your Apple Silicon MacBook Air is still running macOS Big Sur, you will need to use the fallback method described next.
Fallback: Manual Erase via Disk Utility and Recovery
If Erase All Content and Settings is not available for any reason, you can still do a manual wipe through Recovery Mode. This is also the path to use if you want to completely erase the recovery partition or install a specific version of macOS.
Steps for the manual Apple Silicon reset:
- Shut down your MacBook Air completely.
- Press and hold the power button until you see Loading startup options.
- Click Options, then click Continue.
- Select your administrator account and enter the password.
- In the Recovery window, choose Disk Utility.
- In Disk Utility, select Show All Devices from the View menu (or the three-dot menu in some versions).
- Select the top-level entry for the internal drive. It is usually labeled Apple SSD or similar, not just the volume names underneath.
- Click Erase.
- Choose APFS as the format and GUID Partition Map as the scheme.
- Click Erase. This removes the entire volume group, including the system volume, data volume, and recovery partition.
- Quit Disk Utility.
- Select Reinstall macOS from the Recovery menu.
- Click Continue and follow the on-screen prompts to install a fresh copy of macOS.
The manual method takes longer because the installer must download from Apple's servers. Expect 30 minutes to an hour depending on your internet speed. The result is the same: a blank MacBook Air ready for a new owner.
Step-by-Step: How to Factory Reset an Intel MacBook Air
Intel MacBook Air owners face a slightly longer road, but it is perfectly manageable if you follow the exact sequence. The key is knowing which Recovery Mode combination to use and which volume to erase.
Recovery Mode Using Command+R
Intel MacBook Air models have several recovery options. For a standard factory reset, use the default Recovery Mode.
Steps:
- Shut down the MacBook Air completely.
- Press the power button, then immediately hold Command + R.
- Keep holding until you see the Apple logo or a spinning globe. This means you have entered macOS Recovery.
- If you see a globe, the Mac is downloading Internet Recovery. This takes longer but works if the local recovery partition is damaged.
- Once the Recovery window appears, choose your language if prompted.
Some Intel models also support Option + Command + R to upgrade to the latest compatible macOS, or Shift + Option + Command + R to reinstall the original macOS that came with the machine. For most resets, plain Command + R is what you want.
Using Disk Utility to Wipe the Drive
With Recovery Mode open, it is time to erase the drive.
- On the Recovery screen, click Disk Utility and click Continue.
- In Disk Utility, click View in the menu bar and select Show All Devices. This is critical. If you only see volumes (Macintosh HD, Macintosh HD, Data), you will not see the top-level container you need to erase.
- In the sidebar, find the internal storage. It is usually labeled Apple SSD or APPLE SSD APxxxx Media.
- Select this top-level entry, not the volumes underneath.
- Click Erase.
- Choose APFS as the format and GUID Partition Map as the scheme. For older Intel models running macOS High Sierra or earlier, use Mac OS Extended (Journaled) instead.
- Click Erase.
- Wait for the process to complete. Disk Utility will confirm the erase.
- Quit Disk Utility.
If you accidentally erase only the Macintosh HD volume (not the container), your Mac may still boot to a question mark folder. This means the system volume is gone but the container structure remains. You can fix it by repeating the steps and selecting the top-level container this time.
Reinstalling macOS from Internet Recovery
After erasing the drive, you need to reinstall macOS. The Recovery window still shows the same menu.
- Select Reinstall macOS from the Recovery menu.
- Click Continue.
- Follow the on-screen prompts. The installer will ask which drive to install to. Choose the drive you just erased.
- The installer will download macOS from Apple's servers. This is the largest time investment in the process.
- Once the download finishes, the Mac will restart automatically and begin the installation.
- After installation, the MacBook Air will reboot to the setup assistant screen.
The new owner will see the Hello screen and can set up the Mac with their own Apple ID. You do not need to go through the setup process yourself. Just leave it at the first screen.
One final check for Intel models: if your MacBook Air has a firmware password set, you will be prompted to enter it before you can boot into Recovery Mode. If you have forgotten the firmware password, you cannot proceed on your own. You will need to take the machine to an Apple Store or Apple Authorized Service Provider with proof of purchase to have it removed.
This is a common pain point for refurbished and second-hand Intel MacBook Air sales, so verify the firmware password status before you start.
Common Mistakes That Lock You Out
A factory reset seems simple on paper. But a few common errors can turn a quick task into a frustrating afternoon. These mistakes are the ones we see most often in user forums and support threads.
Avoid them, and you will save yourself a lot of hassle.

Image source: Wikimedia Commons / Memorialman (CC BY-SA)
Forgetting to Turn Off Find My Mac
This is the single most common mistake. You erase the drive, hand the MacBook Air to its new owner, and they see a locked screen asking for your Apple ID password. That is Activation Lock in action.
Apple designed Activation Lock to deter theft. It ties the device to your Apple ID at the hardware level. Even after a full erase, the firmware still checks in with Apple's servers.
If your Apple ID is still associated with the device, the setup assistant will block access.
The fix is simple but requires your Apple ID password. Go to System Settings > Apple ID > iCloud. Scroll down to Find My Mac.
Click Turn Off. Then sign out of iCloud completely. Verify the device is gone from your Apple ID device list at iCloud.com.
If you already erased the drive without turning off Find My, you are not completely stuck. You can use another device to log in to iCloud.com, go to Find My, select your MacBook Air, and click Remove from Account. This disables Activation Lock remotely.
But you need internet access and your Apple ID credentials to do it.
Choosing the Wrong Volume to Erase
Disk Utility shows multiple entries in its sidebar. On a typical MacBook Air, you see Macintosh HD, Macintosh HD, Data, and sometimes a Recovery volume. If you erase only Macintosh HD, the data volume and recovery partition remain intact.
The system may still boot to a folder with a question mark.
The correct target is the top-level container. In Disk Utility, you must select Show All Devices from the View menu. This reveals the physical drive, usually labeled Apple SSD or APPLE SSD APxxxx Media.
That is the entry you want to erase.
When you select this top-level container and click Erase, Disk Utility wipes the entire volume group. That includes the system volume, the data volume, and the recovery partition. The result is a completely blank drive.
If you accidentally erase only Macintosh HD, the container and its other volumes remain. You can fix it by selecting the top-level container and erasing again. But if you already reinstalled macOS onto the half-erased volume, you may need to start over.
Leaving a Firmware Password Active
Firmware passwords are rare on Apple Silicon MacBook Airs. They are more common on Intel models, especially those used in corporate environments or schools. A firmware password prevents booting from any drive other than the designated startup disk.
If you have a firmware password set, you will be prompted to enter it before you can boot into Recovery Mode. If you know the password, enter it and proceed. If you have forgotten it, you are locked out of the reset process entirely.
Apple does not provide a way to reset or remove a firmware password remotely. You must take the MacBook Air to an Apple Store or an Apple Authorized Service Provider. You will need to show proof of purchase or proof of ownership before they will remove it.
If you are buying a used Intel MacBook Air, ask the seller to verify that no firmware password is active. Boot into Recovery Mode by holding Command + R during startup. If the Mac goes straight to the Recovery window without asking for a password, you are in the clear.
What Happens After the Reset (And What to Do Next)
The erase finishes. The macOS installer completes. The MacBook Air restarts.
Now you see the Hello screen in multiple languages. This is the out-of-box experience. Your job is almost done, but there are two final checks to make.
First Boot: The Setup Assistant Screen
After the reinstall, the MacBook Air boots to the setup assistant. This is the same screen a brand-new Mac shows when you first turn it on. It asks for language, region, Wi-Fi network, and Apple ID.
If you are preparing the Mac for someone else, do not go through the setup steps. Leave the Mac at the Hello screen. The new owner will complete the setup with their own Apple ID and preferences.
This keeps your personal data completely separate from theirs.
If you are resetting the Mac for your own use, go ahead and set it up as normal. You will need to sign in with your Apple ID, restore your data from the backup you made earlier, and reinstall any applications you need.
Verifying Activation Lock Is Off
This is the final quality check. Even if you signed out of iCloud before the erase, it is worth verifying that Activation Lock is truly disabled.
The easiest way to check is to look at the activation lock status on Apple's self-service check page. You can find it by searching for "Apple Activation Lock support" or using the iCloud device list. The MacBook Air should not appear in your device list anymore.
If it still shows up, you have not fully removed it. Log in to iCloud.com, go to Find My, select the device, and click Remove from Account. Then refresh the page to confirm it is gone.
This step matters because the next owner will hit a wall during setup if Activation Lock is still active. They will see a message saying "This Mac is linked to an Apple ID." They cannot bypass it without your credentials. Doing this verification protects both you and the buyer from a frustrating support call weeks later.
Troubleshooting: When the Reset Fails or Gets Stuck
Even with careful preparation, things can go wrong. The process might freeze, throw an error message, or refuse to start. Here is how to handle the most common issues.
Stuck on a Spinning Globe During Internet Recovery
If you see a spinning globe during startup, the MacBook Air is attempting Internet Recovery. This happens when the local recovery partition is missing or damaged. The globe means the Mac is downloading a recovery image from Apple's servers.
A spinning globe for more than 10 minutes usually indicates a slow or unstable internet connection. Try connecting via Ethernet if possible. If that is not an option, move closer to your Wi-Fi router or restart the router.
If the globe spins for 30 minutes or more without progress, force a shutdown by holding the power button for 10 seconds. Then try again. If the same thing happens, you may need to create a bootable macOS installer on a USB drive to bypass the recovery partition entirely.
"This Volume Has an Active Recovery System" Error
This error appears in Disk Utility when you try to erase a volume that still has a recovery system attached. It is common on Intel MacBook Airs with the T2 chip.
The solution is to select the top-level container, not the individual volume. In Disk Utility, enable Show All Devices from the View menu. Then select the entry above the volume names.
This is the physical drive. Click Erase on that, and the error will not appear.
If you still see the error after selecting the top-level container, the drive may have a damaged partition map. In that case, use the Partition tab in Disk Utility to remove the existing partition scheme and create a new one. Then try the erase again.
Erase Option Is Grayed Out
If the Erase button is grayed out in Disk Utility, it means the selected item cannot be erased. This usually happens when you have selected a volume inside a container rather than the container itself.
Switch to Show All Devices in the View menu. You should see three levels: the physical drive, the container, and the volumes. Select the physical drive or the container, not the volumes.
The Erase button should become active.
On Apple Silicon MacBook Airs, a grayed-out Erase button can also mean you are trying to erase the boot volume while running from it. You cannot erase the active system volume. You must boot into Recovery Mode first, then run Disk Utility from there.
Another rare cause is a locked drive. If the drive is encrypted with FileVault and you have not unlocked it, Disk Utility will not allow erasing. Enter the FileVault password in the Recovery environment first, then try the erase.
Expert Tips for a Clean and Secure Reset
The basic reset process works fine for most people. But if you are security-conscious or selling the MacBook Air to a stranger, a few extra steps make the difference between a standard wipe and a truly secure erase.
Use a Single-Pass Erase for Sensitive Data
The standard erase in Disk Utility uses a quick format. It marks the data as deleted but does not overwrite the underlying storage. With modern SSDs and the TRIM command, the old data is usually unrecoverable within a short time.
But for maximum peace of mind, you can use Security Options.
In Disk Utility, after selecting the drive and clicking Erase, look for Security Options. This lets you choose how many times the drive is overwritten. A single-pass zero-fill is sufficient for most users.
It writes zeros over every sector, making the original data unrecoverable by standard forensic tools.
Keep in mind that Apple Silicon MacBook Airs use integrated storage. The SSD controller handles encryption at the hardware level. When you erase the volume group, the encryption keys are destroyed.
This makes the data unrecoverable even without a full overwrite. For most people, the standard erase is secure enough.
Check for macOS Updates Before the Reset
Before you start the reset process, install any available macOS updates. This ensures the recovery partition and the installer are up to date. A current recovery partition has the latest security patches and compatibility fixes.
To check for updates, go to System Settings > General > Software Update. Install any available updates and restart the Mac. Then proceed with the factory reset.
If you skip this step, the recovery partition might be an older version that does not support the latest macOS installer. You could end up in a loop where the installer fails because the recovery partition is too old.
Verify the Reset Worked Before Handing Over the Mac
After the reset and reinstall, boot the MacBook Air to the setup assistant screen. Shut it down. Boot it again.
Confirm it still goes to the setup assistant screen. This double-check catches any issues where the Mac might boot to an error instead.
If the Mac boots to a folder with a question mark, the erase did not work correctly. The boot volume is missing or damaged. You will need to repeat the erase and reinstall process.
If the Mac boots to your old desktop with your files intact, you did not actually erase the drive. You may have selected the wrong volume or the erase did not complete. Start over from the beginning.
Keep a Record of the Serial Number
Before you hand over the MacBook Air, write down the serial number. You can find it on the bottom of the device or in System Settings > General > About. This is useful if you ever need to verify ownership or report the device as stolen.
If you are selling the Mac, include the serial number in your records. It helps with warranty checks and future support requests. The new owner may need it for AppleCare claims or service appointments.
Should You Use a Bootable USB Instead?
A bootable USB installer is an alternative to Recovery Mode. It gives you more control over the process and can be faster than downloading the installer over the internet. But it is not necessary for most people.
| Method | Best For | Time Required | Internet Needed |
|---|---|---|---|
| Recovery Mode | Most users, clean wipe | 30 to 60 minutes | Yes (for installer) |
| Bootable USB Installer | Multiple Macs, slow internet, specific macOS version | 15 to 20 minutes (offline) | Only for creation |
| Erase All Content and Settings | Apple Silicon, Monterey+ | 2 to 5 minutes | No (local erase only) |
When a Bootable USB Makes Sense
If you have a slow internet connection, downloading the 12 to 16 GB macOS installer through Recovery Mode can take hours. A bootable USB drive lets you create the installer once on a fast connection, then use it offline on any MacBook Air.
You might also need a bootable USB if you want to install a specific version of macOS that is not offered by the default Recovery Mode. For example, if you need to install an older macOS version for compatibility reasons, a bootable USB is the way to go.
How to Create a Bootable USB Installer
Creating a bootable USB installer requires a USB drive with at least 16 GB of storage. You also need a Mac with the macOS installer app downloaded from the App Store.
The terminal command for creating the installer varies by macOS version. Apple provides detailed instructions on their support site. The general command format is:
sudo /Applications/Install\ macOS\ [name].app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume
Replace [name] with the exact macOS version, such as "Sonoma" or "Ventura." Replace MyVolume with the name of your USB drive.
The process takes about 10 to 15 minutes. Once the USB installer is ready, you can boot from it by connecting it to the MacBook Air and holding the Option key during startup. Select the USB drive from the startup manager.
The Downsides of a Bootable USB
The main drawback is the upfront effort. You need a second Mac to create the installer. You also need a USB drive that you are willing to dedicate to this purpose.
The drive will be erased during the creation process.
For most people, the standard Recovery Mode method is simpler and works perfectly fine. A bootable USB is an advanced option for power users who need offline access or a specific macOS version. If you are not sure whether you need it, stick with the standard methods described earlier.
When to Skip the Bootable USB
If you have a stable internet connection and are not in a hurry, there is no reason to create a bootable USB. The Recovery Mode method is officially supported by Apple and handles every step automatically. It also ensures you install the latest compatible version of macOS.
The bootable USB method is best reserved for IT administrators, repair technicians, and users who frequently reset multiple Macs. For a single home-user reset, it adds unnecessary complexity.
Frequently Asked Questions
Will a factory reset remove malware?
Yes, a full factory reset removes almost all malware. The erase wipes the entire volume group, including the system volume where malware often hides. The fresh macOS install that follows is a clean copy from Apple's servers, so no traces of the infection remain.
There is one exception. Firmware-level malware that infects the EFI or boot ROM may survive an erase. This is extremely rare in practice.
Apple's T2 chip and Apple Silicon have hardware-level security that makes firmware attacks difficult. If you are concerned about persistent threats, check for firmware updates from Apple before doing the reset.
Can I undo a factory reset?
No, a factory reset is permanent. Once you erase the volume group and reinstall macOS, the old data is gone. There is no undo button or recycle bin for a wiped drive.
This is why the backup step is so critical. Our research shows that the most common regret after a factory reset is not the reset itself, but the realization that something important was not backed up. Check your backup before you start.
Verify the files are actually there.
How long does the whole process take?
The total time depends on your MacBook Air model and your internet connection speed. Here is a realistic breakdown:
| Step | Time Estimate |
|---|---|
| Pre-erase preparation (backup, sign out) | 15 to 30 minutes |
| Erase All Content and Settings (Apple Silicon) | 2 to 5 minutes |
| Manual erase via Disk Utility (Intel) | 5 to 10 minutes |
| macOS installer download (12 to 16 GB) | 10 to 40 minutes |
| macOS installation | 20 to 40 minutes |
Expect the full process to take 45 to 90 minutes from start to finish. The largest variable is the installer download. A 100 Mbps connection handles it in about 15 minutes.
A 10 Mbps connection takes closer to 90 minutes.
Do I need an internet connection?
Yes, for the final step. The factory reset itself is local to the Mac. But reinstalling macOS requires downloading the installer from Apple's servers.
You need a stable internet connection for that.
There is one workaround. If you create a bootable USB installer in advance, you can reinstall macOS completely offline. This is useful if you are in a location with no internet or a very slow connection.
The bootable USB method skips the download step entirely.
Final Thoughts
The factory reset process for a MacBook Air is not complicated, but it demands attention to detail. The single most important thing you can do is verify your chip type before you start. That one piece of information determines the entire procedure.
If you have an Apple Silicon MacBook Air running macOS Monterey or later, use Erase All Content and Settings. It is fast, automatic, and handles everything behind the scenes. The whole job takes under five minutes.
If you have an Intel MacBook Air, you will go through Recovery Mode and Disk Utility. This takes longer but is equally effective when done correctly. The key points are selecting Show All Devices in Disk Utility, erasing the top-level container, and reinstalling macOS from the Recovery menu.
Before either path, do the pre-erase checklist without shortcuts. Back up your data. Sign out of iCloud.
Disable Find My Mac. These three steps prevent the most common post-reset headaches.
After the reset, leave the MacBook Air at the Hello screen if you are handing it over. Verify that Activation Lock is off by checking iCloud.com. Run a quick boot test to confirm the Mac starts up cleanly.
That is it. You have a factory-fresh MacBook Air ready for its next life.