"How to Properly Wipe a MacBook: A Comprehensive Guide"

Christopher Jun 16, 2026

How to Wipe a MacBook: A Comprehensive Guide

How To Wipe A MacBook
How To Wipe A MacBook

Wiping a MacBook is a process that erases all data from the computer, restoring it to its factory settings. This is often necessary when selling or disposing of a MacBook, or when experiencing persistent software issues. Before proceeding, make sure you have backed up any important files or data, as this process is irreversible.

How to Clean Your Dirty MacBook
How to Clean Your Dirty MacBook

Preparation is Key

To ensure a smooth wipe, it's essential to prepare your MacBook. This involves connecting it to a power source, disabling any external devices, and closing all running applications. If you're using a MacBook with a Fusion Drive or an SSD, you may need to take extra precautions to prevent data loss.

How to Factory Reset Your MacBook: Erase Your Data Before You Sell or Trade It In
How to Factory Reset Your MacBook: Erase Your Data Before You Sell or Trade It In

Backing Up Important Data

Before erasing your MacBook, it's crucial to back up any important files, documents, and data. You can use Time Machine to back up your MacBook to an external drive or cloud storage service like iCloud, Google Drive, or Dropbox. This will ensure that your data is safe and can be recovered after the wipe.

10 Common MacBook Problems and How to Fix Them (Step-by-Step Mac Troubleshooting Guide) - Tech2Geek
10 Common MacBook Problems and How to Fix Them (Step-by-Step Mac Troubleshooting Guide) - Tech2Geek

Method 1: Wipe with Recovery Mode

To wipe your MacBook using Recovery Mode, follow these steps:

  • Restart your MacBook and immediately hold the power button until the loading process starts.
  • Release the power button and let the MacBook boot into Recovery Mode.
  • Select your language and click on the "Disk Utility" option.
  • Select your startup disk from the list on the left and click on the "Erase" button.
  • Confirm that you want to erase the disk, and then click on the "Erase" button again.
  • Wait for the erase process to complete.
  • Click on the "Reinstall macOS" option to reinstall the operating system.
How to Factory Reset a Mac in 7 Steps
How to Factory Reset a Mac in 7 Steps

Method 2: Wipe with Terminal

To wipe your MacBook using Terminal, follow these steps:

  • Restart your MacBook and hold the power button until the loading process starts.
  • Release the power button and let the MacBook boot into Recovery Mode.
  • Select your language and click on the "Terminal" option.
  • Enter the command "diskutil list" to list all available disks.
  • Enter the command "diskutil eraseDisk" followed by your disk name (e.g., "disk0") and the new disk name (e.g., "MacBook").
  • Confirm that you want to erase the disk, and then enter the command "y" to proceed.
  • Wait for the erase process to complete.
How to Factory Reset Your MacBook or iMac
How to Factory Reset Your MacBook or iMac

Post-Wipe Steps

After wiping your MacBook, you'll need to reinstall the operating system and any necessary software. Follow these steps:

Is It Okay To Clean A Macbook Screen With Wipes
Is It Okay To Clean A Macbook Screen With Wipes
How to Do a Monthly Computer Clean Up | LL Home
How to Do a Monthly Computer Clean Up | LL Home
How to factory reset your Mac
How to factory reset your Mac
How to Factory Reset a Mac If You're Ready to Start Over
How to Factory Reset a Mac If You're Ready to Start Over
How to wipe a Mac computer, and reset it to its factory settings
How to wipe a Mac computer, and reset it to its factory settings
a person typing on a laptop with the words apple's worst macbook problems and how to fix them
a person typing on a laptop with the words apple's worst macbook problems and how to fix them
a laptop computer sitting on top of a wooden desk with the words how to factory rest your macbook or imac
a laptop computer sitting on top of a wooden desk with the words how to factory rest your macbook or imac
How to factory reset your MacBook Pro before selling or giving it away — 9to5Mac
How to factory reset your MacBook Pro before selling or giving it away — 9to5Mac
The 6 Best Mac Cleaning and Optimization Apps
The 6 Best Mac Cleaning and Optimization Apps
How to wipe a hard drive on your PC or Mac
How to wipe a hard drive on your PC or Mac
How to Safely Clean an Infected Computer and Copy Your Files
How to Safely Clean an Infected Computer and Copy Your Files
How to Back Up Your Mac to Time Machine or iCloud
How to Back Up Your Mac to Time Machine or iCloud
Clean Your Computer
Clean Your Computer
How to wipe a hard drive on your PC or Mac
How to wipe a hard drive on your PC or Mac
an open laptop computer sitting on top of a desk with the words spring cleaning written on it
an open laptop computer sitting on top of a desk with the words spring cleaning written on it
9 Common Mistakes That Damage Your MacBook
9 Common Mistakes That Damage Your MacBook
5 Common MacBook Problems & How You Can Fix Them
5 Common MacBook Problems & How You Can Fix Them
How To Clean Up Laptop To Make It Faster
How To Clean Up Laptop To Make It Faster
an open laptop computer sitting on top of a table next to a mouse and keyboard
an open laptop computer sitting on top of a table next to a mouse and keyboard
How to clear your MacBook cache (and why it'll do wonders for performance)
How to clear your MacBook cache (and why it'll do wonders for performance)

To reinstall macOS, click on the "Reinstall macOS" option from the Utilities window.

Sign in with your Apple ID to activate your MacBook and restore any purchased content.

Install any necessary software, such as Adobe Creative Cloud or Microsoft Office.

Set up your MacBook as a new user or restore it from a Time Machine backup.

Final Tips and Considerations

Before wiping your MacBook, ensure that you have backed up all important files and data. This process is irreversible, and data loss can be devastating. Additionally, consider using a professional data recovery service if you need to recover data after the wipe.

When selling or disposing of a MacBook, ensure that you have wiped the device correctly to protect your personal data and maintain a secure environment for the next user.