How do i wipe my mac and start over

If you plan to give away, sell, or trade in your Mac, the first thing you should do is erase the data on it and perform a factory reset. This article shows you how. If you've upgraded to macOS Monterey on a Mac with Apple silicon or a Mac with the Apple T2 Security Chip, follow the steps to erase all content and settings instead of following the steps in this article.

How do i wipe my mac and start over

First, Back Up Your Data

Before you do anything, you should back up the files on your Mac. You could do this manually by copying across files onto an external drive. If you use iCloud, your photos, mail, contacts, documents, and so on should be automatically backed up in cloud storage.

How do i wipe my mac and start over
How do i wipe my mac and start over
However, we highly recommend that you take the time to perform a Time Machine backup of your system using an external drive. That way, the same backup volume can be used by Apple's Migration Assistant during a macOS installation to quickly transfer your applications, files and settings from the old Mac to a new one.

Check out our dedicated guide on how to back up your Mac using Time Machine.

There are certain apps that will need to be manually unlinked from your Mac before you say goodbye to it. Some third-party apps require licenses that only work on a limited number of computers, so think about any licenses you may have purchased.

How do i wipe my mac and start over
How do i wipe my mac and start over
Similarly, you should de-authorize your iTunes account on the Mac, as this removes its access to content that you bought from the iTunes Store, iBooks Store, or App Store, including things like music, movies, TV shows, apps, and books.

To learn how to de-authorize your iTunes account, check out our dedicated guide.

Sign Out of iCloud

It's also important to disable Find My Mac and sign out of ‌iCloud‌ in macOS. That way you'll know for sure there isn't anything lingering on your Mac that links your Apple ID to this machine. The following steps show you how.

  1. Click the Apple () symbol in the top left corner of your Mac's screen and select System Preferences....
    How do i wipe my mac and start over
    How do i wipe my mac and start over

  2. Click iCloud in the preference pane.
  3. Uncheck all the boxes in the list to remove copies of the related data on this Mac.
    How do i wipe my mac and start over
    How do i wipe my mac and start over

  4. Click Sign Out.

How to Erase and Reset Your Mac

Now that you've taken the above precautionary steps and unlinked your purchases and accounts, it's time to erase your Mac's drive and reset the system to its factory defaults.

So, you're thinking about buying (or already bought) a new Mac and considering what to do with your old one. You could hand it over to a friend or family member, keep it as a just-in-case backup (you know, for testing betas!), or sell it. 

If you know the Mac is leaving your hands, you must reset it before selling it or giving it away. Not only will this protect your information, but it's also harder for the new owner to use or access some of Mac's features if your digital prints are all over it.

The first thing you should do before hitting the streets to sell your old Mac is to clear it of personal data. You don't want to accidentally sell your computer to a stranger while it's still logged into iCloud. We recommend following our guide about how to transfer data to your new Mac from your old Mac.

The next step is reinstalling the computer's operating system so the new owner can get started without using recovery mode. That can be a pain.

If you're going through erasing your old Mac and reinstalling the operating system, there are also common troubleshooting tips to help you out. Don't forget to follow the additional steps if selling a MacBook with Touch ID.

Here's how to reset your Mac before selling it or giving it away. These directions are based on macOS 13 Ventura operating system. 

Clean the Mac of your personal data before erasing it

If you're about to sell your Mac, the one thing you don't want to do is give away the data you've been storing on it all these years. It's a security and privacy thing for you, but it's also essential for the buyer. If you leave behind anything that needs to be logged into with a password, that buyer will have to track you down and get your password to change ownership. A completely fresh-from-scratch Mac is the best way to do this.

Step 1: back up your Mac

If you already have your new Mac on hand, you can transfer all of your data from your old Mac or use an older Time Machine backup. If you don't have your new Mac yet, you probably shouldn't be selling your old one yet. But, if you don't think you'll need your old computer before getting your new one, make sure to back up your data so that nothing happens to it before you get what you need onto your new Mac.

Step 2: sign out of everything

The software you have on your Mac is licensed to you, which means it doesn't get transferred to your computer's new owner (except the operating system). To avoid complications with the new owner attempting to download and install software licensed by you, make sure to sign out of everything your personal information is connected to.

First, you'll want to log out of the Music app. 

  1. Open Music on your Mac.
  2. Click Account in the menu bar on the left side of your screen.
  3. Select Sign Out.

How do i wipe my mac and start over

(Image credit: iMore)

Next, log out of the iMessage app. 

  1. Open the Messages app on your Mac.
  2. Choose Messages in the menu bar at the top left corner of your screen.
  3. Click Settings from the drop-down menu.
  4. Select iMessage.
  5. Click on the Sign Out button and confirm you'd like to log out. 

(Image credit: iMore)

It's also important to log off of iCloud on your Mac. 

  1. Click on the Apple icon in the upper-left corner of your Mac's screen.
  2. Select System Settings from the drop-down menu.
  3. Choose Apple ID.

(Image credit: iMore)
  1. Scroll down and choose iCloud. 
  2. Click the Options button near Find My Mac. 
  3. Choose the Turn Off box next to Find My Mac: On, and confirm you wish to deactivate Find My Mac on your Mac by entering your password. 
  4. Follow any additional instructions.

(Image credit: iMore)

It's now time to turn off the rest of iCloud. 

  1. Click on your Apple ID once again in System Settings. 
  2. Scroll down, click Sign Out and follow the additional instructions to sign off of iCloud on your old Mac. 

(Image credit: iMore)

Step 3: unpair your Bluetooth devices

If you're keeping your Bluetooth devices, you don't want to leave them paired to a Mac that you're getting rid of. It isn't really that important of a step, but if you sell your old Mac to, say, a roommate or someone living in the same house as you, you may experience accidentally connecting back to it.

  1. Click on the Apple icon in the upper-left corner of your Mac's screen.
  2. Click System Preferences from the drop-down menu.
  3. Click on Bluetooth.
  4. Hover over the device you want to unpair.
  5. Click on the X next to the device.

If you're unpairing a keyboard, trackpad, or mouse on a desktop Mac, be sure to have a wired one plugged in, or you won't be able to type or use a curser, and you'll have to repair it all again.

Step 4: erase your hard drive

Once your data is backed up and you've signed out of everything that might connect your old Mac to your personal information, you can erase everything on it by reformatting the hard drive.

  1. Restart your Mac.
  2. While the startup disc is waking up, hold down the Command+R keys simultaneously. Your Mac will boot into macOS Recover.
  3. Select Disk Utility.
  4. Click on Continue.

From there:

  1. Click on View.
  2. Click on Show all Devices.
  3. Find your Startup disk (it should be named "Machintosh HD" unless you renamed it) in the sidebar.
  4. Select the data disk under the startup disk.
  5. Click Edit in the Mac screen's upper left corner in the menu bar.
  6. Click Delete APFS Volume from the menu bar or click the Remove button in the disk utility bar.
  7. If the Erase Group Volume button appears, click that to erase all of the volumes associated with the drive
  8. Confirm by clicking Delete when prompted.
  9. Click Done when prompted.

After you've deleted each data disk, it's time to erase your startup disk.

  1. Select your Startup Disk. This will be the main internal drive on your Mac. It's usually called Apple HHD or Apple SSD or something similar.
  2. Click the Erase button at the top of the Disk Utility window.
  3. If your Mac uses HFS+, select Mac OS Extended (Journaled) from the format list. If your Mac is using APFS, select APFS from the format list. See Troubleshooting for more information on which format to select.
  4. If the Scheme is available, select GUID Partition Map.
  5. Click Erase.
  6. Select Quit Disk Utility from the Disk Utility drop-down menu in the upper left corner of the screen after the process is complete.

Step 5: reinstall a clean Mac operating system

After you erase your hard drive, it will be ready to clean the operating system. These directions are different whether you're using an Intel- or Apple silicon-based Mac.

Install a fresh copy of macOS on an Intel-based machine

You should already be in the utility window after erasing your Mac. If not, restart your computer and hold down Command+R simultaneously until you see the Apple logo.

Make sure to reinstall macOS through Recovery Mode, holding down Command+R. You may be asked to sign in with your Apple ID.

Note: Make sure your Mac is connected to the internet to verify the software. You'll be asked to do so during the installation process. 

If, while reinstalling macOS, you're asked to enter a password, enter the password you use to unlock your Mac, not your Apple ID.

  1. Restart your Mac.
  2. While the startup disc is waking up, hold down the Command+R keys simultaneously. You're Mac will boot into macOS Recover.
  3. Click on Reinstall macOS (or Reinstall OS X where applicable) to reinstall the operating system that came with your Mac.
  4. Click on Continue.
  5. Select your hard drive ("Machintosh HD) when asked to select your disk.
  6. Click on Install to install the latest operating system on your Mac. Your Mac will restart after the installation is complete.
    • Make sure you don't close the lid on a MacBook or put your Mac to sleep during this reinstallation period, even if it takes a while. If the computer goes to sleep, it will stop the installation process from continuing, and you'll have to start over. Your screen will go blank, showing the restart Apple logo and a progress bar several times.

From there:

  1. Hold down Command and Q after the installation is complete. Do not follow the setup instructions. Leave that part for the new owner.
  2. Click Shut Down to shut down your Mac.

Your Mac is now clean and ready for a new owner. They will complete the setup instructions to get started using the Mac and download the latest macOS operating system that is available and supported on their Mac.

Install a fresh copy of macOS on Apple silicon-based machine

Apple is slowly replacing Intel-based Macs with those that use native silicon. Check out our reinstallation guide if you own one of the newer devices. 


We've gotten many questions about erasing or reinstalling macOS (usually reinstalling). Sometimes, the easiest way to fix issues with reinstalling macOS is to start by holding Shift+Option+Command+R, putting your Mac into an alternate version of Recovery Mode called Internet Recovery, which allows you to install the original macOS that came with your Mac. You can keep that operating system and let the new owner update to their preferred macOS or go through the macOS update process.

If the installer doesn't see your disk during the macOS reinstallation process or says you can't install the operating system on the disk, you may need to try erasing your hard drive again. First, restart your Mac and hold Command+R to bring up Recovery mode and repeat Step 4.

Since macOS changed to APFS, some readers have struggled with which format option to choose when erasing their disk. Some other possible troubleshooting issues from Apple's support document (opens in new tab) may help you.

Are you formatting the disk that came built into your Mac?

If the built-in disk came APFS-formatted, don't change it to Mac OS Extended.

Are you about to install macOS on the disk?

If you need to erase your disk before installing High Sierra or later for the first time on that disk, choose Mac OS Extended (Journaled). During installation, the macOS installer decides whether to convert to APFS—without erasing your files automatically:

Are you preparing a Time Machine backup disk or bootable installer?

Choose Mac OS Extended (Journaled) for any disk you plan to use with Time Machine or as a bootable installer.

Will you be using the disk with another Mac?

If the other Mac isn't using High Sierra or later, choose Mac OS Extended (Journaled). Earlier versions of macOS don't mount APFS-formatted volumes.

To learn which format is currently in use, use any of these methods:

  • Select the volume in the Disk Utility sidebar, then check the information on the right. Choose File > Get Info from the Disk Utility menu bar for more detail.
  • Open System Information and select Storage in the sidebar. The File System column on the right shows the format of each volume.
  • Select the volume in the Finder, then choose File > Get Info from the menu bar. The Get Info window shows the Format of that volume.

Step by step

There are different steps to follow before giving your Mac to someone else. Take your time, making sure each step is followed. Otherwise, later, there could be problems for you (and the new owner). Then, enjoy one of the best new Macs. 

How do I erase everything on my Mac and start over?

Choose Apple menu > System Settings, then click General in the sidebar. (You may need to scroll down.) Click Transfer or Reset on the right, then click Erase All Contents and Settings.

Does a factory reset delete everything Mac?

A factory reset will wipe your Mac computer, restoring its software to the state it was in when you first turned it on. That means that all your personal files and data will disappear.