How to reset your Mac before selling itHow do I clear my Mac so I can sell it? You just have to reformat your hard drive and reinstall a clean version of the operating system.
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 with the iMac Pro (or maybe you just got a new Mac as a present!), 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
Step 2: Sign out of everything
Step 3: Reformat your hard drive
Reinstall a clean Mac operating system
If you're selling a MacBook Pro with Touch Bar
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 ...
Source:
How to reset your Mac before selling it