How to erase a MacBook or Mac: restore to factory settings

Need to reset a MacBook? Want to wipe a Mac and reinstall macOS before selling? Here's how to erase a Mac - including a new process for M1 and T2 Macs.

When you purchase through links in our articles, we may earn a small commission. This doesn't affect our editorial independence.