A lot of times we notice that there is very less space available on our disk. And those temporary files are one of the big issues for causing that. They occupy a lot of space on your device and also make it slow. Here is the question: How to delete temporary files on Mac?

In this article, we'll show you 2 ways to get rid of them. Before we move on to the main topic, we'll explain some common questions for you to better understand the issue. But if you want to check the ways directly, just click Part 4 from the quick menu below.

What Are Temporary Files on Mac? 

Temporary files are created by an app or a program on your Mac to keep the data temporarily, basically there are 4 main types:

  • Intermediate document versions
  • Outdated system logs
  • Browser cookies
  • Application caches

Why Should I Remove Temporary Files on Mac?

An overloaded hard drive can slow down your Mac. So, if you want your device to perform better, then you should remove the temporary files from your disk. To regularly clear the temporary files like cookies, browsers and cache, the performance of your Mac can be enhanced.

But it's worth mentioning that the temp files are created to enhance the function of a process or an application. So, if you have enough free space on your disk, it is probably better to keep the temporary files and let the macOS manage them for you, since the macOS has its own maintenance routines that work at particular times to remove the unnecessary temporary files.

Where Is the Temporary File Folder on Mac?

It is not easy to find the Mac temporary files location. The Mac itself creates a directory in the /private/var/folder, which indicates that the temporary files' precise location will not be the same as anyone else's. Don't worry! You can still find the folder by follwing the steps below:

  1. Go to Finder, and find Terminal.
  2. Then open Applications and go to Utilities.
  3. Write echo $TMPDIR to display the temporary file folder name, or you can write open $TMPDIR to locate the folder in the Finder.

find temp files folder

How to Clear Temp Files on Mac? [2 Ways]

As you can see, removing temporary files manually is really time and energy consuming. So here we highly recommend you to Use a Mac Cleaning Tool like Umate Mac Cleaner, since it's the most effective way which can save you a lot of time and avoid removing useful files when you manually remove temporary files.

Way 1. Use a Mac Cleaning Tool That Can Do Everything for You hot

If you have been looking for the best software to delete temporary files on Mac, then you can use Umate Mac Cleaner. The app is very powerful that can remove temporary files within just a few seconds. So it is trusted by a lot of users all around the world and highly recommended by famous technology websites, like Cult of Mac, Macworld, techradar, etc.

As we mentioned above, the temp files on Mac includes document versions, system logs, app junk and browser cookies.

  • Umate Mac Cleaner can help to delete all of these temp files through its two main features: Clean Up Junk & Erase Private Data.

  • The app can automatically detect all of the unnecessary temporary files. Once the files are detected, you can easily delete them on Mac with a single click.

  • Don't worry about the safety of this app. It is 100% reliable to use for its developer (iMyFone), which is a leading software company that focuses on developing utility products.

  • Moreover, Umate Mac Cleaner allows you to clean up more than 40 types of junk files, not only for temporary ones.

Next let's see how to easily use Umate Mac Cleaner.

Step 1. Download Umate Mac Cleaner and launch the app.

Mac version

Step 2. Select "Clean Up Junk" or "Erase Private Data" for scanning temp files that can be deleted from the system.

umate clean up junk

Step 3. Select unnecessary things and delete them in 1 click.

umate deep clean


Umate Mac Cleaner offers a free trial now, so you can test the tool first without paying a single penny.

Way 2. Remove Temp Files Manually [4 Tips]

a. Delete Temporary Files in Applications

  1. Exit all of the running apps.
  2. Go to "Finder" and pull down the "Go" menu.
  3. Open the "Library" by scrolling down.
  4. In "Library", look for "Cache".
  5. You will now see all the temp files and caches for every installed app on Mac.
  6. You can now select all of the cache files or caches of particular apps.
  7. Click right button of the mouse and choose "Move to trash".

clear cache on mac

Before you do anything, always make a backup of all of the important data.

b. Delete Temporary Internet Files in Browsers

You can easily delete the temporary internet files in different browsers by following the steps below:

Delete Temporary Internet Files in Safari

  1. Open Safari from the menu bar.
  2. Choose "Preferences".
  3. Choose the "Privacy" tab.
  4. Select "Remove All Website Data" and click on "Remove Now" to remove the temporary files.

safari remove temp files

Delete Temporary Internet Files in Chrome

  1. Open Google Chrome on your system and go to the Chrome menu.
  2. Go to "Tools" and choose "Clear Browsing Data", you can also use the shortcut keys, Command+Delete+Shift.
  3. Choose the options you want and click on "Clear Browsing Data".

chrome remove temp files

Delete Temporary Internet Files in Firefox

  1. Open Firefox on your system and go to the Firefox menu.
  2. Choose "Preferences".
  3. Go to the "Advanced" tab.
  4. Choose the "Network" sub-tab.
  5. Choose "Clear Now" in "Offline Web Content and User Data" or "Cached Web Content".

firefox remove temp files

c. Clear Temporary System Files on Mac

Softwares and apps from Mac system can also create temporary files and cache files. However, most of them should not be deleted manually, because it will lead to some unexpected issues on your Mac. Instead of manual deletion, you can turn to Umate Mac Cleaner for help. The app can safely remove those junk files in a flash without affecting other important ones. Equipped with updated safety database, the app will do the job perfectly.

mac system storage

d. Restart Your Mac

Temporary files will be automatically removed during a restart or shutdown cycle. So, this also brings another way to get rid of temp files - restart your Mac. With this way, you can safely delete some temporary files, cookies and caches. However, restarting your Mac is not that effective on deleting temp files, for it only available for few types of items.

restart mac


So you must know how to delete temp files in Mac now. Among the 2 ways offered above, the best method is to use Umate Mac Cleaner as it can scan, detect and remove all of the temporary files with a few clicks. You can download the free version of this app below to try it first.

Mac version