Skip to content
← All guides

Free up space

Delete Log Files on Mac: What Is Safe

The MacZentra team · Updated Dec 1, 2026 · 5 min read

You can delete log files on a Mac if they sit in ~/Library/Logs, which holds app logs and crash reports that apps recreate when they need them. Review the sizes first, move old ones to the Trash, and leave /var/log to macOS. Logs are usually small, so expect a few megabytes back on most Macs, not gigabytes. MacZentra scans your Mac for free and shows what is using space, grouped into plain categories. It is far quicker than clicking through Finder folders and adding up sizes yourself. See Storage Insights or try MacZentra free.

Where does macOS keep log files?

Logs live in a few places, and they are not equally safe to touch. The first two are the ones worth reviewing. The third belongs to the system.

LocationWhat is in itSafe to clear?
~/Library/LogsPer-user app logs and a DiagnosticReports folder of crash reportsYes, old files, through the Trash
/Library/LogsLogs written for all users by installers and system-level appsOnly files you recognise, and old ones
/var/logSystem logs that macOS rotates and archives itselfLeave it alone

The ~ means your home folder. The Library folder is hidden by default. In Finder, use Go → Go to Folder and type ~/Library/Logs. On a Mac, /var is a link to /private/var, so /var/log is system territory like the folders in what is /var/folders on a Mac.

What are diagnostic reports?

When an app crashes or hangs, macOS writes a report to ~/Library/Logs/DiagnosticReports, and sometimes to /Library/Logs/DiagnosticReports. You can also read them in the Console app under Crash Reports or Log Reports. They are text files that help a developer find out what went wrong. If you are not troubleshooting a crash, you do not need old ones.

Keep recent reports if an app keeps crashing and you plan to contact its developer. Otherwise they are fine to remove.

Reports are named after the app and the time of the crash, and recent macOS versions use the .ips extension for them. Sorting the folder by Date Modified in Finder puts the newest first, so you can see at a glance which app has crashed most recently and how often. Repeated reports from the same app mean that app needs an update, not that the reports need a cleaner.

How to review log sizes first

These commands read only. Run them before you delete anything:

Terminal
du -sh ~/Library/Logs
du -sh ~/Library/Logs/* 2>/dev/null | sort -h | tail -15
ls -lhS ~/Library/Logs/DiagnosticReports | head -15

The first line is the total, the second shows the 15 largest items, and the third lists crash reports with the biggest first. Then the shared folder:

Terminal
du -sh /Library/Logs
du -sh /Library/Logs/* 2>/dev/null | sort -h | tail -15

If one app has a log folder that is hundreds of megabytes, that app is probably logging errors in a loop. Fixing or reinstalling that app matters more than the cleanup.

How to delete log files safely

  • Open the folder in Finder and sort by Size or Date Modified, so the large and old items stand out.
  • Quit the app whose log you are removing, so it is not writing to it.
  • Move the files to the Trash, not a Terminal delete, so you can put them back.
  • Keep the folder itself. Remove files inside ~/Library/Logs, not the folder.
  • Empty the Trash. The space only comes back after that, as explained in how to empty the Trash on a Mac.

In /Library/Logs, deleting usually asks for an administrator password. Remove only files you can identify and that are clearly old. If you are not sure what a folder belongs to, skip it.

MacZentra System Junk screen listing caches and logs with sizes and a Safe or Review tag
System Junk lists caches and logs with sizes, so you can pick what to review instead of hunting folder by folder.

What about the unified log and other system logs?

Modern macOS keeps most of its system logging in a binary format you read through the Console app or the log command, not as plain files in the folders above. macOS limits how much of it is kept and clears old entries on its own. You do not need to prune it, and there is no safe manual step that reduces it. Another group of items, such as the swap and sleep files, lives in a different system folder, covered in what is the sleepimage on a Mac.

What you will actually free

Be realistic. Most Macs hold only a small amount in logs, and the number depends on how many crashes you have had and how chatty your apps are. If you need real space, the large items are elsewhere: your own files, old downloads, app caches and backups. Work through how to free up space on Mac and the Library Caches guide, and look at your Downloads folder.

To find which folder is large in the first place, use how to check storage on a Mac or find large files on a Mac. If the grey System Data bar is what bothers you, logs are one small slice, covered in what System Data is and how to clear it.

You can also let Smart Care handle logs together with caches in one pass: Smart Care clears safe user caches and logs to the Trash.

Questions people ask

Is it safe to delete log files on a Mac?

Yes for old files in ~/Library/Logs, through the Trash. Not for /var/log, and only recognised files in /Library/Logs.

Where are log files stored on a Mac?

Mainly in ~/Library/Logs, /Library/Logs and /var/log. The Console app reads many of them for you.

How do I delete crash reports on a Mac?

Open ~/Library/Logs/DiagnosticReports, select the old reports and move them to the Trash. You can also remove them from the Console app.

Why are my Mac log files so big?

Usually one app is writing the same error again and again. Find it with the du commands above and update, reset or reinstall that app.

Will deleting logs speed up my Mac?

Not noticeably. Logs are small and do not slow the system. If the Mac feels slow, see why is my Mac running slow.

Everything MacZentra can clean

Treemap and Sunburst disk maps, a duplicate finder, Developer Junk, a complete app uninstaller and more, in one native storage cleaner for Mac that’s 15.4 MB.

Explore all features →