Home > How to Tips

A Complete Guide to Free Up Disk Space on Macintosh HD

Updated on Thursday, November 21, 2024

iBoysoft author Henrique Vieira

Written by

Henrique Vieira

English

Summary: This post provides a comprehensive guide to help you find files you can safely delete to free up space on Mac. It covers 12 ways to clear disk space, including how to manage space on Mac with the built-in feature.

How to free up space on Macintosh HD

When your Mac hard drive is running out of space or has the error 'deleting files but not freeing space', you may face the consequences of not being able to save large files to it, update to the latest macOS Monterey, run programs smoothly, or even start up your Mac. If you don't know whether your hard drive is full, you can check free disk space on Mac first.

Upon which, the first thing that pops up in your head is to find large files on Mac that you no longer need and delete them, likely from your Desktop, the Downloads folder, or the Applications folder.

These are indeed good efforts, but there are more you can do to reclaim disk space, such as deleting purgeable space, removing system logs, deleting duplicate files, clearing browser caches, etc. No time should be wasted; follow this comprehensive guide on how to free up space on Macintosh HD to stop unneeded files from eating up your Mac.

How to check storage for MacBook Pro, MacBook Air, and other Mac Models?

To get a clear picture of how your Mac storage is used and how much is still available, you need to click the Apple menu at the top-left corner, then click About This Mac > Storage. Here you can see a bar segmented in different colors.

To know how much space is allocated to what category, hover over the cursor to a segment. In the example below, the internal hard drive stores six types of data - Music, Apps, Photos, macOS, System data, and Other storage. And the iOS files on your Mac will also show there if had.

Files that don't easily fall into a clear category are classified as Other, such as installer packages, cache files, browser extensions, temporary files, and so on. If you find the Other category a big consumer of storage, you can clean up the Other storage to optimize Mac space.

By the way, you may find the purgeable storage there. It is usually the culprit why your Mac says not enough space but there is.

the storage overview of your Mac hard drive

How to free up space on Macintosh HD?

Now that you have a rough idea of what fills up your Mac hard drive, it's time for a thorough disk cleaning. To make sure you delete all the possible unwanted files scattered around your Mac, we will elaborate on the top 12 tips on how to free up space on Mac.

How to free up space on Mac?

  • Free up space with Mac's built-in storage management feature
  • Clear storage used by Virtual Machine
  • Delete duplicate files
  • Clear browser data
  • Remove application & system logs
  • Clean up iTunes backups for your iPhone and iPad
  • Delete large attachments in Mail
  • Remove unnecessary language files
  • Clean your desktop
  • Uninstall unwanted apps
  • Move files to an external storage device
  • Empty the Trash

 Note: We suggest you back up your Mac with Time Machine before removing anything to avoid potential data loss or operating system corruption caused by maloperation.

Free up space with Mac's built-in storage management feature

Continuing from where you saw the storage overview (in case you missed that, click Apple logo > About This Mac > Storage), click Manage to see the recommended ways to optimize storage. Once you are there, you will see four sections as stated below:

the recommendation window of storage management on Mac

Section 1: Store in iCloud

This feature allows you to store files in the Desktop and Documents folders, photos, and messages to iCloud to save space. But Apple only provides 5GB of free iCloud storage, so you have to pay if you need more or you will receive the notification saying that "iCloud storage is full". To store files in iCloud, click Store in iCloud, then check the boxes alongside the files you want to keep in iCloud.

choose files you want to store in iCloud

Once this feature is turned on, it will automatically free up local space when your Mac is low on storage. You can also expect:

Desktop and Documents: Except for the recently opened files, the rest are stored in iCloud, downloadable by double-clicking the download icon - a cloud with an arrow pointing down.

Photos: Photos stored on Mac are optimized to save space. The original ones are kept in iCloud.

Messages: Only recently opened messages and attachments are saved on your Mac.

Section 2: Optimize Storage

You can turn on Optimize Storage to automatically delete TV shows and movies you purchased from iTunes after you have watched them.

Section 3: Empty Trash Automatically

Usually, people right-click on the Trash icon to empty the Trash, but you can automatize the process by enabling Empty Trash Automatically. This feature will automatically remove items moved to the Trash longer than 30 days.

To set up the automatic deletion of Trash, click the Empty Trash Automatically option and confirm the action by tapping on Turn on.

Section 4: Reduce Clutter

Click on Review Files, and you can see tabs for Large Files, the Downloads folder, a list of Unsupported Apps, Containers, and a File Browser that gives you quick access to the folders for Pictures, Music, Downloads, Movies, Documents, etc. You can go through these tabs one by one and press the Space bar to preview a selected item.

Once you decide what to delete, choose the file, then click the Delete button to dump it permanently. This may take some time as you thinking over files you want to delete, but it's worth the effect.

The next step is to view each category listed on the left and remove the unwanted files. You will also notice two groups of data greyed out in the list naming System/Other or macOS/System data. They are made inaccessible to prevent users from removing the files inside, causing data corruption or unexpected behaviours.

Clear storage used by Virtual Machine

If you run Windows on Mac with a virtual machine, the biggest culprit to storage shortage may be the undeleted files accumulated through each operating system update or other files and programs stored on its partition. To avoid unimportant data cluttering up your Mac, you can configure Windows to automatically free up disk space, then manually run a cleanup.

  1. Go to Settings > System > Storage, and enable Storage Sense. 
    free up storage in Windows
  2. Click Free up space now.
  3. Wait for the scan to complete.
  4. Review files that are taking plenty of disk space.
  5. Select files you want to remove, then click Remove files.

Delete duplicate files

Over time, your Mac will inevitably accumulate a large amount of duplicate files generated when you replicate documents or repeatedly download certain files such as app installers, online images, email attachments, and the like. Deleting these duplicates makes a great move to recycle wasted space for better intention.

To manually search for duplicate files:

  1. Open Finder.
  2. On the top menu bar, navigate to File > New Smart Folder.
  3. Click the + button at the top-right corner to bring up filters.
  4. When boxes pop up, choose Kind for the first box, then Document (or other data categories) for the box next to it.
    delete duplicate files on Mac
  5. Click on the Name column to sort the results.
  6. Find duplicate files you want to delete, right-click on them and choose Move to Trash.

If you use the Music app on Mac frequently, it has an easier way to find duplicate songs.

To find duplicate music files on Mac:

  1. Open Music.
  2. Navigate to File > Library > Show Duplicate Items from the top menu bar. 
    show duplicate songs in Music
  3. Check the list of duplicate music files and delete those you don't need.

It takes time to search for duplicates manually. If you edit pictures or do tasks that produce duplicate files a lot, you can consider getting a free tool like MacClean or investing in paid software to do the job for you.

Clear browser data

When you use a web browser like Google, Safari, or Firefox, it saves information from the websites you visited in its cache and cookies. Your activities and preferences on a site are stored in Cookies to improve user experience. Although cookies expire automatically, it may pose a privacy issue since third parties can use them to track your browser history.

Unlike Cookies, Cache stores website contents such as images, documents for faster future retrieval. It takes up larger storage space and must be manually cleared. It's recommended to delete cookies on Mac every few weeks to free up some space and keep the browser running smoothly.

 Note: Clearing cookies may reduce tracking and log you out of the websites.

To clear Chrome's browser data:

  1. Launch Chrome, then click the three vertical dots at the top-right corner.
  2. Click More Tools, then select Clear browsing data.
  3. Select a time range, tick all options, and click Clear data. 
    Clear browser data in Chrome

If you want to stop third-party websites from tracking your activity or configure Google to remove cookies upon closing the browser window, follow these steps:

  1. Check the circle before Block third-party cookies on the "Cookies and other site data" pages.
  2. Then enable the "Clear cookies and site data when you close all windows" option.
  3. If you have some frequently visited websites that you trust and want them to use cookies to offer better recommendations, scroll down to the Customized behaviors tab.
  4. Click the Add button near the "Sites that can always use cookies" option.
  5. Enter the site URL and click Add.

To clear Safari's browser data:

  1. Open Safari, and click Develop at the top menu bar. If you don't see it, follow step 2. Otherwise, move on to step 3.
  2. Click Safari > Preferences > Advanced on the top menu bar, then mark the box next to Show Develop menu in menu bar.
  3. Click Empty caches. 
    clear cache in Safari
  4. Click Safari > Preferences > Privacy, then select Manage Website Data.
  5. Choose a website and click Remove to stop it from saving your information.

To clear Firefox's browser data:

  1. Open Firefox.
  2. Click the button with three horizontal lines at the top-right corner.
  3. Tap on Library > Clear Recent History.
  4. Choose a time range, then mark the checkbox next to Cache and Cookies. 
    clear browser data in Firefox
  5. Click OK.

Another way to locate caches is to open Finder, click the Go tab on the top, then select Go to Folder. Type in ~/Library/Caches and hit Enter to see all cache folders.

Remove application & system logs

Your Mac saves details about errors, crashes, and other issues that occurred in logs to help experts troubleshoot problems. However, these log files are not user-friendly and are almost useless to average users.

As time goes on, the log files will pile up and occupy the valuable space on your system drive. Given that deleting log files won't cause any damage to your Mac, it's advisable to clear them for more space.

To clear application and system logs on Mac:

  1. Open Finder.
  2. Click the Go menu from the top, then select Go to Folder.
  3. Enter ~/Library/Logs to view application logs or /var/log to see system logs, then press Enter.
  4. Select files end with the .log extension, right-click on them, then choose Move to Trash. 
    delete log files on Mac

Clean up iTunes backups for your iPhone and iPad

If you have backed up your iPad and iPhone with iTunes, there's likely a massive amount of backup files eating up your storage space. In this case, you need to close iTunes and go to the backup folders through this path: ~/Library/Application Support/MobileSync/Backup. The folders inside are randomly named, so you should review the contents before starting deletion.

Alternatively, you can delete the backups by opening iTunes and going to iTunes > Preferences > Devices. Here you will see a list of backups; select those you don't need and click Delete Backup. In addition, you can choose back up iPhone to external hard drive the next time to not strain the Mac disk space. 

Delete large attachments in Mail

As an important ingredient of daily life, emails don't take up much space but may carry many attachments, such as pictures, documents, etc. When you delete emails, these attachments stay on your Mac, taking a piece of your storage space.

Therefore, it's essential to delete mail storage on Mac, you can set up your Email app to delete the attachment once the email is gone. Also, the junk mails you receive now and then won't go away unless you delete them or configure the app to do so.

How to set up the Mail app to remove attachments and delete junk mails:

  1. Launch the Mail app, click Mail in the top menu bar.
  2. Go to Preferences > General.
  3. In the box next to the "Remove unedited downloads" option, choose After Message is Deleted.
  4. Click the Accounts tab > Mailbox Behaviors.
  5. Beneath the "Erase junk messages" option, select After one month.

Remove unnecessary language files

Every application on your Mac came with pre-loaded languages files of many countries. But in reality, you only use one or two of them. That left the rest of the unused language files on your hard drive for no good reason. Since removing them doesn't impact your Mac, you can get rid of them to regain a few hundred megabytes or gigabytes of storage space.

To remove unused language files manually:

  1. Go to Finder > Applications.
  2. Right-click on an app and choose Show Package Contents.
  3. Navigate to Contents > Resources.
  4. Delete any subfolders with .lproj except for those you need. 
    delete language files on Mac

 

Some of the language and code names used on Mac:

  • English: en.lproj
  • Spanish: es.lproj
  • French: fr.lproj
  • Chinese: zh.lproj
  • German: de.lproj
  • Japanese: ja.lproj

You need to repeat this process for all apps on your Mac, which may take a while. Luckily, there's a freeware called Monolingual that can automate and speed up the process for you.

To remove extra language files with free third-party app:

  1. Download Monolingual.
  2. Open Monolingual, uncheck languages you want to keep, then click Remove.
  3. Wait for it to be done.

Clean your desktop

Organizing your Mac desktop not only makes it better to look at, also frees up space. Take a look at your Desktop and move anything you don't need to the Trash.

  1. Open Finder and choose Desktop.
  2. Click the View button and select as List.
  3. Sort the items by size and delete any unwanted files.

There's a simple trick for users running macOS Mojave or later to organize stuff on your Mac. Click on the blank space of your Desktop, select Use Stacks, and then you will see your files neatly stacked in categories.

Uninstall unwanted apps

You can uninstall apps you haven't used for some time or no longer need in storage management. Or directly from Finder.

To delete unneeded apps on Mac:

  1. Go to Finder > Applications.
  2. View the items as a list, then click the Size heading to sort the applications.
  3. Select an app you want to get rid of, right-click on it and choose to Move to Trash or drag and drop the app's icon to the Trash can on the right side of your dock.

Move files to an external storage device

When it comes to freeing up space on Mac, deleting files is the obvious choice. But that's a different story if you have large files like photos that you don't want to get rid of. In that case, besides storing them in the cloud, you can move them to a USB flash drive or a hard disk drive. Here is an example of moving Photos Library to an external hard drive:

  1. Quit Photos.
  2. Insert your external storage device into Mac.
  3. Press Command while dragging and dropping photos to the drive so that the original files are automatically deleted and save you time to delete them again.
  4. Once all photos are removed, hold the Option key while launching Photos.
  5. Navigate to Photos > Preferences > General, then choose Use as System Photo Library.

Empty the Trash

When you delete a file on Mac, it often goes to the Trash can, which means these files are still on your Mac until you empty the Trash. So the last resort of freeing up disk space on Mac is to empty your Trash.

You can permanently delete files on a Mac by right-clicking on the Trash icon at your dock and choosing Empty Trash. You should make sure those files are unwanted, otherwise, it takes more effort to recover permanently deleted files on Mac. For apps like Photos, iMovie, and Mail that have their own trash cans, you need to open the app and erase the deleted files individually.

To permanently delete photos on Mac:

  1. Launch Photos.
  2. Click Recently Deleted in the left pane.
  3. Make sure you want these photos gone forever, then click Delete All.

Conclusion:

After the cleansing process is done, your Mac will regain precious space and reward you with improved performance. You can now reboot your Mac to start fresh and enjoy your lightweight Mac. To see how much space is available now, visit the Storage tab in About This Mac.

People Also Ask

Read More Questions