If you’re a Mac user, you know that it’s important to keep your computer clean and free of dust and dirt. But if you ever have to reinstall macOS, there are a few things you can do in order to make the process as smooth as possible. First, make sure that your computer is up-to-date with the latest security patches. This will help protect your data and prevent any potential vulnerabilities from being exploited. Next, be sure to backup your important files and folders before reinstalling macOS. This way, if something goes wrong and you need to restore your system from scratch, you’ll have everything you need right there in case things go wrong. Finally, be sure to follow the instructions provided by Apple for reinstalling macOS. These will help ensure that the installation process goes smoothly and that your computer remains up-to-date with the latest Apple software updates.


Is it time to sell or give away your old Mac? Or do you just want a fresh start to clean up your machine? Here’s how to securely delete all of your files, then install a fresh version of macOS.

If you’re selling or giving away your computer, this is the only way to make sure whoever ends up with your Mac can’t access to your files, and won’t have to deal with any modifications you’ve made to macOS over the years. Don’t just delete your user profile and call it a day—you’ll want to completely wipe it.

Before you start, make sure you transfer any files you want to keep to a new computer or external drive. Even if you don’t intend on wiping your drive, it’s a good idea to back up before reinstalling your operating system.

Step One: Boot From Recovery Mode, or an Installer

Your Mac’s Recovery Mode is a treasure trove of useful tools, and it’s the easiest way to wipe your computer and start from scratch. Shut down your Mac, turn it on while holding down Command+R. Your Mac will boot into the recovery partition.

If you’re using an older Mac (from 2010 or earlier), there’s a chance that you can’t use Recovery Mode. On those devices, hold “Option” while turning your computer on, then select the recovery partition instead.

If neither of these options work, don’t panic! You’ve got a couple of options yet. You can access recovery without a partition using Network Recovery: hold Command+Shift+R while turning on your Mac and it will download the Recovery features for you. Failing that, you can create a bootable USB installer for macOS Sierra, and boot from that by holding “Option” while turning on your Mac.

Once you’ve managed to open up the Recovery Mode in some fashion, we can move on to wiping your drive securely.

RELATED: 8 Mac System Features You Can Access in Recovery Mode

Step Two: Securely Wipe Your Hard Drive (Optional)

If you want to re-install your operating system, but leave your files in place, you can skip this step. Your user accounts and files will stay exactly where they are—only your operating system will be overwritten. We recommend backing up files before you do this, just in case, but otherwise you’re ready for step three.

If you want a truly clean installation, however, you need to first wipe your hard drive. We’ve shown you how to securely wipe a hard drive with your Mac, and doing so in Recovery Mode isn’t really different from doing so within macOS.

To get started, click the Disk Utility option.

Depending on how you started Recovery Mode, you may be presented with the option to start Disk Utility right away, as seen above. If not you can find Disk Utility in the menu bar: click Utilities then Disk Utility.

You’ll now see your list of hard drives. Click your primary drive, then click “Erase”

If you’re wiping a mechanical drive, click “Security Options” in the window that pops up. (If your Mac has a solid state drive, you can skip this part: your SSD will already securely erase files thanks to TRIM. You still need to wipe the drive, however, or your files will remain in place, so skip to the end of this step to do so.)

Now move the dial up, to randomly write data over your entire drive. You only need to write over a drive once to securely wipe it, but if you’re paranoid you can also wipe it three or five times.

Click “OK” once you’ve decided, but remember: if your Mac has a solid state drive, you do not need to use these options. Just give your drive a name (I recommend “Macintosh HD”, just for consistency’s sake), then click “Erase” to start the overwriting process.

If you opted to wipe your drive securely, this might take a while—30 minutes to an hour is not unreasonable for one pass. If you choose three or five passes, you might want to leave this running overnight.

Step Three: Reinstall macOS

With your information wipe complete, you are now ready to reinstall macOS. If you booted from a functioning recovery partition, click the “Reinstall macOS” button. The installation process will begin.

If you booted from a USB disk, click “Continue” to advance to the installer.

You’ll be asked which hard drive you want to install to. Choose the Macintosh HD you named earlier.

Just like that, macOS will begin installing.

This might take a while. Eventually, your Mac will restart and ask you to create an account. If you’re giving your Mac away or selling it, we recommend that you simply shut down at this point and let whoever you’re giving your Mac to create their own account. After all, it’s theirs now. Otherwise, enjoy your now-fresh Mac!