You can get a deleted Access database back if a copy still exists somewhere — in the Recycle Bin, in File History, in your own backups, or in a recovered file on disk. If the .accdb file was deleted and then overwritten by new data, nothing in Access itself will bring it back, and your only realistic route is file-recovery software or a professional service. The deciding factor is simple: how long ago the file disappeared and whether anything has written to that drive since. Access has no built-in "undelete" command for the database file, so every method below works outside the application.

This guide walks through the four recovery paths in the order you should try them, from a 30-second Recycle Bin check to paid recovery labs, and explains what to do about the .laccdb lock file, OneDrive/SharePoint version history, and the common scenario where "the database is gone" really means a table or record was deleted rather than the file.

Step 1: Check the Recycle Bin and the Windows Recycle Bin's per-drive contents

Start here because it costs almost nothing. When you delete an .accdb file in File Explorer, it lands in the Recycle Bin unless it was too large for the bin, was deleted with Shift held down, or was removed by a program rather than by you.

1: Double-click the Recycle Bin on the desktop (or type "Recycle Bin" in the Start menu search). 2: Sort by Date deleted or type the file name in the search box in the Recycle Bin window. 3: Look for the .accdb file and any related .laccdb file. Right-click the .accdb and choose Restore. Windows sends it back to its original folder.

A quick success check: open the restored file in Access and confirm the tables you expect are present and the record count looks right. If the file opens but looks older than you remember, you've restored the wrong version — check for other copies before you start editing.

Failure handling: if the Recycle Bin is empty or the file isn't there, don't empty the bin further and don't run disk cleanup. Move to Step 2. Also check the Recycle Bin on any external drive or USB stick where the file lived; each drive has its own bin, and files deleted from a network share typically bypass the bin entirely.

Step 2: Recover from File History, Previous Versions, or a backup

If the Recycle Bin has nothing, the next question is whether Windows or your organization kept a copy. This is the path most likely to succeed cleanly, because a backup is a complete, uncorrupted database rather than fragments recovered from disk sectors.

Windows File History / Previous Versions. If File History was turned on (Settings > Update & Security > Backup, or the older Control Panel File History), right-click the folder that held the database, choose Properties > Previous Versions, and look for a date before the deletion. You can open a version to inspect it or Restore it. On many systems the "Previous Versions" tab is populated only if System Protection or File History created restore points, so an empty tab means this route isn't available.

Your own backup routine. Check wherever you normally copy files: an external drive, a NAS, a cloud sync folder, or an email attachment you sent yourself. Access users often keep a dated copy like Inventory_2026-10-30.accdb; search for *.accdb across your drives and cloud storage to see what exists.

OneDrive or SharePoint version history. If the database lived in a synced OneDrive folder or a SharePoint document library, right-click the file in the web interface and choose Version history to see prior versions. This works even after the local copy was deleted, provided the deletion synced. Note the caveat: Access databases are not designed for simultaneous multi-user editing through OneDrive sync, and a file restored from version history may be a snapshot from before other users' changes.

Organizational backups. If this is a work database, stop and ask IT before doing anything else. Many companies run nightly server backups, and a restore request is often faster and safer than any local recovery attempt. Tell them the exact file path and the approximate deletion time.

Success check: open the recovered copy and run Database Tools > Compact and Repair Database on a duplicate, then verify a few known records against your memory or a report. Keep the recovered file read-only until you've confirmed it's the right version.

Step 3: Use file-recovery software before writing anything else to the drive

If no backup exists and the Recycle Bin is empty, the file's data may still sit on disk as unallocated space. The single most important rule: stop using the drive that held the database. Every save, download, Windows update, or even a browser cache write can overwrite the very sectors holding your .accdb. If the database was on your system drive (usually C:), that's hard to honor fully, but avoid installing recovery software to C: — install it to another drive or run a portable build from a USB stick.

Recovery tools scan the file system for deleted file records and for recognizable file signatures. Look for one that explicitly lists .accdb and the older .mdb format among supported types, and use a deep or signature scan if the quick scan finds nothing. The workflow is consistent across tools:

1: Install or run the recovery tool from a location other than the affected drive. 2: Select the drive and run a scan; start with the quick scan, then a deep scan if needed. 3: Filter results by the .accdb extension or by the original file name. 4: Recover the file to a different drive, never back onto the source drive.

Success check: the recovered file opens in Access without a "file format not recognized" or "unrecognized database format" error. If Access refuses to open it, the file was probably recovered partially or was corrupted; you can try Database Tools > Compact and Repair on a copy, or import objects into a fresh blank database (External Data > Import), which sometimes salvages tables even when the container is damaged.

Failure handling and stop condition: if the recovery tool finds nothing after a deep scan, or the recovered file won't open and Compact and Repair fails, the realistic options are a professional data-recovery lab (which can be expensive) or accepting the loss and rebuilding from the most recent export, report, or printed record. A lab is worth considering only when the data can't be recreated by hand; get a quote before committing, since clean-room recovery costs can run into hundreds of dollars.

Step 4: Treat "deleted database" as a deleted object — restore from a backup or the object's source

Sometimes the .accdb file is fine and the loss is inside it: someone deleted a table, a query, or a set of records, or ran an action query that removed rows. Access has no undo for committed deletes, and closing the database discards the undo stack. In that case, recovering the file from a backup (Step 2) is the only clean fix — restore the backup copy, open it, and copy the missing table or records into your current file.

If a whole table is gone and you have no backup, check whether the table was linked to an external source (an Excel sheet, a SharePoint list, a SQL Server table). Linked tables store only the connection, so you can relink to the source and get the data back. For local tables, look for an export you made previously — a CSV or Excel file — and re-import it. Going forward, enable File > Options > Current Database > Compact on Close only if you understand it rewrites the file on close; it does not protect against deletion, so pair it with a real backup schedule.

What the .laccdb Lock File Tells You About the Deletion

When Access opens a database, it creates a small lock file with the same name and a .laccdb extension (older versions used .ldb). If you see the .laccdb still present after the .accdb vanished, that's a clue: the database may have been open when something removed the main file, or a crashed session left the lock behind. A stale .laccdb does not contain your data, but its presence means Access was recently using that folder, which can help you confirm the exact file name and path before you search backups or run recovery software.

If the .laccdb is there and the .accdb is not, close Access completely (check Task Manager for a lingering MSACCESS.EXE process), then delete the stale lock file only after you've recovered or rebuilt the database. Leaving a stale lock can make Access complain that the database is "already in use" when you try to open a restored copy.

Why Access's Own Tools Can't Undo a File Deletion

It helps to know what Access does and doesn't do, so you don't waste time in the wrong place. Access is a file-based database: the entire .accdb is one file on disk. There is no server-side transaction log you can replay, no "trash" inside the application, and no command that resurrects a file the operating system has removed. The Compact and Repair command fixes internal corruption and bloating; it is not an undelete tool. The Backup command under File > Save As creates a copy, but only when you invoke it or a macro does.

This matters for expectations. If the file is gone from the file system and no copy exists, no menu inside Access will help. The recovery has to happen at the Windows level (Recycle Bin, Previous Versions, recovery software) or from a copy made elsewhere. The practical upside: once you accept that, the checklist becomes short and you can move through it quickly, before disk activity reduces your odds.

Comparing the Four Recovery Paths

Path What it recovers Typical effort Best when Main limitation
Recycle Bin The exact deleted file Under a minute Deleted recently via File Explorer Empty if Shift-deleted or removed by a program
File History / Previous Versions / backup A complete, intact copy Minutes to an hour A backup or restore point exists Requires that the backup feature was already on
File-recovery software Deleted file data from disk 30 minutes to a few hours No backup and drive not yet overwritten Success drops sharply as the drive is used
Professional recovery lab Data from failing or overwritten drives Days, plus shipping Data is irreplaceable and software failed Cost can be high; no guarantee

The table is a triage order, not a menu of equals. Try them top to bottom: each step is cheaper and safer than the one below it, and a clean backup restore beats a reconstructed file every time. Notice that only the first two paths give you a file that was never damaged; software recovery and lab work are salvage operations with real failure rates.

Prevent the Next Loss: A Backup Habit That Fits Access

The recovery story is much shorter next time if a copy already exists. A workable routine for a single-user Access database:

Save a dated copy weekly (or daily for active projects) to a different drive or cloud folder, named with the date, e.g. Contacts_2026-11-12.accdb. File > Save As handles this. Turn on File History in Windows so Previous Versions has something to offer. Split the database (Database Tools > Access Database) into a front end with forms and queries and a back end with tables, and back up the back end on a schedule. This also reduces corruption risk in multi-user setups. Export critical tables to Excel or CSV periodically as a last-resort readable copy.

None of this protects against a deleted record inside the database; for that, the dated copies are your undo. Keep at least a few generations rather than overwriting a single backup file, because a corruption or bad edit can get copied into the backup if you overwrite too eagerly.

A realistic cost example: if a small business database holds 40 hours of data entry and a recovery lab quotes several hundred dollars, rebuilding from the last weekly export may be cheaper even though it loses a week of records. The math changes when the data can't be retyped — client history, unique transactions — and that's when the lab quote is worth pursuing.

FAQ

Can I recover an Access database from the .laccdb file?

No. The .laccdb file is a lock file that tracks which users have the database open; it holds no table data. It's useful only as a clue that Access recently used that folder, which can help you confirm the file name and location before searching backups.

Does Compact and Repair bring back a deleted database file?

No. Compact and Repair rebuilds and defragments an existing .accdb to fix bloat and some corruption. It cannot recreate a file that Windows has deleted. If a recovered file won't open, running Compact and Repair on a copy is a reasonable repair attempt, but it is not an undelete tool.

What if the database was on a network share?

Files deleted from a network share usually skip the local Recycle Bin. Ask the server administrator to check server-side backups or shadow copies (Volume Shadow Copy) for the share; that's often the fastest route, and it's why you should contact IT before running recovery software against a mapped drive.

Can I get the data back if I only have a damaged or partially recovered .accdb?

Sometimes. Try Compact and Repair on a copy, then create a blank database and import tables from the damaged file (External Data > Import). If both fail, a recovery lab may extract records, but treat that as a paid last resort rather than a guaranteed fix.

Is the deleted file really gone after I empty the Recycle Bin?

Not necessarily. Emptying the bin removes the file's directory entry, but the data blocks may remain until overwritten. That's why you stop using the drive immediately after a deletion you need to reverse — every new write reduces the chance of a clean recovery.