Complete Guide On MS Access Inbuilt Repair Tool: Compact And Repair

Access Database file size grows rapidly with regular use. This ultimately affects the performance of your database or irregularly turns it to get damaged or corrupted. You can utilize MS Access Inbuilt Repair Tool: Compact And Repair to avert or resolve such issues.

If you don’t know what’s this tool is for or how to use it then don’t go anywhere, just go through this complete tutorial.  This blog helps you in exploring every pinch of information regarding MS Access inbuilt tool Compact And Repair.

Here are the main topics that it covers:

So, let’s start….!

What’s The Need Of Compact And Repair Access Database?

Purpose Of Compacting And Repairing MS Access Database

In this section, we will discuss, what’ the need for using the Compact and Repair Access Database tool.

1# Database Files Grow With Use

When you add and update data and its design, a database file grows in size. Some of the growth appears from fresh data, while some from additional sources:

  • Access formulates temporary, concealed subjects to achieve a variety of tasks. Occasionally, these objects stay within the database even if Access does not require them.
  • When you erase the database, the disk space occupied by the object isn’t automatically cultivated — and database file uses that space even after deletion.

When the database filled with temporary and deleted objects, its feature degrades. Objects take time to open, queries run slowly, and typical tasks take extra time.

Note: Compacting doesn’t squeeze data — it turns your database file smaller by removing vacant space.

2# Database Files Can Become Corrupted

In specific cases, the database file could be corrupted. If database files distributed over a network and manifold users work openly with the file at the same time, then chances of corruption are very high. Corruption risk somewhat increases if users edit data within Memo fields, and risk expands over time. You can alleviate this risk by utilizing Compact and Repair Database authority.

Habitually, such type of corruption appears from problem having Visual Basic Applications (VBA) module and doesn’t pretense data loss risk. Nevertheless, such corruption does create danger for the design of databases, like misplaced VBA code or impracticable forms.

Not often, database corruption results in loss of data. Habitually, such loss is limited to the last action of single-user; that’s, a single alteration to data. When the user begins changing data and gets disturbed in between—because of network loss — Access counts that file to be corrupted. The file could be fixed, but some data might go missing after completing the repair process.

Tip: Split Access MDB file to avoid bloat and it also helps in preventing database files corruption and boundary data loss by maintaining data in a detached file that users don’t access straightforwardly.

Things To Do Before Starting The Compact And Repair Process

Repair Corrupt Access Database File

When you open a database file that’s corrupted, you’re provoked to allow Access repair files automatically. You can run the Compact and Repair tool to resolve database file corruption.

If Access entirely fixes a corrupted file, it shows a message after completion and that you must check database contents to ensure that everything is the way you want.

If Access is just partially doing well, it tracks objects of the database that couldn’t mend that can help you to conclude what you require to recuperate from backup.

Note: Database option can be set that involves the Compact and Repair Database command to operate automatically every time you shut a specific database. If you’re the only user of the database, you must use this option. In numerous user databases, you may not wish to utilize this option, since it can temporarily dislocate database accessibility.

Here are the things that you need to do:

  • Create a proper backup of MS Access database file
  • On File tab, press Save
  • Under Types of File, hit Save Database As.
  • Got o Advanced option, and press Back Up Database

Note:  If you’ve several users, inform others so that they shun using the database while you doing Access compact and repair procedure.

  • Get permissions to operate compact and repair operation: If you’re using previous version database file and are a fraction of workgroup, you may be not capable of practicing Access compact and repair by yourself. If you don’t have adequate authorization and you require compacting and repairing the database, speak to your work-group administrator for guidance.

How To Compact And Repair Access Database Automatically When It Closes?

How to Automatically Compact And Repair A Database When It Closes?

You can opt for Compact on Close database choice if you wish to automatically compact and repair Access database when it shuts.

Note: Using this option influence only the database that’s open presently. You must situate this option unconnectedly for every database that you wish to compact and repair.

  • On File tab, go to Options.

  • In the Access Options dialog box, press Current Database.
  • In Application Options, opt for Compact on Close verify box.

How To Compact And Repair Access Database 2007/2010/2013/2016/2019?

Rather than using Compact on Close option, you can run the Compact and Repair tool.

You can run the Compact and Repair tool in both situations i.e when the database is open or closed. For a more simple process, you can generate a desktop shortcut that operates Compact and Repair Database command on the meticulous database file.

Compact And Repair Access Database 2007

  • Click the Office button at the top-left corner;
  • Click the Manage button at the left;
  • Then you will view Compare and Repair Database commands at the right.

Compact and Repair Database in Access 2007

  • Assign a name for this newly compacted Access database within the dialog box of Compact Database Into.  After that select the Save option.

compact and repair 4

Compact And Repair Access Database 2010/2013

  • Click the Database Tools tab;
  • Go to the Tools group;
  • Then you will view the Compare and Repair Database button.

Compact and Repair Database in Access 2010

  • Assign a name for this newly compacted Access database within the dialog box of Compact Database Into. After that select the Save option.

compact and repair 4

Compact And Repair Access Database 2016

Note: Before you start with the process, it is suggested that you must keep the backup of your database files that you are going to compact and repair.

The following steps are applicable to compact and repair Access Database 2016/2013/2010.

Step 1: Open Access, but do not open the database. Click on File.


Step 2: Point the cursor to Info and then click on Compact and Repair Database.


Step 3: Now in the Database to Compact From the dialog box, browse and select the database that you want to compact and repair.

compact and repair 5

Step 4: At last click on the Compact button.

  • Assign a name for this newly compacted Access database within the dialog box of Compact Database Into. After that select the Save option.

compact and repair 4


If anyone using the database file then you can’t perform the Access compact and repair operation. Because, when you run the compact and repair operation, no one can access the database file.


[Video]: Compact & Repair MS Access 2016 Database (.accdb) Files

How To Repair Corrupted Access Database Automatically?

Automatically Repair Corrupt Access Database

There are situation occurs when you cannot compact and repair Access Database to recover or repair Access database file. In such a situation you need to approach the Access Repair And Recovery Tool as it is the most appropriate tool for fixing up any corruption issue that occurred in your Access Database.

* By clicking the Download button above and installing Stellar Repair for Access (14.8 MB), I acknowledge that I have read and agree to the End User License Agreement and Privacy Policy of this site.

If you are unable to apply the above given manual methods due to any reason. And want to get rid of MS Access Database corruption issue then approaching for this Access Repair & Recovery tool is the best option. This recovery software is one of the best ways to get rid of any kind of errors and restore your damaged database without using any backup.

Steps To Repair And Recover MS Access Database:

Wrap Up:

If you are trying to compact and repair a database that’s published, you must synch the database after finishing compact and repair.

Try this inbuilt MS Access tool to repair corrupt Access Database before trying any other fixes. As in most of the cases, this works great to fix such related corruption issue.

Now you must have got a clear idea of what this compact and repair actually works for. So, use this tool to avoid common Access Database mistakes and also to resolve the corruption issues. But if in the case won’t work for your Access Database issues then also you have the option i.e Access Repair And Recovery Tool

Don’t forget to share your experiences in our comment section.

tip Still having issues? Fix them with this Access repair tool:

This software repairs & restores all ACCDB/MDB objects including tables, reports, queries, records, forms, and indexes along with modules, macros, and other stuffs effectively.

  1. Download Stellar Repair for Access rated Great on Cnet (download starts on this page).
  2. Click Browse and Search option to locate corrupt Access database.
  3. Click Repair button to repair & preview the database objects.