Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Gmail Email Filters: A Step-by-Step Guide

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Gmail filters let you automatically sort, label, archive, or delete incoming mail based on rules you set. To create one, open Gmail in a browser, click the search bar's filter icon, fill in your criteria, and choose actions like "Apply the label" or "Skip the Inbox." That's the short version; the steps below cover the details, including how to edit filters later and what to do when a filter misbehaves.

What You'll Need

  • A Gmail account (personal or Google Workspace).
  • A web browser on a computer for the full filter editor. The Gmail mobile app does not offer filter creation; you can manage labels on mobile, but filters require the desktop interface.
  • Basic idea of the sender addresses, subject lines, or keywords you want to match.

Step-by-Step

  1. Open Gmail on a computer. Go to mail.google.com and sign in. Filter creation is not available in the Gmail app for iPhone or Android, so use a browser.
  2. Click the search bar at the top. A small icon with sliders (the "Show search options" button) appears at the right end of the search bar. Click it to open the advanced search panel.
  3. Fill in your criteria. You can use fields like From, To, Subject, Has the words, Doesn't have, and Size. For example, to catch newsletters, put the sender's domain in From (e.g., news@example.com) or use Has the words: unsubscribe. You can combine fields; Gmail matches all conditions you enter.
  4. Click "Create filter." This button appears at the bottom of the search panel after you enter at least one criterion. (If you only see "Search," you are in the regular search view; use the sliders icon to open the advanced panel.)
  5. Choose actions. Tick the boxes for what should happen: Skip the Inbox (Archive it), Mark as read, Star it, Apply the label, Forward it, Delete it, Never send it to Spam, Always mark it as important, or Categorize as. You can select several actions at once. For a label, pick an existing one from the dropdown or choose "New label…" to create one on the spot.
  6. Decide whether to apply to existing mail. Check "Also apply filter to matching conversations" if you want the rule to affect messages already in your inbox. This is optional; new mail will be filtered either way.
  7. Click "Create filter." The filter is saved and active immediately. Gmail applies filters in the order they were created; you can reorder them later if needed.
  8. Test it. Send yourself a test message that matches the criteria, or wait for the next matching email. Check that it landed where you expected (label applied, skipped inbox, etc.).
  9. Edit or delete a filter later. Click the gear icon (Settings) > "See all settings" > "Filters and Blocked Addresses." You'll see a list of your filters. Click "edit" next to one to change its criteria or actions, or "delete" to remove it. Changes apply to future mail; existing messages are not retroactively changed unless you re-run the filter with the "Also apply" option.

Note: Menu labels can differ slightly by Gmail version, language, or workspace settings. If you don't see "Filters and Blocked Addresses," look under Settings > Filters, or use the search bar to search for "filters."

Common Mistakes

  • Using too broad a criterion. A filter with just "Has the words: invoice" will catch every email containing that word, including personal ones. Combine fields (From + Subject) to narrow it down.
  • Forgetting to apply to existing mail. If you want old messages sorted too, tick "Also apply filter to matching conversations" before saving. You cannot easily undo this in bulk later, so test with a small label first.
  • Creating filters on mobile. The Gmail app does not support filter creation; use a desktop browser. You can still create labels on mobile, but not the rules.
  • Assuming filters override spam. Filters run after Gmail's spam check. A message classified as spam may not trigger a filter unless you also use "Never send it to Spam."
  • Deleting a filter without noting its actions. If you delete a filter, any labels it applied remain on existing messages; new mail will no longer be sorted. Consider editing instead of deleting.

Tips

  • Use "Has the words" with OR to match multiple terms: from:(boss@example.com OR hr@example.com).
  • To filter by a domain, enter @example.com in the From field.
  • Create a "Read Later" label and a filter that skips the inbox and applies that label; then use the label to review when convenient.
  • Use "Categorize as" to route messages to Gmail's tabs (Primary, Social, Promotions, Updates, Forums). This works alongside labels.
  • Forwarding filters require a verified forwarding address; set that up in Settings > Forwarding and POP/IMAP first.
  • Keep a list of your filters in a note; Gmail's filter list is not exportable, so documentation helps if you need to recreate them.

Troubleshooting

  • Filter not working? Check the filter's criteria and actions in Settings > Filters. Ensure the test message actually matches (case doesn't matter, but exact spelling does). Also confirm the filter is not conflicting with another filter created earlier; Gmail applies the first matching filter's actions, and later filters may not run if an earlier one already moved the message.
  • Messages still in inbox? If you chose "Skip the Inbox," the message will be archived (not deleted) and can be found under All Mail or its label. Check that you didn't also tick "Mark as read" if you wanted to see it as unread.
  • Filter applied to wrong messages? Edit the filter to add more conditions. You can also create a new filter with more specific criteria and delete the old one.
  • Cannot create filter? Make sure you are in a desktop browser and signed in. Some Google Workspace accounts have filters disabled by the administrator; contact your admin if the option is missing.
  • Forwarding filter fails? Verify the forwarding address in Settings > Forwarding and POP/IMAP. The recipient must click a confirmation link.

Frequently Asked Questions

Can I create Gmail filters on my phone?

No, the Gmail mobile app does not offer filter creation. Use a desktop browser to set up filters; they will then apply to all devices.

Do filters apply to existing emails?

Only if you tick "Also apply filter to matching conversations" when creating or editing the filter. Otherwise, only new incoming mail is affected.

Can I have multiple actions in one filter?

Yes, you can select several actions, such as applying a label and marking as read. Gmail will perform all selected actions.

What happens if two filters match the same email?

Gmail applies filters in the order they appear in the filter list. The first matching filter's actions are applied, and later filters may still run but could be redundant. You can reorder filters by editing them (the order is fixed by creation date; to change order, delete and recreate).

Can I import or export Gmail filters?

Gmail does not provide a built-in export/import for filters. You can manually recreate them or use Google Workspace's admin tools for bulk management, but for personal accounts, documentation is the practical approach.

Why did my filter stop working?

Check if the filter was edited or deleted, or if the sender's address changed. Also review the filter list for conflicting rules. If you use a Workspace account, an admin may have changed settings.