How to find and delete duplicate photos on Mac
Duplicate photos pile up quietly: the same picture imported twice, a copy saved from a message, an old backup folder. Here are three free ways to find them, from easiest to most powerful.
1. Photos app: the built-in Duplicates album
If your pictures are in the Photos app, macOS can find exact duplicates for you.
- Open Photos.
- In the sidebar, under Utilities, click Duplicates. (This album needs macOS Ventura 13 or later, and it appears only after Photos has finished indexing your library.)
- For each pair, click Merge to keep one copy (Photos combines the copies into one), or select a copy and delete it.
Deleted photos stay in Recently Deleted for 30 days, so you can recover a mistake.
The Duplicates album finds copies Photos considers identical. It does not look at pictures stored outside your Photos library, such as folders in Downloads, Documents or on an external drive.
2. Photos in folders: Finder
For pictures in normal folders, Finder can help you spot copies by hand:
- Open the folder and switch to List view (⌘2).
- Click the Size column header to sort by file size. Exact copies have the same size and are listed next to each other (Finder rounds sizes, so check by opening both).
- Look for names like
IMG_1234 (1).jpgorIMG_1234 copy.jpg. - Select the extra copies and press ⌘Delete to move them to the Trash.
This is fine for one small folder. It is slow for thousands of photos, and two different photos can have the same size by coincidence, so open both before you delete.
3. Exact copies in a big folder: Terminal
This command compares the actual contents of the files, so renamed copies are found too. It only lists duplicates; it deletes nothing.
find ~/Downloads -type f -size +0 -not -path '*.photoslibrary/*' -exec shasum {} + | sort | awk '{ if ($1==last) { if (!shown) print line; print $0; shown=1 } else { shown=0 } last=$1; line=$0 }'
Each printed block (lines that start with the same long code) is one set of identical files. Delete the extras yourself in Finder. Change ~/Downloads to the folder you want to check. The command skips Photos libraries on purpose: never delete files from inside a .photoslibrary package, because that can corrupt your library. Use method 1 for pictures in Photos. It can take a while on large folders.
It finds only byte-for-byte identical files. A photo that was resized, re-saved or edited is not identical, so it will not be listed.
When a dedicated tool helps
The built-in methods are enough for a small library. They struggle when you:
- have duplicates across several places (Photos library, Downloads, an external drive),
- want to find similar photos (burst shots, slightly edited copies), not only identical ones,
- are afraid of deleting the wrong file and want to undo a clean-up.
TwinSweep is a Mac app I make for this. It scans folders and your Photos library (the Photos library part is in beta), groups identical files, and never pre-selects similar photos: you pick. Extras go to the Trash, every group keeps at least one copy, and you can undo the last clean-up. The scan and review are free; the first 1 GB of cleaning is free, then it is a one-time $19 license (macOS 14 or later): https://tidyware.app/twinsweep/
Disclosure: I'm the developer of TwinSweep (Tidyware). The three free methods above work without it. Tidyware is running a Black Friday discount through December 1, 2026.
Quick answers
Is it safe to delete duplicates? Look before you delete. Keep one copy of each, and use the Trash (or Recently Deleted in Photos) first, so you can recover a mistake.
Why are there so many duplicates? Common causes are importing the same card twice, syncing several devices, and keeping old backups in your Documents or Pictures folders.
Will deleting duplicates free a lot of space? It depends on your library. Large videos and RAW photos copied twice add up quickly.