How to Fix Error 50 on Mac with External Hard Drive

mac error code 50

Most of the time, we’re able to copy and move files from an external storage device to our Mac with no issue. However, there’s also a chance of encountering something called Error Code 50. This error code means that the operation couldn’t be completed due to an unexcepted error.

The good news is that there are several ways to fix Error Code 50, and that’s what we will cover in this article.

What Is Error Code 50 on Mac?

If you receive Error Code 50 on your Mac, the entire message will display something like this “The operation can’t be completed because an unexpected error occurred (error code -50)”.

It’s essentially a pop-up message letting you know that what you were trying to do failed. This happens when you’re trying to copy, move, or delete data on your external storage device.

Why Is Error 50 Code on Mac Showing Up?

Let’s take a deeper look into some specific examples that can be causing Error Code 50 to show up.

Reason for the errorDescription
🗄️ Incorrect file names/corrupt file metadataIf you’re trying to manipulate data and the file is damaged or it doesn’t have a proper name that macOS can work with. If the file metadata is corrupt, that could also cause the error.
🚫 System FailureMac hard drives—both internal and external—can fail. Your external storage device might have a hard time communicating with your Mac which could indicate an NVRAM/PRAM error.
⚙️ External hard drive settingsWithin your System Settings, there are options that control how often your external storage device is put to sleep. Depending on the setting, this could cause the device to be put to sleep during operation and could give you an error.
🗃️ Corrupt data NVRAM/PRAMIf either of these isn’t operating correctly on your Mac, this could lead to the Error 50 code displaying. NVRAM stores peripheral data such as volume, display resolution, and other system settings. PRAM stores core details about your Mac.

Let’s take a look into how we can fix Error Code 50 on Mac.

How to Fix Error Code 50 on Mac

There are many ways that we can go about fixing Error Code 50 on our Mac. Below I will list several methods, and I would recommend that you follow them in order as it’s going to take us through a process of elimination.

Method 1: Unplug Your External Hard Drive/Storage Device and Reboot Your Mac

Believe it or not, turning it off and then turning it back on again fixes a lot of issues as it allows your Mac to reboot itself and set up again.

There aren’t many steps for this one, so it’s easy to do:

  1. Safely eject your external hard drive/storage device from your Mac. If you can’t get it to eject, follow the steps in this article.
  2. Head up to the Apple logo in the upper left-hand corner and click on it.
  3. Choose the Restart… option and wait for your Mac to restart.restart mac
  4. Once your Mac has booted back up go ahead and log in.
  5. Plug in the external storage device and then try to accomplish the task that you were doing before.

Method 2: Reset NVRAM/PRAM

NVRAM, or Non-volatile random-access memory, is a small amount of memory on your Mac where macOS settings are stored.

PRAM or Parameter Random Access Memory stores information about the system settings on your Mac. This keeps settings saved for you even when you power down and turn off your Mac.

If you’re receiving the Error 50 code, then resetting your NVRAM/PRAM may help fix the issue and get rid of the error.

Note that when you follow the steps below you will reset both, so you don’t have to do another set of steps for the other. When you do reset them, you will not lose any data on your Mac.

  1. Shut down your Mac, then turn it on and immediately press and hold OPTION+COMMAND+P+R and hold these keys for about 20 seconds.
  2. Your Mac will then appear to restart. Let it boot up to the home screen and then log in.
  3. Plug your external storage device into your Mac and see if you’re able to accomplish your task from before.

If you’re using a newer Mac that has a T2 security chip, you can release the keys right after you see the Apple logo.

Method 3: Check and See if Your Mac Has a Software Update

Updating your Mac might help fix any issues relating to the Error Code 50 message displaying. macOS updates are free, and you can install them easily.

  1. Go up to the Apple logo in the upper left-hand corner and click on it.
  2. From within the dropdown menu, click on System Settings… and then a window will launch.system settings mac
  3. Then navigate to General and choose Software Update.system preferences mac
  4. If there is an update available, then I would recommend that you download and install it. If there are none, we can move on to the next method.system preferences software update

Method 4: Run First Aid in Disk Utility

First Aid gives you the ability to repair and fix disk errors. If an application is crashing frequently, a file is corrupted, or an external hard drive isn’t working correctly, then this method might get us up and running again.

First Aid is part of Disk Utility, and this comes installed on your Mac for free.

  1. Launch Disk Utility from your Applications folder: Launch Finder and then go to your Applications folder. From within the folder, look for Utilities and then select Disk Utility.
  2. Once within Disk Utility, select your external storage device.
  3. Click on First Aid once the hard drive is selected.disk utility
  4. Click Run and wait for the process to complete. First Aid can take some time to run depending on how large the hard drive is, and it can make your Mac unresponsive while fixing your hard drive. I would recommend doing it at a time when you aren’t trying to get any work done.first aid disk utility

Once First Aid is done, attempt to accomplish the task that you were trying to do before and see if you can complete it without receiving the error.

Method 5: Check the Names of the Files on Mac

If you have one file that won’t transfer, try changing its name. Sometimes the name of a file can cause issues when transferring from one location to another. Symbols and other non-character symbols can cause issues as well.

  1. Right-click on the file that you want to rename.
  2. Select Rename and then type in the new name of the file.rename file
  3. Click return on your keyboard.
  4. Try moving the file now and see if it’s successful.

Method 6: Check Your External Hard Drive Settings

It is possible that your hard disk is being put to sleep and that is the reason that you’re receiving the error. We can turn off this setting and then try to accomplish our task and see if we can do it without getting the error.

  1. Launch System Settings.
  2. Navigate to Battery.
  3. Choose Options…at the bottom of the settings page.
  4. Change Put hard disks to sleep when possible to Never.hard disk settings

Method 7: Clean ~/Library/Caches

Caches are temporary files on your machine. Sometimes these can interfere with normal computer operations. Cleaning them could help resolve the issue and get rid of the error code.

  1. Launch Finder.
  2. Head up to the Nav bar and click on Go. Then, scroll down to Go to Folder….go to folder
  3. Type in ~/Library/Caches and click return on your keyboard.library caches
  4. Select all of the caches within this folder and move them to the Trash.moving caches to the trash
  5. Empty your Trash.emptying trash
  6. Try accomplishing the task that you were doing before and see if you’re receiving an error code still.

Method 8: Format the Hard Drive

If none of the above options worked, then the last option would be to format the hard drive. This option is good if the hard drive simply isn’t working for you and won’t allow you to transfer any data from or onto it.

I wouldn’t recommend doing this step if you have one file causing an issue as the hard drive may be fine, it could be that just that one file is corrupted.

Formatting will completely erase the hard drive and set it up new again. If there are issues with the hard drive at a software level, this should fix them.

  1. Launch Disk Utility. Open a new Finder window and then navigate to your Applications folder. From within the folder, go to Utilities and then launch Disk Utility from the folder.
  2. Inside Disk Utility, select your external storage device from the list of devices on the left-hand side. Then, click on Erase.external hard drive disk utility
  3. Choose the format that you would like to format the external storage device too. I would recommend that you choose APFS. Click Erase one more time and wait for the process to complete.external hard drive erase

Try using the hard drive now and see if you can transfer data to and from it without any issues. If you’re still having issues, then there could be something wrong with either the hard drive, the cable, or your Mac at a hardware level, and bringing your Mac into an Apple store would be your next best option.

How to Recover Data from an External Storage Device with Error Code 50

If you want to recover data from your external storage device in general or you’ve already formatted it and realized there was something that you wish you would have saved, we can use third-party data recovery software to scan the storage device for your data.

Disk Drill is one of the best data recovery apps that there is out there today. It works on the latest version of macOS and Disk Drill will run on all Apple Silicon Macs. Now, let’s walk through the steps of using Disk Drill to recover the data from our external storage device.

  1. Download and install Disk Drill onto your Mac.
  2. Launch Disk Drill and select your external storage device as the device to scan for lost files.disk drill storage device selection
  3. Wait for the scan process to complete.scan in progress
  4. Review what Disk Drill was able to recover. You can use the Preview feature to see the entire contents of the file before recovering it.preview feature in disk drill
  5. Select the files that you would like to recover from your external storage device
  6. Click on the Recover button to recover the files.

That’s all that there is to it! Quite simple and easy to do.

Conclusion

Most of the time, we can use our Mac with no issues. Sometimes, though, we can have issues with a file, or external storage device, or maybe the software on our Mac simply needs an update.

No matter what the case, now you’re prepared to handle an issue like that, and, more importantly, you know how to recover and keep your data safe as you can’t replace that.

Joel Lockard, a tech enthusiast with a lifelong love for gadgets, gained experience selling Apple devices and even earned certification as an Apple Sales Professional. When not flying as an Airline Pilot, Joel immerses himself in technology, particularly Apple-related gear… Full Bio