Outlook says your PST or OST file has reached its maximum size

8 min read

Two long rows of wooden archive drawers with small paper labels line a quiet storage hall.

Your PST or OST file has hit the size limit that Outlook sets for it. In the Outlook versions Microsoft documents, the default limit is 50 GB, and Outlook stops adding data a little earlier, at 47.5 GB. Deleting mail does not shrink the file at once, so the error can stay after you have cleaned up.

The fix has four steps: save what you cannot replace, find what takes the space, compact the file, and for an Exchange account rebuild the local copy. The menu steps below are for classic Outlook for Windows, the version with a File menu.

The numbers behind the error

Microsoft lists the limits in its article on configuring the size limit for PST and OST files (checked on November 29, 2026). This table is taken from it.

File and Outlook versionLargest sizeWarning size
Unicode file, Outlook 2010, 2013 and 201651,200 MB (50 GB)48,640 MB (47.5 GB)
Unicode file, Outlook 2003 and 200720,480 MB (20 GB)19,456 MB (19 GB)
Old ANSI file, any of these versions2,075,149,312 bytes (1.933 GB)1,950,368,768 bytes (1.816 GB)

Microsoft’s table stops at Outlook 2016. We did not find a newer one, so the first row is what you will most likely see in current Outlook, not a promise. If your limit is lower than 50 GB, your employer may have set it by policy. Ask your IT department.

For a Unicode file, the warning size is 95 percent of the largest size. You can check it: 95 percent of 51,200 MB is 48,640 MB, and 48,640 divided by 1,024 is 47.5 GB. Microsoft says the default is worked out that way.

Despite its name, the warning size gives no early warning. Microsoft notes that the setting does not make Outlook warn you before the limit is reached. It is the size where adding stops. According to the same article, once a file reaches it:

  • mail cannot be sent if your Sent Items folder is stored in that file,
  • items cannot be copied or moved inside the file,
  • Auto-Archive into the file fails,
  • you can still delete or archive items,
  • Outlook tries to compact the file.

The message Microsoft quotes for a move that fails reads: “Can’t move the items. The file .pst has reached its maximum size.” It goes on to tell you to permanently delete items you no longer need. Do not do that yet. Read the next section first.

An example from November 2026. On November 9, 2026 a person asked on Microsoft Q&A about an OST of approximately 47.5 GB. Outlook said the message store had reached its maximum size (error code 0x8004060C), and a shorter sync period had not helped. That size is about the warning size. The thread has no confirmed fix. One answer in it comes from someone who says they are associated with the vendor of a paid conversion tool, so read it with that in mind. We do not know the poster’s setup, so take this as an example of the numbers and not as proof of their cause.

Save what you cannot replace first

Deleting or moving mail is where this goes wrong, so decide first what you could not get back.

If the file is a PST, it holds the only copy of that mail. Close Outlook and copy the file in File Explorer. Outlook lists your data files under File, Account Settings, Account Settings, on the Data Files tab. The copy needs at least as much free disk space as the file itself.

If the file is an OST, the OST file itself needs no backup. Microsoft says an OST is always a copy of what is on the mail server. But the OST stays in step with your mailbox. Microsoft’s page on creating an Outlook Data File calls it a synchronized copy of the messages saved on a server, and says Microsoft 365, Exchange, IMAP and Outlook.com accounts use one. So when you delete or move a message in Outlook, it leaves the mailbox as well. Export what you cannot lose first, as the guide to exporting a mailbox to a PST file explains. If this is a work account, ask your IT department before you delete anything, because your employer may keep mail under its own rules.

The exception is an account that no longer exists. Then the OST may be the last copy, so leave it where it is. Microsoft keeps OST files in the folder drive:\Users\user\AppData\Local\Microsoft\Outlook.

To look through a copy without Outlook, open it in the PST viewer on this site. The file is read in your browser, in small pieces, and nothing is uploaded. You can search by sender, recipients, subject and date (not the text inside messages), save attachments, and save a selection of messages as EML files in one ZIP. The page allows up to 2,000 messages at a time, and we have only tried small groups.

What the viewer does not do: it does not shrink, repair or change a file. It only reads. We tested it with a made-up 5.2 GB PST file of 2,385 messages, each with a 2 MB attachment. The folder list appeared in about a tenth of a second in Chrome. The folders were small, the test computer had a lot of memory, and the file came from our own file writer. We have not tested a real mailbox with tens of thousands of messages in one folder, or any file close to 50 GB.

Find what takes the space

Outlook has a tool for this. Select File, then Tools, then Mailbox Cleanup, as described in Microsoft’s article on reducing the size of your mailbox and data files (checked on November 29, 2026). From there you can:

  • view the size of the mailbox and of single folders,
  • see how big the Deleted Items folder is and empty it,
  • find items older than a date or larger than a size.

Microsoft also gives a search that lists big messages. Type this in the Outlook search box:

messagesize:>5 mb

It finds every message larger than 5 MB. Delete what you do not need, or move it to a separate PST archive, once your copy is safe. Then empty Deleted Items. Microsoft lists that as the first step before compacting, and says a large Deleted Items folder is often the cause of a large mailbox.

Compact the file

Deleting does not make the file smaller by itself. Outlook compacts a data file in the background during idle time, but only when more than 20 percent of the file is unused space.

Here is an example. Suppose the file is exactly 47.5 GB and had no unused space before you started. Then 20 percent is 9.5 GB. If you delete 5 GB of mail, only about 10.5 percent of the file is free, which is under the 20 percent, so the automatic compaction may not start. In real life the file on disk can be larger than the data limit, and it may already hold unused space, so your own numbers will differ. The point is that a clean-up of a few GB can leave the file as large as it was.

You can start the compaction yourself, and Microsoft says it may take several minutes:

  1. Delete what you do not need and empty Deleted Items.
  2. Select File, Account Settings, Account Settings.
  3. On the Data Files tab, select your file and choose Settings.
  4. For an Exchange or Outlook.com account, open the Advanced tab and choose Outlook Data File Settings.
  5. Choose Compact Now, then OK.

You do not have to exit Outlook afterwards.

If it is an Exchange OST, rebuild the local copy

When compacting is not enough and the mail you need is safe on the server, you can let Outlook build a new OST. Microsoft documents this under re-creating an offline Outlook Data File. Its steps are written for an Exchange account. In short, you close Outlook, open Mail in Control Panel, select the Exchange account, clear Use Cached Exchange Mode, choose Disable Offline Use under Offline Folder File Settings, and then turn Use Cached Exchange Mode back on. Outlook then downloads the mail again. That page does not describe the same steps for an IMAP account, so for one of those follow your provider’s help.

First open the mailbox in Outlook on the web and check that the folders and mail you need are there. Anything that exists only in the local file is lost when it is rebuilt. One suggestion of our own, not from Microsoft’s page: before you rebuild, shorten the offline mail period in the account’s settings, or the new file can grow to the same size again. The person in the Q&A thread had already shortened it without success, so it may not be enough alone.

Why not raise the limit

Microsoft’s article shows how to raise the limit in the registry. It also says it does not recommend that, because performance can decrease. Its performance troubleshooting page says an OST of 25 GB or more increases the number of short pauses, especially while new mail downloads.

One habit that helps, and it is our suggestion, not Microsoft’s rule: keep recent mail in the mailbox and move old years into PST archives, for example one file per year or per project. Keep a second copy of each archive, because for a server account the archive becomes the only copy of that mail. The same advice appears in the checklist for saving your email. Each archive stays small, and it should open in the PST viewer when you need it.

Sources

All pages were read on November 29, 2026.

This site is not connected with Microsoft. Outlook is Microsoft’s product name, used here to say which files this page is about. The page is not advice for your particular setup. Check the numbers against Microsoft’s pages, because they can change.