QuickBooks Company File Repair: Fix a Damaged QBW File
Last reviewed 2026-09-07
A damaged QuickBooks company file can almost always be repaired, and the first fixes are ones you can run yourself from inside QuickBooks. This page explains what is actually wrong inside the file, which repair steps to try and in what order, and the point at which the file needs professional hands.
Is the file actually damaged?
Damage shows up in a handful of recognizable ways. You may see an error code in the -6000 range or a C= code when the file opens or during normal work. Verify Data may report problems that Rebuild cannot clear. Transactions can go missing, dates can jump, or the balance sheet can stop balancing. Some files simply refuse to open, or open and then crash QuickBooks.
Not every one of these symptoms means damage. A dropped network connection or a wrong hosting setting can produce the same error codes. The fastest way to know is to run Verify Data from the File menu, under Utilities. Verify reads the whole file and reports what it finds.
The usual causes of company file damage
Nearly all damage comes from a write to the file that was interrupted halfway through. The classic triggers are a power cut or a forced shutdown while QuickBooks was open, and a network drop while the file was in use across a shared folder.
Storage is the other big factor. Keeping the file in a folder watched by a cloud sync service is a common and avoidable cause. The sync tool rewrites the file while QuickBooks still has it open. Very large files are also more fragile, and they take far longer to rebuild when something does go wrong. If yours has grown heavy, condensing an oversized QuickBooks company file lowers both the risk and the pain of the next repair.
Protect the original before anything else
Before running a single repair tool, make a full copy of the company file and the transaction log that sits beside it, and store that copy somewhere safe. Pause any cloud syncing on the folder. If the file lives on the host computer, copy it to the machine in front of you and repair the local copy.
Two more cautions. Do not run the Condense utility on a damaged file; it needs a healthy structure to work with. And do not keep entering data while the file is reporting errors, because every save writes onto a weakened structure.
The repair steps, in order
1. Run Verify Data. Under the File menu, choose Utilities, then Verify Data. This reads the file end to end and tells you whether damage exists and roughly where. Intuit's Tool Hub bundles a File Doctor utility that automates the same checks and also fixes several connection problems.
2. Run Rebuild Data. In the same place, choose Rebuild Data. QuickBooks will ask to make a backup first; let it. Rebuild can run for a long time on a large file and may look stuck, so give it time.
3. Verify again, and repeat Rebuild once. A second Rebuild cycle sometimes clears what the first pass could not. If Verify still fails after two full cycles, stop there. Repeated rebuilds on a badly damaged file can make things worse.
4. Restore your most recent good backup. If a backup predates the damage and the gap is small, restoring it may be the cleanest repair of all. Weigh the missing period against the state of the damaged file.
5. Recover the gap from the transaction log. QuickBooks records every change twice: in the company file and in a log file kept beside it. When the company file is damaged, that log is often intact and can bridge the gap between your backup and today.
Will restoring a backup lose recent work?
It can, and that gap is often the real cost of a repair. If your newest backup is from Friday and the file failed on Tuesday, restoring puts you back to Friday. That is exactly the situation the transaction log was designed for. Log recovery is specialized work rather than a menu command; see recovering transactions from the QuickBooks transaction log for how we handle it.
Checking the repaired file
A repair is not finished when the error message disappears; it is finished when the books check out. Run Verify once more and expect a clean pass. Compare the balance sheet, profit and loss, and the receivables and payables aging reports against the last figures you trust.
Then spot-check the things damage touches most: bank accounts still flagged as reconciled, inventory quantities and average costs, and any customer or vendor balances that looked wrong before. Keep the untouched pre-repair copy until you are satisfied, ideally through one full month-end close.
When should the file come to us?
Hand the file over when any of these is true. The file will not open at all, Verify still fails after two Rebuild cycles, or your newest backup is too old to restore without losing real work. A balance sheet that stays out of balance after repair belongs on that list too.
Those files need work at the data level, below what the built-in tools reach. Our QuickBooks data recovery service handles files that will not open, and our QuickBooks Verify and Rebuild repair service handles files the built-in tools cannot clear. Either way, the work happens on a copy of your file and the original stays untouched.
For now, do one thing before anything else: copy the company file and its log somewhere safe, then run Verify. What Verify reports tells you how deep the problem goes, and it is the first thing we will ask about if the file needs our help.