If you plan to give away, sell, or trade in your Mac, the first thing you should do for security and practical reasons is erase the data on it and perform a factory reset. This article shows you how. If yours is an Apple silicon Mac running macOS Monterey or later or an Intel Mac with the Apple T2 Security Chip (2017-2020 models), follow the steps to erase all content and settings instead of following the steps in this article.

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.

hero timemachineHowever, 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.

Unlink your Apps

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.

itunes 12 2 iconSimilarly, 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....
    unlink icloud from mac 1

  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.
    unlink icloud from mac 2

  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.

  1. Click the Apple () symbol in the top left corner of your Mac's screen and select Restart....
  2. Click Restart.
  3. Hold down the Command and R keys as soon as you hear the Mac tone indicating a reboot.
  4. Wait for the macOS Utilities screen to appear, then click Disk Utility.
    erase you rmac 1

  5. Choose your Mac's system drive, usually named Macintosh HD, then click Erase.
  6. Select the Format option Mac Extended (Journaled) or APFS.
    erase you rmac 2

  7. Click Erase, confirm the action if prompted, and wait until formatting is complete.
  8. Next, close Disk Utility and click Reinstall macOS.
    erase you rmac 3

  9. Follow the installation prompts and allow the procedure to continue until you see the Setup Assistant appear.
  10. Press the keys Command+Q to shut down your Mac.

And that's it. You're now ready to sell your Mac, pass it on, set it up as new, or restore a backup.

Popular Stories

iPhone 15 Pro FineWoven

Apple Reportedly Stops Production of FineWoven Accessories

Sunday April 21, 2024 6:03 am PDT by
Apple has stopped production of FineWoven accessories, according to the Apple leaker and prototype collector known as "Kosutami." In a post on X (formerly Twitter), Kosutami explained that Apple has stopped production of FineWoven accessories due to its poor durability. The company may move to another non-leather material for its premium accessories in the future. Kosutami has revealed...
Provenance Emulator

PlayStation and SEGA Emulator for iPhone and Apple TV Coming to App Store [Updated]

Friday April 19, 2024 8:29 am PDT by
The lead developer of the multi-emulator app Provenance has told iMore that his team is working towards releasing the app on the App Store, but he did not provide a timeframe. Provenance is a frontend for many existing emulators, and it would allow iPhone and Apple TV users to emulate games released for a wide variety of classic game consoles, including the original PlayStation, GameCube, Wii,...
iOS 17 All New Features Thumb

iOS 17.5 Will Add These New Features to Your iPhone

Sunday April 21, 2024 3:00 am PDT by
The upcoming iOS 17.5 update for the iPhone includes only a few new user-facing features, but hidden code changes reveal some additional possibilities. Below, we have recapped everything new in the iOS 17.5 and iPadOS 17.5 beta so far. Web Distribution Starting with the second beta of iOS 17.5, eligible developers are able to distribute their iOS apps to iPhone users located in the EU...
apple vision pro orange

Apple Vision Pro Customer Interest Dying Down at Some Retail Stores

Monday April 22, 2024 2:12 am PDT by
Apple Vision Pro, Apple's $3,500 spatial computing device, appears to be following a pattern familiar to the AR/VR headset industry – initial enthusiasm giving way to a significant dip in sustained interest and usage. Since its debut in the U.S. in February 2024, excitement for the Apple Vision Pro has noticeably cooled, according to Bloomberg's Mark Gurman. Writing in his latest Power On...
top stories 20apr2024

Top Stories: Nintendo Emulators on App Store, Two New iOS 17 Features, and More

Saturday April 20, 2024 6:00 am PDT by
It was a big week for retro gaming fans, as iPhone users are starting to reap the rewards of Apple's recent change to allow retro game emulators on the App Store. This week also saw a new iOS 17.5 beta that will support web-based app distribution in the EU, the debut of the first hotels to allow for direct AirPlay streaming to room TVs, a fresh rumor about the impending iPad Air update, and...