How to Filter Emails in Gmail: Organize Your Inbox Automatically
If your Gmail inbox feels like a never-ending stream of newsletters, notifications, and work threads all competing for attention, filters are the built-in tool designed to fix exactly that. Gmail filters let you set rules that automatically sort, label, archive, or delete incoming messages — no manual effort required after setup.
What Is a Gmail Filter?
A Gmail filter is an automated rule that runs every time a new email arrives. When an incoming message matches the criteria you define, Gmail takes a specific action on it — instantly and silently in the background.
Filters work on two parts:
- Match criteria — the conditions an email must meet (sender address, subject line keywords, whether it has attachments, etc.)
- Actions — what Gmail does when those conditions are met (apply a label, skip the inbox, mark as read, forward it, delete it, and more)
Once a filter is active, it applies to all future matching emails without any further input from you.
How to Create a Filter in Gmail 📧
Method 1: From the Search Bar
- Open Gmail and click the search bar at the top
- Click the filter icon (the small slider symbol) on the right side of the search bar
- Fill in your match criteria — From, To, Subject, keywords, size, attachment status
- Click "Search" to preview matching emails, then click "Create filter"
- Choose one or more actions from the list
- Click "Create filter" to save
Method 2: From an Existing Email
- Open the email you want to filter
- Click the three-dot menu (More options) in the upper-right of the message
- Select "Filter messages like these"
- Gmail pre-fills the From field — adjust any other criteria
- Click "Create filter" and choose your actions
Both methods arrive at the same filter creation screen. The second method is faster when you already have an example email to work from.
Available Filter Actions
| Action | What It Does |
|---|---|
| Skip the Inbox | Archives the email automatically |
| Mark as read | Removes the unread indicator |
| Star it | Applies a star for easy retrieval |
| Apply the label | Sorts it into a custom folder/label |
| Forward to | Sends a copy to another address |
| Delete it | Sends matching emails to Trash |
| Never send to Spam | Whitelists the sender |
| Always mark as important | Overrides Gmail's importance sorting |
You can combine multiple actions in a single filter. For example, you might label a newsletter, mark it as read, and skip the inbox — all at once.
Matching Criteria You Can Use
Sender-based filters are the most common starting point. Entering a full email address targets a specific contact; entering just the domain (e.g., @newsletter.com) catches all emails from that organization.
Keyword filters using the Subject or "Has the words" fields are useful for catching notifications, alerts, or automated emails that follow a predictable format.
Size-based filters help manage storage — you can flag or archive emails over a certain file size.
Attachment filters let you separate emails with files from plain-text messages, which is useful for work or project-related sorting.
Applying a Filter to Existing Emails
When creating a filter, Gmail gives you the option to also apply the filter to matching conversations already in your inbox. Checking this box runs the filter retroactively — useful when you're cleaning up a backlog, not just managing future mail.
Editing and Deleting Filters
All your active filters live in Gmail Settings → See all settings → Filters and Blocked Addresses. From there you can:
- Review every active filter and its rules
- Edit criteria or actions on any existing filter
- Delete filters you no longer need
- Export filters as an XML file (useful for applying the same setup to another Gmail account)
Variables That Change How Useful Filters Are 🗂️
Filters are a universal Gmail feature, but how valuable they become depends heavily on how you use email:
Volume and variety — Someone receiving hundreds of emails daily across multiple categories will get far more value from layered filtering than someone with a low-traffic inbox.
Label structure — Filters become significantly more powerful when paired with a deliberate label and folder system. Without labels, filters mostly archive or delete; with them, they become a full sorting system.
Use case — Filtering for a personal inbox focused on reducing newsletter clutter works very differently from filtering for a professional inbox managing project communications, client correspondence, and automated system alerts simultaneously.
Gmail plan — Filters themselves are available on both free Gmail and Google Workspace accounts, but storage limits and integration with other Workspace tools can influence how filtering strategies are built, especially for teams.
Mobile vs. desktop — Filters can only be created and edited via the Gmail web interface (desktop browser). Once set up, they apply everywhere — including the Gmail mobile app — but you can't build or modify them from the app itself.
How Filters Interact with Other Gmail Features
Filters work alongside labels, tabs (Primary, Social, Promotions), and spam detection — but they can override some of those defaults. A filter set to "Never send to Spam" will bypass Gmail's spam classifier for that sender. A filter set to "Skip the Inbox" will prevent emails from appearing under the Primary tab even if Gmail would have placed them there.
Understanding this interaction matters when your filtering behavior starts conflicting with Gmail's own categorization — particularly if you notice expected emails going missing or appearing in unexpected places.
The right filter structure ultimately depends on what your inbox actually contains, how much time you're willing to invest in the initial setup, and how granular you want your organization system to be. Those answers vary considerably from one user to the next.