> How to delete log files on Mac safely: what is in ~/Library/Logs and /Library/Logs, how to review sizes, and why to leave /var/log to macOS.

[← All guides](https://maczentra.com/blog)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](https://maczentra.com/features#visualize) or [try MacZentra free](https://maczentra.com/).

## 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.

Location | What is in it | Safe to clear? |
`~/Library/Logs` | Per-user app logs and a DiagnosticReports folder of crash reports | Yes, old files, through the Trash |
`/Library/Logs` | Logs written for all users by installers and system-level apps | Only files you recognise, and old ones |
`/var/log` | System logs that macOS rotates and archives itself | Leave 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](https://maczentra.com/blog/what-is-var-folders-on-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/Logsdu -sh ~/Library/Logs/* 2>/dev/null | sort -h | tail -15ls -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/Logsdu -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](https://maczentra.com/blog/how-to-empty-trash-on-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](https://maczentra.com/guides/junk.webp)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](https://maczentra.com/blog/what-is-sleepimage-on-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](https://maczentra.com/blog/free-up-space-on-mac) and the [Library Caches guide](https://maczentra.com/blog/library-caches-safe-to-delete), and look at [your Downloads folder](https://maczentra.com/blog/clean-downloads-folder-mac).

To find which folder is large in the first place, use [how to check storage on a Mac](https://maczentra.com/blog/how-to-check-storage-on-mac) or [find large files on a Mac](https://maczentra.com/blog/find-large-files-on-mac). If the grey System Data bar is what bothers you, logs are one small slice, covered in [what System Data is](https://maczentra.com/blog/system-data-on-mac) and [how to clear it](https://maczentra.com/blog/clear-system-data-mac).

You can also let Smart Care handle logs together with caches in one pass: [Smart Care](https://maczentra.com/blog/smart-care-automation) 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](https://maczentra.com/blog/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 →](https://maczentra.com/features)

## Related guides

[![Cover image for Is It Safe to Delete Library Caches on Mac? What to Clear](https://maczentra.com/thumbs/editorial-library-caches-safe-to-delete.webp)Can you delete caches?Free up space · 5 minIs It Safe to Delete Library Caches on Mac? What to ClearIs it safe to delete Library caches on Mac? Learn how to review app caches, use built-in controls, and identify folders to leave alone.](https://maczentra.com/blog/library-caches-safe-to-delete)[![Cover image for Not Enough Space to Update macOS: How to Fix It](https://maczentra.com/thumbs/editorial-not-enough-space-to-update-macos.webp)Make room for macOSFree up space · 6 minNot Enough Space to Update macOS: How to Fix ItMac says not enough space to update macOS? See how much free room the installer needs and free it fast with snapshots, backups and an external drive.](https://maczentra.com/blog/not-enough-space-to-update-macos)[![Cover image for Free Up Space on a MacBook Air (128 or 256 GB)](https://maczentra.com/thumbs/editorial-free-up-space-macbook-air-128-256gb.webp)Make room on your AirFree up space · 5 minFree Up Space on a MacBook Air (128 or 256 GB)MacBook Air with a 128 or 256 GB drive full? Clear the biggest space hogs first, then keep Photos, Messages and backups from filling it again.](https://maczentra.com/blog/free-up-space-macbook-air-128-256gb)[![Cover image for Best Mac Storage Cleaners 2027: Compared & Ranked](https://maczentra.com/thumbs/editorial-best-mac-storage-cleaners.webp)Compare before you cleanCheck storage · 9 minBest Mac Storage Cleaners 2027: Compared & RankedMac storage cleaners and disk space analyzers compared by price, size, scan speed and licence. One-time, subscription and free options side by side.](https://maczentra.com/blog/best-mac-storage-cleaners)

Source: https://maczentra.com/blog/delete-log-files-on-mac
