com.apple.Music cache is 22 GB in ~/Library/Caches: delete it?
A 22 GB com.apple.Music cache in ~/Library/Caches is safe to delete. Quit Music, Trash the folder, restart, empty the Trash, by hand or in Gigabroom.
Updated 5 min read
On this page
You open Storage or a disk map and see a com.apple.Music folder of 22 GB inside ~/Library/Caches. You want to know whether it is safe to remove, and how to get the space back, especially on a small SSD.
Why the Music cache gets this big
The folder holds data Music can fetch or generate again: streamed audio it kept for fast playback, artwork, and similar working files. Apple doesn't document the contents or a size limit for this folder. So we can't tell you why yours reached 22 GB, only that it is a cache location and that people with large libraries or heavy streaming see it grow.
Two things are easy to confuse with it:
- Downloaded songs. Songs you downloaded from the Apple Music catalog or bought in the iTunes Store live in your Music library, not in this cache. Apple's support article on deleting music says that choosing Remove Download removes the download from only your Mac. That is the route if you want to shrink actual music files.
- The Music library itself. The
.musiclibrarypackage in your Music folder holds your library. Gigabroom never deletes anything inside it, and you shouldn't touch it by hand either.
Deleting the cache doesn't remove songs from your library or your playlists. Streaming content is fetched again, so expect some re-downloading and a slower first launch.
Delete it by hand in Finder
Do these in order. The restart is cheap insurance: it makes sure nothing still has the cache open.
- Quit Music with ⌘Q (Command-Q). Check the Dock for a dot under its icon.
- In Finder, choose Go > Go to Folder… (Command-Shift-G).
- Enter
~/Library/Cachesand press Return. - Find
com.apple.Music. Select it and press ⌘I (Get Info) to confirm the size. - Drag
com.apple.Musicto the Trash. - Restart your Mac from the Apple menu.
- Open Music and check that your library, playlists and playback look normal. Nothing is permanently gone yet, so if something is wrong you can drag the folder back out of the Trash.
- Empty the Trash: right-click the Trash icon in the Dock and choose Empty Trash.
If Finder says an item is in use, quit Music again, restart, and retry. Apple's guide on freeing storage is direct about the last step: When you move a file to the Trash, its storage space doesn't become available until you empty the Trash.
Delete it with Gigabroom
Gigabroom moves everything to the Trash after a confirmation, so you can put items back until you empty it. Apple Music is on Gigabroom's bundled list of caches it never selects for you: Smart Scan won't queue it, and in Quick Clean it is listed with "Keeps data" and left unticked. That is a deliberate precaution, so you decide with the size in front of you.
Option A: Quick Clean
- Quit Music.
- Open Quick Clean (⌘2) and expand the User Caches row with its chevron.
- Find
com.apple.Musicin the list (up to 25 items are shown per row, so a large cache is usually near the top). - Tick it yourself, since Gigabroom won't.
- Click Move to Trash… and confirm.
If Music is open, the row shows "App is open" and is skipped. Quit & Clean… can ask the app to quit and reopen it afterwards, but quitting Music yourself first is simpler.
Option B: the Disk Map
- Press ⌘O (File > Choose Folder to Scan…), choose your home folder and click Scan.
- Click into Library, then Caches, until you reach
com.apple.Music. - Hover to see the size. Right-click the shape and choose Move to Trash…, or drag it to the Collector and click Sweep.
- Confirm. Gigabroom re-checks the item right before it moves.
- Restart your Mac and check that Music works.
- Choose File > Empty Trash… (⇧⌘⌫). Afterwards Gigabroom reports the measured space freed.
If the menu shows a greyed line with a reason instead of Move to Trash…, Gigabroom is refusing that item. Use Reveal in Finder and follow the manual steps.
Without Full Disk Access, Gigabroom can't see inside your home Trash and will say so; you can grant access or empty the Trash from the Dock. See Full Disk Access and other permissions.
Which route to use
| Situation | Best route | Why |
|---|---|---|
| One-off removal of this folder | Finder | Nothing to install |
| You want to see what else is large | Gigabroom Disk Map | Shows sizes next to this folder |
| Several caches to clear together | Gigabroom Quick Clean | One confirmation, one Trash move |
| Real music files are the problem | Music app, Remove Download | The cache isn't where songs live |
If the space doesn't come back
| Symptom | Likely cause | Fix |
|---|---|---|
| Free space unchanged | Trash not emptied | Empty the Trash |
| Folder reappears right away | Music was still running | Quit Music, retry |
| Freed less than expected | macOS kept a local snapshot | Check System Data (⌘8) in Gigabroom |
| Cache grows back | Normal use rebuilds it | Rescan later, check What Grew (⌘6) |
Gigabroom's note on snapshots says caches are created again as needed is the nature of caches in general; for snapshots specifically, see Understanding System Data, purgeable space and snapshots. You can also check what categories use space in System Settings > General > Storage, which Apple describes in its Storage settings guide at Free up storage space on Mac.
Checklist before you try again
- Music is fully quit, with no dot under its Dock icon.
- You moved
com.apple.Music, not the wholeCachesfolder. - You restarted the Mac.
- You emptied the Trash (Dock, Finder, or File > Empty Trash… in Gigabroom).
- You checked free space after emptying, not before.
If nothing works
If the folder won't move, keeps coming back at full size within hours, or Music misbehaves after the cleanup, contact Apple Support. Give them the macOS version, the size of the folder, and what you already tried. For Gigabroom itself, use the MacSuite support page.
Subject: com.apple.Music cache stays at 22 GB after deleting it
Mac model and macOS version:
Folder: ~/Library/Caches/com.apple.Music (22 GB before)
Steps tried: quit Music, moved the folder to the Trash, restarted, emptied the Trash
Result: (folder returned at ___ GB / free space did not change / error text: ___)
Gigabroom version (if used) and the exact message shown:Common questions
Will I lose my playlists or songs?
No. Your library and playlists are stored separately from the cache. Songs you downloaded stay downloaded; only the cache is rebuilt.
Do I need to restart?
It isn't strictly required, but quitting Music and restarting makes sure nothing still holds the folder open. It is the order people on community forums report working.
Why did Gigabroom not tick the Music cache for me?
Apple Music is on a bundled list of caches Gigabroom never auto-selects, because some media caches can hold data that is slow to fetch again. You can still select and trash it yourself.
Will it grow back?
Yes, gradually, as you play and browse in Music. If it returns to many gigabytes quickly, rescan later and use What Grew to see how fast.
Gigabroom is part of MacSuite; you can try it free for 7 days.