.LDB

LDB File

Microsoft Access Record-Locking Information File
Ask a question
QUICK ANSWER

An LDB file is a temporary lock file Microsoft Access creates next to an .mdb database while it is open. It tracks who has the database open - you do not open or convert it. Access deletes it when everyone closes the database. If it stays behind after a crash, delete it once no one has the database open.

Developer: Microsoft Category: Misc Files MIME: application/octet-stream
OPENS ON Windows
Related: .TORRENT · .MSO · .MD5 · .SHS

On this page

19k+ extensions indexed
Last reviewed Jul 26, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the LDB file format?

.ldb is a locking file created by Microsoft Access alongside MDB database files. Its purpose is to coordinate concurrent access and prevent conflicting changes when more than one user opens the same database simultaneously - guarding against data corruption or accidental overwrites.

Internally, .ldb is a binary file made up of fixed-length 64-byte records. Each record stores two 32-byte fields: the null-padded computer name and the Windows user name of a connected client. This lets Access track every active connection to the shared database in real time.

.ldb files are generated automatically the moment Access opens an .mdb database file and are removed just as automatically once the last user closes it. They reside in the same folder as the database and share the same base name - mydb.mdb produces mydb.ldb in the same directory. If Access crashes or is forced closed, an orphaned .ldb may remain on disk and must be deleted manually before the database can be opened cleanly again.

.ldb is the older lock-file format paired with the legacy .mdb format. Starting with Access 2007, the newer .accdb database format uses .laccdb as its equivalent locking companion instead.

Security & safety

RISK: LOW

An .ldb is harmless temporary metadata; it contains no executable code and no sensitive data beyond the computer and Windows user names of current connections. Deleting an .ldb is safe AS LONG AS the database is genuinely closed by everyone - deleting it while the database is open can disrupt the active session. Never delete the .mdb/.accdb (that's your real data). If an .ldb keeps reappearing, a user or a background/automation process still has the database open.

Format details

in a nutshell
FULL NAMEMicrosoft Access Record-Locking Information File
DEVELOPERMicrosoftsince With Microsoft Access multi-user databases (.mdb era, 1990s); replaced by .laccdb for .accdb databases since Access 2007
CATEGORYMisc Files
MIME TYPEapplication/octet-stream
TYPETemporary lock/state file for a Microsoft Access database (binary, fixed 64-byte records)

Programs that open LDB files

Windows2 apps
Microsoft Access Paid You don't open the .ldb itself - open the matching .mdb in Access and the lock file is managed/created/removed automatically.
Notepad / text editor (inspect only) Open-source Open the .ldb in a text editor only to SEE which computer/user names hold the database open - never edit or save it.

Technical details

deep spec
Format typeTemporary binary lock/state file generated alongside a Microsoft Access `.mdb` database
Internal structureFixed-length 64-byte records, one per active connection
Record layoutEach record: 32 bytes null-padded computer name + 32 bytes null-padded Windows user name
File creationCreated automatically by Access when an `.mdb` database is first opened
File deletionDeleted automatically by Access when the last connected user closes the database
Paired database format`.mdb` - legacy Microsoft Access Jet database file
Modern equivalent`.laccdb` - the lock file used alongside `.accdb` databases (Access 2007 and later)
File naming ruleSame base name and directory as the paired `.mdb` file (e.g., `mydb.mdb` → `mydb.ldb`)
File signatureNone - no magic bytes; identified solely by file name and location
MIME typeapplication/octet-stream
EncodingBinary; not meaningfully readable as plain text
Orphan behaviorIf Access crashes, the `.ldb` file may persist on disk; it must be deleted manually before the database can be reopened
Multi-user trackingTracks all concurrent connections simultaneously; does not restrict the database to a single user
Engine originPart of the Microsoft Jet Database Engine multi-user record-locking mechanism
ReleasedWith Microsoft Access multi-user databases (.mdb era, 1990s); replaced by .laccdb for .accdb databases since Access 2007
Specificationlearn.microsoft.com

LDB conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with LDB files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about LDB files.

Frequently asked questions

What is an LDB file and can I delete it?
It's the lock file Microsoft Access creates next to an .mdb database while it's open. Yes, you can delete it - but only when no one (and no background process) has the database open. Access recreates it automatically next time.
Why is there an .ldb file next to my Access database?
Access creates it automatically when the database is opened, to track who's using it for multi-user locking. It's normal and usually disappears when the last user closes the database.
Access says the database is locked but no one is using it - how do I fix it?
An orphaned .ldb is likely left over from a crash. Confirm no user or process has the database open, then delete the .ldb file; reopen the database and it will be recreated cleanly.
How do I see who has the Access database open?
Open the .ldb in a text editor (read-only) - it lists the computer name and Windows user name for each current connection. Don't edit or save the file.
What's the difference between .ldb and .laccdb?
.ldb is the lock file for the older .mdb database format; .laccdb is the same kind of lock file for the modern .accdb format introduced in Access 2007. Same purpose, different extension.
Can I open an .ldb to recover my data?
No - the .ldb has no database data, only the names of current users. Your data is in the .mdb/.accdb beside it; open that in Access instead.

References

1Microsoft - Description of the locking information (.ldb) filelearn.microsoft.com
2Microsoft Support - Access (open/repair databases)support.microsoft.com

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.PARTPartial Download File
4.BINCD/DVD Disc Image (BIN/CUE)
5.RPMSGRestricted Permission Message
6.MDMarkdown Document
7.NOMEDIAAndroid No-Media Marker File
8.PRO6XProPresenter 6 Bundle File
9.EXEWindows Executable (Portable Executable)
10.PRDXSoftMaker Presentations Document

Related extensions

.TORRENTBitTorrent Metainfo File
.MSOMicrosoft Office HTML/OLE Data Stream (oledata.mso)
.MD5MD5 Checksum File
.SHSShell Scrap Object File
.DDDAdobe Acrobat Distiller file
.DWLDrawing Lock File (CAD)

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z