Mac guides · Files & storage

How to Find and Delete Duplicate Files on Mac

Duplicate downloads, copied folders and repeated exports can make your Mac harder to manage. Here’s how to find possible duplicates, check what’s really identical and remove unwanted copies without losing files you meant to keep.

Before you delete any duplicates

Start with files you recognise, such as downloads or copied project folders. Search for matching names and sizes, open the likely copies, and confirm which one you want to keep. If you have a large collection, a dedicated duplicate finder can help identify exact matches by comparing file contents.

Keep a safe copy first

Make sure your important files have a current, independent backup before removing duplicates in bulk. Two identical files are not necessarily unnecessary: one may be a deliberate backup, an archive or a copy used by another application. Do not remove contents from system folders, app libraries or backup sets simply because they appear repeated.

If a file has already gone missing, avoid further cleanup on the affected drive. Our guide to preparing files before data recovery explains why preserving the source matters.

What actually counts as a duplicate file?

Files can look alike without being identical. Two documents might have the same name but contain different edits. Two photos may show the same scene while having different sizes, formats or levels of compression.

Same name

Matching filenames are a useful clue, but they are not proof. Files named Invoice.pdf in two different folders could contain different invoices.

Same size

Matching file sizes narrow the search but do not guarantee identical content. Different files can contain the same number of bytes.

Exact match

For a more reliable comparison, a tool can calculate a content hash for each file and use that information to group candidates, with additional verification where needed. This is different from identifying visually similar photos or documents with related wording.

The safest question is not just “Are these files identical?” It is also “Why are there two copies, and which location should keep one?”

How to find possible duplicate files using Finder

Finder does not provide a general-purpose button that checks every file on your Mac for exact duplicates. It can, however, help you locate and compare likely copies without installing anything.

  1. Choose a manageable folder. Open Finder and start with Downloads, Documents or a project folder you recognise rather than scanning system-managed locations.
  2. Search for a filename or file type. Use Finder’s search field, then select the folder or Mac search scope shown in the window. Searching for a distinctive part of a filename is often more useful than a broad search.
  3. Switch to List view. Choose View > as List, and sort or group results by attributes such as name, size or date where available.
  4. Preview the candidates. Select a file and press the Space bar for Quick Look, or choose View > Show Preview. Compare the content, location, modification date and other relevant details.
  5. Check which copy belongs where. Open the file in its usual application if necessary, especially when you suspect there are different versions.
  6. Only then consider removal. Leave anything you cannot positively identify until you have checked its purpose and backup status.

For repeated searches, you can create a Smart Folder using File > New Smart Folder and add search criteria. A Smart Folder collects matching results automatically, but it does not verify that their contents are identical.

Apple describes Finder views, previews and Smart Folders in its Finder organisation guide.

How to find duplicate photos in Apple Photos

If the images are managed inside your Photos library, start in Photos rather than changing the library’s contents through Finder. Photos has a built-in Duplicates collection for recognised duplicate photos and videos.

  1. Open the Photos app on your Mac.
  2. In the sidebar, look under Utilities and choose Duplicates.
  3. Review the items Photos has identified. It can take time for duplicates to appear while Photos analyses your library.
  4. Select the relevant items and use Merge if you are satisfied with the result.
  5. Check the outcome in your library before making any further changes.

According to Apple’s Photos guidance, merged duplicates are placed in Recently Deleted, where they can ordinarily be recovered for up to 30 days before permanent deletion. This workflow is for the Photos library, not an all-purpose scan of your Mac’s folders and external drives.

Don’t clean inside the Photos library package

Do not open the internal package contents of a Photos library and manually delete files you think are duplicates. Use Photos itself to review library items. The same caution applies to other application-managed libraries and project packages.

How to confirm two files are exact duplicates

For a small number of ordinary files, opening both and comparing their contents may be sufficient. For bigger collections, manually reviewing every pair quickly becomes impractical.

Dedicated tools can identify candidates by size, calculate hashes based on file contents and perform additional checks before presenting a set as exact duplicates. Hashes help detect matching content, but a careful tool also needs to account for files changing after a scan and for the difference between matching data and a safe removal decision.

From erehwon

Duplicate File Finder

Duplicate File Finder is designed to find byte-verified duplicates across folders and mounted drives, with reviews, keeper choices, protected locations and cleanup safeguards. Its product page also describes file and folder comparison, revalidation before removal and locally stored scan information.

The app focuses on exact duplicates. It does not claim to detect every visually similar image or all near-identical documents. It is currently for macOS, so check the product page for availability rather than assuming you can download it today.

macOS app

How to delete duplicate files safely

Finding an exact match is only the first part of cleanup. The more important decision is which copy to retain, particularly if the files sit in different folders or on different drives.

  1. Keep the original or best-located copy. Check its folder, filename, dates and relationship to active projects. An older file is not automatically the wrong file.
  2. Exclude intentional backups. Keep independent backup copies and anything managed by Time Machine, Photos or another application.
  3. Review small groups. Remove only duplicates you can confidently identify, rather than accepting an unrestricted bulk cleanup.
  4. Move selected files to the Bin. In Finder, select the confirmed unwanted copy and choose File > Move to Bin, or use Command-Delete.
  5. Check the files you kept. Reopen important documents and check projects before emptying the Bin.
  6. Empty the Bin only when ready. That is a more consequential step, because you can no longer simply restore those files from the Bin afterwards.

Be especially careful with iCloud Drive. A deletion made in a synchronised location can propagate to other devices using the same account. Check sync behaviour and recovery options before removing shared or cloud-managed copies.

How to stop duplicates building up again

A simple folder system can reduce accidental repeat copies. Keep incoming files in one place until they are reviewed, use meaningful filenames for exports and avoid creating new “final-final” versions when an existing project folder already has a clear version history.

For files archived across several physical drives, maintain a record of which drive holds the working copy and which holds a backup. That distinction makes it easier to avoid deleting intentional redundancy when you reorganise storage.

For ordinary personal files, periodically checking Downloads and old export folders may be enough. There is no need to repeatedly scan protected system folders or remove files you do not recognise.

Frequently asked questions

Does Mac have a built-in duplicate file finder?

Finder can search and group possible matches, but it does not provide a general exact-content duplicate scan for all your files. Apple Photos separately offers a Duplicates collection for recognised photos and videos in a Photos library.

Are files with the same name always duplicates?

No. Identical filenames can belong to different versions or unrelated files. Compare the contents and the role of each copy before deleting anything.

Can deleting duplicates damage my Mac?

Removing personal files you have positively identified may be straightforward, but deleting application-managed files, backup data or system content can cause problems. Work in familiar folders, keep backups and avoid aggressive cleanup.

Should I delete duplicates from an external drive?

Only after confirming they are unnecessary. A repeated file on another drive may be your only independent backup copy, even if its contents match exactly.

Why doesn't Photos show a Duplicates collection?

Photos may not have identified duplicates yet, or its analysis may still be underway. Follow the current guidance for your macOS version and give Photos time to analyse the library.

A little checking prevents a bigger problem

Duplicate files can make your Mac feel disorganised, but removing every repeated item is not the goal. Start with files you understand, confirm genuine matches and decide which copy serves a useful purpose.

Whether you use Finder, Photos or a dedicated duplicate finder, a careful review protects the files that matter while helping you tidy the rest.