HomeMac Guides › Delete Duplicate Photos

How to find and delete duplicate photos on your Mac

Duplicate photos are the most reliable source of wasted space on a Mac, because every path into your library creates them: an import run twice, a shared album saved locally, an AirDrop that landed in Downloads, an edit exported alongside its original. The tricky part is not deleting them — it is identifying them correctly, so you keep the best copy and never lose the only one.

Updated 2026-08-02 · Written by the CleanerMac team · macOS 13–15 tested

Know which kind of duplicate you have

Choosing the wrong tool is the main reason duplicate cleanups go badly. There are three distinct cases and they need different approaches.

Only the first category should ever be handled without review. Treat aggressive "similar photo" cleanup as a curation feature, not a cleanup feature.

Method 1: the Photos app's built-in Duplicates album

If your images live in the Photos app, start here — it is free, it is Apple's own, and it understands the library structure that no external tool should touch.

  1. Open Photos. In the sidebar under Utilities, look for Duplicates. It appears on macOS Ventura (13) and later.
  2. If the album is missing or empty on a large library, give it time. Photos detects duplicates in the background and only after the library has been fully analysed, which can take hours or overnight — and on a laptop it generally waits until the Mac is plugged in and idle.
  3. Review the groups, then use Merge rather than delete. Merging keeps the highest-quality version and combines metadata — keywords, favourites, album membership and captions — from all copies, which straightforward deletion would discard.
  4. You can select all and merge in bulk, but scroll through first. Sequential shots occasionally appear here and merging them is not what you want.
  5. Merged items go to Recently Deleted, where they stay for 30 days. Nothing is permanently gone until you empty that album or the window expires.

If you use iCloud Photos, do the merge on one Mac and let it sync. Running cleanups simultaneously on several devices is a good way to create conflicts.

Method 2: loose image files outside Photos

Plenty of images never make it into the Photos library — screenshots, downloads, AirDrops, exports, files pulled off a camera card. These accumulate in ~/Downloads, ~/Desktop, ~/Documents and ~/Pictures.

A Finder Smart Folder is a good free way to see them all at once: File → New Smart Folder, click the +, set Kind is Image, add Size is greater than a threshold if you like, and save it. Then switch to list view, sort by size, and look for adjacent rows with identical byte counts — same-size images are duplicate candidates worth comparing side by side with the space bar.

To confirm two files are truly identical rather than merely the same size, compare their content hashes in Terminal:

shasum -a 256 ~/Downloads/IMG_4021.jpg ~/Desktop/photo-copy.jpg

Matching hashes mean the files are byte-for-byte identical and you can delete either one with confidence. This is exactly the check that filename comparison cannot make — and the reason renamed copies survive most manual cleanups.

Method 3: content hashing at scale

Hashing two files by hand is easy. Hashing forty thousand is not. This is where a dedicated tool earns its place, and the technique it should be using is the same one: hash the contents, group by hash, and present each group for review.

CleanerMac's duplicate finder does that with SHA-256 across Pictures, Downloads, Documents, Desktop and Movies, so renamed copies and copies scattered across folders end up in the same group. Each group is shown with thumbnails so you can see what you are keeping, you choose the copy to keep, and the rest go to the Trash rather than being erased — which means a mistake costs you a drag back rather than a restore from backup. The same engine handles non-image duplicates too; see finding duplicate files on a Mac.

Rules that keep this safe

  1. Back up first. Time Machine or any clone. This is a bulk irreversible-feeling operation and the backup is what makes it not one.
  2. Never modify the Photos library package directly. ~/Pictures/Photos Library.photoslibrary is a managed database. Right-clicking to show its contents and deleting files inside will corrupt it. Every tool worth using treats it as off-limits and works through the Photos app instead.
  3. Prefer merge to delete inside Photos, so metadata survives.
  4. Keep the original format. When a HEIC and a JPEG of the same shot both exist, the HEIC is usually the camera original and the JPEG an export. Keep the original unless you specifically need compatibility.
  5. Watch out for hard links and aliases. Backup tools and some sync clients create links that look like duplicates but share storage — deleting them frees nothing and can break the backup.
  6. Empty Recently Deleted deliberately. Photos holds items for 30 days, so the space is not reclaimed until you clear that album. The same applies to the Finder Trash.
  7. Check the space before and after. Note the figure in Apple menu → System Settings → General → Storage so you know whether the effort was worth repeating.

Preventing duplicates from coming back

CausePrevention
Re-importing the same camera cardPhotos warns about already-imported items — read the warning instead of clicking through
Downloads folder as a staging areaClear it weekly; most duplicate images start life there
Exports saved next to originalsExport to a dedicated folder outside your library
Multiple librariesConsolidate to one System Photo Library rather than juggling several
Messages and AirDrop savesSave deliberately into Photos rather than to the Desktop
Duplicated whole foldersCatch them early with a periodic duplicate scan

How much space this actually recovers

It varies enormously and it is worth being realistic rather than quoting a made-up average. A tidy library that has always lived in Photos may yield almost nothing. A library assembled over ten years from several Macs, an old iPhoto migration and a few external drives can yield a very large share of its total size. The way to know is to run a scan and look at the number before you commit to anything.

Photos are also rarely the only offender. Once duplicates are dealt with, the next largest categories are usually video files, old iOS device backups in ~/Library/Application Support/MobileSync/Backup, and installers left in Downloads. Our guides to finding large files, freeing up space on a Mac and what Other storage contains cover where the rest of it goes. If the machine also feels slow rather than merely full, how to speed up a slow Mac is the better starting point.

Whichever route you take, the order is the same: back up, identify by content rather than by name, review before deleting, and empty the Trash only once you are satisfied.

Find every duplicate, keep the one you want

Content-based SHA-256 matching, thumbnails before you delete. Free for 3 days, then $24.99 once.

Download CleanerMac — free for 3 days

macOS 13+ · Apple Silicon & Intel · $24.99 once, no subscription

Frequently asked questions

Does the Mac Photos app find duplicates by itself?

Yes. macOS Ventura and later include a Duplicates album under Utilities in the Photos sidebar. It appears only after the library has been analysed in the background, which can take hours on a large library and usually waits until the Mac is plugged in and idle.

Should I merge or delete duplicates in Photos?

Merge. Merging keeps the highest-quality version and combines metadata such as keywords, favourites, captions and album membership from every copy. Deleting simply discards the extras along with any metadata that only they carried.

How can I tell if two photos are really identical?

Compare their content hashes rather than their names or sizes. In Terminal, run shasum -a 256 followed by both file paths; matching output means the files are byte-for-byte identical. Same file size alone is suggestive but not proof.

Is it safe to delete files inside the Photos Library package?

No. The .photoslibrary package is a managed database, and removing files from inside it can corrupt the whole library. Always make changes through the Photos app, and treat any tool that offers to clean inside the package as unsafe.

Will deleting duplicates on my Mac remove them from iCloud?

Yes, if iCloud Photos is enabled the change syncs to all your devices. Items go to Recently Deleted for 30 days first, so there is a recovery window. Do the cleanup on one device and let it sync rather than running it in parallel elsewhere.

Why did my free space not increase after deleting duplicates?

Deleted photos sit in the Recently Deleted album for 30 days and files sit in the Trash until you empty it, so the space is still allocated. Clear both, then recheck under Apple menu, System Settings, General, Storage.