Home > Questions

How to fix an external hard disk that cannot be ejected on Mac?

Cannot eject hard drive "because one or more programs may be using it". I have had this problem for years with every Mac I've owned and every hard drive. Can't find any info other than force quit all running apps, relaunching Finder, etc so thought I would post the question here. Couldn't find this question asked recently so it would be nice to have an updated answer. It's a simple thing to do but currently, I can only eject the drive by shutting it down.

Best Answered by

iBoysoft author Anna Yuan

Anna Yuan

Answered on Wednesday, May 31, 2023

Generally, when you got the warning message "This disk wasn't ejected because one or more programs may be using it", you can't eject the external hard drive on Mac safely. Just as the error itself states, it may be because the external hard drive is currently in use or the drive is engaged by a processing program.

You've learned that forcing quit all running apps or relaunching the Finder may help fix this issue. Shutting down your Mac computer is also a fix. If you're not satisfied with the abovementioned 3 fixes. Here we'll offer you another 2 ways to fix "This disk wasn't ejected because one or more programs may be using it" on Mac.

Method 1: Eject the disk by Terminal

Step 1: Open Mac Terminal from Mac Dock or Launchpad, running the following command to force eject the disk from your Mac.

Step 2: Type in the following two commands.

diskutil list external diskutil eject disk (number)

Remember to replace the disk number with the right disk number of your external hard drive in the command list.

Now, your external hard drive should be ejected successfully from your Mac.

Method 2: Eject the disk with an automatic ejection tool

If you don't want to use Terminal, you can use iBoysoft NTFS for Mac instead. Although It is mainly designed for mounting Windows NTFS file system drives on Mac, it can also be used to fix the 'external drive won't eject on Mac' issue.

  1. Free download and launch iBoysoft NTFS for Mac.
  2. Wait for the app to detect your disk with the issue.
  3. Click the iBoysoft NTFS for Mac icon in the menu bar, select the drive from the drop-down list, and choose Eject.

People Also Ask

Read More Questions

Read More Advice From iBoysoft's Computer Experts

Guest user on Mac

What is Guest Account on Mac and How to Use it

A guest account on Mac is a simple and convenient way for other people to use your computer while your personal data remains secure and private.

Wiki Tips


Mac Double-click Not Working? Try These Solutions

Mac Montereyでファイルを開けないダブルクリックを修正する方法を紹介します。ダブルクリックが機能しない場合は、以下の対処法を試してみてください。

encrypt local backup

Encrypt Local Backup: An Option to Protect iOS Backup on Mac/Windows

This post explains the encrypt local backup option while backing up iPhone, iPad, and iPod Touch to Mac/Windows. Reading this post provided by iBoysoft to know how to use this feature.

Wiki Tips