Fix Corrupted External Hard Drive on Mac: Step-by-Step
In this article
If your external hard drive won't mount, shows errors, or macOS says it's not readable, the drive is likely corrupted. You can often fix it using built-in macOS tools like Disk Utility, First Aid, and Terminal commands. This guide walks you through the safest methods, from simple remounting to more advanced repairs. Start with the least invasive steps and only move to data-erasing options if nothing else works.
What You'll Need
- Your external hard drive and its cable (preferably the original or a high-quality one)
- A Mac with a USB, Thunderbolt, or USB-C port that matches your drive
- Enough free space on your Mac's internal drive to back up files (if you plan to copy data off)
- Optional: a second external drive for backup
- Time and patience – do not rush the repair process
Step-by-Step
- Connect the drive properly. Plug the drive directly into your Mac (avoid hubs). If it's a desktop drive with its own power adapter, make sure it's plugged in and powered on. Wait 30 seconds for macOS to recognize it.
- Check if the drive appears at all. Open Finder and look under Locations in the sidebar. Also open Disk Utility (Applications > Utilities > Disk Utility) and see if the drive shows in the left panel. If it doesn't appear, try a different cable, port, or another Mac to rule out hardware failure.
- Force mount the drive (if it's visible but not mounted). In Disk Utility, select the drive (the top-level entry, not the volume below it). Click the Mount button in the toolbar. If it's grayed out, try the Terminal method: open Terminal (Applications > Utilities) and type
diskutil listto find the drive identifier (e.g.,disk2s1), then typediskutil mount /dev/disk2s1(replace with your identifier). - Run First Aid on the volume. In Disk Utility, select the volume (the one with the drive's name, usually indented under the drive). Click First Aid in the toolbar, then Run. Follow the prompts. This checks and repairs the file system structure. It may take several minutes for large drives.
- Run First Aid on the whole disk. If the volume repair fails, select the top-level disk entry (the physical drive, often with a capacity label) and run First Aid again. This checks the partition map and disk structure.
- Repair in Recovery Mode (if First Aid fails). Restart your Mac and hold Command+R until the Apple logo appears. In macOS Recovery, open Disk Utility from the Utilities menu and run First Aid on the external drive. This uses a more thorough repair process.
- Use Terminal's fsck command (advanced). If Recovery Mode First Aid still fails, open Terminal from the Utilities menu in Recovery. Type
diskutil listto find the drive identifier, then unmount it withdiskutil unmountDisk /dev/disk2(replace disk2). Then runfsck_exfat -d /dev/disk2s1for exFAT drives, orfsck_hfs -dr /dev/disk2s1for HFS+ (Mac OS Extended) drives. Replace the identifier. This can take a long time. If it reports errors, it will ask to fix them – typeywhen prompted. - Erase and reformat (last resort). If no repair works, you must erase the drive. This deletes all data. In Disk Utility, select the drive, click Erase. Choose a format: APFS (for macOS only), Mac OS Extended (Journaled) (for older Macs or Time Machine), or exFAT (for cross-platform with Windows). Use the default scheme (GUID Partition Map). Name the drive and click Erase. After it finishes, the drive should be usable.
Common Mistakes
- Running First Aid on the wrong item. Many guides tell you to select the volume, but if the partition map is corrupted, you must run First Aid on the whole disk. Try both.
- Using a USB hub or extension cable. These can cause power issues and make the drive appear corrupted. Connect directly.
- Interrupting First Aid. If you unplug the drive or shut down during repair, you can make things worse. Let it finish.
- Erasing without trying recovery. Always try data recovery software (like Disk Drill or Data Rescue) before erasing, if the data is valuable.
- Choosing the wrong format. If you need to use the drive with Windows, don't format as APFS. exFAT is the safest cross-platform option.
Tips
- Back up before it breaks. The best fix is prevention. Use Time Machine or another backup method regularly.
- Use a quality cable. Faulty cables are a common cause of corruption. Replace if you see intermittent disconnects.
- Eject properly. Always drag the drive to the Trash or press Command+E before unplugging.
- Try a different Mac. If your Mac's USB port is failing, the drive might appear corrupted. Test on another computer.
- Check the drive's health. After repair, use a tool like DriveDx (paid) or smartctl (Terminal) to check SMART status for hardware issues.
Troubleshooting
If First Aid says “Operation failed” or “The underlying task reported failure”: This often means physical damage. Try the Terminal fsck method. If that also fails, the drive may be dying. Stop using it and consider professional data recovery.
If the drive mounts but files are missing or unreadable: Run First Aid, then try data recovery software. Do not write new files to the drive, as that can overwrite recoverable data.
If the drive doesn't appear in Disk Utility at all: Check System Information (Apple menu > About This Mac > System Report > USB or Thunderbolt). If it shows there, try a different cable. If not, the drive's enclosure or port may be dead. Try connecting the bare drive to a SATA dock if you have one.
If the drive appears but with a weird name like “disk2s2” and no volume: The partition map is corrupted. Run First Aid on the whole disk, not the volume. If that fails, you'll need to erase the entire disk.
If your Mac says “The disk you inserted was not readable by this computer”: Click Initialize to open Disk Utility, then run First Aid. If it still fails, you may need to reformat (data loss).
Frequently Asked Questions
Will I lose my data if I run First Aid?
Usually no. First Aid only repairs the file system structure, not your files. However, if the drive is severely damaged, it might fail or cause further issues. Always back up if you can.
Can I fix a physically damaged hard drive?
No, not with software. If you hear clicking, grinding, or the drive doesn't spin up, it's physical damage. Stop using it and contact a professional data recovery service.
What's the best format for an external drive on Mac?
For Mac-only use, APFS (for SSDs) or Mac OS Extended (for HDDs). For cross-platform with Windows, use exFAT.
Why does my drive keep getting corrupted?
Common causes: unsafe ejection, power surges, failing cable, or the drive itself is aging. Check SMART status and replace the cable.
Can I use Windows to fix a Mac-formatted drive?
Windows can't natively read APFS or HFS+. You can use third-party software like Paragon APFS or HFS+ for Windows, but macOS First Aid is the best tool for Mac formats.
What should I do if the drive is still not working after all steps?
If the drive is under warranty, contact the manufacturer. If not, the drive is likely dead. Consider professional data recovery if the data is critical, but know it can be expensive.