diff --git a/core/wiki/macros/toc.tid b/core/wiki/macros/toc.tid
index a925e7ee5..a3f5b002a 100644
--- a/core/wiki/macros/toc.tid
+++ b/core/wiki/macros/toc.tid
@@ -118,7 +118,7 @@ tags: $:/tags/Macro
<$set name="toc-item-class" filter=<<__itemClassFilter__>> emptyValue="toc-item-selected" value="toc-item" >
>>
<$link to={{{ [get[target]else] }}}>
- <$list filter="[all[current]tagging[]$sort$limit[1]]" variable="ignore" emptyMessage="<$button class='tc-btn-invisible'>{{$:/core/images/blank}}$button>">
+ <$list filter="[all[current]tagging[]$sort$limit[1]] -[subfilter<__exclude__>]" variable="ignore" emptyMessage="<$button class='tc-btn-invisible'>{{$:/core/images/blank}}$button>">
<$reveal type="nomatch" stateTitle=<> text="open">
<$button setTitle=<> setTo="open" class="tc-btn-invisible tc-popup-keep">
<$transclude tiddler=<> />
@@ -145,7 +145,7 @@ tags: $:/tags/Macro
<$qualify name="toc-state" title={{{ [[$:/state/toc]addsuffix<__path__>addsuffix[-]addsuffix] }}}>
<$set name="toc-item-class" filter=<<__itemClassFilter__>> emptyValue="toc-item-selected" value="toc-item">
>>
- <$list filter="[all[current]tagging[]$sort$limit[1]]" variable="ignore" emptyMessage="""<$button class="tc-btn-invisible">{{$:/core/images/blank}}$button><>""">
+ <$list filter="[all[current]tagging[]$sort$limit[1]] -[subfilter<__exclude__>]" variable="ignore" emptyMessage="""<$button class="tc-btn-invisible">{{$:/core/images/blank}}$button><>""">
<$reveal type="nomatch" stateTitle=<> text="open">
<$button setTitle=<> setTo="open" class="tc-btn-invisible tc-popup-keep">
<$transclude tiddler=<> />