Safe to Delete

macOS Core Dumps Folder (/cores)

Quick Answer: The /cores folder in macOS holds memory dumps generated when Unix processes crash. It is completely safe to delete and frees up space.

Bottom Line: It is 100% safe to delete core dump files in the /cores folder. Deleting these crash dumps will not harm macOS or any installed applications.


What is the macOS /cores Folder?

Located at /cores in the root directory of your Mac drive, this hidden system folder is used by macOS (and BSD Unix) to save core dumps.

When a low-level system process or command-line utility crashes unexpectedly, macOS dumps the contents of process memory into /cores as a file named core.XXXXX (where XXXXX is the process ID). Because modern Mac RAM usage is large, a single core dump can be 1 GB to 8 GB+ in size.


Can You Delete Files in /cores?

✅ Yes, it is completely safe to delete.

  • No system damage: Core dumps are purely diagnostic logs meant for developers debugging Unix C/C++ applications.
  • Frees instant storage: Wiping old core.XXXX files reclaims lost SSD storage immediately.

How to Delete Files in /cores on Mac

Because /cores is located in the system root, hidden, and protected, you should delete its contents via Terminal.

Method 1: Clear Core Dumps via macOS Terminal

  1. Open Terminal (Cmd + Space, type Terminal).
  2. Run the following command to check if core dump files exist:
    ls -lh /cores
  3. To delete all core dump files:
    sudo rm -f /cores/core.*
  4. Type your Mac administrator password when prompted and press Enter.

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