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 SE 4 Vertical Camera Feature

iPhone SE 4 Rumored to Use Same Rear Chassis as iPhone 16

Friday July 19, 2024 7:16 am PDT by
Apple will adopt the same rear chassis manufacturing process for the iPhone SE 4 that it is using for the upcoming standard iPhone 16, claims a new rumor coming out of China. According to the Weibo-based leaker "Fixed Focus Digital," the backplate manufacturing process for the iPhone SE 4 is "exactly the same" as the standard model in Apple's upcoming iPhone 16 lineup, which is expected to...
iPhone 16 Pro Sizes Feature

iPhone 16 Series Is Just Two Months Away: Everything We Know

Monday July 15, 2024 4:44 am PDT by
Apple typically releases its new iPhone series around mid-September, which means we are about two months out from the launch of the iPhone 16. Like the iPhone 15 series, this year's lineup is expected to stick with four models – iPhone 16, iPhone 16 Plus, iPhone 16 Pro, and iPhone 16 Pro Max – although there are plenty of design differences and new features to take into account. To bring ...
iphone 14 lineup

Cellebrite Unable to Unlock iPhones on iOS 17.4 or Later, Leak Reveals

Thursday July 18, 2024 4:18 am PDT by
Israel-based mobile forensics company Cellebrite is unable to unlock iPhones running iOS 17.4 or later, according to leaked documents verified by 404 Media. The documents provide a rare glimpse into the capabilities of the company's mobile forensics tools and highlight the ongoing security improvements in Apple's latest devices. The leaked "Cellebrite iOS Support Matrix" obtained by 404 Media...
tinypod apple watch

TinyPod Turns Your Apple Watch Into an iPod

Wednesday July 17, 2024 3:18 pm PDT by
If you have an old Apple Watch and you're not sure what to do with it, a new product called TinyPod might be the answer. Priced at $79, the TinyPod is a silicone case with a built-in scroll wheel that houses the Apple Watch chassis. When an Apple Watch is placed inside the TinyPod, the click wheel on the case is able to be used to scroll through the Apple Watch interface. The feature works...
bsod

Crowdstrike Says Global IT Outage Impacting Windows PCs, But Mac and Linux Hosts Not Affected

Friday July 19, 2024 3:12 am PDT by
A widespread system failure is currently affecting numerous Windows devices globally, causing critical boot failures across various industries, including banks, rail networks, airlines, retailers, broadcasters, healthcare, and many more sectors. The issue, manifesting as a Blue Screen of Death (BSOD), is preventing computers from starting up properly and forcing them into continuous recovery...
New MacBook Pros Launching Tomorrow With These 4 New Features 2

M5 MacBook Models to Use New Compact Camera Module in 2025

Wednesday July 17, 2024 2:58 am PDT by
Apple in 2025 will take on a new compact camera module (CCM) supplier for future MacBook models powered by its next-generation M5 chip, according to Apple analyst Ming-Chi Kuo. Writing in his latest investor note on unny-opticals-2025-business-momentum-to-benefit-509819818c2a">Medium, Kuo said Apple will turn to Sunny Optical for the CCM in its M5 MacBooks. The Chinese optical lens company...