Share via

I need to reduce OST file in my outlook,

Olorunfemi Adeleke 0 Reputation points
2026-05-04T19:45:53.2133333+00:00

I need to delete files in my Outlook,it is IMAP, but it has exceeded the size

Outlook | Windows | Classic Outlook for Windows | For home
0 comments No comments

2 answers

Sort by: Most helpful
  1. Manoel Barros 18,920 Reputation points Independent Advisor
    2026-05-05T00:23:17.55+00:00

    Hi!

    You can empty the Deleted Items folders, archive old emails, and delete large attachments to reduce file size.

    The OST file is just an offline cache file, so you can delete it as well if you prefer.

    For compacting, see the Q&A Assist answer or the article below:

    https://support.microsoft.com/en-us/office/reduce-the-size-of-your-mailbox-and-outlook-data-files-pst-and-ost-e4c6a4f1-d39c-47dc-a4fa-abe96dc8c7ef

    To delete the OST file, close Outlook > press Windows + R > Type %localappdata%\Microsoft\Outlook > Delete the OST file named after your email. When you delete an OST file, open Outlook and a new OST file will be created.

    • If you want to keep this OST file, you can simply rename it to any name, such as your_email_backup.ost.

    Was this answer helpful?

    0 comments No comments

  2. AI answer

    2026-05-04T19:46:11.4566667+00:00

    To reduce the size of the OST and get back under the limit, use a combination of cleaning up mailbox content and compacting the data file.

    1. Clean up mailbox items (reduces what must be stored in the OST)

    Because the account is IMAP, the OST is a local synchronized copy of what is on the server. To shrink it, delete or move items so there is less data to sync.

    a) Use Mailbox Cleanup

    1. In Outlook, select the File tab.
    2. Select Tools > Mailbox Cleanup.
    3. Use these options:
      • View Mailbox Size to see which folders are largest.
      • Find items older than a certain number of days and delete or move them.
      • Find items larger than a size (for example, 5000 KB / 5 MB) and delete or move large messages.
      • View Deleted Items Size and then Empty Deleted Items folder.
      • View Conflicts Size and Empty Conflicts if available.

    b) Search for large messages

    1. Go to the IMAP mailbox in Outlook.
    2. Click in the Search box and type: messagesize:>5 mb
    3. Delete unneeded large messages or move them to a separate Outlook Data File (.pst) if needed.

    c) Empty Deleted Items After deleting messages, make sure the Deleted Items (or Trash) folder is emptied so the space can be reclaimed.

    1. Compact the OST file (actually shrinks the file on disk)

    After cleaning up items, compact the OST so its physical size is reduced.

    1. In Outlook, delete items you do not need and empty the Deleted Items folder.
    2. Select File > Account Settings > Account Settings.
    3. On the Data Files tab, select the IMAP data file (the .ost file), then select Settings.
    4. Go to the Advanced tab and select Outlook Data File Settings.
    5. In the Outlook Data File dialog, select Compact Now, then select OK.

    Outlook also compacts automatically in the background when there is more than 20% unused space in the file and Outlook is idle, but running Compact Now forces it immediately.

    1. If the OST is hitting configured size limits

    If the OST is approaching a configured size limit (for example, via registry-based limits like WarnFileSize or WarnLargeFileSize), Outlook may:

    • Block sending or moving items.
    • Trigger Mailbox Cleanup.

    In that case, continue to delete or archive items from the mailbox (as above) so the OST can compact below the warning threshold.

    Be careful if editing any registry-based size limits; incorrect registry changes can cause serious problems. Always back up the registry first and only change these settings if fully familiar with the documented procedure.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.