How To Clean Junk Files On Your Mac

How To Clean Junk Files On Your Mac

Whether you want to speed up your mac or you want to free up disk space, it is always advisable to clean up unwanted files on your mac. Moreover cleaning of junk files on mac also ends some common errors that you get while working on it.

There are several different types of junk file located at different places that you can remove either manually or automatically. We will discuss all this in detail in this article. So without further ado let’s start.

Why do you need to clean junk files on your Mac?

Before looking for an answer on how to clean junk files on mac, first let’s discuss why you need to clean up unwanted files on mac. Over the time while you keep on using your mac, it keeps on accumulating different types of files. Out of which only certain files are required and rest is just the unneeded and junk files that are hidden in unknown places of your drive. Now when these junk files keep on piling up they significantly deteriorate the performance of your mac and make it slow and sluggish. Also, these junk files unnecessarily eat up the disk space and in turn forcing you to add more storage to it. Therefore, it is extremely important that we should tune up our mac from time to time and stop these junk files from piling into the disk. So let’s check out how to clean various types of junk files on your mac for free.

How to Remove User Cache Files

User cache files or app files are the temporary files stored on your Mac with a basic idea to speed the performance of your mac. However, if the cache files keep on piling up for a long time then it will do more harm than good and make the performance of your mac slow and sluggish. Therefore it is highly recommended to clean up these unwanted files on mac from time to time.

Here’s how to remove user cache files:

Open Finder on your mac and press Command+Shift+G keys on your keyboard.

Now enter the following command ~/Library/Caches in the field and click on the Go button.

This will open a window where you will see all your cache files.

Now press Command+A key to select all the files and then delete them. In case you don’t want to delete all files at once, then press Command key and click on the folders you want to delete .

On the confirmation prompt that appears, enter your mac user name and password.

How to Remove System Log Files

Your mac saves the system log files deep into its memory to be accessed basically by the developers to diagnose any problems you face with your macOS or the applications installed on it. Now although these log files don’t free up a huge amount of space on your mac but yes it will help to declutter the mac by deleting these unwanted files.

Just as a word of caution we suggest you backup your data in case you may accidentally remove some crucial data.

To clean system log files on your Mac, follow these steps:

  • Open Finder on your mac, and click Go on the menu bar and from the drop down list select Go to folder.
  • Now enter the following location /var/log in the field and click on the Go button.
  • You can now find all the system log files. Now select the files you want to remove and delete them.
  • You can also check for the system log files in the location /Library/Logs. This folder also contains application logs that you can delete to declutter your mac.
  • Next you can also check the following location /Library/Logs/DiagnosticReports, and delete the system reports.

How to Remove Language Files?

It is the language files that help you to set up your app to the language of your choice. But once you decide on the app language, other language files are of no use and you may consider deleting these other language files.

So our next step on cleaning junk files from the mac is removing these unneeded language files by following these steps:

  1. Open Finder on the mac and navigate to the Applications folder.
  2. Next right click on any app icon and select Show Package Contents.
  3. Now, locate the Resources folder and open it.
  4. All subfolders ending with “lproj” that are inside the Resources folder are the language files.
    Note: Each folder contains localization info of a particular language, i.e. the folder named with jp.lproj contains japanese language files and so on.
  5. Now select all the unneeded language folders, move them to Trash and clear the Trash.

Read Also:- How to Delete Similar Selfies to Free Up Space in your iPhone

How to Remove Junk Xcode files from your Mac

If you are a developer then you must be well aware of Xcode. But if you are not, then we would like to inform you that Xcode is a programming tool offered by Apple to develop various types of software not only for macOS but also for iOS and other Apple products.

If you are a developer and use it, then you should consider cleaning the cache and other junk data it creates. As it will help you to declutter your mac and regain some disk space on your drive.

However, we again suggest you to be careful while removing any developer files from the Mac, as you may be at a danger of deleting any genuine files  

Below are the paths where you will find junk files related to Xcode:



~/Library/Developer/Xcode/iOS DeviceSupport


You can also consider deleting the archived files that reside in the following location of your mac  ~/Library/Developer/Xcode/Archives. Moreover, if you are not a developer or you don’t use Xcode but it is there on your Mac then you may consider removing it completely.

How to Remove Leftover Files of Uninstalled Apps

Installing and Uninstalling an app seems to be the two easiest of the tasks. But really they are so simple? The answer is not really as uninstalling an app from a mac still leaves many of its files and data behind even though it is being uninstalled from the mac.    

To remove an application from mac what we basically do is go to the Application folder and drag the app icon to the Trash. Now, although most of the apps are uninstalled using this approach, there are some apps that leave a residue of leftover files that clutter your mac and make it sluggish. So our next step on how to clean junk files from mac is removing these leftover files of uninstalled apps.

Here’s how to remove app leftovers on a Mac:

  • Open Finder on your mac and click on Go on the menu bar.
  • Now hold down the Option until the Library folder appears.
  • Next click on the Library.
  • Now in the search bar of the Finder, type in the name of the app you’ve deleted or for which you need to delete the leftover data.
    Note: Make sure to limit the search to the Library folder.
  • Now delete any files that appears in the search

You have to continue repeating this process for the other apps as well, till you have deleted the leftover data files of all the uninstalled apps.

How to Clean Junk Files on Mac Automatically

The above methods that we have shared above helps to clean junk files on mac for free. However, since they are all manual methods therefore they not only require time and effort but also great attention. As in the process of cleaning up unwanted files on a Mac, if you delete a genuine file then it will cause more harm than good.

However, you can also automatically delete these unwanted files from your mac by using a professional cleaning tool like CCleaner.

CCleaner is a top rated mac cleaning tool that thoroughly cleans all the junk from your mac that is responsible for slowing it down.

This amazing application not only deletes the temporary files, junk files, trash and other unneeded applications along with their left over data but also erases browser history for a secure browsing.

Wrapping Up

So readers here we come to the end of the article. We hope you are now well versed with the process of how to clean junk files from your mac. However, for better results we recommend you to use a mac cleaning and optimization tool to safely and efficiently remove all the unwanted files from the mac.

Meta Description: Wish to clean junk and other unneeded files from your mac but do not know the process. You need not to worry, as in this article we have provided detailed steps on how to remove junk files on mac.

Related Posts

One thought on “How To Clean Junk Files On Your Mac

Leave a Reply

Your email address will not be published. Required fields are marked *