How to delete everything from mac and restart?
Looking to reset your Mac to its factory settings? Here's how to wipe data from your computer and start over again.
Mac computers are generally reliable. But as with any computer, sometimes things go wrong. Before you spend big on a new Mac, though, try a factory reset, which wipes your computer and reinstalls a clean version of macOS.
A factory reset is also the best way to prepare your old computer for a new owner to make sure no leftover data falls into the wrong hands. Whatever the reason, here's how to wipe everything and start from scratch with a factory reset.
Restart Your Mac
First, restart your computer. The most straightforward way is to hold down the power button until a dialog box appears, then choose the Restart option.
Otherwise, you can select the Apple icon in the top-left corner of the screen and choose Restart. You can also use the keyboard shortcut Control + Command + Eject (or power button) if your computer is frozen and you can't rely on macOS to get the job done.
Open in Recovery Mode
Erase Your Data
Choose your startup disk, then click Erase at the top of the Disk Utilities window. A dialog box will pop up. Change the Format to Mac OS Extended (Journaled), then click Erase. Once the process is complete, go to the Disk Utilities menu in the upper-left-hand corner and choose Quit Disk Utility.
Be aware that once this process has completed, you will no longer be able to recover any deleted data that was left on the drive. If you think you may still need what is on your hard drive, we advise you to first back it up onto an external hard drive or sync important files to iCloud.