Two of everything: finding and removing duplicate files on Mac

Updated September 2026 · 6 min read

You download a PDF, forget you already have it, and download it again. A photo gets saved to two folders. A presentation exists in three versions with slightly different names. Over years, these duplicates accumulate — quietly, invisibly — until they're wasting several gigabytes.

macOS has no built-in duplicate finder. But there are several ways to hunt them down.

Where duplicates come from

Duplicates sneak in through predictable patterns:

Method 1: Smart Folders in Finder

Finder's Smart Folders can help you spot obvious duplicates without any extra tools:

  1. In Finder, go to File → New Smart Folder
  2. Click the + button to add search criteria
  3. Set it to search by file kind (e.g., "Images" or "PDFs") and sort by Name
  4. Scroll through and look for files with similar names — especially ones with "(1)" or "copy" in the name

This method is free and built-in, but it's manual and only catches files with similar names — not identical files with different names.

Method 2: Terminal with fdupes

For a more thorough approach, the command-line tool fdupes compares files by content (not just name) and finds true byte-for-byte duplicates. You can install it through Homebrew:

brew install fdupes

Then scan a folder:

fdupes -r ~/Documents

The -r flag searches recursively. fdupes groups identical files together in its output, so you can decide which copy to keep.

When not to use fdupes blindly: don't use fdupes with the auto-delete flag (-d) on your entire home folder. Some apps intentionally keep identical files in different locations. Review the results and delete manually, or limit the scan to specific folders like Downloads, Documents, or Desktop.

Method 3: Duplicate file finder apps

Third-party apps provide a visual interface for duplicate finding. They typically scan by file hash (content comparison), group duplicates together, and let you preview before deleting. Some also find "similar" photos (near-duplicates with different resolutions).

Look for an app that compares by file content, not just file name — name-based matching misses the most common duplicates (same file, different name).

What to keep in mind

How much space do duplicates waste?

For most people, duplicates account for 2–10 GB of wasted space. If you work with large media files (photos, video, design assets), it can be much more. The Downloads folder is usually the worst offender.

Duplicates are just one type of wasted space. For a broader cleanup, check out our guide to System Data on Mac — it covers caches, snapshots, and other invisible space consumers.

Find duplicates (and everything else) in one scan

Gigatidy scans your entire Mac — duplicates, caches, leftovers, and more — and shows you what's safe to remove, with sizes.

Meet Gigatidy →

FAQ

Does macOS have a built-in duplicate file finder?

Not directly. Finder's Smart Folders can help you spot files with similar names, but macOS doesn't have a tool that compares file contents to find true duplicates. You'll need a Terminal tool like fdupes or a third-party app for thorough duplicate detection.

Is it safe to delete duplicate files?

Yes, as long as you keep one copy of each file. The risk is accidentally deleting all copies, so always review before deleting — especially with photos and documents. Start with your Downloads folder, where duplicates are safest to remove.

How do I know which copy of a duplicate to keep?

Keep the one that's in the right location (e.g., the one in your organized Documents folder, not the one in Downloads). If both are identical, it doesn't matter — they're the same file. For photos, keep the higher-resolution version if they differ in size.