What "delete everything" means and when you need it

Deleting everything on a Mac means erasing all your files, applications, and settings so the machine returns to a blank state. This is different from moving files to the Trash — it wipes the entire drive. Most people do this before selling a Mac, giving it away, or starting completely fresh after years of accumulated clutter.

The process has two separate steps: backing up anything you want to keep, then erasing the drive itself. If you skip the backup step, those files are gone permanently. Mac's recovery tools can sometimes retrieve erased files, but it is not may provide, so the backup step matters.

You have three main routes depending on what you want to do afterward: erase and reinstall macOS (the most common choice), erase and leave the drive blank, or erase and install a different operating system. The first route takes the longest but leaves you with a working Mac.

Key Takeaways

  • Back up everything you want to keep using Time Machine or by copying files to an external drive before you erase anything.
  • Restart your Mac in Recovery Mode by holding Command and R during startup, then use Disk Utility to erase the drive.
  • After erasing, you can reinstall macOS from Recovery Mode, which takes 20 minutes to an hour depending on your internet speed and Mac model.
  • If you are selling or giving away the Mac, erase it and reinstall macOS so the new owner gets a working machine; if you are keeping it, you can skip the reinstall step.
  • Erasing a Mac with an Apple Silicon chip (M1, M2, M3) works the same way as older Intel Macs, but the recovery process is slightly faster.

Back up your files before you erase

The fastest way to back up is Time Machine, which is built into macOS. Plug in an external drive, open System Settings, go to General, then Time Machine, and click "Set Up Time Machine." Select your external drive and let it run. A full backup takes anywhere from 30 minutes to several hours depending on how much data you have.

If you do not have an external drive or prefer not to use Time Machine, you can copy individual folders to a USB drive, cloud storage like iCloud Drive or Google Drive, or an external hard drive manually. Open Finder, navigate to the folders you want (usually Documents, Downloads, Pictures, and Desktop), and drag them to your backup location. This method is slower for large amounts of data but gives you more control over what you keep.

Write down any passwords, license keys, or account information you will need after the erase. Your Mac will not have access to your email, cloud accounts, or saved passwords once it is wiped, so you may need these details to set things up again.

Restart into Recovery Mode

Shut down your Mac completely. Turn it back on and immediately hold down Command + R until you see the Apple logo or a spinning globe. Keep holding until the macOS Utilities window appears — this usually takes 10 to 20 seconds. You are now in Recovery Mode, which is a separate operating system that runs from your Mac's firmware rather than from the main drive.

If you have an older Mac and Command + R does not work, try Command + Option + R (which downloads the macOS version your Mac originally shipped with) or Command + Shift + Option + R (which downloads the newest compatible version). If you are using an Apple Silicon Mac and see a startup options screen instead of the utilities window, click Options, then choose your startup disk, then click Continue.

If Recovery Mode will not start, you may need to use another Mac or borrow one temporarily. You can create a bootable USB installer on another Mac and use that to erase your drive, but this is a less common route and requires more technical steps.

Erase the drive using Disk Utility

In the macOS Utilities window, click Disk Utility and then click Continue. You will see a list of drives on the left side. Click the drive you want to erase — usually the one named "Macintosh HD" or similar. Do not click a partition or volume unless you know exactly what you are doing.

Click the Erase button at the top. A dialog box will appear asking for a name, format, and scheme. For the name, type whatever you want to call your drive (the default "Macintosh HD" is fine). For format, choose APFS if your Mac is from 2017 or newer, or Mac OS Extended (Journaled) if it is older. For scheme, choose GUID Partition Map. Then click Erase.

The erase process takes a few minutes. When it finishes, you will see a message saying the drive was erased successfully. The drive is now completely blank. If you want to stop here and leave your Mac without an operating system, you can restart and the Mac will show a startup screen asking you to choose an operating system. Otherwise, move to the next step to reinstall macOS.

Reinstall macOS (optional but recommended)

If you want your Mac to be usable after the erase, you need to reinstall the operating system. In the macOS Utilities window, click Reinstall macOS (or "Reinstall OS X" on older Macs) and follow the prompts. The installer will download the full operating system, which can take 10 minutes to an hour depending on your internet speed.

During the download and installation, your Mac will restart several times. This is normal. Do not turn off your Mac or unplug it during this process. The entire process from start to finish usually takes 45 minutes to two hours.

When installation finishes, your Mac will restart and show the setup screen for a new user account. You can create a new account or sign in with your Apple ID. At this point, your Mac is completely erased and running a fresh copy of macOS.

What to do after the erase is complete

If you backed up your files using Time Machine, you can restore them now. During the initial setup, you will see an option to restore from a Time Machine backup. Plug in your backup drive, select it, and let the restoration run. This puts all your files back on the Mac but in a clean, fresh operating system.

If you backed up files manually to an external drive or cloud storage, you can copy them back into your new user account after setup is complete. Open Finder, navigate to your backup location, and drag the folders back to your Documents, Downloads, or other locations.

If you are selling or giving away the Mac, do not restore your files. Just leave it with the fresh macOS installation and let the new owner set it up with their own account. This ensures they get a completely clean machine with no trace of your data.

Erasing a Mac with an Apple Silicon chip

Macs with Apple Silicon chips (M1, M2, M3, M4) erase the same way as Intel Macs, but the recovery process is faster because the operating system is smaller. The steps are identical: restart into Recovery Mode using Command + R, open Disk Utility, select your drive, click Erase, choose APFS format and GUID Partition Map scheme, then reinstall macOS.

One difference is that Apple Silicon Macs may ask you to enter your Apple ID password during the erase process if you have Find My Mac turned on. This is a security feature to prevent someone from erasing a stolen Mac. If you see this prompt, enter your credentials and continue.

The reinstall on Apple Silicon is noticeably faster than on older Intel Macs — usually 20 to 40 minutes total instead of 45 minutes to two hours. Everything else works the same way.

Frequently Asked Questions

Can I recover files after I erase my Mac?

Once you erase a drive and reinstall macOS, file recovery becomes very difficult but not impossible. Specialized data recovery software exists, but it is expensive and does not always work. The safest approach is to back up before you erase. If you have already erased and need files back, contact a data recovery service, but expect to pay several hundred dollars with no may provide of success.

What if my Mac will not start in Recovery Mode?

Try holding Command + Option + R instead, which downloads the original macOS version. If that does not work, restart and try Command + Shift + Option + R. If none of these work, you may need to use another Mac to create a bootable USB installer, or contact Apple Support for help. Some very old Macs may require different key combinations.

Do I need to erase my Mac before selling it?

Yes. Erasing and reinstalling macOS removes all your personal data and gives the new owner a clean machine. If you do not erase it, the new owner will have access to your files, email, photos, and any saved passwords. Always erase and reinstall before handing over a Mac to someone else.

Will erasing my Mac remove the operating system completely?

Erasing the drive removes everything, including macOS. However, your Mac's firmware (the code that runs before the operating system loads) remains intact. This firmware allows you to restart into Recovery Mode and reinstall macOS. You cannot accidentally brick your Mac by erasing the drive.

How long does the whole process take?

Backing up takes 30 minutes to several hours depending on how much data you have. Erasing takes a few minutes. Reinstalling macOS takes 20 minutes to two hours depending on your internet speed and Mac model. Plan for at least two to three hours total if you are backing up, erasing, and reinstalling.