Last reviewed on January 9, 2015   —  56 Comments

Do you want to empty your Deleted Items and Junk Email folders automatically? You can use the ’empty deleted items on exit’ option built into Outlook to empty the Deleted Items folder, but it can slow down the exiting process. It also only works on the Deleted Items folder, not Junk E-mail.

Plus, it’s an all or nothing process – if it’s enabled, it will empty the folder every time you close Outlook. You can’t configure it to only delete items that are older or over a certain size. And if you accidentally delete something you need to keep and close Outlook before retrieving it from the Deleted Items folder, it’s history. It can only be recovered if it was deleted from an Exchange server mailbox and deleted items recovery is enabled.

Fortunately, there are other options. The first, which (almost) any Outlook user can use, is AutoArchive. Set it to run every few days (or even daily) and configure the Deleted Items and Junk Email folder to have items older than 1 day old (or more) deleted.

AutoArchive is disabled for Exchange server mailboxes in Outlook 2010 and Outlook 2007 when archive mailboxes are configured on the Exchange Server.

The second option is used with Exchange server accounts only and is controlled by the Exchange administrator, not the user. The administrator can configure Mailbox Manager to delete items from any folder by age, size, or both, and set exceptions for specific message classes.

Use AutoArchive to delete older Deleted Items and Junk E-mail

Configure global AutoArchive SettingsOpen the AutoArchive dialog by going to Tools, Options, Other, AutoArchive. Enable Run AutoArchive every 14 days. The default is 14 days, but you’ll probably want to lower it to 5 or less days.

You can leave the other settings the default, but remember, if you click the ‘Apply these settings to all folders‘ button, it will apply the settings to all folders, including calendar or any folder you may store old important messages in.

You’ll need to disable AutoArchiving or change the archive period on these folders individually, or raise the archive period (60 months is the maximum) and apply it to all folders, then change the setting on folders you want to archive more often.

Configure per-folder archive settingsNext, right click on the Deleted Items folder and choose Properties, then AutoArchive tab. Choose the option to ‘Archive this folder using these settings‘ and pick a number. My preference is to set AutoArchive to run every 2 to 3 days and delete items older than 2 or 3 days. This provides some insurance, should I need to recover something from either folder.

Repeat these steps on the Junk E-Mail folder.

For Deleted Items and Junk E-mail folders, you’ll want to select the option to permanently delete the items.

If you applied the AutoArchive settings to all folders, you may want to change the setting for the calendar or other folders.

Configure Outlook to Empty Deleted Items on Exit

Because this setting keeps Outlook open until the deleted folder is empty, you want to close Outlook yourself before shutting down your computer. Otherwise, Windows may force Outlook closed, which will cause Outlook to check the data file for inconsistencies the next time you use Outlook.

To avoid problems after deleting a large number of items, empty the Deleted Items folder manually before closing (right click on the folder, choose Empty Deleted items).

When you Empty deleted items on exit, you will not be able to recover accidentally deleted items once you close Outlook. For this reason, I prefer using the AutoArchive method.

In Outlook 2007 and older, go to Tools, Options, Other tab to enable this option.

In Outlook 2010, go to File, Options, Advanced, near the top of the dialog is the option to empty deleted items on exit.

Empty deleted items folder

Empty Outlook’s Deleted Items Folder Automatically Video Tutorial

The video tutorial was created in Outlook 2010 and shows you how to configure AutoArchive to clean out the Deleted Items folder on a regular basis. The process is the same in older versions, with the exception that AutoArchive is on the Tools, Options dialog, Other tab.

Configuring Mailbox Manager

If you use an Exchange mailbox, the administrator can configure the server to automatically delete older items.

This is a good way to insure the Deleted Items and Junk Email folders are emptied routinely or that messages with large attachments are removed from the mailbox once they age. As with AutoArchive, each folder can have different settings, for example, Deleted items are deleted if older than 2 days, but Junk email stays for 5.

Typically, Mailbox manager is run once a week, often on Saturday or Sunday night. Because different mailbox manager policies can be applied to different groups of users, it’s a good way to keep mailboxes small when a user is off work an extended period of time, without disabling or deleting their mailbox.

From the the Exchange System Manager’s Recipient Policies container, the administrator would add a mailbox manager policy to an existing address policy or create a new recipient policy, keeping in mind that only one policy is applied to each mailbox.

To create a new policy, right click on Recipient Policies and choose New, Recipient policy. To add a Mailbox manager policy to an existing Email address policy, right click on the policy and choose ‘Change property pages’. Add a checkmark beside Mailbox Manager Settings and click OK. Create a filter on the General tab and select the folders and edit the size and age conditions as needed on the Mailbox manager tab.

Admins can apply the policy to any folders in the mailbox, provided they know the folder name and path. To do so, click the Add button and enter the folder and path in the form of ‘Inbox\subfolder’ and set the size and age limit.

Enable mailbox management and configure the times it runs from the server’s property sheet by browsing to the server under the Administrative groups container.


    • Diane Poremsky says

      In File, Options, Advanced, if empty deleted items on exit enabled? If not, that's all you need - to empty the deleted folder anytime, right click on it and choose Empty.

    • Diane Poremsky says

      What version of Outlook? In 2010, file, options, advanced - in the last section is the option to warn before deleting. In older versions, look on tools, options, other tab, advanced options. It's the first item in the list.

  1. Kristine Johnston says

    I've reached the maximum in my Outlook 2007. I've neglected emptying my Deleted Items file and have been throwing things out (& and into it). No matter how I try, I can't empty the Deleted Items file, nor can I delete anything else, not even with Shift + Delete. Now what?????

    • Diane Poremsky says

      What exactly happens when you try to delete something? Did you try Shift+Delete items in the deleted items folder?
      How big is the data file (pst) ?

  2. Sandy Wilder says

    I'd really appreciate help in permanently deleting the over 500 items in a "deleted items" folder in my Personal Folder on Outlook 2007. I've tried Shift + Delete on individual files numerous times and always gotten the error message "The messaging interface has returned an unknown error. If the problem persists, restart Outlook." But the problem is still there every time I restart Outlook. These are huge messages from back in 2004; I don't need them any more and I'm sure they're clogging up my Outlook badly.

    • Diane Poremsky says

      Is that the only thing that seems to not work? One cause of the error is an over sized pst - if you have an ansi pst that is over 1.92GB in size. But if that is the case, you'd have more problems than just deleting mail.

      Try running scanpst on the data file - how to repair a damaged pst file

  3. Sandy Wilder says

    Yes, that's the only feature that seems not to work. I'll try running the scan as you suggested and will let you know. Thank you.

  4. Mark Schultz says

    I have Outlook 2010. I keep having the same outdated calendar items reappear in my Deleted Items folder. I empty the folder multiple times a day, and the outdated calendar appointments keep reappearing. Any suggestions? I'm using Google Sync to sync my tablet to Outlook. The dates that are appearing are from years ago before I had any of the hardware. They are dated 2004 and 2005.

  5. Christy (@christy_herself) says

    Any way to have Outlook prompt you when an appointment gets deleting by choosing to say "okay" or something of that nature? I have a feeling some of my technologically challenged co-workers are deleting things without realizing it.

    • Diane Poremsky says

      There is no way built into Outlook but you could use a macro or addin to warn.

  6. JimG. says

    Hello; Wondering if the explanation you give in the "Configuring Mailbox Manager" section is for Exchange 2007. I ask, because I have Exchange Management Console, and do not see an Exchange System Manager’s Recipient Policies container.

    Basically, with Exchange 2007, I have gone to the Org Config > Mailbox > Managed Default Folders (tab) and chose Deleted Items and Junk to retention periods of 14 and 5 days respectively. I set them to Retention Starts : When delivered, end date for calendar and recurring tasks. I then went to Managed Mailbox Policies and created a Delete Items policy, and added Deleted Items and Junk folders to be associated. I then went in to the shell and applied the policy to each mailbox.

    This has been configured about a week, and nothing is getting "automatically" deleted. Any ideas?

    • Diane Poremsky says

      It looks like it is for Exchange 2003. Did you set up a schedule? In the Exchange console, Server configuration node, select Mailbox. right click on the server in the top of the window and choose properties. set a schedule on the Messaging Records Management tab.

      Message Records Management

  7. Barry says

    good evening,
    I have for unknown reasons been receiving 20 or 30 junk emails to my junk folder. Whilst this is good I cannot figure out how to block more than one at a time and to do 20 is time consuming to state the obvious.
    Can you advise please how I add all to block senders list at the same time.

    • Diane Poremsky says

      If the junk filter is catching them, don't bother putting the addresses or domains on the blocked list. Spammers change domains too frequently and the blocked and safe lists combined are limited in how many entries your can have total. Save the space for addresses that are moved to junk and shouldn't be.

  8. hilton8r says

    I have 4 gmail accounts set up with outlook. Only emails from my safe sender list are sent to my inbox. I've set up rules to categorize, and move email into the default inbox. I would also like to do this for the junk/spam folders. I don't mind reviewing junk/spam etc... but would like to only have to monitor one folder. I know that I can run a rule against the junk folder, but would have to do it manually for each email account.

    Any ideas? I don't know much about vba, but did try to do it that way unsuccessfully.



    • Diane Poremsky says

      Unfortunately, when you use imap accounts each folder set has its own junk mail folders too. Google recommends turning off outlook's junk filtering and using only google's filter to avoid problems. This is my recommendation as well.

  9. Don says

    Hi Diane,

    We are using Outlook 2010 without an exchange server. I have a user that while in the inbox clicked on Folder/Cleanup Folder and everything in their inbox was deleted. I have tried many different things to recover their inbox and havent had any luck.

    In "googling" for a solution it seems as though we need to have an exchange server to recover the deleted messages. Is this so? How can I recover these messages that were deleted through Clean Up?

    Thank you,

    • Diane Poremsky says

      Recover deleted is an Exchange feature, so you are out of luck on that, but the missing items should be in the clean up folder if they are not in the deleted items folder. Unless the user did something silly, like emptied the deleted items too.

  10. Kenneth Held says

    Outlook 2013 Junk Email Filter

    Hi Diane.

    The "Delete All" feature where users also have the option to delete all suspected junk messages instead of having them moved to the Junk Email folder does not work with junk mail still being delivered to the Junk Email Folder instead of being permanently deleted.

    Why is this?


    • Diane Poremsky says

      What type of email account do you use? Look on the messages in the junk folder - does it say a program other than outlook marked them as junk email?

  11. Kenneth Held says


    I'm using a Hotmail account and not an Exchange account with a standard associated Hotmail Junk Mail folder.

    In any event, if there's an option in Outlook 2013 to permanently delete your emails instead of moving them to the Junk Mail folder, Outlook should be able to perform this function.

    Note that my Junk Mail contains no unsubscribe links so I there's absolutely no way for me to stop them from coming in unless I close my Hotmail account which is a real pain.


  12. EZ says

    Hi, I like to see a deleted message crossed but still in the mailbox until I purge myself.
    I know how to choose this option from account sittings, but it is not working. messages still go to deleted folder. I use outlook 2010.
    if the above is not easy to answer, my ultimate concern is that, when I delete a message, the cursor automatically goes to the following message and a few seconds later mark it as "read" which is really annoying. Again, I know how to extend the number of seconds, but that is not the goal.

    • Diane Poremsky says

      Mark as read problem: go to View tab, expand Reading pane button, choose Options. Uncheck the option to mark mail as read after a few seconds.

      So you have the imap account set to mark as deleted but they are getting moved to the deleted items folder instead of just being marked? This is with a gmail account?

  13. florencia says

    I have a folder that whenever I send an e-mail to it, the email automatically transfers to junk e-mail. I checked that the folder doesn´t have any autoarchive functions running. Why is this happening?

    • Diane Poremsky says

      What type of email account do you have? Does the InfoBar say that outlook moved it? Do you use a Samsung smartphone with that account?

  14. Aparna says

    is there anyway to create a rule in Outlook 2010 to delete a mail only after it is read or marked as read ?

    • Diane Poremsky says

      No, not with a rule. Rules only work as messages are downloaded. There is a rules addin called Auto-Mate that can run rules later and would work, or you can use VBA to move messages when they are marked as read (not recommended, it would be annoying and move messages as soon as you opened them). Or you could use a script or macro and run it manually every now and again. See for one vba example, which could be tweaked to apply to read messages.

  15. Andrew says

    In outlook 2013, why do my junk items disappear after I've read them but without me deleting them?

    • Diane Poremsky says

      Are you using IMAP with a view that hides read items? That is the usual cause.

  16. Ethel says

    Is the "Clean Up Folder" option only available on the primary Exchange mailbox? It's disabled when I select folders in my personal archive mailbox.

    • Diane Poremsky says

      It's only available for accounts listed in File, Account Settings. If the mailbox is added as a secondary mailbox, cleanup is not available.

    • Diane Poremsky says

      Manually? Select all (Ctrl+A) then either Del key or Shift + Del key. Calendar: switch to a List view first. You can also use a macro.

      ETA: the method on this page will work on any folder.

  17. Bob Levin says

    Diane, something is wrong, I never sent that question to you and wasn't even online then. As a former FBI Whistleblower my communications have regularly been tampered with and this seems to be the case. Maybe I should change my passwords this morning or did you reply to me by accident?????
    Best wishes;
    Bob Levin

  18. Bob Levin says

    Diane, this time I am confirming that it is me writing you with a question. This is not about Outlook and I'm not sure you can help, but Word 2007 has started doing something odd. Could you tell me what has suddenly happened to make my Word 2007 start populating temp files in my document folder; i.e., example "FAP1CB8.tmp".

    How can I stop this annoying problem?

    • Diane Poremsky says

      Word creates its temp files in the User's temp folder except for the Windows Locking file which is created in the home document folder (whether the server or local HDD) - that is the naming convention used by word (and excel).

      Here is a kb explaining the tmp files -

  19. Bob Levin says

    Thank you for the Word link. Yes, yesterday morning I recieved an email response from you and can return it via your email or screen shot with a full Internet header if that helps. You know a thousand times more about this then me. But like I said, the government could be screwing with me.

  20. Barnegat Blummis says

    Where is the Calendar folder.... I want to change its properties so it does not auto archive all the time when the other folders are autoarchiving.

    • Diane PoremskyDiane Poremsky says

      Right click on the calendar folder and choose Properties - click the Archive tab and change the settings.

  21. Phil Reinemann says

    Hi Diane, and others who might be reading.
    Is there any reason why some users' Deleted items folders would only have two weeks of deleted items? Mine go back 9 months. This is Outlook 2007 on Win7 Pro and we use an exchange server. Many/most of the users have iPhones with email via MobileIron. (I'll have to check if they have tablets or other computers accessing their email.)
    -Empty Deleted Items on exit is NOT set.
    -There are no rules set up, most of these people do not use VBA, and auto-archive is turned off for the Deleted items folder.
    -The exchange server admin has set no retention policy.
    -These are managed laptops with corporate group policies set up, and the users do not have admin rights.

    • Diane PoremskyDiane Poremsky says

      autoarchive is generally not available for exchange, which rules out another possible cause. if their phone is set to only sync 2 weeks, the phone could be deleting it as it ages. If one of the users could delete their account from the phone and use owa, you can see if old deleted mail hangs around longer.

      Is it in deleted items recovery?

  22. Phil Reinemann says

    The auto-archive is set up on the local Outlook client and essentially moves items from the local ost file to the archive.pst file. When it does that the mailbox on the exchange server effectively has those moved emails removed from the server. The accounts are all set up to leave messages on the server, exept when archiving.

    For their iPhones I'll have to see how they are set up. They likely use iOS 8, but I can only see what they might have by looking at my personal iPod Touch with iOS 5. On iOS 5 empty deleted items choices are after one day, one week, one month and Never (which is what mine is set to). Maybe iOS 8 has a two week delete. iOS 5 also has Delete from server after seven days, when removed from inbox and never (mine is set to never).

    With iOS 5 you can turn off an account instead of deleting it, so maybe I'll try that.

    Our users have more control over their iPhones. They aren't managed as well as the laptops we give them, and very few of them actually know what all the settings do or how they should be set.

    I'll see if I can get someone to recover deleted items.

  23. Maxx R says

    Hi, Diane:

    HowTo empty multiple "Deleted Items" folders simultaneously in Microsoft Outlook 2007 ?

    Multiple "Deleted Items" folders are from *.pst files for messages and RSS content, stored by year.

    Trying to avoid having to manually and routinely, visually check each folder when in Outlook, even when references to the folders are placed and grouped in Favorite Folders.

    Also, at least once/year Favorite Folders seems to reset to the default without warning, forcing a manual rebuild, by hand, of all of the previously stored folder references, including "Deleted Items" (is there a way to save Outlook's Favorite Folders?).

    Is there a VBA or macro or add-in solution to empty the multiple "Deleted Items" folders simultaneously ?

    A solution would be easier if there was a "Record a Macro" feature in MSOTLK 2007 to expose the API code when selecting the Empty "Deleted Items" Folder icon. Too bad.

    Tying or linking a reference - perhaps a registry key - of each desired folder to the default Empty "Deleted Items" folder icon would be the most obvious and efficient once, and done!

    TYVM. M.

    • Diane PoremskyDiane Poremsky says

      It would be possible to use VBA but it can be messy if you have a lot of folders. I might have some code around here that can do it.

      It sounds like the favorites folder is getting corrupted. You can copy the profile-name.XML file as a backup - it's in %appdata%\microsoft\outlook

  24. Dave Staats says

    Rules just do not work (another story). I would like a way to have anything put in the Outlook Junk folder automatically go to the Deleted folder. Is this possible? I have spent many hours creating rules to automatically delete stuff and it doesn't work. I check deleted items anyway so I'd not even need rules if I could just get it all to go to Deleted and bypass Junk. I'd pay for something like that but I don't see any tool to "forward" mail from one folder to another. Any ideas? BTW I have seen Slipstick for many years and I remember buying some great tools a while ago.

    • Diane PoremskyDiane Poremsky says

      Welcome back!

      Rules won't work on junk email - there is an option to delete junk mail instead of putting it in the junk folder or you can use autoarchive to delete it as it ages (best option if you are worried about "good" mail marked as junk).

      Junk Mail

      If this doesn't work, you can use an itemadd macro to watch the junk folder and delete.

  25. Dave Staats says this is where I believe Microsoft to be either stupid or willfully ignorant. I have set up dozens of "rules" over the years that say 'delete it and stop processing more rules'. Even when I turn off junk filtering they still go to the junk file instead of deleted folder. The option you point out doesn't give me the chance to check it in the deleted folder before I "really" delete it...or as it says "permanently" delete it. If I could just "regular" delete it everything would be great. If the rules worked everything would be great. I just do not understand why they make something so incredibly simple SO hard. Do you have a tool or solution for this?
    I anticipate what MS might say but I just want to save a step and deal with everything in the deleted folder.

    • Diane PoremskyDiane Poremsky says

      Does your antivirus or mail server check for spam? That is the common cause of junk still getting filtered with the junk setings off. The infobar on the message in the junk folder will say if outlook moved it or if something else did - you won't know what the something else was, only that it wasn't moved their by outlook.

      Rules can be funky depending on the account type (imap, because headers are loaded first, especially in 2010 and older), the format (html, sing words in the body conditions), or addresses (words in the header works best). Spammers use tricks in html mail to make filtering difficult, they change addresses often, making filtering on addresses difficult.

      It's usually better to have the server scan mail as it arrives - they use better filters that assigns points to questionable elements and mark it spam when it hits a specific number of points. They can mark mail within a certain range as spam and delete messages with a high spam confidence level. This way you don't have to download a lot of junk.

  26. Dave Staats says

    I don't have anything between Office 365/Exchange and my Inbox and this has been this way in every setup I have had for maybe 15 years. I really don't care about how much I get or download because I am pretty careful with my addresses. I am only concerned with how Outlook handles it. I just don't see why I can't have some kind of code that says "forward anything intended for the Junk folder to the Deleted folder". I'm not a coder but this seems like it should be easy. I want this for everything going to that folder. It is what the rules are supposed to do on a selected (those messages I made rules for) basis. I just want it to do that for everything or for at least the rules I made.

    • Diane PoremskyDiane Poremsky says

      You'd need to use an itemadd macro for that - it would watch the junk folder and move the stuff to the deleted items folder. The second macro on the page, with the attachment stuff removed (which is all but the move line in the itemadd macro portion) - will do it. use this for the move line:
      Item.Move (Session.GetDefaultFolder(olFolderdeleteditems))

      use this as the folder to watch in the application_start portion:
      Set olInboxItems = objNS.GetDefaultFolder(olFolderJunk).Items

Leave a Reply

Please post long or more complicated questions at OutlookForums by

If the Post Comment button disappears, press your Tab key.