How To Erase Your Mac

broken image


Wouldn't you love to rid of some or all files on your Mac forever. Be it for storage space or reselling it. Perhaps your Mac is too old to take the next operating system version, or you've stored a lot of data on it, and you're worried that it could be hijacked if stolen.

Select Disk Utility. Select Macintosh HD from the sidebar. Click Erase and input a new name and format. For simplicity's sake, you can leave both to Macintosh HD and APFS or Mac OS Extended. Erase Your Hard Drive Before you dispose of an old computer, make sure you wipe it clean of all your data. The first step is to back up all the data on the device's hard drives. You can only wipe your MacBook if you had previously set up Find My Mac. You should routinely Backup your Mac so that you can recover your data if your device gets lost or stolen. It's also highly recommended that you set up File Vault on your Mac to protect your files from unauthorized access in case it gets lost. Press the Delete button (don't click Delete Volume Group). Now select Macintosh HD from the sidebar. Click Erase at the top of the Disk Utility window. Enter the name of this volume and choose Mac OS Extended (Journaled) format from the drop-down menu. Look under the Internal section for your main drive. This is often called Macintosh HD and appears at the top of the list. Click on it so that it's highlighted, then click the Erase button from the.

The last thing you want is to see that your data was leaked by some hacker, leaving you vulnerable and without a clue of what to do next.

The good news is you can permanently delete files from your Mac using several methods that we'll show you in this guide.

Can My Files Be Retrieved Once I Delete Them

How to erase your mac

The short answer is yes.

Data recovery technology has made it possible to recover files and restore them, which means someone else can retrieve any files you delete from a hard drive.

Most new Macs come with the solid state drives (flash storage) or Fusion Drives for some iMacs, instead of the old spinning hard disk drives. That is a critical factor when it comes to securely delete files on your Mac because you won't have to do so if it comes with an SSD.

If you have an older Mac, it probably has a regular HDD, but the newer models with the SSDs allow you to use the standard method of moving files and emptying the trash to erase files, compared to securely erasing the files.

Unlike HDDs, where secure file deletion works, it doesn't with the SSDs because overwriting a file only creates a new one in a new location but doesn't overwrite the old file's contents.

Thankfully though, there are different methods you can use to permanently delete files on your Mac, whether it has the old HDDs or the SSDs.

Note: You can check the storage on your Mac by clicking the Apple logo at the upper left side of the screen, and then going to About This Mac>Storage. Under the disk icon, you'll see whether your Mac has a spinning HDD or an SSD.

Move Files to Trash

This is a tried and true method of deleting files on your Mac by dragging it to the trash. You can also use the Move to Trash feature by right-clicking the file and selecting the option. From here, you can go ahead and empty the trash.

Delete Immediately is a feature introduced by Apple with OS X (macOS) 10.11 El Capitan that bypasses the trash when you delete a file. It's much faster than Move to Trash as you simply highlight your files and then use the Option-Command-Delete shortcut.

Alternatively, you can go to Finder's File menu and hold down Option key to change the Move to Trash option to Delete Immediately. You'll be asked to confirm the deletion, just as you would when using Move to Trash option.

If you want to skip the empty trash confirmation, go to your keyboard and press the shortcut Command-Option-Shift-Delete. That will bypass the dialog window to confirm the deletion and empty the trash instantly.

If that is too difficult for you to remember or cumbersome, change Finder preferences setting to kill the confirmation. Go to Menu>Preferences and uncheck the Show warning before emptying the Trash box under Advanced tab.

Secure Empty Trash

This is another simple solution to deleting your files permanently from your Mac. It ensures that the items are deleted forever by writing random data over them multiple times.

The feature came with Mac OS X 10.3 Panther. It overwrites data seven times to increase security.

To use this feature, click Finder menu and select Secure Empty Trash just below Empty Trash.

Use a Third-Party App

If deleting your files by emptying the trash doesn't help, you can get a third party application to force the trash to empty. There are many such apps available like Permanent Eraser or Clean My Mac, which can help you empty your trash completely and permanently.

Use Mac Terminal

Mac's Terminal is a command line tool that allows you to complete tedious tasks such as file deletion easily in just a few seconds. The program uses Unix commands to perform several functions easily and quickly without the operating system interfering with its processes. It's efficient and powerful as it helps you remove files with ease, permanently.

However, if you haven't used the command line, Terminal can be dangerous too. Before getting into it, familiarize yourself with some basic Terminal commands, because any wrong command you enter can cause damage to your system, and you could easily delete files faster than you'd have time to stop the process.

The precision of every character, including capitalization and spaces, is important when using terminal commands.

To get started, take the steps below:

Step 1: Open Finder and click Applications>Utilities>Terminal.

Step 2: In the new window, a command prompt with the $ (dollar sign) will appear. The command line you'll see is ComputerName:CurrentDirectory ~Username$ and the word Bash at the top, which is the Terminal language in a Mac.


Step 3: Type your command and press the Return key after each command to execute it, or copy and paste the command into the terminal window. Type rm and space, and then drag and drop the file(s) you want to get rid of permanently into the Terminal window. Press Enter to remove it forever.

Note: You can also enter the file's path into Terminal if you want to remove the file even faster without using drag and drop.

Easily Delete Files for Good

Before you delete the files, make sure you have a backup of your data in case something goes awry. Of course, we would recommend you to get familiar with Terminal for it can be extremely powerful in erasing files while the interface may suffer a glitch or would be slow.

Next up:Want to delete your iCloud storage from your Mac and iPhone? Our next article shows you all the steps you need to take to clear out your storage.


The above article may contain affiliate links which help support Guiding Tech. However, it does not affect our editorial integrity. The content remains unbiased and authentic.

Read Next

How to Completely Uninstall Programs on Mac with AppCleaner

Command f on mac.

Learn How to Completely Uninstall Programs on

Need to restore Mac to factory settings?

If you decide to sell or give away your Mac, you'll need to wipe your data in order to set up your Mac like a new one. Not only is it essential for your privacy, but it is also the right way to prepare your MacBook for another owner. Resetting Mac to factory settings includes several steps. Here's the brief outline of them:

  • Data backup
  • Deauthorizing iTunes on macOS Mojave or earlier
  • Signing out iCloud and iMessage
  • Erasing Touch Bar data
  • Erasing Mac hard drive in Recovery Mode
  • Reinstalling macOS

Continue reading to learn the steps to factory reset MacBook Pro or any other Mac computer just as of it was new.

Note: This guide is relevant to Mac Pro, iMac, MacBook, MacBook Pro, and MacBook Air.

The ultimate checklist to factory reset MacBook Pro

Step 1. Back up your data

When you factory reset MacBook Pro, all the information you have on your hard drive is wiped off. That's why you need to create a backup to save your important files and data. This is like cloning your hard drive and keeping it for some time.

You can manually back up all your files and apps by copying everything to an external drive or iCloud. However, the faster and more secure way to back up your Mac is Time Machine — Mac's built-in software. It allows to recover individual files and restore your whole hard drive in the event of a catastrophe.

However, before you use Time Machine, make sure to clean up your Mac. You don't want to back up all the junk it contains, do you? Plus, a backup will go faster and more smoothly if your Mac is not cluttered. For a quick cleanup, you can use a utility like CleanMyMac X. It will help you remove large and old files, useless apps, caches, and system junk in two clicks.

Erase Mac To Factory

Here's how to clean GBs of junk in under 5 minutes:

  1. Download CleanMyMac X and launch it.
  2. Click Scan.
  3. Click Run.

Once you've cleaned up your Mac, enable Time Machine backups:

  1. Go to the Apple menu in the top left corner of your screen and choose System Preferences.
  2. Select Time Machine.
  3. Click the Select Backup Disk button.
  4. Choose the disk you'd like to use as a Time Machine backup, then click Use Disk.
  5. Check the Back Up Automatically box in order to back up your Mac to the chosen disk automatically.

That's it!

Sell

The short answer is yes.

Data recovery technology has made it possible to recover files and restore them, which means someone else can retrieve any files you delete from a hard drive.

Most new Macs come with the solid state drives (flash storage) or Fusion Drives for some iMacs, instead of the old spinning hard disk drives. That is a critical factor when it comes to securely delete files on your Mac because you won't have to do so if it comes with an SSD.

If you have an older Mac, it probably has a regular HDD, but the newer models with the SSDs allow you to use the standard method of moving files and emptying the trash to erase files, compared to securely erasing the files.

Unlike HDDs, where secure file deletion works, it doesn't with the SSDs because overwriting a file only creates a new one in a new location but doesn't overwrite the old file's contents.

Thankfully though, there are different methods you can use to permanently delete files on your Mac, whether it has the old HDDs or the SSDs.

Note: You can check the storage on your Mac by clicking the Apple logo at the upper left side of the screen, and then going to About This Mac>Storage. Under the disk icon, you'll see whether your Mac has a spinning HDD or an SSD.

Move Files to Trash

This is a tried and true method of deleting files on your Mac by dragging it to the trash. You can also use the Move to Trash feature by right-clicking the file and selecting the option. From here, you can go ahead and empty the trash.

Delete Immediately is a feature introduced by Apple with OS X (macOS) 10.11 El Capitan that bypasses the trash when you delete a file. It's much faster than Move to Trash as you simply highlight your files and then use the Option-Command-Delete shortcut.

Alternatively, you can go to Finder's File menu and hold down Option key to change the Move to Trash option to Delete Immediately. You'll be asked to confirm the deletion, just as you would when using Move to Trash option.

If you want to skip the empty trash confirmation, go to your keyboard and press the shortcut Command-Option-Shift-Delete. That will bypass the dialog window to confirm the deletion and empty the trash instantly.

If that is too difficult for you to remember or cumbersome, change Finder preferences setting to kill the confirmation. Go to Menu>Preferences and uncheck the Show warning before emptying the Trash box under Advanced tab.

Secure Empty Trash

This is another simple solution to deleting your files permanently from your Mac. It ensures that the items are deleted forever by writing random data over them multiple times.

The feature came with Mac OS X 10.3 Panther. It overwrites data seven times to increase security.

To use this feature, click Finder menu and select Secure Empty Trash just below Empty Trash.

Use a Third-Party App

If deleting your files by emptying the trash doesn't help, you can get a third party application to force the trash to empty. There are many such apps available like Permanent Eraser or Clean My Mac, which can help you empty your trash completely and permanently.

Use Mac Terminal

Mac's Terminal is a command line tool that allows you to complete tedious tasks such as file deletion easily in just a few seconds. The program uses Unix commands to perform several functions easily and quickly without the operating system interfering with its processes. It's efficient and powerful as it helps you remove files with ease, permanently.

However, if you haven't used the command line, Terminal can be dangerous too. Before getting into it, familiarize yourself with some basic Terminal commands, because any wrong command you enter can cause damage to your system, and you could easily delete files faster than you'd have time to stop the process.

The precision of every character, including capitalization and spaces, is important when using terminal commands.

To get started, take the steps below:

Step 1: Open Finder and click Applications>Utilities>Terminal.

Step 2: In the new window, a command prompt with the $ (dollar sign) will appear. The command line you'll see is ComputerName:CurrentDirectory ~Username$ and the word Bash at the top, which is the Terminal language in a Mac.


Step 3: Type your command and press the Return key after each command to execute it, or copy and paste the command into the terminal window. Type rm and space, and then drag and drop the file(s) you want to get rid of permanently into the Terminal window. Press Enter to remove it forever.

Note: You can also enter the file's path into Terminal if you want to remove the file even faster without using drag and drop.

Easily Delete Files for Good

Before you delete the files, make sure you have a backup of your data in case something goes awry. Of course, we would recommend you to get familiar with Terminal for it can be extremely powerful in erasing files while the interface may suffer a glitch or would be slow.

Next up:Want to delete your iCloud storage from your Mac and iPhone? Our next article shows you all the steps you need to take to clear out your storage.


The above article may contain affiliate links which help support Guiding Tech. However, it does not affect our editorial integrity. The content remains unbiased and authentic.

Read Next

How to Completely Uninstall Programs on Mac with AppCleaner

Command f on mac.

Learn How to Completely Uninstall Programs on

Need to restore Mac to factory settings?

If you decide to sell or give away your Mac, you'll need to wipe your data in order to set up your Mac like a new one. Not only is it essential for your privacy, but it is also the right way to prepare your MacBook for another owner. Resetting Mac to factory settings includes several steps. Here's the brief outline of them:

  • Data backup
  • Deauthorizing iTunes on macOS Mojave or earlier
  • Signing out iCloud and iMessage
  • Erasing Touch Bar data
  • Erasing Mac hard drive in Recovery Mode
  • Reinstalling macOS

Continue reading to learn the steps to factory reset MacBook Pro or any other Mac computer just as of it was new.

Note: This guide is relevant to Mac Pro, iMac, MacBook, MacBook Pro, and MacBook Air.

The ultimate checklist to factory reset MacBook Pro

Step 1. Back up your data

When you factory reset MacBook Pro, all the information you have on your hard drive is wiped off. That's why you need to create a backup to save your important files and data. This is like cloning your hard drive and keeping it for some time.

You can manually back up all your files and apps by copying everything to an external drive or iCloud. However, the faster and more secure way to back up your Mac is Time Machine — Mac's built-in software. It allows to recover individual files and restore your whole hard drive in the event of a catastrophe.

However, before you use Time Machine, make sure to clean up your Mac. You don't want to back up all the junk it contains, do you? Plus, a backup will go faster and more smoothly if your Mac is not cluttered. For a quick cleanup, you can use a utility like CleanMyMac X. It will help you remove large and old files, useless apps, caches, and system junk in two clicks.

Erase Mac To Factory

Here's how to clean GBs of junk in under 5 minutes:

  1. Download CleanMyMac X and launch it.
  2. Click Scan.
  3. Click Run.

Once you've cleaned up your Mac, enable Time Machine backups:

  1. Go to the Apple menu in the top left corner of your screen and choose System Preferences.
  2. Select Time Machine.
  3. Click the Select Backup Disk button.
  4. Choose the disk you'd like to use as a Time Machine backup, then click Use Disk.
  5. Check the Back Up Automatically box in order to back up your Mac to the chosen disk automatically.

That's it!

Note that your first backup may take a long time, depending on how many files you have. But don't skip this step — the backup will allow you to restore all your data should something goes wrong when you factory reset Mac.

Once your files are backed up, next be sure to disable any services that are associated with your system, including iTunes, iCloud, and iMessage, and deactivate programs on your Mac. Just take your time to sign out of everything to avoid those 'after the sale' calls from a new user.

Step 2. Deauthorize iTunes

Note: As you may know, iTunes has been replaced by Music, Podcasts, Books and Apple TV on macOS Catalina. You can only deauthorize iTunes if your Mac is running macOS Mojave or earlier.

Did you know, you can authorize up to 5 computers, which means that you can play your content just on 5 different Macs? That's why you need to make sure your computer is not linked to your iTunes account when it gets a new owner. Don't save this step for later.

Here's how to sign out of iTunes:

  1. Open iTunes on your Mac.
  2. Click Account in the menu bar.
  3. Choose Authorizations > Deauthorize This Computer.
  4. Provide your Apple ID and password.
  5. Click Deauthorize.

Tip

If your Mac is running macOS Catalina, you can deauthorize Music and Apple TV as well following the instructions above. To deauthorize Books, open it and click Store. Choose Authorisations to deauthorize.


Do you need to turn off FileVault to do a factory reset?

Some sources on the Internet recommend turning off FileVault before doing a factory reset. FileVault encrypts your data and prevents unauthorized access to the information on your startup disk. So, even if you are going to sell your Mac, the purchaser won't be able to access your data as they'd need your password to decrypt it. Complete factory reset covers erasing your startup disk (described in Step 7), which will make the recovery of your data impossible. Therefore, there is no need to turn off FileVault, as your data can't be accessible in any readable form after you erase the drive.

Step 3. Disable iCloud

Sign out of iCloud to make sure that any remnants of the cloud data, such as bookmarks, notes, reminders, etc., are not visible to a new user.

How To Erase Your Mac Computer

Follow these steps to turn off iCloud:

  1. Choose Apple menu > System Preferences.
  2. Select iCloud.
  3. Click Sign Out.
  4. Confirm that you want to remove data from your Mac.

Step 4. Sign out of iMessage

Before you restore Mac to factory settings, be sure to sign out of iMessage. Here's how to do that:

  1. Open up Messages.
  2. Click Messages in the Menu bar in the top left corner of your screen.
  3. From the drop-down menu, choose Preferences.
  4. Select your iMessage account.
  5. Click on the Sign Out button.

As simple as that!

Step 5. Erase Touch Bar Data

To ensure that all information is cleared from the Touch Bar, you need to erase its data. Follow these steps:

  1. Hold down the Command+R keys after pressing the power button to turn on your Mac or right after your Mac begins to restart.
  2. Choose Utilities > Terminal from the macOS Utilities window.
  3. Type this command in Terminal: xartutil --erase-all
  4. Press Return, type yes when asked if you are sure, and press Return again.
  5. Choose Terminal > Quit Terminal.

Step 6: Restart Your Mac in Recovery Mode

Once you've backed up your data and signed out of everything, you are ready to wipe your Mac and give it a fresh start with a new owner. The following steps will tell you how to restore Mac to factory settings. This is pretty simple. Go to the Apple menu in the top left corner of your screen and choose Restart. As the system restarts, hold the combination of Command and R keys together — you'll notice the Recovery Mode window.

Step 7: Erase Mac hard drive

If you plan to sell or give away your Mac, you need to erase your Mac's startup disk. The startup disk is built-into your MacBook. Its default name is Macintosh HD.

With the release of macOS Catalina, Apple has added the read-only volume. It means that the new macOS is running a separate system volume to keep critical system files more protected. That's why apart from central Macintosh HD volume, there is Macintosh HD - Data volume, which contains all your data. So, if you want to remove every piece of personal information from your Mac, you need to erase both Macintosh HD and Macintosh HD - Data volumes.

  1. Choose Disk Utility in the Utilities window.
  2. Click the Continue button.
  3. Your startup disk is the disk named 'Macintosh HD' unless you renamed it before.
  4. If you have 'Data' volume in the sidebar, which contains the name of your startup disk (for example, Macintosh HD - Data), select it. Click Edit and select Delete APFS volume from the menu bar. Press the Delete button (don't click Delete Volume Group).
  5. Now select Macintosh HD from the sidebar.
  6. Click Erase at the top of the Disk Utility window.
  7. Enter the name of this volume and choose Mac OS Extended (Journaled) format from the drop-down menu.
  8. Click Erase. You may need to enter your Apple ID for confirmation.

When the process is complete, go the Disk Utility menu in the top left corner of your screen and select Quit Disk Utility.

Step 8: Reinstall your operating system

Congratulations, you've reformatted your hard drive and now you can reinstall a clean Mac operating system. Simply click Reinstall macOS or Reinstall OS X from the Utilities menu. Confirm that you really want to do it and follow the instructions you'll see on the screen.

However, if you are not going to keep your Mac, it would be better to quit the process and let the new owner enter all necessary information. Simply hold down the Command and Q keys and then choose Shut Down to turn the Mac off but leave it waiting for a new user.

That's all. Now your Mac is clean and ready for a fresh start.





broken image