How to Repair a Corrupt QuickBooks Company File After a Crash
Last reviewed 2026-08-06
When QuickBooks closes unexpectedly during a backup, update, or routine task, the company file (.QBW) can be left in an inconsistent state. The good news is that most damaged files can be recovered without losing years of transactions.
Check whether the file is actually damaged
Before attempting any repair, confirm that the problem is inside the company file rather than in the QuickBooks installation itself. Open QuickBooks and try loading a different company file or one of the sample files. If the sample file opens normally, the issue is almost certainly your specific .QBW file.
Run the Verify and Rebuild utilities
QuickBooks includes built-in tools designed to find and fix structural problems inside company files.
- With your company file open, go to the File menu, select Utilities, and choose Verify Data.
- If Verify reports no problems, your file is structurally sound and the issue lies elsewhere.
- If Verify reports damage, return to File > Utilities and select Rebuild Data.
- QuickBooks will prompt you to create a backup before it attempts the repair. This is mandatory, so have an external drive or network folder ready.
- Once Rebuild finishes, run Verify Data a second time to confirm the structural errors are gone.
Rebuild can repair common issues such as broken list links, damaged transactions, and corrupted balance totals. However, it cannot fix every type of damage, particularly when the underlying database structure has been compromised.
Restore from a recent backup
If Verify and Rebuild fail to resolve the errors, the safest fallback is a recent backup (.QBB). Restoring a backup from a day or two before the crash will get you back to work quickly, though you will need to re-enter any transactions recorded since that backup was created.
When the file will not open at all
Severe corruption can prevent QuickBooks from even opening the file, which blocks the built-in tools entirely. In these situations, the database engine may be unable to read the file's header or transaction list. If the file throws errors like -6000, -82, or c=47 when you try to open it, or if it repeatedly crashes QuickBooks, manual data extraction and structural repair are usually required. For emergency QuickBooks data recovery, getting the file evaluated quickly prevents further degradation and maximizes the chance of a full transaction recovery.
Preventing future file damage
Most company file corruption is preventable. Keep your QuickBooks installation updated to the latest release, since Intuit frequently patches database stability issues. Store your company file on a local drive or a stable network server rather than a cloud-syncing folder like OneDrive or Google Drive, as background synchronization can lock or fragment the file. Finally, set up automatic backups so that if the unexpected happens, you always have a clean restore point.