Safe to Delete

macOS Private Temp Folder (/var/folders)

Quick Answer: /var/folders is the private system temp directory for macOS. Clearing temp files when apps are closed is safe and reclaims lost storage.

Bottom Line: It is 100% safe to clear temporary files inside /var/folders. Restarting your Mac or deleting temporary cache files will NOT corrupt macOS system files or delete user documents.


What is the /var/folders Directory?

Located at /var/folders (or /private/var/folders) on macOS, this hidden root directory is the main private per-user temporary storage for macOS.

To enforce App Sandbox security, macOS assigns each user account a randomized two-character subfolder inside /var/folders (e.g. /var/folders/zz/pkg_.../C/).

Mac applications use /var/folders to store:

If Mac applications force-close or crash, orphaned working files remain trapped in /var/folders, hoarding 10 GB to 40 GB+ categorized under System Data.


Can You Delete /var/folders?

✅ Yes, it is safe to clean up (via reboot or safe mode).

  • Safe reboot cleanup: macOS automatically purges /var/folders when you restart your Mac or boot into Safe Mode.
  • Safety rule: Do not manually delete the root /var/folders folder while macOS is running; restart your Mac to trigger automatic purging.

How to Safely Clean Up /var/folders on Mac

  1. Turn off your Mac.
  2. Turn on your Mac and immediately press and hold Shift (or hold Power button on Apple Silicon Macs and select Options).
  3. Log into Safe Mode. macOS automatically executes system maintenance scripts that wipe orphaned /var/folders temporary caches.
  4. Restart your Mac normally.

Discussion

Loading authentication...

Related in macos

macOS Background Download Session Cache (com.apple.nsurlsessiond)

nsurlsessiond caches incomplete background file downloads for system apps and iCloud daemon sync. Clearing the cache is safe.

Safe to Delete

macOS Font Server Cache (/var/db/ats)

Apple Type Services (ats) caches font rendering metrics. Resetting the font cache fixes corrupted font glyphs and system text glitches.

Safe to Delete

macOS System Font Cache Directory (com.apple.fontd)

macOS caches system and user font rendering structures in com.apple.fontd. Learn how to reset macOS font cache to fix garbled text.

Safe to Delete
Back to all files