---
id: mac-storage-basics.what-is-the-temporary-folder-on-a-mac
url: https://storagestudio.us/faq/mac-storage-basics/what-is-the-temporary-folder-on-a-mac
category: "Mac storage basics"
subcategory: "Caches, logs and temporary files"
question: "Where are temporary files on a Mac, and do they clear themselves?"
alt_questions:
  - "mac temp folder location"
  - "var folders mac huge"
  - "private var folders delete"
  - "tmp files mac storage"
  - "does mac clear temp files"
  - "temporary items taking space"
short_answer: "In hidden per-user areas under /private/var/folders and in /tmp. The temporary area clears on restart and macOS empties the cache area when space is tight."
tags: ["temporary files", "system data", "restart"]
related: ["https://storagestudio.us/faq/mac-storage-basics/why-does-system-data-shrink-after-a-restart", "https://storagestudio.us/faq/mac-storage-basics/where-are-cache-files-stored-on-a-mac"]
applies_to: "all"
last_reviewed: 2026-10-01
---

# Where are temporary files on a Mac, and do they clear themselves?

macOS gives each user a private temporary area and a cache area inside a hidden system folder (under /private/var/folders), plus the shared /tmp. Apps write scratch files there expecting them to be thrown away.

The temporary area is cleared when you restart, and macOS empties the cache area itself when space gets tight. Problems arise when an app leaves large leftovers behind and the Mac rarely restarts.

Don't delete inside these folders by hand while apps are running — some files are in use. Restarting is the safe fix. Storage Studio measures these areas, attributes leftovers to the app that made them, and only offers to clear folders that are not open, not recently touched and recoverable. See [freeing up space](https://storagestudio.us/faq/freeing-space/).
