A Steam “disk write error” stops a download or update dead, usually with a message naming your library folder. It’s frustrating because the game was probably fine yesterday. The good news: it’s almost always a permissions, disk-health, or file-lock issue you can clear in a few minutes, not a sign your drive is dying.

Start with the fast fixes

  1. Restart Steam completely. Exit fully from the tray, not just the window, then relaunch. A stale file handle is the single most common cause.
  2. Reboot the PC. This clears locked files from background processes and antivirus scans.
  3. Verify the game files. Right-click the game > Properties > Installed Files > Verify integrity. Steam re-downloads only the broken pieces.

Clear the download cache

A corrupted download cache triggers repeated write errors. In Steam, go to Settings > Downloads > Clear Download Cache. You’ll be logged out and back in; your installed games are untouched. Retry the download afterward.

Remove the stubborn 0 KB file

Sometimes a single zero-byte file blocks the update. Browse to steamapps\common\[game] and, with Steam closed, delete any 0 KB file that matches the error, then verify integrity to rebuild it.

Permissions and drive health

If Steam can’t write to its own folder, downloads fail instantly. Run Steam as administrator once to test, and make sure your account owns the Steam directory. On the drive itself, check for read-only flags and free space.

Symptom Likely cause First fix to try
Error on a specific game only Corrupt local file Verify integrity
Error on every download Cache or permissions Clear download cache
Error near end of large update Low disk space or bad sector Free space, run disk check
Error after moving library Folder ownership Fix permissions / run as admin

Check the drive for errors

If the write error keeps landing on the same spot of a large file, run a disk check on that drive (a read-only scan first). A handful of reallocated sectors on an aging SSD or HDD can cause writes to fail intermittently. Also confirm you have well over the game’s install size free; downloads stage temporary files and can need 1.5x the final size during unpacking.

Antivirus and folder locks

Real-time scanners occasionally lock game files mid-write. Add your Steam library folder to your antivirus exclusions, or pause protection briefly during a big update, then re-enable it.

Move or rebuild the library as a last resort

If a single library folder keeps throwing errors across multiple games, the folder’s metadata may be damaged. Create a fresh Steam library on the same or another drive (Settings > Storage > Add Drive), then move the affected game to it; Steam re-validates files during the move and often clears the fault. This is safer than deleting anything and keeps your saves intact.

For recurring errors that survive every software fix, suspect the hardware. Pull up your drive’s health (SMART data) with a monitoring tool and look at reallocated-sector and pending-sector counts. A rising count on an older SSD or HDD means the drive is struggling to write reliably, and no amount of cache clearing will help; back up and plan a replacement. Finally, keep at least 15-20% of the drive free. Full drives, especially SSDs, slow down and can fail writes during the temporary staging that large downloads require.

FAQ

Will clearing the download cache delete my games?

No. It only clears temporary download data and logs you out. Your installed games and saves stay in place. You just sign back in and resume.

Why does it always fail on the same file?

That points to a specific corrupt file or a bad spot on the disk. Delete the offending file and verify integrity; if it keeps recurring on different games at the same drive location, scan the drive for hardware errors.

Bottom line

Work from easy to hard: restart Steam, reboot, verify files, clear the download cache, then check permissions and drive health. Ninety percent of disk write errors clear in the first three steps, and the rest usually trace back to a single bad file or a full or aging drive.

Related guides

Browse all PC Gaming Guides guides →