How to Fix an Access Database That Is Corrupt, Crashing, or Will Not Open
Short answer: To fix an Access database, first make a copy of the file and work only on the copy. Then run Compact and Repair from Access with the database closed. If that does not work, create a new blank database and import the objects from the damaged file. Most corruption comes from the file being shared over a network without being split, from lost connections, or from a database that has outgrown Access. If the data is important or the steps fail, stop and get help before you make more changes.
Contact Us Today
Call +1 773.809.5456, email [email protected], or send us a message using the form below.
Signs your Access database needs fixing
- Access shows “Unrecognized database format” or says the database “is in an inconsistent state”.
- The file will not open, or Access closes while you work.
- Records show #Deleted or strange characters.
- Forms, reports or VBA code that worked yesterday now give errors.
- The file keeps growing, and the database gets slower every week.
These problems often have the same root cause: damage inside the file. The steps below go from the safest to the most advanced.

Before you try any fix
How to fix a corrupt Access database: step by step
-
Step 1: Run Compact and Repair
Open Access without opening the database. Go to Database Tools > Compact and Repair Database, select the copy of your file, and save the result under a new name. If Access can only repair part of the file, it lists the objects it could not fix in a table named MSysCompactErrors. See the full guide: how to compact and repair an Access database.
-
Step 2: Import everything into a new blank database
Corruption is often inside one object, not the whole file. Create a new blank database, then go to External Data > New Data Source > From Database > Access and import all tables, queries, forms, reports, macros and modules. If one object fails to import, you have found the damaged part. Import the rest, and rebuild or restore only that object.
-
Step 3: Decompile the VBA project
If forms or code give strange errors but the data looks fine, the compiled VBA code may be damaged. Make a backup, then open the database with the
/decompileswitch, then compile and save it again. This clears old compiled code that Access sometimes keeps after many edits.Then open the VBA editor and choose Debug > Compile. The path to MSACCESS.EXE can be different on your PC.
-
Step 4: Fix damaged records
If one table shows #Deleted or odd characters, the damage may be in a few records or in a Long Text (memo) field. Copy the good records into a new table with a query, leave the damaged rows out, then re-enter them from a backup or a report.
-
Step 5: Restore from a backup
If the steps above fail, restore the most recent backup and re-enter the work done since then. This is why nightly backups of the back-end file matter.
What causes Access database corruption?
| Cause | What happens | How to prevent it |
|---|---|---|
| One unsplit file shared on the network | Many users open the same file with forms, code and data in it | Split the database: data (back end) on the server, forms and code (front end) on each PC |
| Lost network connection, Wi-Fi or VPN | Access is writing to the file when the connection drops | Use a wired network, or move the data to SQL Server |
| PC shuts down or Access is forced closed | A write is cut off halfway | Close Access properly; use a UPS on the server |
| File near the 2 GB limit | Access cannot grow the file and fails | Compact regularly; move large data to SQL Server |
| Windows file-sharing problem | Access reports an “inconsistent state” on network files | See the inconsistent state guide |
| Attachments and images stored in tables | The file grows fast and becomes fragile | Store files on disk and keep only the path in Access |

When to stop and call an expert
Stop and get help if:
- The database holds business data you cannot re-enter.
- Compact and Repair fails or the file gets worse after each try.
- Corruption comes back every few weeks.
- Many users work in the database at the same time.
In our experience, repeated corruption almost always means the database has outgrown a shared Access file. The lasting fix is to split it, and for 10 or more users or remote staff, to move the data to SQL Server.
How we fix Access databases
Many repairs are done the same day. Badly damaged files can take longer.
For urgent problems, see Rapid Response Access Support. For ongoing help, see Microsoft Access database support.