A corrupted file is one whose data no longer matches the structure its program expects, so it will not open, opens with errors, or shows garbled content. The bytes got scrambled, cut off, or partly overwritten, usually during saving, transfer, or storage. The file's contents are damaged even though its name, size, and icon may still look completely normal in your file browser.
Why this happens
- Interrupted writes. A power loss, crash, or unplugging a drive while a file is being saved can leave it half written and inconsistent.
- Failing storage. Bad sectors on a hard drive or worn flash memory can alter the stored bytes over time.
- Incomplete transfers or downloads. A file that did not finish copying or downloading is missing part of its data.
- Software bugs or version mismatches. A program that writes a file incorrectly, or an old program opening a newer file format, can produce or misread damaged data.
- Filesystem damage. If the filesystem that tracks where a file lives gets corrupted, the file can point to the wrong data.
- Malware. Some malicious software deliberately damages or encrypts files.
Is this normal?
An occasional corrupted file is a normal part of computing, especially after a crash or an unsafe drive removal. Frequent corruption is not normal and usually points to a failing drive, faulty memory, a buggy program, or repeated improper shutdowns.
Does it cause any problems?
A corrupted document, photo, or video may be partly or fully unusable. If a corrupted file belongs to an application or the operating system, that program can crash, misbehave, or fail to start until the file is repaired or replaced.
How to fix or check it
- Try opening it a different way. Open the file in another program, or on another computer, since some tools tolerate minor damage better than others.
- Use a built-in repair option. Some apps include one, for example Microsoft Office offers Open and Repair from the Open dialog.
- Restore from backup. On Windows, right-click the file and check Restore previous versions or File History. On Mac, use Time Machine to bring back an earlier copy.
- Redownload or recopy. If the file came from the internet or another drive, get a fresh copy, since the original source is likely intact.
- Check the drive. Run
chkdsk X: /fon Windows or First Aid in Disk Utility on Mac to catch filesystem and disk errors that cause corruption. - Try recovery software. If you have no backup, file recovery tools can sometimes rebuild part of a damaged file, though results vary and are not guaranteed.
Frequently asked questions
Can a corrupted file be fixed?
Sometimes. Minor damage or a repairable container can often be recovered with a built-in repair tool or recovery software. If the actual content bytes are lost or overwritten, the file may be beyond repair, which is why backups matter.
Does a corrupted file mean I have a virus?
Not necessarily. Most corruption comes from interrupted writes, failing hardware, or software bugs rather than malware. If many files corrupt at once or you see ransom messages, then run a malware scan to rule out an infection.
Can file corruption spread to other files?
A single corrupted file cannot infect others on its own, but the underlying cause can. A failing drive, bad memory, or ongoing malware may corrupt additional files, so it is wise to check the drive and back up your data.