How to Fix a Damaged QuickBooks Company File (QBW)

Last reviewed 2026-08-03

When QuickBooks won't open your company file, crashes during backups, or shows a "-6xxx" or C= error, you likely have a damaged QBW file. We repair files like this every day, and this guide walks you through exactly what to do, starting with the safest built-in tools and ending with professional recovery options.

What "file damage" actually means

A QuickBooks company file is a database. Over time—especially in large files or files shared across a network—pieces of that database can become inconsistent. A power outage while QuickBooks is open, a dropped network connection, or simply outgrowing your hardware can cause the file's internal structure to get out of sync. When that happens, QuickBooks either refuses to open the file or starts throwing errors when you try to save, reconcile, or run reports.

The damage is usually in one of three places:

  • The transaction layer — individual journal entries or list items are corrupted.
  • The file header — QuickBooks can't read the file's basic metadata, so it won't open at all.
  • The TLG (transaction log) — the log file that tracks uncommitted changes gets out of sync with the main QBW.

Step 1: Run Verify and Rebuild

Before doing anything else, open QuickBooks and run the built-in Verify utility. This reads through the file and checks for structural problems.

  1. With your company file open, go to the File menu, then Utilities, and select Verify Data.
  2. If Verify reports no problems, your file is structurally sound—whatever issue you're seeing is likely something else (a display glitch, a damaged report, a Windows permission problem).
  3. If Verify finds a problem, it will prompt you to run Rebuild Data. Run it. Rebuild attempts to repair the inconsistencies Verify found.
  4. Run Verify a second time after Rebuild finishes. Sometimes one pass isn't enough.

If Rebuild fixes the file, run a manual backup immediately. Don't overwrite your existing backup—create a new one.

Step 2: Check for a damaged transaction log (.tlg) file

If QuickBooks still won't open the file or errors persist, the transaction log may be the culprit. The TLG file sits next to your QBW file in the same folder and has the same name but a .tlg extension.

Try this: close QuickBooks, rename the TLG file (add ".old" to the end of the filename), and try opening the company file again. If the file opens cleanly, the TLG was the problem.

Important: Only do this if you have a current backup. The TLG file is what allows QuickBooks to recover unsaved data if the program crashes. Renaming it means you lose that safety net for any changes made since your last backup.

Step 3: Try opening a recent backup

If the file is still damaged, restore your most recent backup. Before you trust it, run Verify on the restored file to make sure the backup itself is clean.

If your most recent backup is clean and recent enough, the fastest path forward may be to work from that backup and re-enter any transactions processed since. That's a judgment call based on how much data you'd need to re-enter.

Step 4: Use the QuickBooks File Doctor

Intuit provides a free tool called QuickBooks File Doctor (now part of the QuickBooks Tool Hub). It can repair certain types of file damage and network issues automatically.

Download the Tool Hub from Intuit, install it, and run the Company File Issues tab. Select your damaged QBW file and let the tool attempt a repair. It works for some types of damage—particularly network-related errors and minor structural issues—but it can't fix everything.

When built-in tools aren't enough

If Verify still finds errors after multiple Rebuild passes, File Doctor fails, and your backups are either too old or also damaged, the file needs deeper-level repair. That's where we come in.

We work directly with the QBW database structure to repair damage that the built-in tools can't handle—broken target lines, damaged list elements, corrupted headers, and files that QuickBooks simply refuses to open. If you're at that point, our professional QuickBooks file repair service can usually recover the file, and we can often do it without you needing to re-enter any data at all.

What to check before you send us a file

If you decide to hand the file to our team, here's what helps us help you faster:

  • Send the QBW file (and the TLG file if you still have it).
  • Note the exact error message or code you're seeing, and when it appears (on open, on backup, on save, etc.).
  • Tell us your QuickBooks version and edition (Pro, Premier, Enterprise, and the year).
  • If the file is password-protected, we'll need the admin password.

We'll run a free diagnostic on the file and tell you exactly what's damaged, whether it's recoverable, and what the repair involves before you commit to anything.

Need this fixed for you?

Let our engineers recover your QuickBooks file

In-house recovery in North America, backed by our no-data, no-charge guarantee.

Start a recovery