How to Remove Outlook Folders

Remove Annoying Folders from Microsoft Outlook

Let's make these annoying Outlook folders disappear!

So you want to hide these annoying folders under Outlook such as “Journal“, “Notes” “RSS Feeds“, “Tasks“.

You have tried everything, clicked right mouse button, tried settings, hit delete… nothing, right?

They are just taking space and attention and are absolutely useless for an email client. Nobody needs them and if you ask around, nobody uses them. So why are they there? Nobody really knows. Probably not even Microsoft.

Here is the solution. With only one simple action, you can make them disappear – it’s like a magic trick!

Just follow these steps precisely and you shall have them removed in no time.

But before you do, imagine these folders as a pencil:

Before you start (update May, 2020)

Make sure you have not selected or marked the “Inbox”, “Sent” or any other important folder before you run the script described below. It seems that many users had so much fun removing the folders, they have accidentally removed important folders and have difficulties unhiding them. It’s recommended that your read the user comments below the article.

Step 1: Preparations

Go to the File at the menu and click at “Options”, then go to “Trust Center”, click “Trust Center Settings”, in there click “Macro Settings” and select “Notification for all macros” like this:

How to remove folders on Outlook

Step 2: Click on the useless Outlook folder

Yes, click the folder you want to make disappear. Let’s start with that folder RSS Feeds. I mean, who uses RSS Feeds nowadays – that was 15 years ago – gosh!

Remove RSS Feed Folder Outlook

Step 3: Writing a script

Now you are going to write a script but don’t worry. I’ll tell you exactly how.

Press ALT+F11.

If a security warning pops up called “Microsoft Outlook Security Notice”, just press “Enable Macros” to continue.

Microsoft Outlook Security Notice

A new windows should open up called “Microsoft Visual Basic for Applications” that should look like this – don’t be scared. That’s your salvation!

Microsoft VBA

All you have to do now is to go to “Microsoft Outlook Objects”, press right mouse button, then go to “Insert” and then “Module”. Here, let me show you:

Microsoft VBA Insert Module

A new window should appear on the left side. Now put this code in there:

Option Explicit
 
Public Sub HideFolders()

Dim oFolder As Outlook.Folder
Dim oPA As Outlook.PropertyAccessor
Dim PropName, Value, FolderType As String

PropName = "http://schemas.microsoft.com/mapi/proptag/0x10F4000B"
Value = True
 
Set oFolder = Application.ActiveExplorer.CurrentFolder
Set oPA = oFolder.PropertyAccessor

oPA.SetProperty PropName, Value
 
Set oFolder = Nothing
Set oPA = Nothing
End Sub

This is how it should look like on your end:

VBA Script Hiding Folders Outlook

Step 4: Run that script!

That’s it! Run the script and the folder will disappear. How to run the script? Easy – see that “Run” feature on the menu… it’s this one here:

How to run VBS Script

Done!

You can repeat this by clicking any other folder, than going back to the “Microsoft Visual Basic for Applications” window and run the script again, until all these useless outlook folders are gone.

How to Unhide a Folder

If you accidentally hid a folder such as Calendar, Inbox or want to unhide any other folder, just change this line:

Set oFolder = Application.ActiveExplorer.CurrentFolder

to this one:

Set oFolder = Session.GetDefaultFolder(olFolderCalendar)

and also change this line

Value = True

to

Value = False

This is how it should look like if you want to unhide the Calendar for example:

Option Explicit
 
Public Sub HideFolders()

Dim oFolder As Outlook.Folder
Dim oPA As Outlook.PropertyAccessor
Dim PropName, Value, FolderType As String

PropName = "http://schemas.microsoft.com/mapi/proptag/0x10F4000B"
Value = False
 
Set oFolder = Session.GetDefaultFolder(olFolderCalendar)
Set oPA = oFolder.PropertyAccessor

oPA.SetProperty PropName, Value
 
Set oFolder = Nothing
Set oPA = Nothing
End Sub

Comments and discussions are on the bottom of the page. Thank you.

VPN Software Test 2020
Top VPN Tools 2020: Tested & Reviewed Don't Let Them Spy on Your Data!

LIST OF TOP VPNs

Top Antivirus Tools | Update May, 2020

1
SYMANTEC Norton Security Antivirus 2020
Norton Antivirus 2020
Review 5.0

starts at $29.99

Order now
Norton Antivirus is one of our review winners in 2020. No other antivirus software offers such impressive virus protection in the market right now. This may change in the future as the market is constantly changing.
2
AVG Internet Security 2020
AVG Antivirus Internet Security
Review 5.0

starts at $49.99

Order now
In 2020 AVG began offering unlimited install features for their antivirus software. For everyone, but especially families, this is one of the best bargains of the year. The interface couldn’t be any easier to use, and the malware protection is solid.
3
Avast Pro Antivirus 2020
AVG Antivirus Internet Security 2020
Review 4.9

starts at $47.99

Order now
One of the advantages of Avast 2020 is not just it’s reliability and broad antivirus protection but also the price. At only $47.99, it’s one of the most affordable deals you can find among reputable antivirus tools.
4
Bullguard Antivirus 2020
Bullguard Antivirus
Review 4.7

starts at $23.99

Order now
Bullguard may not be as famous as the big market players, but it’s unequivocally one of the best antivirus software in the world. It was developed by hackers and computer enthusiasts from a small UK company. As the price suggests, they are driven by passion, not for as much profit as other bigger competitors.
5
Panda Security 2020
Panda Security 2020
Review 4.7

starts at $35.39

Order now
Panda is not only the cheapest, but is actually one of a kind: They invented the first artificial intelligent virus protection in the world that recognizes unknown viruses. It works so well that they became extremely popular in Europe, and are being praised by hackers.
6
Kaspersky Antivirus 2020
Kaspersky Antivirus 2020
Review 4.5

starts at $29.99

Order now
With over 400 million users, over 20 years of experience, and 270,000 corporate clients, Kaspersky Lab technologies is a strong cybersecurity company. This company offers an array of powerful products such as Kaspersky Total Security 2020, Kaspersky Anti-Virus, Kaspersky Internet Security and more.
7
McAfee Antivirus 2020
McAfee Antivirus 2020
Review 4.4

starts at $44.99

Order now
McAfee has been around for more than 30 years, making them one of the oldest virus protection companies on the market. Due to restructuring of the company over the last years, the company has successfully created a new product fit to satisfy customers in 2020.
8
Avira Antivirus Pro 2020
Avira Antivirus
Review 3.0

starts at $30.99

Order now
AVIRA Antivirus is one of the most popular virus protection software. They’ve been famous for years for their free antivirus offering. The paid version is as good as the free version but without ads. For only $30.99, they make switching to the professional version worth it.

Our reviews are compliant with FTC 16 CFR Part 255
As an Amazon Associate I earn from qualifying purchases

Recent Articles About Software SHOW ALL ARTICLES

43 comments for “Remove Annoying Folders from Microsoft Outlook

  1. Kyle,
    February 26, 2018 at 5:30 pm

    I love that I could finally remove the unwanted default folders!
    Unfortunately, I ran this one too many times and hid one of my non-default folders and I am unable to unhide it using the above steps. This folder is not a default folder and does have spaces in the folder name. Will I be able to unhide it by tweaking the script further?

    Thanks!

  2. Alan,
    February 27, 2018 at 8:48 pm

    Thank you very much! Those useless Outlook folders make me nuts. I hope this solution lasts!

  3. John,
    April 30, 2018 at 9:12 am

    Brilliant !! If it wasn’t for you I’d be stuck with all these stupid folders i don’t need.
    Microsoft support is useless!

    Thanks to you all.

  4. Julie,
    June 8, 2018 at 7:25 pm

    Worked for me! I was spending so much time trying to maximize my sidebar space, and this helped a lot. Thanks so much.

  5. Bradley R. Turner,
    June 29, 2018 at 2:56 pm

    This was working great for me until I accidentally hid my inbox. I can’t unhide it by the method you describe because it’s not the default inbox in Outook because it’s on a secondary account. I’m desperate to unhide the Inbox and subfolders because they are where I store everything that comes into either of my two accounts. Can you please help me target that folder in that data file in the profile?

  6. Eric,
    September 6, 2018 at 4:41 pm

    Kyle, I have your answer. Just figured it out myself (complete luck)! Bradley maybe this will work for you too.

    replace:
    Set oFolder = Session.GetDefaultFolder(olFolderCalendar)

    with:
    Set oFolder = Session.GetDefaultFolder(olFolderRssFeeds).Parent.Folders(“name of non-default folder”)

    From what I can tell, [.Parent] takes you up to the top account level from whatever default folder you picked (i picked RssFeeds). From there [.folders(“xxx”)] lets you select any non-default folder. I think you could get to sub-folders in the same way, just keep going as follows

    Set oFolder = Session.GetDefaultFolder(olFolderRssFeeds).Parent.Folders(“name of non-default folder”).Folders(“sub folder”).Folders(“sub sub folder”)…etc.

    I was so happy to figure it out I thought I should share.

  7. Bryce,
    September 17, 2018 at 2:20 pm

    Eric,

    Do you think you can elaborate on the sub folders. I have done the same thing as Kyle and Bradley. I have been able to retrieve my Inbox folder, but have not been able to retrieve all of my sub folders within the Inbox Folder.

    For Example:
    I would like to retrieve “thExchange” sub folder, which used to sit as a subfolder to my Inbox Folder.

    I’m definitely in over my head. I hoping I haven’t screwed myself on this one.

    Thanks.

  8. Mandee,
    October 3, 2018 at 8:25 pm

    This completely jacked up my whole outlook. Now it show’s nothing and throws all kinds of errors on startup. I also accidentally deleted my inbox and some other folders. I then in turn deleted all of the new modules I created and am now in a real mess. I have uninstalled and reinstalled and still have nothing :(

  9. Mandee,
    October 4, 2018 at 1:20 am

    My modules are gone, my folders are gone, now what?

  10. AG,
    October 28, 2018 at 7:10 am

    That Joker video clip was totally uncalled for and totally uncool. It’s really not cool to expose people to such visual in such unrelated and surprising way. Sickening, really.

  11. Marilyn,
    November 13, 2018 at 2:18 pm

    I followed your instructions step by step but Step 2: Click on the useless Outlook folder, nothing showed up. I am on Windows 10 office 365

  12. Bryan,
    April 3, 2019 at 8:59 pm

    Wow. This worked perfect in Microsoft 365!!!! – 4.3.19

  13. Mathew,
    August 17, 2019 at 5:19 pm

    Perfect. It worked for me.

  14. Tony,
    August 28, 2019 at 4:45 pm

    Fantastic! I loved your comment about RSS Feeds being 15 years old. LOL Thank you for providing the necessary steps. Very informative!

  15. Jens,
    October 2, 2019 at 9:20 pm

    Works like a charm for the “RSS Feeds”.
    Finally I got rid of this scrap. Thanks a lot.

    !!! Be careful with the SEARCH FOLDER !!!

    If you select “Search Folder” (for me at least as annoying as e.g. “RSS Feeds”) the selection will not move to that one (though it is marked blue, so one could think it is selected). The selection remains with whatever had been selected before. If that was the INBOX you will see that one (still) shaded gray in the folder pane (and the reading pane will show emails from the INBOX). This also means that the VBA code will make your INBOX invisible.

  16. The Wannabe,
    October 3, 2019 at 9:36 am

    How about providing a way for deleting the code entirely and starting over ?!

    I accidentally deleted too many folders (not realizing, for example, that deleting the calendar actually hides all of your schedule items).

    I tried by restoring my computer to a previous version from 4 days earlier, but the code itself is still in effect.

    This is dangerous advice if you tell people to do something which cannot be readily fixed.

    I have lost 4 hours over this.

    This is just a warning to anyone else who might try the above.

    Be forewarned – if you make a wrong step you will probably have to reinstall Outlook entirely.

  17. The Wannabe (again),
    October 9, 2019 at 4:59 am

    Ok, so I see now that the warning above has been bolded in red – I think this is a new development after my last post.

    So I really did try to be extra careful – because computer noobs shouldn’t be playing around with scripts – but still, there were 2 items I accidentally hid (not sure how) which I could not readily show again.

    I tried a ‘prior restore’ of my hard drive to September 28, but that did not resolve this matter.

    Our IT guys then (begrudingly) reformatted by computer – but again, this did not resolve this matter.

    In the end, this script – once applied – affects all the way to the server level, so in a sense it can never be removed…!!! This means that the effects of this script will affect your smart phone as well as Office 365 !!!

    Having said that, however, our IT guys did what I tried to do originally – namely use the 2nd script above which “re-shows” the hidden folder. My problem was that aside from “Calendar”, I did not know the exact names of the other folders.

    So here are 2 of them we figured out:

    “Junk” (not “Spam” or “Junk E-mail” or “Junk Items” etc.).

    “Outbox” (not “Sending E-mails” – I mean the folder that shows when e-mails are in the process of being sent out, but not yet sent out).

    I also needed “Calendar”, but that example has already been provided above (otherwise, I might have first fumbled around with “Schedule” “Scheduler”, etc.).

    I think if people mistakenly hide any items, the workaround is to find the proper name to show it again.

    So if anyone has any other names to provide, that might help other people (but as for me, I have found what needs to be found).

    Lastly, to reiterate, I thought removing “Calendar” as a folder was no big deal, as there already is a “Calendar” icon at the bottom. However, doing this will hide all of your scheduled items (meetings, conference calls, reminders, etc.). So removing the “Calendar” folder is absolutely not an option. Do not hide “Calendar”.

    Ok website guys, I give you high marks for (i) providing this script in the 1st place, and (ii) posting my original rant – I thought for sure it would have been deleted.

    Cheers, and I wish you and everyone reading this page, all the best peace and happiness.

  18. The Wannabe (yet again),
    October 9, 2019 at 5:07 am

    Ok, just as I was leaving this site, I happened to catch post #15 by Jens at the last second. I suppose I did not see it because it was sent just the day before (Oct. 2), and probably did not appear when I was actually running the script (Oct. 3).

    But I think the issue he raised is EXACTLY what happened to me. EXACTLY. Being as extremely careful as I was, but still making a huge mistake, I had a deep suspicion that something like what he described actually happened.

    Thanks for posting that Jens, and everyone else, be forewarned. If you are not careful, this method will trick you into thinking you are removing one folder, when in fact removing others.

    Cheers, all.

  19. Joan Black,
    October 12, 2019 at 11:35 pm

    How do I get rid of the Junk folder completely. Have it on lowest protection and it collecting what I wanted to read as arrived.
    Having to resend to me and then I can read it as it came.
    . Yikes! I am 91 years old and this kid protection is driving me nuts.

  20. The Wannabe,
    October 27, 2019 at 1:22 am

    I am not a computer expert, but it seems no one else is answering.

    First, I applaud you for being 91 years old and even touching a computer. If I ever reach that age, I will certainly not be using any technological device.

    Second, I am not sure removing the Junk folder completely is possible, or even wise. I have friends who e-mail me regularly, and sometimes their e-mails appear in my Junk folder, and sometimes they do not. It seems completely random and I believe there is no logical reason for this.

    I wish you continued long life and good health…!!

  21. Armando,
    November 15, 2019 at 3:17 pm

    I also Accidentally hid my “Personal Folders”, but was able to restore them using Eric’s fix. Here is what it looks like, which may help a little more as it took me a some trial and error:

    Option Explicit

    Public Sub HideFolders()

    Dim oFolder As Outlook.Folder
    Dim oPA As Outlook.PropertyAccessor
    Dim PropName, Value, FolderType As String

    PropName = “http://schemas.microsoft.com/mapi/proptag/0x10F4000B”
    Value = False

    Set oFolder = Session.GetDefaultFolder(olFolderJournal).Parent.Folders(“Personal Folders”)
    Set oPA = oFolder.PropertyAccessor

    oPA.SetProperty PropName, Value

    Set oFolder = Nothing
    Set oPA = Nothing
    End Sub

  22. noname,
    November 16, 2019 at 12:42 pm

    Amazing…VERY easy.. and TAKE NOTE not to rush… as its SO EASY… I can see how people have hid more folders than they wanted to!! Now i can see all my inboxes/email accounts without having to scroll down… ridiculous this is not an out of the box option in outlook…

  23. Sonic,
    November 18, 2019 at 11:23 am

    to show your hidden folders try creating a new subfolder. For example personal2. This refreshes the inbox and you will see the hidden folders too. Also try to run the code below: (use copy paste because its a different code in some areas than the one some guys suggested)

    run:

    Option Explicit

    Public Sub HideFolders()

    Dim oFolder As Outlook.Folder
    Dim oPA As Outlook.PropertyAccessor
    Dim PropName, Value, FolderType As String

    PropName = “http://schemas.microsoft.com/mapi/proptag/0x10F4000B”
    Value = False

    Set oFolder = Session.GetDefaultFolder(olFolderInbox).Folders(“Personal”)
    Set oPA = oFolder.PropertyAccessor

    oPA.SetProperty PropName, Value

    Set oFolder = Nothing
    Set oPA = Nothing
    End Sub

  24. Croots,
    November 20, 2019 at 12:01 am

    Does anyone know what the Sent Items folder is called to try to bring it back?

    I accidentally deleted a couple too many folders. I was able to get the missing ones back except for Sent Items. It must be called something else in Outlook source code. I tried SentItems, SentItem, Sent and none of those worked. Just gives me an error.

    Hopefuly someone figured out what its called.

  25. Geoff,
    November 21, 2019 at 4:49 pm

    Hi. Lost at Step 1: Preparations

    – Go to the File at the menu and click at “Options”.

    Where is this??? There is no “Options” entry under the File menu?
    Or is this method not suitable for Office 2007?

  26. AMA,
    November 23, 2019 at 9:25 pm

    anyone know how to unhide the “Deleted Items” folder? I’ve tried the code above and used “deleted”, “deleteditems”, “deleted_items”, “delete” and none work.

  27. Jade,
    November 28, 2019 at 10:00 am

    Hi guys,

    I can’t get my inbox folder back even after trying the following:

    Public Sub HideFolders()

    Dim oFolder As Outlook.Folder
    Dim oPA As Outlook.PropertyAccessor
    Dim PropName, Value, FolderType As String

    PropName = “http://schemas.microsoft.com/mapi/proptag/0x10F4000B”
    Value = False

    Set oFolder = Session.GetDefaultFolder(olFolderInbox)
    Set oPA = oFolder.PropertyAccessor

    oPA.SetProperty PropName, Value

    Set oFolder = Nothing
    Set oPA = Nothing
    End Sub

  28. Denisse,
    December 3, 2019 at 10:19 pm

    I have a question, I hided an RSS Feeds folder, but some emails were getting in that folder before I deleted it. My question is if future emails that are rss feeds now on they will enter into the inbox folder?

  29. John L,
    December 20, 2019 at 7:54 am

    When I run the script I get a popup message saying “The macros in this project are disabled. Refer to online help etc”. Checked the Trust Centre settings and are as stated. Running a fully up to date Windows 10 computer with MS Outlook 2019 installed. Is there another setting that needs changing?

  30. Rein W.,
    January 29, 2020 at 12:57 pm

    PropName = “http://schemas.microsoft.com/mapi/proptag/0x10F4000B” is unknown, because the number 0x10F4000B is not valid. How should I proceed? Thanks a lot!

  31. Steve,
    February 10, 2020 at 2:29 pm

    I hid the “bulk mail” folder and would like it back. Trying to unhide “bulk” “bulkmail” “junk” have all not worked. Is there somewhere where I can see what all the folders including the hidden ones are called?

  32. Pink Floyd 4Ever,
    March 15, 2020 at 2:11 am

    Hi!
    For Sent Items –> Do SentMail


    Croots,
    November 20, 2019 at 12:01 am

    Does anyone know what the Sent Items folder is called to try to bring it back?

    I accidentally deleted a couple too many folders. I was able to get the missing ones back except for Sent Items. It must be called something else in Outlook source code. I tried SentItems, SentItem, Sent and none of those worked. Just gives me an error.

    Hopefuly someone figured out what its called.

  33. Joe,
    March 15, 2020 at 2:13 am

    For Sent Items, name is ——-> SentMail

  34. Luc,
    March 17, 2020 at 7:31 am

    Try using MFCMAPI

  35. Windsurfer,
    March 17, 2020 at 3:09 pm

    Works Like a Charm

  36. Wil,
    March 17, 2020 at 3:20 pm

    I Accidentally deleted my Sent Items folder and would like it back
    I have tried all variations of (olFolderSentItems) but no success.
    Any ideas ?

    Regards

  37. Kyle,
    March 27, 2020 at 7:35 pm

    If you have multiple email accounts inside of outlook, make sure that you change the default email account when using the script above to recover a folder you accidentally deleted. For example, “Set oFolder = Session.GetDefaultFolder(olFolderCalendar)” If you notice in that quote it says “GetDefaultFolder”. Basically it’s looking at whatever email account is the default email account and default data file inside of outlook. To change, go to file at the top left, account settings, and select the email account corresponding to the folder you hid and set it as the default. Don’t forget to go to the “Data Files” tab and change the default as well. Once you’ve done the following steps, type in the macro shown above for recovering a folder and make sure you change “Calendar” to whatever the folder’s name you are trying to unhide. Be sure to change your default email and data file when you have fixed the issue.

  38. Wil,
    March 28, 2020 at 2:59 pm

    Hello
    I did all you said but when i run the script i get the error message “Compile error Variable not defined”
    I accidentally delete my sent items folder.

    Public Sub UnHideFolders()

    Dim oFolder As Outlook.Folder
    Dim oPA As Outlook.PropertyAccessor
    Dim PropName, Value, FolderType As String

    PropName = “http://schemas.microsoft.com/mapi/proptag/0x10F4000B”
    Value = False

    Set oFolder = Session.GetDefaultFolder(olFolderSentItems)
    Set oPA = oFolder.PropertyAccessor

    oPA.SetProperty PropName, Value

    Set oFolder = Nothing
    Set oPA = Nothing
    End Sub

  39. Wil,
    March 28, 2020 at 3:03 pm

    Well now I changed the SentItems to SentMail and works like a charm.
    Thank you much Joe

  40. Z,
    March 30, 2020 at 3:49 am

    One tip: If you have two exchange email accounts, such as one from your work and one from outlook.com (hotmail.com), make sure that you delete one account from outlook first so outlook can hide or recover hidden folders without issues. Then you can configure the other one.

  41. Steve,
    April 22, 2020 at 1:53 pm

    LOVE … IT

    Thanks!

  42. Kenneth,
    April 22, 2020 at 6:04 pm

    I am getting an error on the “Public Sub HideFolders()” line when I attempt to add a folder back. Should this read something different?

  43. Bob B.,
    May 21, 2020 at 2:01 pm

    Thank you!

    This has annoyed me for many years, so I followed the very clear instructions and the folder list is now much improved!

    And just in case, I saved it with the name RemoveFolder!

Leave a message: