MacAppKit Guides

How to find which app is using your external drive on a Mac

Finder tells you a drive is busy, but never by whom. If you want to know which app has files open on an external drive, SD card or disk image, you have three practical routes: Activity Monitor, the Terminal command lsof, or an app that shows the answer for you. This guide covers each one and what the output means.

Why a drive looks "in use"

A drive is in use when any process holds an open file or has it as its working folder. That includes the obvious (a video editor with a project on the drive) and the invisible: Quick Look previews, a Terminal tab sitting in the drive, Spotlight indexing, Time Machine, a photo library that syncs, and cloud sync tools that watch folders. A process does not need to be doing anything to hold a file open.

Method 1: Activity Monitor

  1. Open Activity Monitor (Applications, Utilities).
  2. Choose a process, then click the info button (i) in the toolbar, or double-click it.
  3. Open the Open Files and Ports tab. It lists every file the process has open.

This works when you already suspect an app. Use the search field to look for a process, then check whether any listed path starts with /Volumes/YourDrive. It is slow when you do not know the suspect, because you must open processes one at a time.

Method 2: lsof in Terminal

lsof means "list open files". Give it the mount point of the drive and it names every process with a file open on that volume. Drives mount under /Volumes:

ls /Volumes

lsof /Volumes/MyDrive

The columns you need are COMMAND (the program), PID (its process number), USER and NAME (the file). Names with spaces need quotes or backslashes: lsof "/Volumes/My Drive". If nothing prints, no process you own has a file open there. Run it again with sudo to include other users and system processes:

sudo lsof /Volumes/MyDrive

To search for a single file, pass its path: lsof "/Volumes/MyDrive/Movie.mov". The option +D scans a folder recursively. It is useful for a subfolder, but it can take a long time on a large drive.

Common names you may see:

What you may not be able to see

Some system processes run as root. Without sudo, lsof leaves them out, and even with it, the result of a failed eject may be a snapshot that has already changed. If the output is empty but the eject still fails, wait ten seconds and retry, close all Finder windows, or restart. That is a real limitation of every method here, including apps built on the same system calls.

Method 3: Heldup, from the menu bar

Heldup is a free Mac app made by the MacAppKit team that does the lookup automatically. It sits in the menu bar and lists every external drive, SD card, mounted disk image and network share. If you click Eject and macOS refuses, Heldup lists each holding app with its name and icon, how many files it has open and an example file path. Quit App asks that app to close politely (it can still ask you to save), then ejects the drive again.

It also has a file check. If a file in the Trash says "the operation can't be completed because the item is in use", drop the file on Heldup, or choose Check a File, to see which app has it open.

It looks only at programs running under your own user account, so it needs no administrator password, no helper tool and no Full Disk Access. When macOS does not reveal who is holding a drive, Heldup says so, offers a 10-second retry and only force-ejects after you confirm the risk. It is free, with every feature included, in exchange for one anonymous weekly report (hashed Mac ID, version, feature counts) that you agree to on first launch. It needs macOS 13 or later.

HeldupFree menu bar app for Mac, made by the MacAppKit team. No account, no ads.
Get Heldup (free)

Quick decision guide

The MacAppKit team also makes Sweepvault (safe junk cleanup with a 30-day undo vault) and Uptend (finds updates for your apps), if you like small, focused Mac tools.