How to Find and Remove Duplicate Files on a Mac
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
- Photos: the Duplicates album finds and merges duplicate images and videos — the safest, highest-yield option.
- Finder: New Smart Folder, sort by name and size to spot repeats, especially in Downloads.
- Terminal (by content):
find ~/Downloads -type f -exec md5 {} + | sort | uniq -d -w 32matches identical files regardless of name.
What to be careful about
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