Fix Corrupt Master File Table Error (MFT)
In this article
The Master File Table (MFT) is the core index of every file and folder on an NTFS-formatted drive. When it becomes corrupt, Windows may fail to boot, show errors like "The master file table is corrupt," or make the drive appear unformatted. The fix depends on the severity: run chkdsk /f first, then use chkdsk /r for bad sectors, and if that fails, use recovery tools or restore from backup.
What Is the Master File Table?
The MFT is a special file (named $MFT) at the heart of the NTFS file system. It stores a record for every file and directory on the volume, including its name, size, timestamps, permissions, and the location of its data clusters. When you open a file, Windows reads its MFT entry to find the data. If the MFT is damaged, the whole drive becomes unreadable because the system cannot locate anything.
Each MFT record is typically 1 KB, and the table itself grows as you add files. The first 16 records are reserved for system files like $MFT, $LogFile, and $Bitmap. Corruption can affect a single record, a range of records, or the entire table.
Common Symptoms of MFT Corruption
- Error messages during boot: "The master file table is corrupt. Please run chkdsk."
- Drive shows as RAW or unformatted in Disk Management.
- Files disappear or become inaccessible.
- System freezes or crashes when accessing the drive.
- Blue Screen of Death (BSOD) with
NTFS_FILE_SYSTEMorINACCESSIBLE_BOOT_DEVICE.
If you see any of these, stop using the drive immediately. Continued writes can overwrite the damaged areas and reduce the chance of recovery.
Step-by-Step Fix: Run CHKDSK
The built-in Windows tool CHKDSK scans the file system and repairs logical corruption. Here is how to run it:
- Open Command Prompt as Administrator (Start > type
cmd> right-click > Run as administrator). - Type
chkdsk C: /fand press Enter. ReplaceC:with the letter of the affected drive. - If the drive is in use, you will be prompted to schedule the check on the next restart. Type
Yand reboot. - If
/fdoes not fix it, runchkdsk C: /rwhich also scans for bad sectors and attempts to recover readable data.
The /r scan can take hours on large drives. Do not interrupt it. If CHKDSK reports that it could not fix everything, proceed to the next steps.
Recovery Options When CHKDSK Fails
If CHKDSK cannot repair the MFT, you still have options:
- Recovery software: Tools like TestDisk, Recuva, or commercial products can scan the raw drive and rebuild the MFT from the NTFS log or by scanning for file signatures. Use them on a different computer to avoid writing to the damaged drive.
- Backup: If you have a system image or file history backup, restore from it. This is the most reliable method.
- Command-line recovery: On a non-bootable drive, you can boot from Windows installation media, open Command Prompt (Shift+F10), and run
chkdskfrom there.
For severe physical damage, consider a professional data recovery service. They have clean-room facilities to repair hardware and extract raw data, but it is expensive.
How to Prevent MFT Corruption
Most MFT corruption is caused by sudden power loss, improper shutdown, or failing hardware. To reduce the risk:
- Use a UPS (uninterruptible power supply) to avoid abrupt power cuts.
- Always shut down Windows properly.
- Run
chkdsk /fregularly (e.g., monthly) to catch errors early. - Check disk health with tools like CrystalDiskInfo (for S.M.A.R.T. status). If it shows reallocated sectors or pending errors, replace the drive.
- Keep backups. Use File History or a third-party backup tool to an external drive or cloud.
Frequently Asked Questions
Can I fix MFT corruption without losing data?
Yes, if the corruption is logical, CHKDSK can repair it without deleting files. However, if the MFT is severely damaged, some files may become unrecoverable. Recovery software can often retrieve them, but not always. Always back up before attempting repairs if possible.
What does "MFT is corrupt" mean on a non-bootable drive?
It means the MFT on that drive is damaged. The drive may be a secondary data drive, and Windows cannot read it. You can connect it to another computer and run CHKDSK from there, or use recovery software.
Is CHKDSK safe to run?
Yes, CHKDSK is a Microsoft tool designed to check and repair file system errors. It will not delete your files unless it finds corrupted data that cannot be read. It may move unreadable data to a folder called found.000.
How long does chkdsk /r take?
It depends on drive size and speed. A 1 TB HDD can take several hours; an SSD is faster. The scan checks every sector, so it is thorough but slow. Do not cancel it.
Can I fix MFT corruption on a Mac or Linux?
You can use third-party tools like ntfsfix (Linux) or commercial software on macOS, but the safest is to use Windows CHKDSK. If you do not have Windows, boot from a Windows PE USB drive.
What if the drive is physically damaged?
If CHKDSK reports bad sectors or the drive makes clicking noises, stop using it. Physical damage requires professional recovery. Continuing to run scans can worsen the damage.