- Building a Gmail filter from the search box
- Making a Gmail filter from an email you already have
- What a Gmail filter can do with an email
- Filters that forward mail: what to know
- Finding, editing and deleting a Gmail filter
- Backing up and moving Gmail filters
- Choosing good search criteria for a Gmail filter
- Thinking about what happens to filtered mail
- Filters worth setting up in a small business inbox
- If your Gmail filter isn't working
- Frequently asked questions
To create a filter in Gmail, click Show search options in the search box, enter your criteria, click Create filter, choose what it should do and click Create filter again. Filters can label, archive, star, delete or forward mail.
A filter is Gmail's version of a personal assistant. You tell it once, 'anything from this sender goes to that label', and it carries on doing the sorting while you get on with real work. For anyone whose inbox doubles as a to-do list, it's the best hour you'll spend.
Here's how filters work on a computer, what they can do, and a few examples for a small business, from Gmail's help pages.
Building a Gmail filter from the search box
- Open Gmail on your computer.
- In the search box at the top, click Show search options.
- Enter your search criteria, such as a sender, a subject word or an attachment.
- To check the search works, click Search and see what emails show up.
- At the bottom of the search window, click Create filter.
- Choose what you'd like the filter to do.
- Click Create filter.
That check in step four matters more than it looks. The filter acts on whatever your criteria match, so a quick look at the results stops you sending the wrong things somewhere you won't see them.
Making a Gmail filter from an email you already have
If there's a message in your inbox that's typical of what you want to catch, start from that instead:
- Tick the box next to the email.
- Click More.
- Click Filter messages like these.
- Enter or adjust your filter criteria.
- Click Create filter.
What a Gmail filter can do with an email
Google says filters can send email to a label, or archive, delete, star or automatically forward your mail. That gives you a handy menu of jobs:
- Apply a label, so client emails land in the right place.
- Skip the inbox by archiving routine notifications.
- Star the messages you don't want to miss.
- Delete mail you never want to see.
- Forward certain messages on to a bookkeeper or assistant.
If you're not sure about labels yet, I explain them in my guide to making a folder in Gmail, and the two features work best together.
Filters that forward mail: what to know
Google adds a clear warning for forwarding filters. When you create a filter to forward messages, only new messages are affected. And when someone replies to a message you've filtered, the reply is only filtered if it meets the same search criteria. So don't assume a whole conversation will follow the first message.
Finding, editing and deleting a Gmail filter
Filters live in your settings. Click Settings at the top right, then See all settings, then open Filters and Blocked Addresses. From there you can check the box next to a filter to manage it. Review the list now and then, because an old filter can quietly hide mail you needed.
Backing up and moving Gmail filters
Google lets you export your filters. At the bottom of the Filters and Blocked Addresses page, click Export and you'll get an .xml file, which you can edit in a text editor if you wish. To bring them back, click Import filters, choose the file, click Open file and then Create filters. It's a useful safety net before a big clean-up.
Choosing good search criteria for a Gmail filter
A filter is only as good as its search. The search options let you narrow by sender, recipient, subject and words in the message, and you can add an attachment condition too. The more specific your criteria, the less likely the filter is to catch something by accident. A sender's full address is safer than a first name, and a distinctive phrase in the subject beats a common word.
Want AI doing the heavy lifting in your marketing?
I build the systems that handle the boring 80 percent, so you get your week back. Done properly, with the human kept in.
Run the search first and scroll through what comes back. If a message appears that you wouldn't want filtered, tighten the criteria before you click Create filter. It's a two-minute check that saves hours of hunting for lost mail.
Thinking about what happens to filtered mail
Deleting and archiving are the two actions to treat with care. Archiving takes a message out of the inbox without deleting it, so it's the gentler choice for routine notifications. Deleting is for mail you really never need. When you're starting out, I'd choose a label plus archive and leave the delete action alone until you've watched the filter behave for a few weeks.
It also helps to write down what each filter does, in a note somewhere, so you or a colleague can understand your inbox rules months later.
Filters worth setting up in a small business inbox
| Idea | Search for | Action |
|---|---|---|
| Client mail in one place | The client's email domain | Apply a label |
| Receipts and confirmations | Words such as receipt or confirmation | Apply a label and skip the inbox |
| Newsletters you like but rarely read | The sender's address | Apply a label |
| Team updates | Your colleagues' addresses | Star them |
Filters are a good first step before bringing in anything heavier. I look at the bigger question of how to manage a busy inbox in why AI email triage matters more than drafting, and my notes on getting more out of Gmail without extra apps has more simple settings worth knowing.
If your Gmail filter isn't working
- Run the same search in the search box and check that it finds the emails you expect.
- Remember filters apply to new mail, and a forwarding filter doesn't touch old messages.
- Check whether a reply still matches your criteria, since replies are only filtered if they do.
- Look in Filters and Blocked Addresses for another filter that conflicts.
- Simplify the criteria and try again, because narrow ones often miss.
Frequently asked questions
How do I create a filter in Gmail?
Click Show search options in the search box, enter your criteria, click Create filter at the bottom of the search window, choose what the filter should do and click Create filter.
Can I make a filter from an email I already have?
Yes. Tick the email, click More, choose Filter messages like these, enter your criteria and click Create filter.
What can a Gmail filter do?
Google says filters can send email to a label, or archive, delete, star or automatically forward your mail.
Do filters work on old emails?
A forwarding filter only affects new messages. Check the options when you create the filter for anything else.
How do I back up my Gmail filters?
Go to Settings, See all settings, Filters and Blocked Addresses, and click Export at the bottom. That gives you an .xml file you can import later.


