sodcalculator

10 Tech How-To

Fix Bad Sectors on External Hard Drive

Guide 10-9144 · Updated · Step by step

Bad sectors on an external hard drive can cause freezing, corrupted files, and clicking noises, but many can be repaired or isolated using built-in tools. The first step is to run a disk check to identify the bad sectors, then either repair them or back up your data and replace the drive if they are physical. This guide explains the difference between logical and physical bad sectors, how to fix them on Windows and macOS, and when to stop trying and recover your files.

What Are Bad Sectors?

A sector is the smallest storage unit on a hard drive, typically 512 bytes or 4 KB. Bad sectors are areas that can no longer reliably store or retrieve data. They fall into two categories:

  • Logical (soft) bad sectors: Caused by software errors, sudden power loss, or a corrupted file system. The physical media is fine, and the sector can often be remapped or rewritten.
  • Physical (hard) bad sectors: Caused by physical damage—scratched platters, read/write head contact, or age. The media is damaged and cannot be repaired; the drive will continue to fail.

Most consumer drives have spare sectors reserved for remapping. When a sector fails, the drive’s firmware automatically redirects reads/writes to a spare. If you see repeated bad-sector errors, the spare pool is running out, and the drive is nearing the end of its life.

Signs Your Drive Has Bad Sectors

Common symptoms include:

  • Files that won’t open or copy, with “cyclic redundancy check (CRC)” or “data error” messages.
  • Extremely slow read/write speeds, especially on specific files.
  • The drive makes clicking, grinding, or buzzing sounds.
  • Windows chkdsk or macOS First Aid reports “bad sectors” or “unreadable blocks.”
  • The drive disappears from File Explorer or Finder, or the computer freezes when it’s plugged in.

If you see these signs, stop using the drive immediately. Continued use can worsen physical damage and reduce the chance of data recovery.

How to Fix Bad Sectors on Windows

Windows includes a built-in tool called chkdsk that can find and repair logical bad sectors. It can also mark physical bad sectors so the operating system skips them in the future.

  1. Connect the external drive to your PC.
  2. Open File Explorer, right-click the drive, and select Properties.
  3. Go to the Tools tab and click Check under “Error checking.”
  4. If Windows says no errors found, you can still run a deeper scan. Open Command Prompt as administrator (search “cmd”, right-click, “Run as administrator”).
  5. Type chkdsk E: /r (replace E: with your drive letter) and press Enter. The /r flag locates bad sectors and recovers readable information.
  6. If the drive is in use, you may be prompted to schedule the scan for the next restart. For an external drive, close all programs using it and try again.

The scan can take hours for a large drive. When it finishes, it will report the number of bad sectors found and whether any were repaired. If chkdsk cannot read a sector, it marks it as bad and the drive’s firmware will avoid it. This can extend the drive’s life, but it is not a permanent fix for physical damage.

How to Fix Bad Sectors on macOS

macOS uses Disk Utility with First Aid to check and repair the disk.

  1. Connect the external drive.
  2. Open Disk Utility (from Applications/Utilities or Spotlight).
  3. Select the external drive in the sidebar, then click First Aid.
  4. Click Run and let it complete. It will report any errors and attempt repairs.

First Aid can fix logical issues like directory errors, but it cannot repair physical bad sectors. If it repeatedly fails, the drive is physically failing. You can also try third-party tools like DriveDx or Smart Reporter to check S.M.A.R.T. status, which tells you if the drive is predicting failure.

What to Do If the Drive Is Physically Failing

If chkdsk or First Aid reports physical bad sectors, or if the drive makes unusual noises, stop all repair attempts. The priority is data recovery, not fixing the drive.

  • Back up immediately: Copy your most important files to another drive. If copying fails, try using recovery software like Recuva (Windows) or TestDisk (cross-platform) to salvage what you can.
  • Do not format: Formatting will not fix physical bad sectors and will erase data you might still recover.
  • Consider professional recovery: For critical data, a data recovery service can open the drive in a clean room and extract data from damaged platters. This is expensive, so weigh the cost against the value of your data.
  • Replace the drive: Once a drive develops physical bad sectors, it is unreliable. Use it only for temporary storage of non-critical files, or retire it entirely.

Can You Prevent Bad Sectors?

You can reduce the risk of bad sectors with these habits:

  • Eject the drive safely: Never unplug without using “Safely Remove Hardware” or ejecting in Finder.
  • Protect from physical shock: Dropping or bumping a running drive can damage the head or platters.
  • Keep it cool: High temperatures accelerate wear. Avoid direct sunlight and ensure ventilation.
  • Use a UPS: Sudden power loss during writing can cause logical bad sectors.
  • Monitor S.M.A.R.T.: Tools like CrystalDiskInfo (Windows) or smartctl (macOS/Linux) show drive health metrics. If reallocated sector count is rising, back up and replace.

Frequently Asked Questions

Can bad sectors be fixed permanently?

Logical bad sectors can be repaired by rewriting the sector, which chkdsk or a full format can do. Physical bad sectors cannot be repaired; the drive’s firmware marks them as bad and stops using them, but the damage is permanent and will likely spread.

Will formatting remove bad sectors?

A full format (not a quick format) writes zeros to every sector, which can clear logical bad sectors. It will not fix physical bad sectors, and it will erase all data. If you have physical bad sectors, formatting is only useful if you plan to reuse the drive for non-critical data.

How long does chkdsk take on an external drive?

It depends on the drive size and speed. A 1 TB drive with no errors can take 1-3 hours. If there are many bad sectors, it can take 5+ hours because the drive retries reading each damaged sector multiple times. Let it run overnight if needed.

Can I still use a drive with bad sectors?

You can, but it is risky. The drive may fail at any moment, and bad sectors can corrupt files. Use it only for temporary storage of data you can afford to lose, and keep a backup of anything important.

Why does my external drive show bad sectors after a power outage?

Power loss during a write can leave the file system in an inconsistent state, which can manifest as logical bad sectors. Running chkdsk or First Aid can often fix these. If the drive was also physically jolted during the outage (e.g., laptop falling), physical damage is possible.

What is the difference between chkdsk /f and /r?

/f fixes file system errors, while /r locates bad sectors and recovers readable data. /r implies /f, so running chkdsk /r is the most thorough option for bad-sector issues.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →