Trying to fix a corrupted hard drive on your Mac?

A corrupted hard drive on a Mac can feel like a blaring alarm. Unlike Windows computers, Macs aren’t built by default to fix and repair corrupted hard drives. So, what can you do?

There are more than several ways to fix a Mac hard drive. Whether you’re having trouble with an external device or with the storage inside your Mac, we have all the steps you need to know to fix this issue.

Signs of a Corrupted External Hard Drive

External storage devices like a hard drive, especially HDDs, are more prone to being corrupted because of how they’re built. HDDs continually spin a disk that stores your files, and vibrations or sudden forces can move or damage the disk.

Here are some clear signs that your external hard drive is corrupted:

  • 📄 Your Mac can’t read files from it.
  • 💽 Your Mac doesn’t recognize the hard drive.
  • 🔒 An error message like “The disk you inserted is not readable” appears.

If you aren’t getting any of these errors at all, not even a prompt from your Mac that the hard drive was inserted, then the problem might be something else. Contrary to popular belief and gaming culture, don’t blow into your hard drive USB connector like a Nintendo cartridge. There may be something wrong with the wiring of your hard drive, rather than damage in the disk or main storage chip.

Signs of a Corrupted Internal Hard Drive

Although Apple is known for its security, your Mac’s internal hard drive isn’t totally immune to getting corrupted. You may have installed a malicious program or had a recent crash that caused unsaved, corrupted files to appear in your system.

Here are some clear signs that your Mac hard drive is corrupted:

  • 📛 Some applications or files don’t open.
  • ❌ Applications randomly close or stop responding to input entirely.
  • ↔️ You can’t transfer new files to certain folders.
  • ☠️ Your Mac has trouble starting up.

Fixing Corrupted External Hard Drives On a Mac

With all that said, thankfully there are as many ways to fix these problems as there are symptoms for it!

Step #1: Using Disk Drill to Backup Corrupted Hard Drive Data

Before we start tinkering with settings and trying to fix the hard drive on your Mac, let’s make sure we save and backup all the data inside it first. If worse comes to worst, we might have to reformat your hard drive.

Now, there are a lot of data recovery programs out there, but we recommend trying out Disk Drill. It’s our favorite data recovery software and it’s free to use!

If you’re backing up an external hard drive, you can just use your Mac for the backup files if you have any space. However, if you’re backing up your Mac’s files, then you’ll need a functional external hard drive for the backup files.

Backing up your files can take more or less 30 minutes, depending on the size of the files you’re saving.

  1. You can start by downloading Disk Drill from their official website. While that’s downloading, go ahead and connect your external drive to your Mac.disk drill download
  2. When that’s done, just install the program by dragging it to your Applications folder and then launching it.application folder
  3. After launching the program, select byte-to-byte backup in the left panel.byte-to-byte backup
  4. When you’re there, click on the disk you want to backup.
  5. After, look for and click on the Create backup button.
  6. Choose a location and click on Save when you’re done.
Disk Drill will send you a warning if the backup hard drive doesn’t have enough space. You can either try to free up space from that hard drive or find another with more space. If your hard drive has enough space, Disk Drill will immediately start backing up your files.

Now that you’re done backing up your files, we can go troubleshoot the issue with your hard drive. The steps for recovering and restoring your backed-up files will be listed below at the end of the article.

Step #2: Make Sure Your External Disks are Visible

There’s a macOS setting that’s responsible for showing hard disks, CDs, DVDs, and more on your desktop. If you can’t find your hard drive, it might be hidden and not corrupted. Hopefully, this is the case, so you won’t have to repair your hard drive later on.

Here’s how you can make your external disks visible through Finder:

  1. Open up Finder and click on the Finder tab at the top-left corner of your screen.
  2. From there, click on Preferences and look for the General tab.Finder - Prefrerences
  3. You’ll see a whole list of checkboxes. Click on External disks and make sure it’s enabled.Finder Preferences External

If this option was disabled when you opened Finder Preferences, then this should fix your problem. Go and look for your hard drive on your desktop.

Step #3: Force Mount Your Hard Drive in Disk Utility

Even though your hard drive is connected, a simple tug from the wire can disconnect it. At the same time, a faulty hard drive may also have a hard time connecting to your Mac.

You can try to forcefully mount your hard drive using Disk Utility. This lets your Mac actively try to read and mount any hard drive that’s plugged into it.

Here’s how you can force mount your hard drive:

  1. Start by opening up the Disk Utility app.Disk Utility app
  2. At the left-hand side of your screen, look for and right-click the external hard drive you’re having a problem with.Disk Utility External Hard Drive
  3. In the quick-access menu, select Mount to force your Mac to read the drive.

Hopefully, this will let your Mac recognize your hard drive and help you recover data from it.

Step #4: Try Some General Suggestions

These are quick and easy fixes that might help fix and connect your hard drive.

🐌 Do a Super Slow Jam

I don’t know how this was named, but a super slow jam is when you insert your hard drive super slowly into your Mac’s USB port. It’s one of those fixes that doesn’t really have a solid explanation behind it but has been a tried and tested method that works time and again.

🔌 Connect to a Different Port

Try plugging in your hard drive to a different USB port. Chances are there might be an issue with the USB port that you’re connecting your hard drive into. Or, maybe changing up the USB ports will reposition the hard drive enough to get it to read and work.

📏 Straighten Hard Drive Wire

A coiled up USB wire is a bad USB wire. Try putting your hard drive flat on the floor, away from sudden movements, and keep the wire connecting to your Mac straight. More often than not, old hard drives will likely have sensitive wires and will need to be in a certain position for them to read and work.

❌ Don’t use a USB Hub

For those of you using a USB hub, try to remove it and connect your external hard drive directly to your Mac. If that works and fixes your problem, there might be an issue with your USB hub.

Step #5: View Console Reports from Your Mac About the Hard Drive

Console reports are a great way to know what’s happening behind the scenes. Even if you don’t see the hard drive on your desktop, the activity should still be reported to the Console along with other reported problems.

  1. Open the Console app on your Mac through Spotlight or Finder.
  2. Click on View a report and select a report category in the sidebar. Look for any issues regarding your hard drive and see which errors are popping out. Here’s a basic guide.console app
  • Crash Reports – details on apps or processes that have recently crashed.
  • Spin Reports – details on app or process issues.
  • Log Reports – system and use reports on specific apps and their respective events.
  • Diagnostic Reports – details on how your hardware resources are performing.

You won’t need to look at Mac Analytics Data and system.log reports for this issue. Look for the reason why your drive isn’t mounting. It should state if the problem is due to a crash, corrupted file, or simply being unable to read and connect the hard drive to your Mac.

Step #6: Use First Aid from Disk Utility

Disk Utility has a ton of features that are designed for hard drives and First Aid is one of them. It is designed to fix and repair errors on storage devices.

If the storage device you’re checking is your startup disk or startup volume, you’ll have to restart your Mac in macOS recovery first.

  1. Open up the Disk Utility app on your Mac. You can do this through Spotlight or Finder.
  2. Click on View and select Show All Devices.
  3. You should find the volume that needs fixing in the sidebar. Click on the First Aid button to fix that device.Disk Utility First Aid
  4. In the First Aid pop-up that opens, click on Run and follow the instructions.
  5. Repeat steps 3 and 4 for all the volumes on the storage device.
  6. When that’s done, select the container and click on the First Aid button.
  7. Again, click on Run from the dialog box and follow the instructions.Disk Utility First Aid Run
  8. Repeat steps 6 and 7 for each container on that storage device.
  9. Now, from the sidebar, select the storage device and press the First Aid button again.
  10. Go through the First Aid dialog box, click Run, and breeze through the instructions.
Just click on Done when you’re through with everything and that should give Disk Utility enough information to either fix your storage device or tell you if something is wrong with it.

Finally, if Disk Drill tells you that your disk is about to fail, back up your data as much as and as quickly as possible. You will have to replace the disk through a certified Apple repair shop.

You can also use the Terminal to access the First Aid feature and fix the corrupted hard drive you’re dealing with. This step is pretty simple, but we don’t recommend this alternative to users who aren’t familiar with the Terminal.
  1. Open up the Terminal through the Dock or Spotlight.
  2. Copy-paste this code into the Terminal command line: diskutil repairVolume /Volumes/[Drive Name]. Replace “[Drive Name]” with the appropriate name of the hard drive on your Mac.Terminal diskutilrepairVolume

This can take around a couple of minutes, so now would be the perfect time to brew yourself a cup of coffee or take a stretch.

Step #7: Reset Your SMC

A built-in chip on the logic board of your Mac called the SMC is responsible for multiple functions, primarily with power and settings configurations of your macOS. The parameters of the chip often change, sometimes causing a malfunction that a good reset can fix.

Resetting the SMC will revert settings on your computer which might fix the corrupted hard drive issue where it’s either not connecting or not being read. It’s a bit of a long shot, but everything helps when you’re troubleshooting hardware problems like this.

The steps will be different for varying Mac models, so look for your Mac model and read the instructions from there.

💻 MacBooks with the M1 chip:

M1 Macs don’t have an SMC chip. All the functions are already incorporated into the M1 processor, so just reset your computer.

🔌 MacBooks with non-removable batteries:

  1. Start by powering off your Mac.
  2. After several seconds, press the Shift + Control + Option with your left hand. Use your right hand to hold down the power button at the top-left corner of your keyboard.Shift Control Otion
  3. Press these four buttons together at the same time and hold them for more than 10 seconds.
  4. Release all the keys and then turn on your Mac by pressing the power button.

🔋 MacBooks with removable batteries:

  1. Shut down your Mac and remove the battery.
  2. Press and hold the power button for around five seconds.
  3. Reinstall the battery and press the power button again to turn your Mac back on.

🛡️ MacBooks that have the T2 chip:

  1. Shut down your Mac, just like the previous steps.
  2. Press and hold Control + Option at the left side and Shift at the right side of your keyboard for about 7 seconds.
  3. After 7 seconds, press and hold the power button as well. Hold all four keys down for another 7 seconds before releasing them.
  4. Wait for a couple of seconds and then turn on your Mac.

🔩 Desktop computers that have the T2 chip and intel based mac`s:

  1. Like all the steps above, shut down your Mac and unplug the power cord.
  2. After a good 15 seconds, plug the power cord back in.
  3. Wait for exactly 5 seconds before turning on your Mac by pressing the power button.

Step #8: Resetting Your NVRAM

Here’s another method that involves resetting something. Your NVRAM is responsible for storing your preferences and settings. Although the data stored isn’t personal data, resetting it does revert the personal preferences that you’ve previously set on your Mac’s settings.

Here’s how you can quickly do that:

  1. Shut down your Mac.
  2. Power it back on.
  3. When you press the power button, immediately press the Option + Command + P + R keys for a good 20 seconds. Your Mac might seemingly restart during the process, but that’s normal.option-control-p-r

On Mac computers that play a startup sound, you can release the keys right after the second startup sound.

For Macs with the T2 Security Chip, you can take your fingers off the keys when the Apple logo appears and disappears on your screen after a second time.

You can see if you did this correctly by opening up your System Preferences window and checking if the settings were reverted to their default states.

For M1 Macs, you can simply shut down your computer and then power it back on. After a complete shutdown, your Mac tests the NVRAM for defaults and will reset automatically if something is wrong.

Step #9: Uninstall SMART Utilities

SMART programs are a great way to keep track of the health of your hard drive, but they can also block certain storage types from connecting to your Mac. For example, a known issue with SAT SMART drivers is that it doesn’t allow LaCie or Drobo drives to mount.

If you have a SMART driver installed in your system, removing it might fix the corrupted hard drives issues you’re having.

There are a few ways you can uninstall these programs:

  1. Open up the Finder app and look for the SMART utility installed in your computer. Drag it to the Trash and then right-click the Trash icon. Select Empty Trash to begin uninstalling.
  2. Use the built-in uninstaller that comes with the SMART drive program you installed. It should be in the folder together with the SMART drive. If it isn’t there, try opening the SMART utility and looking for an uninstall option.

For example, SAT SMART uninstallations happen this way:

  1. Open up the Terminal.
  2. Copy-paste the command sudo rm-r /Library/Extensions/SATSMARTDriver.kext.Terminal sudo rm-r
  3. After that, copy-paste the second command sudo rm -r /Library/Extensions/SATSMARTLib.plugin.

Step #10: Boot Your Mac in Safe Mode

Macs are one of the safest laptops or desktops you can use, and for good reason. It’s strict when it comes to any signs of malicious behavior, even if it is from your trust hard drive. There’s a huge chance that your Mac considers your hard drive malicious and therefore doesn’t open it.

Similarly, you may also have other apps open that are preventing you from accessing your hard drive.

Booting up your Mac in Safe Mode will run only the necessary apps to operate your Mac. This means that the third-party apps that are possibly blocking your hard drive won’t open.

🛡️ Here’s how you can boot in Safe Mode for Macs with Intel CPUs and T2 security chips:

  1. Shut down your Mac.
  2. Wait for about 10 seconds, then power on your Mac by pressing the power button.
  3. Immediately press and hold the Shift key all the way until you see the login window.shift button

💻 For Macs with Apple silicon, follow these steps:

  1. Shut down your Mac just like the previous step.
  2. After 10 seconds, press and hold the power button to turn your Mac on, all the way until the startup option window appears. That will show all the available startup disks and Options on your Mac.
  3. Select the startup disk you want to open.
  4. Press and hold Shift, click Continue in safe mode, and then release the Shift key.

✅ Here’s how to check if you did it correctly and booted up in Safe Mode:

  1. Click on the Apple menu.
  2. Look for and select About This Mac.
  3. Navigate to the Overview tab and select the System Report button.
  4. Click on Software at the left-side menu. In the System Software Overview section, look for the Boot Mode and see if it says either “Safe” or “Normal”.
You can exit out of Safe Mode by doing a simple restart. Don’t press any keys during the startup and your Mac will power on like normal.

Step #11: Rebuild HFS Tree with FSCK Command

An HFS tree (Hierarchical File System) is a system developed by Apple to specify how data is arranged or allowed to exist on a drive. Your HFS tree might have issues, which is what’s causing the data-reading problem.

To run this command, you’ll have to restart your Mac and login as an Administrator. If you’ve done that, go ahead and proceed to the steps below.

  1. Open up the Terminal on your Mac.
  2. When that’s done, type out sudo diskutil unmount /dev/disk1s2 and press Enter. Replace the disk1s2 numbers with the correct ones in your drive. You can look for the number of your drive by opening Disk Utility, selecting your hard drive, and clicking on info at the top-right corner of your screen. This will open your hard drive details, but just look for your BSD device node information.terminal sudo disktuil unmount
  3. After that, enter the command sudo fsck_hfs -f /dev/disk1s2.
Here are a couple of useful options that you can add to this command:

  • -f — forces a filesystem check even if the OS X says the filesystem doesn’t need it.
  • -n — reports the errors it finds. Doesn’t fix the errors.
  • -y — fixes errors automatically. Only use this if you know what you’re doing. Any mishaps can seriously mess up a filesystem.

This entire process can take a couple of minutes depending on the speed of your Mac. Reconnect the drive after the operation.

Step #12: Format Your Hard Drive

For the last step on this article, we’re going to be formatting your hard drive. This will erase all the files on your hard drive.

Formatting your hard drive is essential when your drive is badly corrupted. If the repair tools couldn’t help with the errors, backup your files as best as you can and then reformat the drive.

Back up the files using the steps we highlighted above with Disk Drill. Once that’s done, here’s how you can format your hard drive.
  1. Open Disk Utility on your Mac.
  2. Click on the External Hard Drive you want to format at the left-hand side of your screen.
  3. Look for and press the Erase button. You can also right-click the hard drive and just click Erase from there.Disk Utility Erase
  4. Give the soon-to-be-formatted hard drive a new name.
  5. We recommend choosing APFS, but you can choose whichever you want as the storage and file format. Select GUID as the Scheme.
  6. When that’s all configured, click on Erase to start the process.

After your hard drive has been reformatted, safely eject it with the steps below and then plug it back to your Mac. Your computer should read the external hard drive successfully and consistently from now on.

Bonus Tip: Disconnect Your Device Properly

If you somehow managed to repair the external hard drive on your Mac, let’s make sure that this problem doesn’t come up again.

There’s a step-by-step process to disconnecting your external hard drives properly. Unplugging it without going through those steps can cause errors, corrupted files, and even damage to your hard drive.

You can properly remove external drives by dragging the hard drive icon from the desktop to the Eject icon on the Dock. The Trash icon changes to the Eject icon during this process.

Alternatively, you can also Ctrl + Click the drive and click on Eject from the quick access menu.

FAQ

Conclusion

Losing a hard drive can be such a huge problem, especially for the creatives who need it for files or for sentimental people keeping memories. While it’s inevitable for a hard drive to eventually break down and become obsolete, there are a ton of ways to recover and restore the health of a hard drive for another year.

Let me know on Twitter or LinkedIn if you need any help with fixing your hard drives!