Your Outlook data file is growing and taking up too much space on your hard drive. This happens because Outlook does not automatically reclaim space from deleted items. This article explains how to manually compact your PST file to reduce its size and free up storage.
Key Takeaways: Compacting an Outlook PST File
- File > Account Settings > Data Files > Settings > Compact Now: Manually reduces the physical size of your PST file by permanently removing space reserved for deleted items.
- AutoArchive settings: Automatically moves old items to a separate archive file, helping to keep your main PST file size manageable.
- Mailbox Cleanup tool: Helps you find and delete large items or old emails before running the compact process for maximum space recovery.
How PST Files Grow and Why Compacting is Needed
Outlook stores your emails, calendar events, and contacts in a Personal Folders File, known as a PST file. When you delete an item, Outlook does not immediately remove its data from the file. It simply marks the space as available for reuse. Over time, this leads to a PST file that is much larger on your disk than the actual data it contains. The compact process permanently removes this unused space, shrinking the file size. You need to do this manually as Outlook only performs minor cleanup in the background.
Steps to Manually Compact Your PST File
The primary method is using the built-in compact tool in Outlook’s account settings. Ensure Outlook is closed to all other applications before starting.
- Open Account Settings
In Outlook, click the File tab on the ribbon. Select Account Settings, then choose Account Settings again from the dropdown menu. - Select Your Data File
In the Account Settings window, go to the Data Files tab. Click to select the PST file you want to compact, then click the Settings button above the list. - Start the Compact Process
In the Settings dialog box, click the Compact Now button. A progress bar will appear. Do not use Outlook for other tasks until the process is complete. - Finish and Restart
Click OK to close the open dialog boxes. You may need to close and restart Outlook for the changes to take full effect.
Using AutoArchive to Manage File Size
For ongoing size management, configure AutoArchive to move old items out of your primary PST file.
- Access Archive Settings
Go to File > Options > Advanced. Click the AutoArchive Settings button. - Configure Rules
Check the box for Run AutoArchive every X days. Set a time period like 14 days. Choose to move old items to a specified archive file. - Apply to Folders
Right-click any mail folder, select Properties, then the AutoArchive tab. Choose to use the default settings or customize the archive age for that folder.
Common Mistakes and Limitations of Compacting
Compacting Does Not Free Space After Large Deletions
If you recently deleted thousands of emails but the file size did not change, the compact operation may not have run. Outlook only compacts when a significant percentage of the file is empty space. Use the manual Compact Now button to force the operation immediately after a major cleanup.
Outlook is Slow or Unresponsive During Compaction
Compacting a very large PST file can take a long time and make Outlook seem frozen. Avoid clicking or performing other tasks. Ensure your computer is plugged into power. The process will finish faster if you close other large applications.
Cannot Compact a File in Use by Another Program
If you receive an error that the file is in use, another instance of Outlook might be running in the background. Check the system tray for the Outlook icon and close it fully. Also, disable any add-ins that might be accessing the data file, then try again.
Manual Compaction vs AutoArchive vs Mailbox Cleanup
| Item | Compact Now | AutoArchive | Mailbox Cleanup |
|---|---|---|---|
| Primary Function | Shrinks physical file size on disk | Moves old items to a separate file | Finds and deletes large or old items |
| Automation | Manual trigger only | Can be scheduled automatically | Manual search tool |
| Best Used For | Recovering space after major deletions | Ongoing size management and organization | Identifying what to delete before compacting |
| Data Loss Risk | None, only removes empty space | Low, items are moved, not deleted | High, items are permanently deleted |
| Location | File > Account Settings > Data Files | File > Options > Advanced | File > Tools > Mailbox Cleanup |
You can now reduce your Outlook data file size using the Compact Now tool. For ongoing management, set up AutoArchive to run every month. An advanced tip is to use the Windows Search box to find “Disk Cleanup” and run it to delete temporary Windows Update files, which can free up several gigabytes before you compact your PST.