How do I clear my Mac so I can sell it? You just have to reformat your hard drive and reinstall a clean version of OS X.

It is that time again. Time to decide whether to keep or replace your Mac laptop or desktop computer. If you are reading this article, chances are you've already come to the decision to replace your Mac, and you're thinking about selling your old model.

The first thing you should do before hitting the streets to sell your old Mac is clear it of any and all personal data. You don't want to accidentally sell your computer to a stranger when you are still logged into iCloud.

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, well ... then you probably shouldn't be selling your old one yet. But, if you really don't think you'll need your old computer before getting your new one, just 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 the new owner of your computer (except the operating system). In order to avoid complications with the new owner attempting to download and install software that is licensed by you, make sure to sign out of everything your personal information is connected to.

How to sign out of iTunes

  1. Open iTunes on your Mac.
  2. Click Account in the Menu bar on the left side of your screen.
  3. Click on Sign Out.

    Signing out of iTunes on Mac

How to sign out of iMessage

  1. Open Messages on your Mac.
  2. Click ** Messages** in the Menu bar at the top left corner of your screen.
  3. Click Preferences... from the drop-down menu.
  4. Select your iMessage account.
  5. Click on Sign Out.

    Signing out of Messages on Mac

How to sign out of iCloud

  1. Click on the Apple icon () in the upper left corner of your Mac's screen.
  2. ClickSystem Preferences... from the drop-down menu.
  3. Click on iCloud.

    Signing out of Find My Mac on Mac

  4. Un-tick the box for Find My Mac.
  5. Enter your system password when prompted.
  6. Click on Sign Out.
  7. Click Remove data from this Mac when prompted.

    Signing out of iCloud on Mac

Step 3: Reformat 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. Turn on or restart your Mac.
  2. Hold down Command and R at the same time right after you restart your Mac. Keep holding down the keys until you see the Apple logo.
  3. Select Disk Utility in the Utilities window.
  4. Click on Continue.

    eDisk Utility on Mac

  5. Select your Startup disk (it is probably named "Macintosh HD" or something similar).
  6. Click on Erase from the buttons at the top of the Disk Utility window.

    Selecting your start up disk on Mac

  7. Select Mac OS Extended (Journaled) from the drop-down menu that appears in the popup window.
  8. Click Erase.

    Erasing your start up disk

  9. After the process is complete, select Quit Disk Utility from the Disk Utility drop-down menu in the upper left corner of the screen.

    Quitting Disk Utility

Step 4: Reinstall a clean Mac operating system

After you reformat your hard drive it will be ready for a clean installation of the operating system. You should already be in the Utilities window after erasing your Mac. If not, restart your computer and hold down Command and R at the same time until you see the Apple logo.

  1. Click on Reinstall OS X or macOS to reinstall the operating system that came with your Mac. The new owner will have to install any new versions.
  2. Hold down Command and Q after the installation is complete.

    Reinstalling the Mac operating system

Your Mac is now clean and ready for a new owner.

Any questions?

Is there anything about resetting your Mac to prepare it for sale that you need help with? Let me know in the comments and I'll get you squared away.