What clearing a hard drive means and when you need to do it
Clearing a hard drive on a Mac means erasing all the data on it so the drive is blank and ready to use again. This is different from deleting individual files — it wipes everything at once, including your operating system, programs, documents, photos, and settings. After you clear a drive, the Mac will not start up until you install macOS again.
You typically clear a hard drive when you are selling or giving away your Mac, when you want to start completely fresh with a clean installation of macOS, or when you are replacing the drive itself. If you just want to free up space, you should delete files or move them to external storage instead — clearing the entire drive is permanent and will make your Mac unusable until you reinstall the operating system.
The process differs slightly depending on whether your Mac has an Intel processor or an Apple Silicon chip (M1, M2, M3, or later). Both methods are straightforward, but you need to know which one applies to your machine before you start.
Key Takeaways
- Clearing a hard drive erases everything on it, including macOS itself, so your Mac will not work until you reinstall the operating system afterward.
- You can check whether your Mac has an Intel or Apple Silicon processor by clicking the Apple menu, selecting About This Mac, and looking at the Processor line.
- The most common method is using Disk Utility from Recovery Mode, which you access by restarting your Mac and holding Command+R during startup.
- Before you clear the drive, back up any files you want to keep to an external drive or cloud storage, because the erasure cannot be undone.
- After erasing the drive, you will need to reinstall macOS from Recovery Mode or from an external installer before you can use your Mac again.
Check your Mac's processor type before you start
The steps to clear your drive depend on whether your Mac has an Intel processor or an Apple Silicon chip. You need to know which one you have before you begin. Click the Apple menu in the top-left corner of your screen, then select About This Mac. A window will open showing your Mac's information.
Look at the line that says Processor or Chip. If it says Intel Core i5, Intel Core i7, Intel Core i9, or any other Intel processor, you have an Intel Mac. If it says Apple M1, M2, M3, M4, or any other M-series chip, you have an Apple Silicon Mac. Write this down or remember it — you will need it to choose the right method below.
Back up your files before erasing anything
Once you clear your hard drive, there is no way to recover the files. Before you erase anything, move any documents, photos, or other data you want to keep to an external hard drive, USB flash drive, or cloud storage service like iCloud Drive or Google Drive.
Connect an external drive to your Mac using a USB or Thunderbolt cable. Open Finder, click on your external drive in the sidebar, and drag the folders or files you want to keep into it. Wait for the copy to finish — you will see a progress bar. Once the files are safely on the external drive, you can proceed with clearing your internal drive.
If you do not have an external drive, you can upload files to iCloud Drive, Google Drive, Dropbox, or another cloud service instead. This takes longer for large files, but it works just as well.
Clear your drive using Disk Utility on Intel Macs
Restart your Mac. As soon as it starts up, hold down Command + R together. Keep holding these keys until you see the Apple logo or a spinning globe. This boots your Mac into Recovery Mode, which is a special environment where you can repair or erase your drive without needing macOS to be running normally.
When Recovery Mode finishes loading, you will see a window with several options. Click Disk Utility, then click Continue. Disk Utility will open. On the left side, you will see a list of drives. Click on your internal drive — it is usually called Macintosh HD or the name you gave your Mac. Do not click on any recovery partitions or other drives.
Click the Erase button at the top. A dialog box will appear asking you to name the drive and choose a format. You can name it anything you want — Macintosh HD is the standard name. For the format, choose APFS if your Mac is running macOS 10.13 or later (which is almost certainly true). Click Erase and confirm. The process takes a few minutes. When it finishes, your drive is completely blank.
Clear your drive using Disk Utility on Apple Silicon Macs
The process is almost identical for Apple Silicon Macs, but the startup key combination is different. Shut down your Mac completely. Press and hold the power button until you see "Loading startup options." This takes about 10 seconds. When the startup options screen appears, you will see your drives listed. Click on the drive labeled Options or Utilities, then click Continue. This boots into Recovery Mode.
Click Disk Utility, then Continue. On the left side, click your internal drive — usually Macintosh HD. Click the Erase button. Name the drive (Macintosh HD is standard) and choose APFS as the format. Click Erase and confirm. The erasure takes a few minutes. When it finishes, your drive is blank and ready for a fresh macOS installation.
Reinstall macOS after erasing the drive
After you erase your drive, your Mac will not start up normally because the operating system is gone. You need to reinstall macOS. The good news is that you are already in Recovery Mode, which can install macOS for you automatically.
From the Recovery Mode window, click Reinstall macOS (or Reinstall OS X on older Macs). Follow the on-screen prompts. You will need to agree to the license terms and choose which drive to install macOS on — select your newly erased drive. The installation takes 20 to 60 minutes depending on your internet speed and Mac model. Your Mac will restart several times during this process. Do not turn it off.
When the installation finishes, your Mac will restart and show the setup screen. You can now set up your Mac as if it were brand new, or you can restore your backed-up files from your external drive or cloud storage.
What to do if you cannot access Recovery Mode
If your Mac will not start up at all or Recovery Mode will not load, you may need to create a bootable macOS installer on an external drive. You will need another Mac and a USB flash drive with at least 16 GB of storage. On the other Mac, go to the App Store, search for the version of macOS you want to install, and download it. Open the Disk Utility application, select your USB drive, click Erase, name it Untitled, and choose Mac OS Extended (Journaled) as the format.
Once the USB drive is erased, open Terminal (search for it in Spotlight), and paste this command: sudo /Applications/Install\ macOS\ [Version].app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled. Replace [Version] with the name of the macOS version you downloaded. This creates a bootable installer. Plug the USB drive into your Mac, restart it while holding the Option key, select the USB drive, and follow the installation steps. This method works when Recovery Mode is not available.
Frequently Asked Questions
Can I recover files after I clear the hard drive?
Once you erase a drive using Disk Utility, recovery is extremely difficult and usually requires professional data recovery services, which are expensive. The safest approach is to back up everything you want to keep before you erase. If you accidentally erased something important, turn off your Mac immediately and contact a data recovery specialist — the longer the Mac runs after erasure, the less likely recovery becomes.
Do I need an internet connection to clear my drive and reinstall macOS?
You need an internet connection to download and install macOS after you erase the drive. If your internet is slow, the installation will take much longer. If you do not have reliable internet at home, consider doing this at a location with faster WiFi, or create a bootable USB installer on another Mac beforehand.
What is the difference between erasing and formatting a drive?
Erasing and formatting mean essentially the same thing on a Mac — both remove all data and prepare the drive for use. Disk Utility uses the word "Erase" for this process. The format you choose (APFS or Mac OS Extended) determines how the drive organizes files, but APFS is the standard for modern Macs.
Will clearing my drive remove the activation lock on my Mac?
No. If your Mac is linked to an Apple ID through Find My Mac or Activation Lock, erasing the drive will not remove that connection. When you reinstall macOS and set up your Mac, you will be asked to sign in with the Apple ID that was previously linked to it. If you are selling or giving away your Mac, sign out of your Apple ID before you erase the drive, or the new owner will not be able to use it without your password.
How long does it take to clear a hard drive?
Erasing the drive itself takes only a few minutes. Reinstalling macOS takes 20 to 60 minutes depending on your internet speed and which version of macOS you are installing. The entire process from start to finish usually takes between 30 minutes and two hours.