Safety, "what to delete" & privacy/AI

What NOT to Delete on Mac: 12 Files and Folders You Should Never Touch

Disk space is tight, cleanup guides are everywhere, and the temptation to clear out "bloat" is real. But knowing what not to delete on Mac matters just as much as knowing what to clear. Delete the wrong file or folder — even with good intentions — and you can corrupt running apps, break authentication, wipe iCloud data, or leave macOS unable to boot. This guide walks through 12 paths and file categories that are genuinely dangerous to delete on Mac, explaining exactly what breaks when you remove them.

Why Deleting the Wrong Files on Mac Is Riskier Than You Think

macOS does not have an undo button for Finder-level deletions from system directories. Many critical files are locked by SIP (System Integrity Protection), but not all of them — especially in your user Library. A number of cleanup apps will cheerfully offer to remove folders that look like junk but are actively used by running processes or future system restores. When in doubt, do nothing without understanding what a path does.

The 12 Folders and Files You Should Never Delete on Mac

1. /System and /System/Library

This is the macOS operating system itself — frameworks, kernel extensions, daemons, and fonts that every app depends on. SIP blocks direct modification on most Macs, but booting into Recovery Mode and disabling SIP lets you delete here. Do not do that. Removing anything under /System can make macOS unbootable with no clean recovery path short of a full reinstall.

2. /private/var/db

This hidden path holds foundational system databases: the Spotlight index (/private/var/db/Spotlight-V100), authorization rules, software update records, and the SystemConfiguration store. Deleting the Spotlight database is recoverable (macOS rebuilds it), but removing authorization databases or preference caches here can break app launches, admin privilege prompts, and system-level permissions in ways that are difficult to diagnose.

# This path is NOT safe to mass-delete — individual Spotlight reset only:
sudo mdutil -E /   # erases and rebuilds Spotlight index — intentional use only

3. ~/Library/Keychains

Your Keychain stores every saved Wi-Fi password, website credential, app token, certificate, and encryption key tied to your account. Deleting or corrupting the files here locks you out of saved passwords permanently — Keychain data is not recoverable from iCloud backup in the same way app data is. Legitimate cleanup never touches ~/Library/Keychains.

4. ~/Library/Containers

Sandboxed Mac App Store apps store all their data — documents, preferences, databases, offline content — inside ~/Library/Containers/[bundle-id]/. Deleting a container while the app is installed is effectively the same as wiping the app's entire data store. Notes data lives here. So does the data for Mail, Reminders, and many third-party apps. If you uninstall an app, its container can be cleaned up; if the app is still installed, leave the container alone.

5. ~/Library/CloudDocs (iCloud Drive)

~/Library/CloudDocs is the local backing store for iCloud Drive. Deleting folders here does not just free local space — it can trigger deletions that propagate to iCloud, removing files from all your synced devices. If you want to free local disk space from iCloud files, use the "Optimise Mac Storage" option in System Settings instead of manually removing files from this path.

6. /private/var/folders

This is the system's per-user temporary directory tree, dynamically assigned at login. It contains active caches, lock files, and inter-process communication sockets used by currently running apps and daemons. Mass-deleting here while the system is running can crash active processes. macOS manages this directory automatically; it is cleaned on reboot. You do not need to touch it manually.

7. ~/Library/Application Support (Selectively)

Not everything in ~/Library/Application Support is safe to delete, even though it looks like storage bloat. This folder holds game saves, browser profiles, email indexes, creative app project references, and activation records for paid software. Deleting the wrong subfolder here can mean lost progress, re-triggering software license activation, or corrupting an application's internal database. Only remove subfolders for apps you have already fully uninstalled.

8. Kernel Extension Files (.kext)

Kernel extensions live in /Library/Extensions and /System/Library/Extensions. They are low-level drivers for hardware like audio interfaces, graphics cards, VPNs, and USB devices. Removing a kext for hardware you depend on will cause that device to stop working at the next reboot. Apple is deprecating kexts in favor of System Extensions, but many peripherals still require them.

9. /Volumes and External Drive Mount Points

The /Volumes directory contains mount points for every connected drive, including Time Machine volumes, external SSDs, and disk images. Deleting from inside /Volumes deletes from the mounted disk — it does not just remove a shortcut. Accidentally deleting a Time Machine mount point folder while the backup volume is connected can damage the backup structure.

10. ~/Library/Mail

Apple Mail stores its full local message database, attachments, and account metadata under ~/Library/Mail. This database is large — sometimes many gigabytes — and it looks tempting as a cleanup target. But deleting it forces Mail to re-download every message from the server (if your mail provider keeps them), and for POP3 accounts or anything that has been archived locally, deletion is permanent. Use Mail's built-in Mailbox menu to manage storage instead.

11. Recovery Partition and Preboot Volume

These are not normally visible in Finder, but disk utility tools and some aggressive "cleaner" apps can expose them. The Recovery partition (accessible via Cmd+R at boot or the Apple Silicon startup options) is your fallback for reinstalling macOS, running First Aid, and resetting passwords. Apple Silicon Macs also have a Preboot volume that is critical for the boot process. Never delete these volumes.

12. /usr/local and Homebrew Cellar

If you use Homebrew, /usr/local/Cellar (Intel) or /opt/homebrew/Cellar (Apple Silicon) contains every installed CLI tool and library. Deleting this folder removes all your Homebrew packages. More importantly, many developer tools — Python environments, Node versions, build chains — reference symlinks under /usr/local/bin. Wiping those breaks terminal workflows silently and in ways that can take hours to untangle.

Safe vs. Dangerous: A Quick Reference

Path Safe to clean? What breaks if deleted
~/Library/Caches Generally yes (with care) Slow app relaunches; regenerated automatically
~/Library/Logs Yes Diagnostic history only; no function impact
~/Library/Keychains No All saved passwords and certificates lost
~/Library/Containers Only for uninstalled apps Active app data wiped (Notes, Mail, etc.)
~/Library/CloudDocs No iCloud deletions propagate to all devices
/private/var/db No System databases, auth rules, Spotlight
/System/Library Never macOS becomes unbootable
/Library/Extensions (.kext) Only obsolete/unneeded ones Hardware devices stop working
/private/tmp and /private/var/folders Only on reboot (macOS manages this) Crashes running processes if deleted live

How to Clean Mac Disk Space Without Breaking Anything

  1. Target user caches first. ~/Library/Caches is the safest place to recover space. Most cache subfolders rebuild automatically.
  2. Remove app leftovers only after uninstalling. Use a tool that understands bundle IDs — otherwise you will delete data for apps you still use.
  3. Let the system manage temp files. /private/var/folders and /private/tmp are cleaned by macOS at reboot. Do not touch them live.
  4. Check what a folder does before deleting. If you are not sure what a path contains, look it up. Permanent deletions from system directories have no Trash fallback.

This is exactly the kind of guardrail that Crumb provides: before cleaning any path, it identifies whether the folder is high-risk and surfaces a warning. Crumb's one-click Clean targets only well-understood safe paths — system caches, user caches, logs, and purgeable System Data — and its 'Is this safe to delete?' AI can explain any unfamiliar folder and its removal risk before you act. If you want to recover disk space without second-guessing every path, you can download Crumb and let it handle the distinction for you.

The Real Red Lines

Most Mac cleanup mistakes come not from malice but from pattern-matching: big folder, unfamiliar name, must be junk. The paths above break that heuristic hard. System files, authentication stores, live app data containers, and iCloud sync directories look like they could be cleaned up — but removing them causes real, sometimes irreversible damage. Know the red lines, clean only what you understand, and when in doubt, leave it alone.

Reclaim your disk in one click

Crumb audits your whole Mac, tells you what's safe to delete, and frees the space in seconds — private, local, and Apple-notarized.

Download Crumb for macOS

Frequently asked questions

What files should I never delete on Mac?
Never delete files under /System, /private/var/db, ~/Library/Keychains, ~/Library/CloudDocs, or active ~/Library/Containers folders. These store the operating system, passwords, iCloud data, and live app data respectively — deleting them can cause permanent data loss or an unbootable Mac.
Is it safe to delete files in ~/Library/Caches?
Generally yes. ~/Library/Caches holds temporary data that apps regenerate automatically. Deleting it may slow down app launches temporarily but causes no permanent damage. Avoid deleting the entire folder at once while apps are running — close apps first.
What happens if you delete ~/Library/Keychains on Mac?
Deleting ~/Library/Keychains permanently removes all saved Wi-Fi passwords, website credentials, app tokens, and certificates stored in your Keychain. This data is not recoverable from a standard backup. Never delete this folder.
Can deleting Mac files make it unbootable?
Yes. Deleting files under /System/Library or the Recovery partition can prevent macOS from starting. SIP (System Integrity Protection) blocks most accidental changes to /System, but disabling SIP in Recovery Mode removes that protection.
How do I safely free up disk space on Mac without deleting important files?
Target ~/Library/Caches and ~/Library/Logs first — both are safe to clean. Remove Application Support folders only for apps you have already uninstalled. Use 'Optimise Mac Storage' in System Settings for iCloud files. Tools like Crumb automate this by targeting only known-safe paths and warning before touching anything high-risk.