Email Repair
Windows 11 KB5078127 Out-of-Band Update Fixes Outlook Crashes Issue
July 24, 2026| 5 min read
Summary: The error “Outlook.pst has reached its maximum size” occurs when your Outlook data file (.pst) reached the size limit - 2 GB for ANSI PST files (Outlook 97–2002), 20 GB for Outlook 2003–2007, or 50 GB for Outlook 2010- 2024 and Microsoft 365. To fix this error, follow the four methods mentioned in this guide: archive old emails, compact the PST file, increase the size limit via Registry Editor, and repair/split the oversized PST using Stellar Repair for Outlook.
Free Download 100% SecureOutlook stores your mailbox data to a PST – personal Storage Table – on your local device, when you set up your Outlook account with POP3. However, with time and usage, this file becomes large and reaches the recommended file size limit, specifically if you receive a lot of emails large attachments. When the file reaches the recommended size or the limit set by the administrator, you may receive an error message - Outlook.pst has reached its maximum size - when you try to access your account.
This error message, also accompanied by code 0x00040820, may stop you from sending/receiving new emails.
Refer the table mentioned below to know the PST file format and size limit that applies to your Outlook version:
| Outlook Version | PST Format | Default Max Size | Registry Max Size | Notes |
| Outlook 97–2002 | ANSI | 2 GB | 2 GB (cannot be increased) | Hard limit — cannot be increased via registry. File must be converted to Unicode PST format to remove this limit. |
| Outlook 2003–2007 | Unicode | 20 GB | 50 GB | Registry path: Office\11.0 (Outlook 2003) or Office\12.0 (Outlook 2007). |
| Outlook 2010–2013 | Unicode | 50 GB | 100 GB* | Registry path: Office\14.0 (Outlook 2010) or Office\15.0 (Outlook 2013). |
| Outlook 2016–2019 | Unicode | 50 GB | 100 GB* | Registry path: Office\16.0. |
| Outlook 2021 | Unicode | 50 GB | 100 GB* | Registry path: Office\16.0. |
| Microsoft 365 / Outlook 2024 | Unicode | 50 GB | 100 GB* | Registry path: Office\16.0 (same as Outlook 2016 and later). |
Microsoft states that the limits can be configured beyond the documented values; however, increasing them above 50 GB is not recommended because Outlook performance may decrease.
This error appears when your PST – Personal Storage Table – File reached its defined size limit. This occurs due to one or more of the following reasons:
If your PST file reached its defined limit, you may not be able to send or receive new emails.
Below, we have mentioned the methods that can help you to fix this error:
‘Archive’ feature in Microsoft Outlook that is used to move older email items to a separate Archive.pst file. This helps you to reduce the size of your active PST because it moves items out of the original PST rather than simply marked as deleted. You can use this feature to reduce the size of your mailbox/file, thus resolving the error. Here’s how to do so:
Note: Archiving reduces the PST file size only by moving your older emails. If your data file has reached its stipulated size – 50 GB – due to recent, active emails, archiving may not reduce its size limit. In such a case, you can compact your data file.
You can also use Outlook’s Mailbox cleanup feature tool to view the size of your mailbox and individual folders. By using this tool, you can search for older or very large messages that you want to delete or move to a PST file. It helps you to reduce your mailbox size. For more detail check this - Reduce the size of your mailbox.
You can also use Conversation Clean Up feature in Outlook to remove redundant messages from email threads that contain all of the same information as prior messages. For more information refer to this Microsoft Document.
Compacting reduces the size of your PST file by removing blank internal white space left the PST file by deleted emails and other Outlook items. It does not delete any existing mailbox data. Here’s how to do so:
You can also compact your PST file by right-clicking on your email. Here’s how to do so:
Note: Compacting only recovers white space from already-deleted items. If your PST file is corrupt, the Compact Now button may fail or hang. In that case, skip to Method 4.
You can also increase the maximum PST file size limit to fix this error. For this, just create MaxLargeFileSize and WarnLargeFileSize entries via the Registry Editor.
You can find these registry entries at the following locations:
| Outlook Version | Registry Path |
| Outlook 2007 | HKCU\Software\Policies\Microsoft\Office\12.0\Outlook\PST |
| Outlook 2010 | HKCU\Software\Policies\Microsoft\Office\14.0\Outlook\PST |
| Outlook 2013 | HKCU\Software\Policies\Microsoft\Office\15.0\Outlook\PST |
| Outlook 2016 / 2019 / 2021 / 365 / 2024 | HKCU\Software\Policies\Microsoft\Office\16.0\Outlook\PST |
Below are the steps to increase PST size via Registry Editor:
Now, create WarnLargeFileSize value by repeating the Steps 3–5. You have to set this to about 95% of MaxLargeFileSize value (For example; 97280 for 95 GB).
Close Registry Editor and restart Microsoft Outlook.
The new size limit is now active.
Note: It is only a short-term fix. If your PST file reaches 100 GB, Outlook will perform slowly. It may also increase the risk of file corruption.
If your PST file gets corrupted due to large size or any other cause, then you can go for an advanced solution. You can use Stellar Repair for Outlook. This tool can repair severely corrupted or large PST files. It’s Auto Split feature split resultant file within the 50 GB default size limit into multiple smaller parts.
Here are some notable features of this tool:
Watch the below video to know how Stellar Repair for Outlook works:
You can resolve the error "Outlook.pst has reached its maximum size" by reducing the file size. You can follow the different methods - mentioned in this guide - to do so. If your file is oversized and corrupted, use Stellar Repair for Outlook to repair it. This can also split the repaired file into multiple smaller parts.
The default maximum size of PST file, depends on the application version you are using. These are the data file size limits based on Outlook versions:
You can do the following: