Understanding the OST File
In Microsoft Outlook, the OST file serves as a local repository for your emails, calendar entries, contacts, and tasks. It’s a file that is stored offline, ensuring you can work even without the internet. However, OST files can grow excessively large over time, consuming disk space and slowing Outlook’s performance.
Unlike the PST file, which you manually archive or split a PST, the OST syncs automatically with the Exchange server. This keeps your data fresh but also means it hoards old emails, attachments, and even “deleted” items unless you intervene. Our mission? To understand why it swells and master the art of trimming it down.
Can I Shrink OST File?
Absolutely, it’s achievable! While there’s no magic wand for an instant fix, with careful steps, you can shrink that file and boost Outlook’s pep. Time is of the essence—delaying only risks further growth and frustration.
Success hinges on cleaning up existing data and managing future expansion. If corruption’s an issue (think frequent crashes), a rebuild might be necessary, but for most, it’s about smart housekeeping. Let’s get started!
Methods to Reduce OST File Size
Here’s your structured roadmap to compact OST file. I’ve laid it out clearly, drawing from my battles with Outlook’s bulk, so you can follow along without breaking a sweat.
Method 1: Clean Up Your Mailbox
The first step is to declutter your mailbox—don’t let the junk pile up!
- Open Microsoft Outlook.
- Navigate to and right-click the “Deleted Items” folder.
- Select “Delete All” to permanently remove trashed emails still lurking in your OST.

- In your Inbox or Sent Items, sort emails by date: click the “Received” or “Sent” column header. Delete outdated messages (e.g., anything over two years old) you no longer need.
- To find large attachments, go to the “View” tab, select “View Settings,” click “Filter,” then “Advanced.” Add a criterion: “Field” > “Size” > “Greater than” > enter “5000” (5MB). Review the results, save big attachments elsewhere if needed, and delete the emails.
Pro Tip: Deletion alone won’t shrink OST files- yet compacting comes later, Somtimes, you could come across Outlook mailbox full after deleting everything.
Method 2: Adjust Synchronization Settings
- Outlook might be syncing more than necessary. Let’s lighten its load:
- Open Outlook and click “File” on the top-left menu.
- Select “Account Settings,” then choose “Account Settings” from the dropdown.
- Double-click your Exchange account in the list.
- Click “More Settings,” then switch to the “Advanced” tab.
- Locate the “Mail to keep offline” slider and adjust it (e.g., from “All” to “6 months” or “1 year”) to reduce the local data synced.
This keeps server data intact while compressing OST file.
Method 3: Compact the OST File
Deleted items leave empty space that needs squeezing out:
- In Outlook, click “File,” then “Account Settings,” and select “Data Files.”
- Find your OST file in the list (labeled “Offline Outlook Data File”) and click “Settings.”
- Click “Compact Now” to compress the file by removing unused space.
This process might take a few minutes for larger files, so patience is key!
Method 4: Relocate Attachments
Big attachments don’t need to hog OST space forever:
- Open an email with a large attachment.
- Right-click the attachment and select “Save As.”
- Choose a location (e.g., your desktop or a cloud drive like OneDrive), save it, then delete the email.
Repeat as needed for a noticeable dent!
Method 5: Rebuild the OST File (If Necessary)
If performance lags or errors persist, corruption might be at play. Here’s the fix:
- Close Outlook completely.
- Locate your OST file (typically at C:\Users\YourName\AppData\Local\Microsoft\Outlook).
- Rename the file (e.g., “old.ost”) or move it to a safe spot.
- Restart Outlook—it will regenerate a new OST by syncing with the server.
Only use this if other methods fall short, and avoid deleting the OST without renaming it first!
Why is my Outlook OST file limit 50GB?
That 50GB ceiling isn’t arbitrary. It comes from the default Outlook.ost size limit set in the registry for Outlook 2016, 2019, 2021, and Outlook 365, controlled by a DWORD value called MaxFileSize (and a warning threshold called WarnFileSize, usually set a few gigabytes below it). Microsoft set it there years ago as a safety margin against database corruption in large files, not because 50GB is some technical ceiling of the OST format itself.
You can raise it. Open the Registry Editor, navigate to HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\16.0\Outlook\PST, and create (or edit) MaxLargeFileSize and MaxFileSize as DWORD values, entered in megabytes. People searching for how to increase OST file size Outlook 365 to 100GB are usually doing exactly this, setting the value to 102400. I would not recommend it as a first move. A 100GB OST takes longer to compact, longer to rebuild if it corrupts, and does nothing to fix whatever caused it to balloon in the first place. Raising the cap treats the symptom. Method 2 and Method 3 above treat the cause.
Reasons Why OST Files Expand
An OST file doesn’t puff up overnight—it’s a gradual buildup. Perhaps you’re the type to save every email “just in case,” or maybe you’ve got a coworker who thinks 10MB attachments are a daily necessity. I’ve seen it all! Here’s what’s typically behind the bloat:
- Accumulated Emails: Years of messages, including those you’ve “deleted” but haven’t fully cleared.
- Large Attachments: Videos, images, and hefty documents that linger unless removed.
- Synchronization Settings: Syncing every folder, even ones you rarely touch, adds unnecessary bulk.
- File Corruption: Technical hiccups can inflate the file beyond its proper size.
The silver lining is that you can take charge and reduce it. Since OST files are tethered to your Exchange account You need to proceed methodically.
OST Behavior Across Configurations
OST files vary by setup—here’s how:
- Cached Exchange Mode: Syncs all data locally for offline access, making it prone to growth. The above methods shine here.
- Online Mode: Bypasses OST entirely, keeping data server-side. It’s faster but offline-unfriendly—switch via “Account Settings” if viable.
- IMAP with OST: Less common, but cleanup still applies, though sync behaves differently.
How to fix OST has reached the maximum size?
Outlook throws this as an error dialog, sometimes worded “The file … has reached its maximum size” and sometimes logged quietly in the sync issues folder instead of popping up at all. Either way, Outlook stops syncing new mail until you deal with it.
First, check the actual file size against your MaxFileSize registry value (see above). If they’re close, that’s your answer; nothing else is wrong. Compact the file using Method 3 further up this page, then relaunch Outlook. If compacting barely moves the number, the file likely has orphaned data from a past sync failure rather than live mail, and compacting will not reclaim it.
When compacting fails or stalls partway through, I would not raise the registry limit as the first response. Rename the OST, let Outlook rebuild a fresh copy from the server (Method 5), and only then consider whether you actually need a higher ceiling. A rebuild from a server that itself has a corrupted mailbox will just reproduce the same errors, which is a separate problem from the file size itself.
Preventative Measures
Keep that OST in check with these habits:
- Routine Cleanup: Schedule monthly trash-emptying and compacting—like a digital detox!
- Enable AutoArchive: Go to “File,” “Options,” “Advanced,” and under “AutoArchive,” set old items to move to a PST file automatically.
- Backup Before Big Changes: Export your mailbox via “File,” “Open & Export,” “Import/Export” to a PST for safety.
Conclusion
I trust this guide equips you to tame your OST file with confidence! I’ve experienced oversized files and lagging performance myself, so I’m cheering you on to reclaim that zippy Outlook experience. If you’ve got ideas to make this even handier, don’t hesitate to tell me—I’m all about refining this to suit you better!
Frequently Asked Questions
Q1. How Can I Prevent My OST File From Growing Again?
Regular maintenance is your best defense. Empty the trash, relocate attachments, and compact the file frequently. Adjust sync settings to limit local data, and use AutoArchive to offload old items. Stay proactive—it’s easier than wrestling a giant later!
Q2. When Should I Be Concerned About OST Size?
Start worrying if Outlook slows, crashes, or your disk space dwindles (OSTs can exceed 50GB!). Check its size in “Data Files” under “Account Settings”—files over 10-20GB often signal it’s time to intervene, depending on your system.
Q3. What Distinguishes OST from PST Files?
An OST file syncs automatically with the Exchange server for offline use, while a PST is a manual archive you manage. OST reflects your live account; PST is a storage vault. Both can swell, but OST’s server tie makes it trickier to shrink!




