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 February, 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 = ""
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


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


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 = ""
Value = False
Set oFolder = Session.GetDefaultFolder(olFolderCalendar)
Set oPA = oFolder.PropertyAccessor

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


Office Protected View How to remove/disable Protected View
An easy step-by-step guide how to disable the senseless Protected View feature of Microsoft Office under a minute!

Outlook Duplicate Remover How to Remove Duplicate Emails on Outlook
There is only one thing more annoying than duplicate emails: Outlook’s stupidity not to provide a feature that does! Here is the solution…

Service Error Message in Windows How to change Services Status Through Registry in Windows
Sometimes it’s not possible to change the services state of a service in Windows through the usual tool. Some may experience “The parameter is incorrent” and other error messages. This fast workaround shows how you can change that status anyway.

How to delete Outlook 365 Search History How to delete Outlook 365 Search History
It can’t be annoying if Outlook 365 keeps your search history and there is no way for you to delete it. This problem has been discussed in a lot of forums and so far nobody seems to find a solution. However, the solution is quite easy, it just needs a little trick. I will show you how to delete your history in 3 easy steps.

How to start Windows Defender How to Restart Windows Defender
Don’t tell me your Windows Defender won’t start – because no matter how hard you click on that button “Restart now” nothing happens. It’s totally ignoring you. But no worries. As it seems that we as users are smarter than Microsoft Developers. Because here is the simple trick how to solve it.

How to remove Outlook folders How to remove annoying Outlook Folders
Have ever used these useless folders such as “Journal”, “Tasks”, “Notes” and “RSS Feeds”? No you haven’t, you know why? Because nobody has. But Microsoft insists you see them every day, because there is no option to remove them. Here is a simple hack how to get rid of them for once and for all!

How to stop desktop icons from moving How to stop desktop icons from moving to another screen
Since the last Windows 10 update, Microsoft thinks it’s a great idea to randomly move your icons to another screen. When Windows does what it wants without asking, emotions usually run high. This could be the beginning of an artificial intelligence Windows – or more likely: Microsoft developers are just morons (tell me something I don’t know).

Photoshop too slow Photoshop Brush Lag / Slow: How to Solve the Error
Is your Photoshop brush lagging and is too slow? When the brush lags like this it causes you to drive zigzag lines. It can be helpful to write zigzag lines sometimes – but especially when you’re trying to draw a round line, a zigzag is not the best way to go, right? Here is a quick guide to solve your problem for once and for all.

Search Bar Windows Where is the Search Box in Windows 10?
Are your searching for the search? Has your Windows Search Box disappeared, too? Well, have you looked under the sofa? And didn’t find it there? Well, then this guide will help you how to get your search box back. Because it’s there… you’re just not looking at the right place.

31 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?


  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.

    Set oFolder = Session.GetDefaultFolder(olFolderCalendar)

    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


    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.


  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 = “”
    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)


    Option Explicit

    Public Sub HideFolders()

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

    PropName = “”
    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 = “”
    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 = “” 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?

Leave a message: