How to Find and Remove Duplicate Files on a Mac Safely

By the Sunroom teamPublished Updated 5 min readTested on macOS 26.5

On this page
  1. Does a Mac have a built-in duplicate finder?
  2. How do I remove duplicate photos on a Mac?
  3. How do I find duplicate songs in Music?
  4. How do I find duplicate files in Finder?
  5. How do I delete duplicates safely?
  6. Why didn't deleting duplicates free up space?
  7. Which duplicate finder app should I use?
  8. How Sunroom does it
  9. Where should I look next?
  10. FAQ

Short answer: macOS has no general duplicate finder. Use Photos › Duplicates to merge duplicate photos, Music › File › Library › Show Duplicate Items for songs, and a checksum command in Terminal or a duplicate finder app for everything else. Always match by content, not name, send copies to the Trash rather than deleting them, and leave system and app folders alone.

Duplicates pile up quietly. The same PDF downloaded three times, a camera import done twice, a project folder copied "just in case". Together they can eat tens of gigabytes.

Removing them is easy. Removing only the right ones takes a little care. Here's how to do it with what's built into macOS, and when a dedicated tool is worth it.

Does a Mac have a built-in duplicate finder?

Partly. Two Apple apps find duplicates inside their own libraries. Finder doesn't find duplicates at all.

Where Built-in option What it compares
Photos Duplicates album Photos it judges to be the same
Music Show Duplicate Items Same song by the same artist
Finder None Nothing
Terminal shasum + sort Exact file content

How do I remove duplicate photos on a Mac?

Photos does this well. Per Apple's Photos guide:

  1. Open Photos and click Duplicates under Utilities in the sidebar.
  2. Review each row. Photos may take a while to fill this list in a large library.
  3. Click Merge on a row, or select several rows and merge them together.
  4. Photos keeps one copy where the duplicates were. The rest go to Recently Deleted, where you can recover them for 30 days.

The limit: Photos only offers merges for duplicates it detects. It won't spot near-identical shots, such as burst photos or a slightly edited copy.

How do I find duplicate songs in Music?

Apple's Music guide covers it:

  1. Click Songs in the sidebar and select a song.
  2. Choose File › Library › Show Duplicate Items to see every copy of that song by the same artist.
  3. Or hold ⌥ and choose File › Library › Show Exact Duplicate Items, which only matches when the song, artist, album and version are all the same.
  4. Delete the extra copies, then click Done to show everything again.

If you keep your own music files, see how to play your own music library on a Mac.

How do I find duplicate files in Finder?

Finder can't. Sorting by name or size and eyeballing it works for one folder, but names lie: "Report.pdf" and "Report (1).pdf" may differ, while "IMG_2041.heic" and "photo.heic" may be identical.

The reliable test is a checksum of each file's content. This command is read-only. It lists files over 1 MB in the current folder and below that have identical content, grouped together:

cd ~/Downloads
find . -type f -size +1M -exec shasum -a 256 {} + | sort | awk '{h=$1} h==p{if(!shown)print prev; print; shown=1; next} {p=h; prev=$0; shown=0}'

Files with the same long code at the start are byte-for-byte identical. Change ~/Downloads to any folder you want to check. On a big folder this can take a few minutes.

To compare two specific folders rather than hunting for copies, see how to compare two folders on a Mac.

How do I delete duplicates safely?

  1. Stay out of system folders. Don't touch /System, /Library, or anything inside an app bundle or a Photos or Music library package. Use Photos and Music themselves for those.
  2. Match by content. Same name or same size isn't enough.
  3. Keep the copy in the right place. The one inside your project folder usually matters more than the one in Downloads.
  4. Move to the Trash first. Use the Finder or an app that trashes, and empty the Trash only after a few days.
  5. Have a backup. A recent Time Machine backup turns any mistake into a two-minute restore.

Why didn't deleting duplicates free up space?

Two common reasons:

  • APFS clones. On an APFS disk, a copy made on the same disk is often a clone. The clonefile man page puts it plainly: a clone "shares its data blocks" with the original. Deleting one copy frees almost nothing until the other is gone too.
  • The Trash. Space comes back only after you empty it.

Storage settings may also take a while to update. For the grey bar that never seems to shrink, see what System Data is and how to clear it.

Which duplicate finder app should I use?

As of November 2026, MacPaw's Gemini 2 is a popular choice. It finds duplicates and similar files, shows them side by side, has a Smart Select that learns from your choices, and moves removals to the Trash so you can restore them. It starts at $1.95 a month (as of November 2026).

What to look for in any duplicate finder: content matching, a review step before anything is removed, removal to the Trash, and a way to protect folders you never want touched.

How Sunroom does it

Sunroom Files has Disk & cleanup built in, and duplicates are part of it, next to large files, caches and app leftovers. Every cleanup is a plan you review first, then a log with measured results. Scans run in the background, pause, and continue where they stopped.

For photos, Sunroom finds look-alike photos, not only exact copies, in your Photos library or any folder. It picks the best of each group (sharpest, largest, favourites first) and removes the rest after you review them. Sunroom Music finds duplicate songs and keeps the best copy, after you review each change.

Sunroom runs on macOS 14 Sonoma or later and is in private beta.

Where should I look next?

Duplicates often hide in folders Finder won't size for you; see why Finder shows "--" for folder sizes. More guides are in the Mac System & Health hub.

FAQ

Does macOS have a built-in duplicate file finder?

Not for files in general. Photos has a Duplicates album and Music has Show Duplicate Items, but Finder can't find duplicate documents, downloads or videos.

How do I remove duplicate photos on a Mac?

In Photos, click Duplicates in the sidebar, then Merge for each set. Photos keeps one copy and moves the rest to Recently Deleted, where you can recover them.

Is it safe to delete duplicate files on a Mac?

Yes, if they're truly identical and outside system and app folders. Compare by content, not name, move duplicates to the Trash rather than deleting them, and keep a backup.

Why didn't deleting duplicates free any space?

On APFS disks, a Finder copy on the same disk is often a clone that shares its data with the original. Deleting one copy frees little until the other is gone too.

Fix your Mac the way Apple didn't.

Sunroom adds better Files, Calendar, Mail and Music apps, a live Home screen and Ray, an AI agent that asks before it acts. Join the waitlist for the private beta.

One email to confirm, then your download link when your place opens. A few updates after that. Unsubscribe any time. Privacy