Fix it now
Something the mailbox writes into is full and there are three candidates: the server mailbox quota, the Outlook data file’s own maximum, or the disk beneath it. Establish which before you delete anything, because the fix for each is different.
- For a Microsoft 365 or Exchange account, read the mailbox usage indicator under File, Info. For a local data file, read the file size on disk instead.
- Empty Deleted Items, then clear what sits behind it: on the Folder tab choose Recover Deleted Items, select everything and purge.
- Find the large items. Switch a folder to the Size arrangement, or use the mailbox cleanup tool under File, Tools.
- Move old mail into the online archive if the licence provides one, or into a second Outlook data file if it does not.
- For a local data file, compact it after deleting. Deleting alone marks space reusable inside the file; it does not shrink the file on disk.
- If the mailbox is genuinely at the size its plan allows, stop housekeeping and read the licensing section below.
The default maximum for a Unicode Outlook data file on Outlook 2016 and later is 51,200 MB, with a warning at 48,640 MB. A file at either number is at a configured ceiling, not damaged.
If mail sends and arrives again, you are done. The next section separates the three ceilings, which is where most of the wasted effort on this error goes.
Why it happens
Three separate limits produce an identical write failure inside Outlook. A server mailbox has a quota set by the plan and by your administrator, with warning, prohibit-send and prohibit-send-and-receive thresholds stacked beneath it. A local Outlook data file has a maximum enforced by Outlook rather than by the file system. And the disk under the data file can simply run out of room, which is what 0x8004010D reports: not enough disk space was available to complete the operation.
The quota states explain the sequence users describe. Below the warning level everything is normal. Above it, warnings arrive. Above prohibit-send you can still receive but not send, which is the stage where most people notice. Above prohibit-send-and-receive, inbound mail stops. Recoverable Items has its own separate quota, and on a mailbox under a hold that area can fill while the visible folders look modest.
The data file ceiling is a documented, adjustable number rather than a mystery. On Outlook 2016 and later a Unicode file defaults to a maximum of 51,200 MB with a warning at 48,640 MB, both set in megabytes. The much older ANSI format has separate values expressed in bytes and a hard two-gigabyte wall that Outlook enforces regardless of what the registry says, to prevent corruption.
One warning about bounce codes. Microsoft’s Exchange Online reference publishes 5.2.2 as Submission quota exceeded – the sender exceeded the recipient rate limit or the message rate limit – not as a full recipient mailbox. If a sender shows you a 5.2.2 bounce, read it as a rate limit on the sending side until you have separate evidence of the recipient’s quota.
The server mailbox is over quota
You have this one if File, Info shows the mailbox at or near its limit, and sending has stopped while receiving still works.
- Empty Deleted Items and purge Recoverable Items from the Folder tab.
- Use the mailbox cleanup tool under File, Tools to find and remove the largest items.
- Move older mail into the online archive if the licence provides one.
- Ask the administrator to confirm current usage and thresholds from Exchange Online PowerShell.
- Allow time after deleting; the size the service reports does not update instantly.
A local data file has reached its configured maximum
You have this one if Only operations writing into one particular data file fail, and the file sits at or just under 50 GB.
- Create a second Outlook data file and move older folders into it rather than concentrating everything in one.
- Compact the original from the data file’s settings after deleting from it.
- If the ceiling genuinely needs raising, set MaxLargeFileSize and WarnLargeFileSize under the Outlook PST policy key, as DWORD values in megabytes, keeping the warning meaningfully below the maximum.
- Restart Outlook after changing either value.
Raising the ceiling does not make a very large file pleasant to use. Open time, search and repair all get worse as it grows, so splitting is usually the better answer.
Recoverable Items is full, usually because of a hold
You have this one if The visible mailbox looks small, deleting frees nothing, and the mailbox is under a litigation hold or a retention policy.
- Have the administrator check the recoverable items folders with the mailbox folder statistics cmdlet.
- Confirm whether a hold applies. Where one does, purging is not an option and the archive is the supported route.
- Enable the archive mailbox and let auto-expanding archiving take the overflow.
- Give the mailbox assistant time to move items; this is not instant.
The disk under the data file is full
You have this one if Every data file errors at once, and other applications on the machine are also complaining about space.
- Check free space on the volume holding the data files.
- Clear space, then restart Outlook and retry the operation that failed.
- Consider moving the data files to a volume with room rather than repeatedly clearing the one they are on.
Full reference
Which ceiling you have hit
| What you see | What is actually full |
|---|---|
| You can receive but not send | The mailbox is over the prohibit-send threshold |
| Inbound mail has stopped as well | The mailbox is over prohibit-send-and-receive |
| One large message fails, everything else delivers | A message size limit, not the mailbox |
| Errors only when filing into one data file | That file has reached its configured maximum |
| Folders look small but the mailbox reports full | Recoverable Items, commonly because of a hold |
| Every data file errors at once | The disk under them has run out of space |
The data file size values, as published
| Value | Type | Unit | Default on Outlook 2016 and later |
|---|---|---|---|
MaxLargeFileSize |
REG_DWORD | MB (Unicode) | 51,200 (50 GB) |
WarnLargeFileSize |
REG_DWORD | MB (Unicode) | 48,640 |
MaxFileSize |
REG_DWORD | Bytes (ANSI) | 2,075,149,312 |
WarnFileSize |
REG_DWORD | Bytes (ANSI) | 1,950,368,768 |
The policy location is HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\16.0\Outlook\PST for Outlook 2016; earlier versions use their own version number in the same position. A user-preference location exists at the equivalent path without Policies. If MaxFileSize is ever set above the ANSI two-gigabyte limit the value is ignored and the size is held at 2 GB, which is deliberate, to prevent corruption.
Mailbox and archive capacity by plan
| Plan | Primary mailbox | Archive |
|---|---|---|
| Microsoft 365 Business Basic and Standard | 50 GB | 50 GB |
| Microsoft 365 Business Premium | 50 GB | Auto-expanding to 1.5 TB |
| Office 365 Enterprise E1 | 50 GB | 50 GB |
| Microsoft 365 and Office 365 E3 and E5 | 100 GB | Auto-expanding to 1.5 TB |
Auto-expanding archiving starts each user at 100 GB of archive storage and adds more automatically as that fills, up to 1.5 TB including the Recoverable Items area. On a mailbox on hold, the Recoverable Items quota in the primary mailbox is 100 GB. Those two numbers together are why a mailbox on hold behaves so differently from one that is not.
Reading a bounce correctly
Exchange Online’s non-delivery report reference is the place to check a code rather than a search engine. 5.2.2 there is Submission quota exceeded, pointing at the sender’s rate limits. 5.2.3 does not appear in that table at all. If the sender’s bounce carries a code you cannot find in Microsoft’s list, ask them for the full report headers rather than guessing at what the number means.
Stopping it coming back
- Put a retention or archive policy in place so old mail moves out on its own rather than accumulating until someone notices.
- Set the offline cache slider to something sensible so the local file does not grow without limit on a large mailbox.
- Watch usage rather than waiting for bounces; the warning threshold exists so that somebody acts before the prohibit thresholds bite.
- Split very large personal data files rather than raising their ceiling, because everything about a large file gets slower and repair gets slower fastest.
When a licence is the actual fix
Once the housekeeping is genuinely done and the mailbox is still at its ceiling, the plan is the limit rather than your effort. Be careful which way you move, because the obvious upgrade does not always buy capacity. Microsoft 365 Business Basic, Business Standard and Business Premium all carry a 50 GB primary mailbox, the same as Office 365 E1, so moving from Basic to Standard buys features and not a single gigabyte of mailbox. The 100 GB primary mailbox arrives with Microsoft 365 or Office 365 E3 and E5. Archive capacity moves differently again: Business Basic and Standard get a 50 GB archive, while Business Premium and the E3 and E5 plans get auto-expanding archiving that starts at 100 GB and grows to 1.5 TB. For a user whose problem is years of old mail rather than a busy inbox, Business Premium’s archive is often the cheaper answer than an enterprise plan. Archiving locally into a second Outlook data file remains a legitimate free alternative and we will say so plainly. Arco can check which SKU your tenant holds today and what capacity comes with it, so you do not buy something you already have.
Every code this article covers
| Code | What it points at | Source |
|---|---|---|
0x8004060C |
Reported when Outlook cannot write further into the store; Microsoft publishes no meaning for this value | not published by the vendor |
550 5.2.2 |
Exchange Online publishes 5.2.2 as Submission quota exceeded: the sender exceeded the recipient rate limit or the message rate limit | Microsoft Learn |
552 5.2.3 |
Not present in Exchange Online’s non-delivery report reference; no published meaning | not published by the vendor |
0x8004010D |
OutOfDisk: not enough disk space was available to complete the operation | Microsoft Learn |
Confirm the fix worked
- A test message leaves the affected mailbox.
- Someone outside the organisation can reply and it arrives without a bounce.
- File, Info shows usage below the warning threshold.
- For a local data file, the file size on disk has actually fallen after compacting.
- Nothing has reappeared a week later, which is the test of whether the archive policy is doing its job.
Questions people ask about this
I deleted thousands of messages and the data file is the same size. Why?
Deleting marks space inside the file as reusable but does not return it to the disk. Run Compact Now from the data file’s settings and expect it to take a while on a large file. Until you compact, the file will not shrink.
Does a 5.2.2 bounce mean the recipient mailbox is full?
Not according to Microsoft. Exchange Online publishes 5.2.2 as Submission quota exceeded, meaning the sender exceeded a recipient rate limit or a message rate limit. It is widely repeated as mailbox full, but that is not what the vendor’s own reference says.
Is there a way to fix this without spending anything?
Often, yes. Emptying Deleted Items and Recoverable Items, removing large attachments, and archiving older mail into a local data file all cost nothing. It becomes a purchasing decision only when the mailbox is genuinely at the size the plan allows.
Will a bigger mailbox make Outlook faster?
No. If Outlook is slow with a large mailbox, the setting that matters is how much of it is cached locally, which you control with the mail-to-keep-offline slider. A larger quota removes the error; it does not change sync behaviour.
Can I raise the data file limit?
Yes, with MaxLargeFileSize and WarnLargeFileSize as DWORD values in megabytes under the Outlook PST policy key. Keep the warning below the maximum, and understand that you are trading responsiveness for headroom.
