What we do
Tools
Industries
Department
How we workLet's talk →
Home/QuickBooks/Rebuild a Company File in QuickBooks Desktop
QuickBooks Desktop

How to Rebuild a Company File in QuickBooks Desktop, With Verify Data on Both Sides

Run File > Utilities > Verify Data first. Only if it reports that your data has lost integrity, go to File > Utilities > Rebuild Data, accept the backup QuickBooks asks for, and let it finish. Then run Verify Data again to confirm the damage is gone. This is a Desktop tool. QuickBooks Online has no company file on your computer, so there's nothing to rebuild.

The repair loop

Close every window, then check the file for damage.

Window Close All File Utilities Verify Data

Repair it if Verify says the data has lost integrity. Say OK to the backup and save it under a new name.

File Utilities Rebuild Data

Check again. A clean second Verify is the only proof the rebuild worked.

File Utilities Verify Data

Have these sorted before Rebuild Data touches the file

  • Is everyone else out of the company file?

    Rebuild needs the file to itself. Sign in as Admin and switch to single-user mode, which means asking the rest of the office to close QuickBooks first. Single-user mode walks through it.

  • Where will the pre-rebuild backup go, and under what name?

    Intuit's instructions say not to replace another backup file. Give this one a new name so your last good backup survives whatever happens next.

  • Do you use Intuit Assisted Payroll?

    Intuit asks Assisted Payroll customers to contact it before rebuilding. Make that call first.

  • Have you saved this month's key totals?

    Print or export the balance sheet, A/R aging and, if you track stock, inventory valuation. If anything looks different afterward, you'll have something to compare against.

  • Can the computer be left alone until it finishes?

    A large file takes a while. Closing QuickBooks or restarting partway through is how a repair turns into a restore.

Intuit's rebuild steps, one screen at a time

  1. 1

    Open Rebuild Data

    File Utilities Rebuild Data

    QuickBooks shows a message saying it needs a backup before it starts. Select OK.

  2. 2

    Save the backup somewhere new

    Choose a folder, type a new name in File name and select Save. A backup is required: Rebuild won't run without one.

    Watch for: the file name. Saving over yesterday's backup throws away the copy you'd fall back on.

  3. 3

    Wait for "Rebuild has completed"

    QuickBooks scans the file and repairs what it can. Select OK when the message appears.

  4. 4

    Verify a second time

    File Utilities Verify Data

    "QuickBooks detected no problems with your data" means you're done. Anything else, go to the table below.

  5. 5

    Compare the totals you saved

    Run the same reports and hold them against the copies from before. Matching totals mean the repair was internal. A changed balance is worth understanding before you file or reconcile anything.

What Verify Data reported, and the next move

Verify says Do this Watch for
No problems with your data Stop. The file isn't damaged, so Rebuild won't help. Slowness or odd errors with a clean Verify usually come from somewhere else: the network, the computer, or a very large file.
A specific error message Search Intuit's QuickBooks Desktop support site for that exact message. Many messages have their own fix that has nothing to do with rebuilding.
Your data has lost integrity Run Rebuild Data, then Verify again. Intuit's Windows steps send you to qbwin.log if errors remain.
Still damaged after the rebuild Open qbwin.log and search the support site for the errors it lists. Intuit says what's left has to be fixed by hand. The log names the transactions or list entries involved, which tells you what to look at.
The file won't open far enough to run either tool Restore a recent backup through File > Open or Restore Company. Don't replace your existing company file when restoring, and expect to re-enter what happened since that backup.

Rebuild Data, File Doctor and damaged company files

What does "rebuild data" actually mean in QuickBooks?

QuickBooks goes through its own company file looking for broken internal links, damaged list entries and similar structural faults, and repairs the ones it can. You keep working in the same file afterward. That's the difference from restoring a backup, which replaces the file with an older copy.

What is QuickBooks File Doctor, and how is it different from Rebuild Data?

File Doctor is a separate tool you download from Intuit, aimed at files that won't open and network problems in a multi-user setup. Rebuild Data sits inside QuickBooks and works on damage within a file it can already open.

QuickBooks crashes every time I open my company file. Will rebuilding fix that?

Only if QuickBooks stays open long enough to run it, and only if data damage is the cause. A crash on opening is just as often the program itself, the drive, or security software getting in the way. Try File Doctor or restore a recent backup if Rebuild can't even start.

How do I fix a corrupt company file if Rebuild Data doesn't work?

Run Verify again and read the errors in qbwin.log, since Intuit's support site has fixes keyed to them. If you can't resolve those, restore your latest clean backup under a new name and re-enter the work done since. Restoring a backup covers that route.

Can I rebuild a QuickBooks Online company?

No. Online has no company file on your computer, so neither Verify nor Rebuild exists there. When Online numbers look wrong, the fix is in the transactions themselves, or a call to Intuit support.

Let's talk

Tell us the one thing your team does manually that eats up time. We read every message and reply within a day.