Helping people with computers... one answer at a time.

Deleting items in an Outlook PST doesn't mean that space will be freed up right away. We'll look at two reasons, and two ways around it.

I archived and deleted a bunch of email messages in Outlook, in order to reduce the size of the PST file containing them. However after doing so, the PST's no smaller. What gives?

There are two very common possibilities:

  1. there's deleting, and then there's DELETING

  2. and even after DELETING, a little patience is called for

Fortunately, there are ways to force things and bypass that whole pesky "patience thing".

Much like Windows itself, your PST has a an equivalent to the Recycle Bin called the "Deleted Items" folder. By default, when you delete an email message (or just about anything that Outlook stores in your PST), it's not deleted at all, but simply moved to the Deleted Items folder.

The whole point of Deleted Items is as a safety net; a way to recover from "oops, I didn't mean to delete that" because things aren't really deleted.

So if things aren't really deleted, then of course no space will be freed up.

You can configure Outlook to empty the recycle bin when you exit Outlook, or you can simply empty it yourself. In the folder list, right click on the Deleted Items folder and click on Empty "Deleted Items" Folder:

Empty Deleted Items folder selection in Outlook

This will permanently delete the items from your PST.

However your PST won't get smaller. At least, not right away.

"If you empty your Deleted Items folder, and just leave Outlook alone for a while, sometimes a long while, it will dutifully compact and shrink your PST."

When Outlook actually deletes an email (i.e. when it does not put it in the Deleted Items folder, or when it removes it from that folder), the space taken up by that email is "freed". In other words that space within the PST is marked as unused, and made available for other email messages that might arrive thereafter. So your PST won't get smaller right away, but it's also quite likely that it won't get bigger as new mail arrives either. The space freed within the PST by emptying the recycle bin will simply get reused.

I keep saying "right away" because Outlook will start making your PST smaller, after some time.

If you leave Outlook running, after some amount of idle time, it will start to perform something called "compaction". Compaction is very similar to defragmenting your hard disk. During compaction it moves all of the email messages and other "real" information in the PST to the front of the PST, and moves all the unused or free space within the PST to the back. When compaction is done, Outlook can then actually make the PST file smaller by removing that portion of the PST that isn't actually being used by anything.

That's where patience comes in. If you empty your Deleted Items folder, and just leave Outlook alone for a while, sometimes a long while, it will dutifully compact and shrink your PST.

If you're impatient, like I am, you can force compaction.

In folder view, right click on Personal Folders:

Outlook Personal Folders context menu

And click on Properties for "Personal Folders" .... You'll get this dialog:

Outlook Personal Folders Properties dialog

Click on the Advanced... button, and you'll get this:

Outlook Personal Folders Properties Advanced dialog

And as you might guess, hit that Compact Now button. You'll then see this small dialog for a while:

Compacting Now Status Dialog

Exactly how long will depend on the size of your PST, and how much free space there is within it. It can take quite a while for larger files.

When it's done, your PST will be as small as it can be to hold what's inside.

Article C2901 - January 17, 2007 « »

Share this article with your friends:

Share this article on Facebook Tweet this article Email a link to this article
Leo Leo A. Notenboom has been playing with computers since he was required to take a programming class in 1976. An 18 year career as a programmer at Microsoft soon followed. After "retiring" in 2001, Leo started Ask Leo! in 2003 as a place for answers to common computer and technical questions. More about Leo.

Not what you needed?

21 Comments
Terry Hollett
January 20, 2007 6:01 AM

I use 'SeaMonkey' formally 'Mozillasuite' and the integrated email client. I used a program to back it up one time and it was only a few megabytes in size, then at another time I ran a second backup and the file was over 50MB in size.

I always chose the option to delete the cache and couldn't understand what was going on. I went to my email folder and found some very large files there like the one called 'inbox', there was no extension.

I went online to see if I could safely delete this file, thats when I discovered what 'compacting' meant.

With Seamonkey and Thunderbird, just rightclick on each folder you want to compact and chose the option from the menu.

http://www.geocities.com/terryhollett2003/compact.htm

L. Morgado
February 2, 2007 4:27 PM

Thank you so much for the 'compacting' option. After the longest time, in order to do a backup of the .pst file over a network, I've been trying to figure out what made the file smaller and now, thanks to you, I know. Thanks again.

Surin
October 28, 2009 10:25 PM

Leo,

Thanks. Great advise. My outlook file bloated to 9GB - while I have removed some older mails to a new pst - my active pst showed 9GB while the personal folders were less than 3GB - as you may have gathered, I receive a heavy e-mail load...

How long does it take to compact the file?

Best,

Surin

Ric
January 7, 2010 7:22 PM

Hi there. I had a huge main outlook.pst file (3gig), and to start the year fresh I decided to break it up into several PSTs. After i was done, I chek the folder size in my Outlook and it says my outlook.pst file is less than 1gig, but when I see the same pst file size in windows explorer it says 7.7gigs.

any info would be really appreciated
thanks!
Ric

Be sure to empty the recycle folder, and then leave Outlook running overnight and it'll probably compact the file.
Leo
08-Jan-2010

Aaron
January 13, 2010 2:49 PM

Manually compacted but 500MB pst file with only 145MB in total folders won't get smaller. Used to work.

Andy Lord
February 23, 2010 9:47 AM

I have a pst file that after archiving a bunch of things. and cleaning out the deleted items folder will not compact. When I run it the dialog "compacting" show for a couple seconds and goes away. Any thoughts?

AML

Rich Emanuel
March 31, 2010 7:36 AM

Never ceases to amaze me. If you want to find out how to accomplish tasks such as this one you will never find the answer by going to Microsoft for help. It takes people like Leo to give you a direct answer that does just what you asked for. Microsoft gives you pages and pages of information that sucks up all your time reading and never leads you to the answer you need.

Thanks Leo

Gil Hanoch
April 17, 2010 11:34 AM

After clearing your "Deleted Items" folder and compacting the PST, your PST maybe still be substantially larger than the folder sizes inside. The next step would be to create a new PST, and move all folders to it, one by one.

Make sure to switch to "Folder List" view, so you can drag the contents of the calendar, tasks and notes as well.

After completing the job, you should be happy to see a huge further reduction (depending on your case), but now you will have to configure all the display parameters for the different folders, including which columns are shown, group by, category list, etc. I need to find out where this configuration data is stored, so I could copy it to the new PST, without manually redoing it.

Daniel Santos
April 28, 2010 12:54 PM

Today is april 28th. I've just spent all day trying to understand why afer deleting ALL of my emails my pst file wouldn't get smaller. It's 4:53 pm and I've just seen this topic. I just wanna say THANK YOU, Leo!!! And [edited] Microsoft...

Ashutosh Sodhani
May 25, 2010 11:27 PM

If you don't see the "Compact Now" option where Leo advised, here is the alternate location.
Tools->Options->Mail Setup->Data Files->Choose the data file and double click -> Compact now.

Bubrak
July 31, 2010 2:24 PM

I have same issue as AML, compacting just wont work, it takes 2sec and closes. pst file has 5.8GB even after archiving to archive.pst which has now 5.1GB, so i was thinking about reducing outlook.pst from 5.8 to 0.7 (as 5.1 went to archive.pst) but nope.

Bubrak
August 1, 2010 4:03 PM

Hi, just note - in 2 days the outlook.pst reduced from 5.8 GB to 4.9 GB, so it seems it is doing something but very slowly , approx 0.5GB per day. So some little light at tunnel end. :-)

Irv Fisher
August 5, 2010 6:00 AM

I use Outlook 2007 with large file size. The .pst measured 4.4gb before I ran an archive for everything over 3 months old. Clicking the Folder Size button in Personal Folders Properties shows a total of 641424kb of data in all the folders/subfolders. After compacting, it reports a .pst file size of 2.9gb. Better, but nowhere near what it should be with Short of exporting the database to a new .pst file and tricking Outlook to accept it as the active .pst, any other suggestions?

Check some of the other folders that you might not use often - for example journalling, if turned on, can eat up a lot of space.
Leo
07-Aug-2010

Manish
October 19, 2010 1:16 AM

Hey Leo,

I use MS Outlook 2007, the present .pst size is 10GB, i archived which sized to 3.7GB, unfortunately, the .pst size is still 10GB. As mentioned above, i tried 'compact' feature, no reduction in the 10GB file. I tried scanpst.exe, no reduction in the 10GB file. Is there anything else i can try or use a 3rd party tool to get this right? please advice.
Regards,
Manish

Mohit Mathur
November 30, 2010 1:31 AM

Hello,
Even after using the above methods doesn't completely reduce your PST file size, then you can try Stellar Compact PST File which will Compress PST File size to a considerable limit. The software compacts PST file items like emails, contacts, notes, attachments, tasks, journals etc & hence saves it from corruption.

Peter Staecker
April 20, 2011 1:32 PM

Leo,

Is it possible to defrag the pst (outside of Outlook) to reduce the crazy wait time? My 10G file has been cranking away for 6 hours?

The PST defrags like any other file, so if you defrag your machine that'll help it. If you mean its internal structures, then compacting is what you want. And for the record, while I know it *should* work these days, a 10 gigabyte PST makes me nervous. Smile
Leo
20-Apr-2011

Peter
April 20, 2011 1:41 PM

For all you impatient people (like me): Perhaps you are frustrated by the deafening silence of the process. If so, go to the place where your pst is stored and you will be able to see (using refresh) the progress of the compaction. My 10.3 G file is now 8.45 G and shrinking.

...counting backwards from 8 billion is still a daunting task...

Peter
April 20, 2011 6:51 PM

Finally, done. My 10.3 G file is now a relatively svelte 6.0 G. Thanks, Leo.

Chris
June 7, 2012 7:51 PM

http://support.microsoft.com/kb/289987 is Microsoft write up on the same thing. But you can also set Outlook to do it auto when your not using it. This feature took a 20 gig pst file to 6 took 72 hrs but worked.

Wong Pow Long
July 29, 2012 6:36 PM

Hi Leo,
this is great post, My .pst file si 4GB in size and it make my outlook slow. i have deleted some file and run compact now... it become smaller now. great... stuff.

nils
August 26, 2012 1:06 AM

this is wonderful!!!
thanx so much!! :)

Comments on this entry are closed.

If you have a question, start by using the search box up at the top of the page - there's a very good chance that your question has already been answered on Ask Leo!.

If you don't find your answer, head out to http://askleo.com/ask to ask your question.