Categories About Us Contact Us Become a Member

What Is an EDB File? The Exchange Mailbox Database, Where It Really Lives and How to Fix It

An EDB file is the database Microsoft Exchange keeps every mailbox in. Jump to your question below, or read it through in order.

By Neeraj Singh ~18 min Updated Sep 2026 Paths and limits checked against Microsoft docs
Short answer

An EDB file is an Exchange database file. Microsoft Exchange Server stores the mailboxes it hosts inside one, so a single file can hold the mail, calendars and contacts of hundreds of people.

It lives on a mail server, not on a desktop. If you found an .edb file on your own laptop, it is almost certainly the Windows Search index instead.

1 What is an EDB file? One database file, every mailbox on the server

Think of an EDB file as a filing cabinet for a whole company. A PST file holds one person's mail. An EDB file holds everybody's.

Microsoft's own wording is plain. In the Exchange documentation a mailbox database "is stored as an Exchange database (.edb) file". EDB is short for Exchange Database, and you will also hear it called the information store or simply the mailbox database.

That one fact explains most of what follows. The file belongs to a running server, so you cannot double-click it and Outlook cannot mount it. Fixing one works nothing like fixing a desktop mail file.

A mail server holding one EDB file that contains every mailbox, with arrows to three desktops each holding an OST cache of a single mailbox
One file on the server, one cached copy per desk. That shape explains why an EDB file is backed up and an OST file is not.

How it differs from the files on your own computer

The three Outlook-family files people mix up most often.
FileLives onHoldsOpened by
.edbA mail serverEvery mailbox on that databaseExchange Server itself
.pstYour computerOne person's mail, often the only copyOutlook, by opening the file
.ostYour computerA cached copy of one mailboxOutlook, through its own profile

Read down the middle column and the pattern is clear. An OST file is a copy of one mailbox that sits inside an EDB file somewhere. The EDB file is the original.

This page is written for whoever has to deal with the file. That is usually an administrator with server access. Where a step needs the Exchange Management Shell, it says so and gives the command.

Not every .edb file is an Exchange database. Check the name first. Windows.edb is the Windows Search index and none of the Exchange advice on this page applies to it.

2 Which EDB file do you actually have? Thirty seconds here saves an hour of wrong advice

This is the step almost every guide skips, and skipping it is why people end up reading about mail servers when they have a search index problem.

The .edb extension is not owned by Exchange. It belongs to the Extensible Storage Engine, a database engine built into Windows. Microsoft describes ESE as a storage technology that lets applications store and retrieve data from tables. Plenty of Windows components use it, and several of them name their file .edb.

So the extension tells you how the file was built. The file name and the folder tell you what it is for.

A table matching EDB file names and folders to what each file is: Windows Search index, Exchange mailbox database, Windows Update history, or transaction logs
Check the name and the folder before anything else. Only the second row is an Exchange database.
Once you know which file you have, this is what to do about it.
What you haveWhat it is forWhat to do next
Windows.edbThe search index on one computerShrink it through Indexing Options. Section 5
An Exchange databaseEvery mailbox on that databaseFind its real path with PowerShell. Section 4
DataStore.edbWindows Update historyLeave it. Windows rebuilds it if you clear the update cache
edb.chk, E0*.logExchange checkpoint and logsNever delete by hand. Section 3 explains why

Do not delete an EDB file to free up space. On a server you would be deleting everybody's mail. On a desktop you would be deleting an index Windows is still using, and it will simply rebuild.

If space is the problem, the safe versions of that idea are in the section on shrinking a database and the one on Windows.edb.

An EDB file holds whole mailboxes: mail, attachments, calendars, contacts, tasks and folder permissions. It does not stand alone, because its transaction logs hold changes not yet written into it.

3 What is stored inside an Exchange EDB file? And the two files beside it that people forget

Everything a person sees in Microsoft Outlook when they are connected to the server is in there. Multiply that by every mailbox assigned to the database.

Shared content counts too. A public folder sits in its own database on older servers and inside a mailbox on newer ones. Either way the bytes end up in an EDB file.

Mail and attachments Every folder of every mailbox on the database, down to the attachment bytes.
Calendars and contacts Meetings, appointments, contact cards and the free or busy data behind them.
Folder structure and permissions Who can see which folder travels with the mailbox, inside the same file.
A state, not just content Exchange records how far it has written. That state is why the logs matter.

The two files that travel with it

Copy an EDB file on its own and you may have copied something incomplete. Exchange writes changes to transaction logs first and folds them into the database afterwards.

The files that sit beside an Exchange database and what each one does.
FileWhat it isSafe to delete
.edbThe database itselfNever
E0*.logTransaction logs, changes not yet committedOnly after a successful full backup
edb.chkThe checkpoint, marking how far the logs have been appliedNever by hand

A database that shut down cleanly has everything it needs. One that did not still has changes sitting in the logs, and removing those logs loses them for good. That is the single most common way an EDB file gets damaged by the person trying to help it.

There is no one fixed path. Microsoft's documented default is %ExchangeInstallPath%Mailbox\<DB name>\<DB name>.edb. Run Get-MailboxDatabase to get the real path on your server.

4 Where are EDB files stored? Why the C drive path everyone publishes is often wrong

Search for this and you will find the same hardcoded path on page after page, usually ending in Exchange Server\V15\Mailbox. It is a reasonable guess. It is not the answer.

Microsoft's reference for the New-MailboxDatabase command states the default plainly. The database goes to %ExchangeInstallPath%Mailbox\<Mailbox DB Name>\<Mailbox DB Name>.edb, and that applies from Exchange 2010 all the way to Exchange Server Subscription Edition.

Read that carefully. The path follows wherever Exchange was installed. Many administrators put Exchange and its databases on a separate volume on purpose, so a path starting C:\Program Files is wrong on those servers from day one.

The hardcoded C drive path most guides publish, marked wrong, beside the ExchangeInstallPath default Microsoft documents, plus the PowerShell command that returns the real path
The left card is what the SERP tells you. The right card is what Microsoft documents. The command underneath settles it for your own server.
The documented default · Exchange 2010 through Subscription Edition %ExchangeInstallPath%Mailbox\<Mailbox DB Name>\<Mailbox DB Name>.edb This is Microsoft's wording, not a guess. The variable resolves to the install folder, which is often not on the C drive.
What that usually expands to · a default install C:\Program Files\Microsoft\Exchange Server\V15\Mailbox\<DB name>\<DB name>.edb Only true when Exchange went to the default location. Treat it as a starting point, never as the answer.

The command that actually answers it

One line of PowerShell in the Exchange Management Shell gives you the true path of every database in the organization. Microsoft confirms that running it with no parameters returns information about all mailbox databases.

Exchange Management Shell Get-MailboxDatabase | Select Name, EdbFilePath, LogFolderPath Names each database, where its EDB file really is, and where its logs go. Add -Status to see whether the database is mounted.

V15 does not mean Exchange 2013. Exchange 2013, 2016 and 2019 all use V15 in the install path. Guides that read V15 as a version number get the vintage of the server wrong.

Windows.edb is the Windows Search index, not email. Microsoft documents it at %ProgramData%\Microsoft\Search\Data\Applications\Windows.

5 Where is Windows.edb, and why is it so large? The EDB file most people are actually looking at

If you arrived here after finding a multi-gigabyte .edb file eating your disk, this is your section. It has nothing to do with Exchange.

Windows Search keeps its index in a single ESE database called Windows.edb. It grows with the amount of content Windows has been told to index, and it can reach several gigabytes without anything being wrong.

Windows Search index · Windows 10 and Windows 11 %ProgramData%\Microsoft\Search\Data\Applications\Windows ProgramData is a hidden folder, so paste the path into the File Explorer address bar instead of browsing to it.

The usual reason it balloons

Microsoft names one cause directly. When Windows Search indexes an Outlook PST archive, Windows.edb grows in proportion to the size of that PST. Point the indexer at a 20 GB archive and the index swells to match.

So the fix is not to delete the file. It is to stop indexing the thing that filled it.

1 Open Indexing Options from the Start menu or Control Panel.
2 Click Modify and untick anything you do not need searched, especially folders holding large PST or archive files.
3 Click Advanced, then Rebuild. Windows discards the old index and builds a smaller one.
4 Leave it alone for a while. Rebuilding takes hours on a busy machine and search results are incomplete until it finishes.

Deleting Windows.edb by hand is not the answer. Windows Search rebuilds it immediately, so you get the same file back and a slow machine while it works. Rebuilding through Indexing Options does the same job in a supported way.

Exchange supports a database of roughly 16 TB. Microsoft's best practice is far lower: 200 GB on a standalone server, 2 TB where the database has copies in an availability group.

6 How big should an EDB file be? The supported limit and the sensible limit are nowhere near each other

People ask for the maximum size and get a number that does not help them. Exchange will carry a database far bigger than you should ever give it.

Microsoft publishes both figures, and they apply to Exchange 2016, Exchange 2019 and Exchange Server SE alike. The supported ceiling is about 16 terabytes. The recommended size is a fraction of that, and the reason is restore time rather than the format.

Microsoft's published database size guidance for Exchange 2016, 2019 and Subscription Edition.
SetupSupportedBest practice
Standalone, no database copies~16 TB200 GB or less
With copies in an availability group~16 TB2 TB or less

Microsoft also says to provision disk for 120 percent of your calculated maximum database size. A database that exactly fills its volume has nowhere to grow and nowhere to be maintained.

The question worth asking is not how large the file may be. It is how long your company can sit without email while you restore it. Size the database to fit that answer and the rest follows.

The 1,024 GB trap on Standard Edition

This one catches people out because it looks like corruption and is not. Exchange Standard Edition has a default database size limit of 1,024 GB. Enterprise Edition has no default limit at all.

The Exchange store checks database sizes on a schedule. When a Standard Edition database passes the limit, Exchange dismounts it on purpose. Mail stops, and nothing in the file is actually damaged.

Microsoft's stated resolution is a licence, not a registry edit. To get full availability group functionality back you buy an Enterprise Edition licence and apply it to the server.

There is a documented registry workaround that mounts the database again. Treat it as a way to buy time, not a fix. Get the database GUID from Get-MailboxDatabase first.

Registry workaround · Standard Edition size limit HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeIS\<Server>\Private-<database GUID> Microsoft's documented workaround. The supported resolution is an Enterprise Edition licence.

You cannot open an EDB file by double-clicking it and Outlook cannot mount one. An Exchange database is read by the Exchange server that owns it, or restored into a recovery database.

7 How to open an EDB file Three real routes, and the one that does not exist

Older guides tell you to right-click the file and pick Open With. That advice has never worked. Windows has no handler for the format, and no desktop mail program can mount an Exchange database.

What you do instead depends on whether the server that owns the file still runs.

Server up

The server still works? Open the mailbox, not the file. Grant yourself access to the mailbox you need and open it in Outlook or on the web. The database is already mounted and doing its job.

Server gone

Only the file is left? Mount it as a recovery database. Exchange can mount an orphaned EDB file alongside the live ones so you can pull mailboxes out of it.

Route one, a recovery database

This is the supported way to read an EDB file that is no longer attached to a live mailbox. It needs an Exchange server to do the work, but it needs no extra software.

1 Copy the .edb file and its logs to the recovery server. Always work on a copy.
2 Check the state with ESEUTIL /MH <database>.edb. It reports Clean Shutdown or Dirty Shutdown.
3 If it says Dirty Shutdown, replay the logs with ESEUTIL /R before going further.
4 Create the recovery database with New-MailboxDatabase -Recovery, pointing -EdbFilePath at your copy.
5 Mount it, then pull what you need out with New-MailboxRestoreRequest.

Route two, a third-party EDB reader

Plenty of tools open an EDB file without Exchange. They earn their price in one situation: the server is gone for good and you have no Exchange left to mount a recovery database on.

If you still have a working Exchange server, the recovery database route does the same job, costs nothing and is supported by Microsoft. Try it first.

Check the file is what you think it is before any of this. If it is called Windows.edb, none of these steps apply. The second section tells the two apart in half a minute.

On a working server, New-MailboxExportRequest writes a mailbox straight out to a PST file. No extra software, and it is the supported route.

8 How to export EDB data to PST The built-in command first, a converter only when there is no server

Use this when somebody is leaving, a mailbox is being retired, legal has asked for a copy or you are about to migrate off this server.

Search for EDB to PST and every result sells a converter. Most of the time you do not need one, because Exchange exports to PST on its own.

1 Give yourself the right to export. The permission is Mailbox Import Export, and it is not granted to administrators by default.
2 Share a folder for the output and grant the Exchange Trusted Subsystem group write access to it.
3 Run the export, pointing at a UNC path rather than a local drive.
4 Watch it with Get-MailboxExportRequest, then clear finished jobs with Remove-MailboxExportRequest.
Exchange Management Shell · export one mailbox New-MailboxExportRequest -Mailbox jane.doe -FilePath \\server\pst\jane-doe.pst Runs in the background on the server. The path must be a UNC share the Exchange Trusted Subsystem can write to, not C:\.

The result is an ordinary PST file. Anyone can open it in Outlook, and it carries the same limits and habits as any other PST, including the need to back it up.

Export before the server is switched off, not after. While Exchange runs, this command is free. Once the server is gone, an orphaned EDB file is all you have and a converter becomes the only option.

That is the real difference between the two routes. It is not quality. It is timing.

Before repairing, look for a backup or a database copy. Restoring is faster and keeps everything. ESEUTIL /P is a last resort and it throws away whatever it cannot read.

9 How to repair a corrupt EDB file And the question to answer before you start

A database that will not mount feels like an emergency, so people reach for the repair tool first. That order is backwards and it costs data.

Ask one question before anything else. Is there a backup, or a healthy copy of this database in an availability group? If the answer is yes, restore it. A restore brings back everything. A hard repair does not.

Rule out the cheap causes first

Plenty of mount failures have nothing to do with damage. Work down this list before you touch ESEUTIL.

The disk is full Exchange dismounts a database when its volume runs out of room. Free space and mount it again.
It passed the size limit Standard Edition dismounts at 1,024 GB by design. See the size section.
A log is missing A gap in the log sequence stops a dirty database from replaying. Often someone deleted logs to free space.
Antivirus has the file open Real-time scanning of database and log folders locks files Exchange needs. Exclude those paths.
Four rungs in order of safety: restore from backup, check the state with ESEUTIL slash MH, replay the logs with slash R, then the destructive hard repair with slash P as a last resort
Work down this ladder, not up it. Step 4 is where the data loss lives.

If repair really is the only route

Use this when there is no backup, no healthy copy and the database will not replay its logs.

1 Stop. Check for a backup or a healthy database copy first. Restoring beats repairing every time.
2 Copy the .edb file somewhere else. Everything below happens on the copy.
3 Run ESEUTIL /MH and read the state. Clean Shutdown means the file is consistent already.
4 If it says Dirty Shutdown, try ESEUTIL /R first. Replaying logs is the non-destructive repair.
5 Only if that fails, run ESEUTIL /P. This is the hard repair and it discards what it cannot read.
6 Follow it with ESEUTIL /D and then ISINTEG or its modern equivalent, because a hard repair leaves the database internally untidy.
7 Move the mailboxes to a fresh database afterwards. A hard-repaired database is for getting data out, not for running on.

ESEUTIL /P is destructive by design. It makes the database mountable by dropping pages it cannot repair. You get a working database and an unknown amount of missing mail.

Run it on a copy, never on your only file. Budget hours on a large database, and expect to move the mailboxes out afterwards.

If Outlook is reporting a specific code rather than a server-side failure, start there instead. Our guides to Outlook PST errors and new Outlook errors cover the client side.

An offline defrag with ESEUTIL /D shrinks the file on disk. It takes the database offline for hours and needs free space of about 110 percent of the database size.

10 How to reduce EDB file size safely Usually the answer is to leave it alone

Delete a pile of mailboxes and the EDB file does not shrink. That surprises people, and it sends them looking for a way to force it.

Exchange keeps the freed pages as white space inside the database and reuses them as new mail arrives. The file stops growing, which is usually all you needed. Nothing is wrong.

Exchange Management Shell · check the white space first Get-MailboxDatabase -Status | Select Name, DatabaseSize, AvailableNewMailboxSpace AvailableNewMailboxSpace is the room already free inside the file. If it is small, an offline defrag will not give you much back.

When an offline defrag is worth it

There is one good reason to run it: a one-off event freed a large block of space that you will not refill. Moving half the mailboxes off a database is the classic case.

Outside that, the cost is real. The database is down for the whole job. The process rewrites the file from scratch, and every backup you hold stops matching it afterwards.

1 Confirm there is space to reclaim. Run Get-MailboxDatabase -Status | Select Name, DatabaseSize, AvailableNewMailboxSpace.
2 Read the second number. That is the white space already inside the file, and Exchange reuses it on its own.
3 Make sure you have free disk of about 110 percent of the database size. The process writes a whole new copy.
4 Take the database offline with Dismount-Database. Nobody on it can send or receive until you are done.
5 Run ESEUTIL /D <database>.edb and wait. Budget hours, not minutes.
6 Mount it again and take a fresh full backup. The old backups no longer match the file.

Moving mailboxes to a new database does the same job with no downtime. Create a fresh database, move the mailboxes across, then delete the empty one. Users stay online throughout, which is why most administrators pick this route.

An EDB file is an Extensible Storage Engine database. ESE is a Windows storage engine, which is why unrelated Windows components also produce .edb files.

11 EDB file format and structure Skip this unless you are curious about what is inside

You do not need this section to fix anything. It is here because it explains two things that otherwise look arbitrary.

EDB file format at a glance
File extension
.edb
Full name
Exchange database file, also called the mailbox database or information store
Category
Server mail store, a single-file database
Developed by
Microsoft
Storage engine
Extensible Storage Engine, also known as ESE or JET Blue
Holds
Every mailbox assigned to that database
Companion files
E0*.log transaction logs and edb.chk, the checkpoint
Supported size
Approximately 16 TB. Best practice 200 GB standalone, 2 TB with copies
Opens with
Microsoft Exchange Server, or a recovery database on one
Repair tool
ESEUTIL.EXE
Needs backup
Yes. This is the original, not a cache

Why the extension is not unique to Exchange

Microsoft describes ESE as a storage technology that lets an application store and retrieve data from tables using indexed or sequential navigation. It ships inside Windows, so any component can use it.

Several do, and several of them name their database .edb. That is the whole reason the second section of this page exists. The extension describes the engine, not the purpose.

Why a repair reports more damage than you lost

ESE stores data in fixed-size pages, indexed so the server can jump straight to a record instead of reading the file end to end. That index is what makes a database of this size usable.

Damage a page near the top of the index and Exchange loses its map of a whole region, even though the messages underneath are intact. A hard repair rebuilds the map and reports every page it had to touch, which reads as catastrophic and usually is not.

Frequently asked questions about EDB files

What is an EDB file?
An EDB file is an Exchange database file. Microsoft Exchange Server keeps every mailbox it hosts inside one, so a single EDB file can hold the mail, calendars and contacts of hundreds of people. It is a server file, not something that sits on a normal desktop.
What does EDB stand for?
EDB stands for Exchange Database. Microsoft's own wording in the Exchange documentation is "Exchange database (.edb) file". You will also see it called the Exchange information store or the mailbox database.
I found an EDB file on my laptop. Is that Exchange?
Almost certainly not. If the file is called Windows.edb it is the Windows Search index, which has nothing to do with Exchange. Exchange database files live on a mail server and are named after the mailbox database, such as Mailbox Database 0123456789.edb.
Where are EDB files stored?
There is no single fixed path. Microsoft's documented default is %ExchangeInstallPath%Mailbox\<Mailbox DB Name>\<Mailbox DB Name>.edb, which follows wherever Exchange was installed. Run Get-MailboxDatabase | Select Name, EdbFilePath in the Exchange Management Shell to get the real path on your server.
Why do so many guides give a C drive path for EDB files?
Because they assume Exchange was installed in the default place on the C drive. Plenty of administrators install Exchange on a separate volume, which is exactly what Microsoft recommends for databases. The moment that happens, a hardcoded C drive path is wrong.
Where is Windows.edb?
Microsoft documents it as %ProgramData%\Microsoft\Search\Data\Applications\Windows. ProgramData is hidden, so paste that path into the File Explorer address bar rather than browsing for it.
Why is my Windows.edb file so large?
Usually because Windows Search is indexing something big. Microsoft confirms that indexing a PST file makes Windows.edb grow in proportion to the size of that PST. Remove the PST from the indexed locations or rebuild the index. The file shrinks either way.
How big can an EDB file be?
Exchange sets no hard cap that matters in practice, and databases of several hundred gigabytes are normal. What limits you is restore time, not the format. Ask how long you could stand to be offline restoring it, and size the database to fit that answer.
Can I open an EDB file by double-clicking it?
No. Windows has no handler for the format and Outlook cannot mount one. An Exchange database is read by the Exchange server that owns it. To see inside it any other way you need either a recovery database on an Exchange server or a third-party EDB reader.
How do I convert an EDB file to PST?
On a working server, use New-MailboxExportRequest to export a mailbox straight to a PST file. That is the supported route and it needs no extra software. A converter tool is only worth buying when the server is gone and an orphaned EDB file is all that is left.
How do I repair a corrupt EDB file?
Check whether you need to. If a healthy backup or a database copy exists, restoring is faster and safer than repairing. If repair is the only option, ESEUTIL /P is the tool. It is destructive, it discards what it cannot read and you must work on a copy.
Should I run an offline defrag on my EDB file?
Rarely. ESEUTIL /D takes the database offline for hours and needs free disk space of about 110 percent of the database size. It only helps after a one-off event that freed a large amount of space, such as moving many mailboxes off the database.

Still stuck with an EDB file?

Two questions sort out most of what is left. Answer them in order.

The file

Is it even Exchange? Check the file name. Windows.edb is the search index and has its own section. Anything under an Exchange install path is a mailbox database.

The server

Does it still run? If yes, almost everything is easier: export to PST, move mailboxes, restore from backup. If no, you are in recovery database territory.

Seeing a numbered error instead? Our Outlook PST error guides cover the client side, and the OST file guide explains the cached copy that sits on each desktop.

Found something here that does not match your Exchange version? Send us the exact wording on screen and we will check it against Microsoft's docs.

Was this page helpful? Thanks for your feedback!