Asya Karapetyan
Content marketer, who specializes in Mac how-to guides
May 29, 2023
7 minutes to read

Temporary files (or temp files) are created by your Mac as you use various applications and browse the internet. Over time, they can take up a significant amount of space on your hard drive. In this post, we’ll explore how to delete temp files on Mac, which will help improve the performance and storage capacity of your disk.

temp files mac

Contents:

  1. What is a TMP file?
  2. Where are temporary files stored on Mac?
  3. How to clear temp files with MacCleaner Pro
  4. How to delete temporary files on Mac manually

Tip – The quickest way to delete temp files on Mac

Below, we will show you how to clear temp files on Mac manually. Note that this method is time-consuming and more accessible to experienced Mac users. Instead, we recommend using a time-saving tool called MacCleaner Pro, which will effortlessly find temporary files and help you safely remove them in less than a minute.
“MacCleaner

MacCleaner Pro

Free Download

What is a TMP file?

TMP files are temporary files (also called temp files) that are used by various applications and processes to store data while performing certain tasks on a computer. These files usually have names that end with the “.tmp” extension and are automatically created and deleted by the system or the applications themselves.

TMP files can be divided into the following types:

  • Caches
  • Cookies
  • Outdated logs
  • Documents versions’ snapshots

Temporary files are typically used to store data that is only needed while the task is being completed. For example, when you open a file in an application, the application may create a temporary file to store changes you make to the file before you save it. Once you save the item, the temporary file is no longer needed and is automatically deleted.

Temporary files can also be created by the system during updates or installation processes and can take up precious disk space if they are not deleted. Generally, you don’t need to worry about managing temporary files on your Mac, as the system and applications typically take care of them automatically. However, in some cases, you may need to find and delete temp files manually. Read on to learn how to clear temp files on Mac.


Where are temporary files stored on Mac?

The location of temporary files on a Mac can vary depending on the application or process that creates them. Here are some common locations where temp folders and files may be stored on your Mac:

  • /Library/Caches
    This folder contains cached files for system and user applications.
  • ~/Library/Caches
    This folder, hidden on a Mac, contains cached files specific to the current user’s account.
  • /private/var/folders
    Each application has its own subfolder within /private/var/folders, and the folder names are randomly generated.
  • /private/tmp
    This is a system-level folder where temporary files may be stored. It is typically used by the system or by applications that require high-level privileges to create tmp files on Mac.
  • Note that some applications may create temporary files in other locations on your Mac. Temp files may even be spread all over the disk. These are some common locations that you should check first to find temporary files. Below, we will show you several ways to delete temp files.


    How to clear temp files with MacCleaner Pro

    Deleting temp files on Mac can be done manually or with the help of a time-saving application called MacCleaner Pro. Here’s how to use it:

    1. Download and run MacCleaner Pro.
    2. Switch to the Clean Up section.
    3. Select Caches and Purgeable Space.
    4. Click the Review and Clean Up button and confirm the deletion.
    MacCleaner Pro showing temp files

    With MacCleaner Pro, you can regularly check your Mac for junk files and clear temp storage to prevent your disk from getting cluttered.


    How to delete temporary files on Mac manually

    Before starting the process of deleting temp files on your Mac, we recommend backing up your Mac. Clearing temp files manually may be unsafe if you accidentally delete important system files, and with backup, you can always restore your data.

    Steps to delete application temporary files:

    1. Quit all active applications on your Mac.
    2. Open Finder and press Cmd+Shift+G.
    3. In the window that appears, type ~/Library/Caches and press Return (Enter).
    4. You will see the Caches folder containing caches of all apps on your Mac.
    5. Select all unneeded cache files and remove them into the Trash.
    6. Empty Trash to delete temp files permanently.
    Finder window showing tmp folders

    Steps to delete browser temporary files in Safari:

    1. Open Safari.
    2. Go to the Safari menu and click Develop.
    3. Select Clear Cache.
    Safari menu showing the Empty Caches option

    If you don’t see the Develop menu for Safari, go to the browser settings, and in the Advanced tab, switch on showing this option in its menu.

    Safari settings showing the advanced tab

    Steps to delete browser temporary files in Chrome:

    1. Open Chrome on your Mac.
    2. Click Chrome in the menu bar and select Clear Browsing Data.
    3. Select cached files and images, cookies, and other temp data you wish to delete.
    4. Set the Time range.
    5. Click the Clear data button and confirm the action.

    Clearing temp files in Google Chrome


    How to delete temp files by restarting Mac

    While doing different tasks, the Mac operating system generates temporary files. If, like many people, you keep your Mac in sleep mode for long periods of time, many temp files will be accumulated. When you restart your Mac, the system automatically deletes temporary files. However, note that not all temp files can be deleted in this way. You should periodically clear caches and other TMP files manually or use MacCleaner Pro, the safest and quickest way to get rid of temporary files.



    Scroll to Top