Gmail filter not working? The 6 causes, and how to find yours
A Gmail filter that has worked for two years stops working, and nothing tells you. No error, no warning, no entry in a log. The mail just starts appearing in your inbox again, and by the time you notice, a few hundred messages have arrived where they should not have.
Gmail gives you no way to ask did this filter run? — so the debugging has to be done backwards, from the mail that got through. There are six reasons this happens, and they are distinguishable.
1. The filter only ever applied to new mail
This is the most common one, and it is not really a failure — it is a misunderstanding of what Gmail filters do. A filter runs at delivery. Creating one does nothing to the mail already sitting in your account.
Gmail does offer a checkbox — Also apply filter to matching conversations — but it is easy to miss: it is unticked by default, when you create a filter and again when you edit one, and it runs once, when you save. So a filter you tightened last month and saved without ticking it is applying its new rule to new mail while the old rule's mistakes stay exactly where they are.
How to tell: search for the filter's criteria directly. If the matching mail is all older than the filter, the filter is working fine and was simply never applied retroactively.
2. The sender changed their From address
Filters keyed on from: break the moment a sender moves infrastructure. Newsletters are the worst offenders — a company switching from Mailchimp to their own domain, or from news@brand.com to hello@mail.brand.com, breaks every filter that named the old address, and nobody announces it.
How to tell: open one of the messages that got through and look at the actual From address, not the display name. Gmail shows you the friendly name by default, and the friendly name is usually unchanged — which is exactly why this one is hard to spot.
The fix that lasts: filter on the domain rather than the mailbox. Gmail has no wildcard character, so a bare domain in parentheses already matches every address there — no * needed. from:(@brand.com) survives a sender moving from news@ to hello@. It does not survive a move to a different domain, but nothing does.
3. Another filter matched first and stopped the chain
Gmail applies every matching filter, in the order they were created — but some actions end the story. A filter that deletes a message, or one that archives it, changes what the later filters see. If an early filter archives everything from a domain and a later one was supposed to label a specific message from that domain and keep it in the inbox, the label gets applied to a message you will never see.
How to tell: the mail is not missing — it is labelled correctly and archived. Search for the label and it is all there.
4. The criteria were always slightly wrong
A filter can look correct and match nothing. The usual causes:
has:attachmentdoes not match inline images, so a newsletter full of pictures has no attachment as far as Gmail is concernedsubject:matches words, not substrings —subject:invoicewill not matchInvoices- quoted phrases match exactly, so a single extra space in the original stops the match
to:matches the visible recipient, so mail reaching you via an alias or a group often has someone else in it entirely- negations bind more tightly than people expect:
from:a OR from:b -subject:xdoes not exclude x from both
How to tell: paste the filter's criteria into the Gmail search box. A filter's criteria use the same operators as search, so if the search returns nothing, the filter matches nothing. One exception: a filter runs as each message arrives, so operators about what happens to mail later (is:, in:, label:, older_than:) can match in search and still fail in a filter. Leave those out and this is the single most useful debugging trick, and it is the one almost nobody uses.
5. The label was renamed or deleted
A filter that applies a label you later deleted does not warn you. Rename a label and Gmail usually follows the rename in the filter, but delete one — or rename it in a way that splits a nested hierarchy — and the action silently has nowhere to go.
How to tell: open Settings, Filters and Blocked Addresses, and read the filter list. A filter whose action refers to a label that no longer exists usually reads oddly, or names a label you do not recognise. With a long list, export it instead (select all, then Export) and give the file to the free filter checker: it names every filter that does nothing to its mail, where a filter whose label was deleted usually ends up.
6. You are over the filter limit
Gmail caps filters per account. Past the cap, new filters fail to save — and the failure is a small message that is easy to click past, leaving you certain you created a filter that does not exist.
How to tell: count the filters in Settings. If you are anywhere near a thousand, consolidate before adding more — several narrow filters with the same action are almost always expressible as one with an OR. The same filter checker counts them and lists the copies, and the filters doing the same thing to different senders: the ones to merge.
A faster way to find the broken one
The pattern in all six is the same: the only reliable signal is what the criteria match right now, against the mail actually in your account. Everything else is inference.
- Find a message that should have been caught and was not.
- Open its full headers and read the real From address, not the display name.
- Paste your filter's criteria into the search box and see whether that message comes back.
- If it does not, the criteria are wrong. If it does, something later in the chain moved it.
This is tedious by hand. Gmail Filters gives every rule as a Gmail search you open in one click, so you see what it catches before you import it, and its filter checker reads your exported filters and points out copies, overlaps and filters that do nothing.
The one filter worth having regardless
Whatever else you do, a filter that labels rather than archives is easier to debug than one that hides mail. Label first, live with it for a week, then add the archive action once you trust it. A filter that labels wrongly is a nuisance; a filter that archives wrongly is mail you never see.
Write the filter in a sentence. Gmail Filters turns "archive LinkedIn and mark it read" into a Gmail filter, opens its search in Gmail so you see what it catches, and gives you the file to import. Free, and you can try it without signing in.
Try it free