How to Find and Remove Duplicate Files on a Mac

How to Find and Remove Duplicate Files on a Mac
Short answer

To find duplicates on a Mac: use the Photos app's built-in Duplicates album for images, a Finder Smart Folder sorted by size and name for documents, or Terminal with checksums (md5) to match files by content. Always review before deleting — matching names or sizes doesn't guarantee identical files, and some duplicates are intentional backups.

The built-in ways

What to be careful about

Same name or size does not mean same file. And some "duplicates" are deliberate — versioned exports, backups, or files another app depends on. Review before deleting, and prefer moving to the Trash so you can undo.

Duplicates inside app libraries (Photos, Music) should be handled through those apps, never by deleting inside the library package — see Photos library storage.

Where the bigger wins usually are

Honest note: duplicates are rarely the biggest win. On most Macs, caches, developer artifacts and large media dwarf them — see finding large files and System Data. MacCleaner targets that reclaimable bulk first, with real byte counts and a recoverable Trash.

Frequently asked questions

How do I find duplicate files on a Mac for free?

Use the Photos app's Duplicates album for images, a Finder Smart Folder for documents, or Terminal with md5 checksums to match files by content rather than name.

Is it safe to delete duplicate files on a Mac?

Only after reviewing them. Matching names or sizes doesn't guarantee identical content, and some copies are intentional backups or app dependencies. Move them to the Trash rather than deleting permanently.

Does macOS have a built-in duplicate finder?

Photos has a Duplicates album for images and videos. For other files there's no dedicated tool — use Finder Smart Folders or Terminal checksums.

Reclaim the space in two taps

MacCleaner scans read-only, shows every file before anything is touched, marks the safe groups, and lets you choose Trash or permanent. Free for up to 500 MB of cleanup a day.

Download for Mac