Delete duplicate music files on Mac
Find and remove duplicate music files cluttering your Mac, whether they're in your Music library or scattered in Finder.
If you’ve imported the same album from a CD twice, downloaded the same MP3 from two different sources, or merged music libraries from old Macs, you’ve got duplicate songs hiding in your Music folder. They take up gigabytes and clutter playlists.
Two paths
The native way: Music.app Show Duplicate Items
Music.app has a built-in duplicate detector that works on songs already in your library.
- Open Music.
- Go to File > Library > Show Duplicate Items.
- Hold the Option key and click File > Library > Show Exact Duplicate Items for stricter matching on name, artist, and duration.
- Review the list — sort by Name or Album to spot pairs.
- Right-click extras and choose “Delete from Library” (move to Trash when prompted).
This works for tracks Music.app knows about. It misses anything sitting loose in Finder — MP3 folders on your Desktop, downloaded albums in Downloads, old library exports — and it doesn’t catch files where the metadata differs slightly (one tagged “The Beatles,” the other “Beatles, The”) even if the audio is identical.
The Dupe way
Dupe ignores ID3 tags and hashes the actual file bytes. Two MP3s with different metadata but the same encoded audio show up as duplicates.
- Download Dupe and open it.
- Click “Add Folder” and add
~/Music, plus Desktop and Downloads if you’ve got loose audio files there. - Click “Scan.” Dupe walks every
.mp3,.m4a,.flac,.wav,.aac, and.alacfile. - Review duplicate groups by file path so you can see which copy is the one Music.app uses.
- Select the loose copies (not the ones inside your Music library folder structure) and click “Move to Trash.”
What Dupe won’t do:
- It won’t match an MP3 against its M4A re-encode. Different formats, different bytes — Dupe treats them as different files. Use Music.app’s duplicate detector if you want format-aware matching.
- It won’t change ID3 tags or move files inside your Music library structure.
- It won’t delete songs Music.app has playlisted unless you tell it to.
Safety:
- Trash only. You have 30 days to recover anything.
- Dupe never touches the Music.app library database (
Library.musicdbandLibrary.musiclibrary). Those are excluded. - Hidden folders are skipped.
For best results, do this in two passes: clean Music.app’s library first with Show Duplicate Items, then run Dupe across ~/Music and Desktop to catch the loose files Music.app never knew about.
More Dupe tips
-
Apple Photos Duplicates album — what it catches and what it misses
The Photos app Duplicates album is handy, but it has real limits. Here's what it finds, what it doesn't, and how to fill the gaps.
-
Clean up leftover files from uninstalled apps on Mac
Dragging an app to the Trash doesn't remove all its data. Here's where the leftovers live and how to clean them.
-
Clean up your Mac without buying a cleaner app
Most paid cleaner apps do things macOS already does. Here's a free, manual workflow that's just as effective.
-
A no-bullshit guide to cleaning up your Mac's disk
Skip the SEO bait and the sketchy cleaner apps. Here's what actually works to reclaim disk space on a Mac.