How to Wipe Your Mac and Restore from Backup Safely
In this article
Yes—you can completely erase your Mac and then bring everything back from a Time Machine or other backup in a single, reliable process. The key is to prepare a current backup, boot into macOS Recovery, run Disk Utility to reformat the drive, reinstall macOS, and finally use the Migration Assistant to restore your data.
What You’ll Need
- A recent Time Machine backup on an external USB‑C, Thunderbolt, or USB‑A drive, or a clone made with Carbon Copy Cloner, SuperDuper!, etc.
- An internet connection capable of downloading the macOS installer (wired Ethernet or reliable Wi‑Fi).
- At least 20 GB of free space on the backup drive for the macOS installer if you plan to use Internet Recovery.
- The power adapter plugged in (especially for laptops) to prevent shutdown during the reinstall.
- Administrator credentials for the Mac you are wiping.
- If you use iCloud Drive, ensure the latest files have synced before you erase.
Step‑By‑Step
- Verify your backup. Open System Settings (or System Preferences on older macOS) > Time Machine and confirm the most recent backup timestamp. Click Options to ensure no folders are excluded. If you use a third‑party clone, mount the drive and browse a few folders to verify the copy.
- Make a bootable installer (optional but recommended). Download the latest macOS installer from the App Store. Use
createinstallmediain Terminal to write it to a 16 GB (or larger) USB drive. This step avoids reliance on Apple’s servers during recovery. - Shut down the Mac. Choose Apple menu > Shut Down, wait for the power light to go off.
- Enter Recovery mode. For Apple Silicon: press and hold the power button until the startup options window appears, then select Options and click Continue. For Intel: turn on the Mac and immediately hold Command‑R until the Apple logo or spinning globe appears. Note that menu labels may vary slightly between macOS versions.
- Connect to the internet. In the Recovery window, choose Wi‑Fi from the menu bar if you are not using Ethernet. Verify the connection by opening Utilities > Terminal and pinging
apple.com(optional). - Open Disk Utility. From the macOS Utilities screen, select Disk Utility and click Continue. If you see the new “Show All Devices” button, click it to reveal the physical drive.
- Erase the startup volume. Select the top‑level drive (e.g., “Apple SSD …”) not the indented volume. Click Erase, choose a name (default is “Macintosh HD”), format APFS for macOS Ventura and later, or Mac OS Extended (Journaled) for older versions. Scheme should be GUID Partition Map. Confirm and wait for the process to finish.
- Quit Disk Utility. Close the window to return to the macOS Utilities screen.
- Reinstall macOS. Choose Reinstall macOS (or Install macOS on Apple Silicon) and follow the on‑screen prompts. If you created a bootable installer, connect it and hold Option at startup, then select the installer drive and choose “Install macOS”. The installer will download the latest compatible version if you are using Internet Recovery.
- Complete the setup assistant. After installation, the Mac restarts into the Setup Assistant. When prompted, choose “Transfer information from a Time Machine backup, another Mac, or a startup disk.” Connect the backup drive, select the appropriate backup, and let Migration Assistant copy apps, settings, and user files. This step can take from 30 minutes to several hours depending on data size.
- Verify the restored system. Log in with your usual account, open a few frequently used apps, and check that documents appear where expected. Open System Settings > Time Machine to ensure the backup destination is still set correctly for future snapshots.
- Securely erase the external backup (optional). If you used a temporary clone for the wipe and no longer need it, you can erase it in Disk Utility to free space.
Common Mistakes
- Skipping the backup verification step and later discovering a corrupted file.
- Erasing the wrong volume—always select the physical drive, not just the indented “Macintosh HD”.
- Attempting to reinstall macOS without an internet connection; the installer will fail and leave you stuck in Recovery.
- Using Command‑R on an Apple Silicon Mac, which will not enter Recovery and may trigger a firmware lock screen.
- Power loss during installation—keep the charger plugged in and disable sleep in System Settings > Battery before starting.
Tips
- Run
softwareupdate --install‑allin Terminal after macOS is installed to fetch the latest security patches before restoring data. - If you have multiple user accounts, choose “Transfer only selected user” in Migration Assistant to keep a clean system.
- For very large backups, connect the drive via Thunderbolt for faster data transfer.
- Consider enabling FileVault after the restore; it encrypts the newly formatted drive without affecting existing data.
- Keep a copy of the macOS installer on a separate USB stick; it can be a lifesaver if Apple’s servers are down.
Troubleshooting
Recovery won’t start. Shut down, disconnect all peripherals, then press and hold the power button for 10 seconds (Apple Silicon) or try Option‑Command‑R to force Internet Recovery on Intel Macs.
Disk Utility says the drive can’t be erased. Restart the Mac, boot into Recovery again, and ensure you selected the top‑level device. If the problem persists, run diskutil list in Terminal to check for hardware errors; you may need to replace the SSD.
macOS installer fails with a network error. Verify your Wi‑Fi network isn’t using a captive portal or restrictive firewall. Switch to Ethernet if possible, or use a different network.
Migration Assistant stalls or reports “cannot find backup”. Ensure the backup drive is formatted as APFS or Mac OS Extended (Journaled) and is mounted. If the backup is on a network share, mount it via Finder first.
Missing files after restore. Check the Time Machine backup browser (Enter Time Machine from the menu bar) to confirm the files existed in the snapshot. If they were excluded, you’ll need to retrieve them from another source.
Frequently Asked Questions
Do I need a bootable installer, or can I rely on Internet Recovery?
Internet Recovery works on most Macs, but a bootable installer is faster and avoids potential server outages. Use whichever is more convenient for you.
Can I wipe only the user data and keep the OS?
Yes—rather than erasing the whole drive, you can delete the user folder from /Users and then reinstall macOS from the App Store. However, a full drive erase guarantees a clean slate and removes lingering system‑level issues.
What if my Mac has a T2 security chip?
The T2 chip does not change the wipe process. Just make sure you have the power adapter connected, as the chip can prevent booting if the battery is low.
Will my iPhone or iPad data be affected?
No. The wipe only affects the Mac’s internal storage. iCloud‑synced data on other devices remains untouched.
How long does the whole process take?
Erasing the drive and reinstalling macOS usually takes 15‑30 minutes. Restoring from a Time Machine backup can take anywhere from 30 minutes to several hours, depending on the amount of data and connection speed.
Can I restore from a non‑Time Machine backup?
Migration Assistant also accepts clones made with Carbon Copy Cloner, SuperDuper!, or a bootable clone. Choose “From a Mac, Time Machine backup, or startup disk” and point to the cloned volume.