What to do before selling or giving away your Mac
The following article describes how to back up and remove your data from your Mac before selling it or giving it away. Perform the steps in the order shown below.
Important: Do not manually delete contacts, calendars, reminders, documents, photo streams, or any other iCloud data while signed in to your iCloud account. Doing so will not only delete that information from your Mac, but will also delete it from the iCloud servers and any other devices you also sync with iCloud. Instead, follow the steps below to remove your iCloud account from your Mac and leave your iCloud data intact on your other devices.
- Deauthorize your computer from iTunes (if applicable).
- Back up your data.
- If enabled, turn off Find My Mac and sign out of iCloud. To turn off the iCloud service on your Mac:
- Choose System Preferences > iCloud.
- Deselect Find My Mac to disconnect your devices from iCloud.
- Click the Sign Out button on the left side.
- The system automatically removes iCloud data from your Mac.
- Reformat your hard drive with Disk Utility to erase all stored data and then reinstall OS X on your computer. For instructions specific to your operating system, select the appropriate article below:
Optional: If you want to return your Mac to its original "out-of-the-box" state, so the new owner can set up the computer with the Mac OS X Setup Assistant, follow these steps:
- After you reformat your hard drive and reinstall OS X, the Setup Assistant automatically starts and displays the Welcome screen that prompts you to choose your country or region. Do not continue with the setup of your system.
- Press Command-Q to shut down your Mac.
Your Mac is now ready for its new owner. When the Mac is turned on for the first time, the Setup Assistant will guide the new owner through the setup process.