What to do before you sell, give away, or trade in your Mac

How to prepare your Mac for a new owner and restore it to factory settings.

Cancel or transfer AppleCare coverage

If your Mac is covered by an AppleCare plan, you can cancel or transfer the plan.

Cancel your AppleCare plan

Transfer your AppleCare plan to the new owner


Use Erase All Content and Settings, if available

If you're using macOS Monterey or later on a Mac with Apple silicon or a Mac with the Apple T2 Security Chip, use Erase All Content and Settings instead of the remaining steps in this article. For any other Mac or macOS, continue to step 3.

Erase all content and settings


Sign out of iTunes

If using macOS Catalina or later, skip this step.

From the menu bar in iTunes, choose Account > Authorizations > Deauthorize This Computer. Enter your Apple ID and password and click Deauthorize. Learn more about deauthorizing.


Sign out of iCloud

macOS Ventura or later: Choose Apple menu  > System Settings, then click your name (Apple ID) in the sidebar. On the right, scroll down and click Sign Out.

macOS Monterey, macOS Big Sur, or macOS Catalina: Choose Apple menu  > System Preferences, then click Apple ID. Select Overview in the sidebar, then click Sign Out.

Earlier versions of macOS: Choose Apple menu  > System Preferences, click iCloud, then click Sign Out.

When asked whether to keep a copy of your iCloud data on this Mac, you can keep a copy, because you will erase your Mac later. Your iCloud data remains in iCloud and on other devices that are signed in to iCloud with your Apple ID.


Sign out of iMessage

From the menu bar in Messages, choose Messages > Settings (or Preferences). Click iMessage, then click Sign Out.


Optional: Unpair Bluetooth devices

If your Mac is paired with a Bluetooth keyboard, mouse, or other device that you plan to keep, you can unpair it. This optional step prevents accidental input when the Mac and device have separate owners but remain in Bluetooth range. If you do this on a Mac that doesn't have a built-in keyboard or trackpad, you will need to plug in a USB keyboard and mouse to complete the remaining steps.

To unpair a Bluetooth device, choose Apple menu  > System Settings (or System Preferences), then click Bluetooth. Move your pointer over the device that you want to unpair, then click the Disconnect button or remove button (x) next to the device name.


Erase your Mac and reinstall macOS

After you erase your Mac and reinstall macOS, your Mac restarts to a setup assistant. Press Command-Q to shut down instead of continuing setup.

Erase your Mac

Reinstall macOS


Reset NVRAM and shut down

Turn on your Mac and immediately press and hold these four keys together: Option, Command, P, R. Release the keys after about 20 seconds. This clears user settings from memory and restores certain security features that might have been altered. Learn more about resetting NVRAM.

After resetting NVRAM, your Mac starts up to the setup assistant again. To leave the Mac in an out-of-box state, press Command-Q to shut down instead of continuing setup.


No matter the model or condition, we can turn your device into something good for you and good for the planet: Learn how to trade in or recycle your Mac with Apple Trade In.

Published Date: