BlogHow to Create Gmail Filters: The Complete Step-by-Step Guide for 2025
How-to6 min read·June 1, 2026

How to Create Gmail Filters: The Complete Step-by-Step Guide for 2025

Learn how to create Gmail filters that automatically sort, label, and delete emails. Step-by-step guide with real examples to master inbox automation.

The average office worker receives 121 emails per day. Without automation, you're spending roughly 28% of your workweek just managing your inbox. Learning how to create Gmail filters is the single most effective way to reclaim that time — and most people never set up a single one.

Gmail filters automatically process incoming emails based on rules you define. They can label, archive, star, forward, or delete messages before you ever see them. Set them up once, and they work silently in the background forever. Here's exactly how to do it.

What Gmail Filters Can Actually Do

Before diving into the how, let's clarify the what. Gmail filters can perform these actions on matching emails:

  • Skip the Inbox (Archive it) — Emails go directly to All Mail, bypassing your inbox entirely
  • Mark as read — No notification, no unread count increase
  • Star it — Automatically flag important messages
  • Apply a label — Organize emails into categories like "Clients" or "Receipts"
  • Forward it — Send a copy to another email address
  • Delete it — Send directly to Trash
  • Never send to Spam — Whitelist specific senders
  • Always mark as important — Override Gmail's priority sorting
  • Categorize as — Sort into Primary, Social, Updates, Forums, or Promotions

You can combine multiple actions. For example: apply a label, skip the inbox, AND mark as read — all in one filter.

How to Create Gmail Filters From Scratch

The most direct method works from any Gmail screen. Here's the exact process:

  1. Click the Settings gear icon in the top-right corner of Gmail
  2. Select See all settings
  3. Click the Filters and Blocked Addresses tab
  4. Click Create a new filter
  5. Enter your filter criteria (from, to, subject, has words, etc.)
  6. Click Create filter
  7. Select the actions you want Gmail to take
  8. Check Also apply filter to matching conversations if you want it to process existing emails
  9. Click Create filter to save

That last checkbox is crucial. Without it, your filter only affects future emails. Check it to clean up the messages already in your inbox that match your criteria.

Creating Filters Directly From an Email

There's a faster method when you're looking at a specific email you want to filter. This approach pre-fills the filter criteria for you:

  1. Open the email you want to filter (or just select it)
  2. Click the three-dot menu in the toolbar
  3. Select Filter messages like these
  4. Gmail pre-fills the "From" field with the sender's address
  5. Adjust criteria if needed, then click Create filter
  6. Choose your actions and save

This method takes about 10 seconds per filter. It's perfect for processing that newsletter you never read or the automated notifications clogging your inbox.

Gmail Filter Criteria: What Each Field Actually Means

The filter creation dialog has multiple fields, but their exact behavior isn't always obvious:

From: Matches the sender's email address. Use @company.com to match all emails from a domain, or a specific address like notifications@github.com.

To: Matches the recipient field. Useful if you have email aliases or receive emails to multiple addresses in one inbox.

Subject: Partial match on the subject line. "Invoice" matches "Invoice #1234" and "Your invoice is ready."

Has the words: Searches the entire email body and subject. Good for catching patterns like order numbers or project names.

Doesn't have: Excludes emails containing specific words. Helpful for filtering out automated replies while keeping human responses.

Size: Filters by attachment size. Great for archiving emails with large files that eat your storage quota.

Has attachment: Only matches emails with files attached.

You can combine criteria for precise targeting. For example: From @linkedin.com AND Subject contains "job alert" catches only LinkedIn job notifications while ignoring connection requests and messages.

Five Gmail Filters Every Inbox Needs

These filters solve the most common inbox problems. Set them up in under five minutes:

1. Auto-archive read receipts and delivery confirmations
From: mailer-daemon@ OR Subject: Delivered: → Skip inbox, Mark as read

2. Label client emails for easy access
From: @clientdomain.com → Apply label "Clients/ClientName", Never send to Spam

3. Trash automated marketing you never subscribed to
Subject: unsubscribe AND From: noreply@ → Delete it

4. Star emails where you're the only recipient
To: yourname@gmail.com AND Doesn't have: cc: → Star it

5. Separate receipts into their own folder
Subject: receipt OR Subject: order confirmation → Apply label "Receipts", Skip inbox

These five filters alone can reduce your daily inbox volume by 30-50%, depending on your email patterns.

The Limitation of Gmail Filters (And How to Work Around It)

Gmail filters are powerful but have one significant weakness: they only work on future emails. If you have 10,000 old promotional emails from 47 different senders, you'd need to create 47 separate filters and apply each one retroactively.

This is where InboxClean complements Gmail's native filters. It scans your last 1,000 emails, groups them by sender domain, and lets you unsubscribe + create a permanent blocking filter in one click. The combination of bulk cleanup with permanent filtering solves both the backlog problem and prevents future accumulation.

For ongoing maintenance, Gmail filters handle the predictable patterns while InboxClean catches the senders you didn't anticipate. Most people who finally achieve inbox zero use both.

Managing and Editing Existing Gmail Filters

Your filters accumulate over time. Here's how to maintain them:

Go to Settings → Filters and Blocked Addresses to see every filter you've created. From this screen you can:

  • Edit any filter to change criteria or actions
  • Delete filters that no longer apply
  • Export all filters to an XML file (useful for backup or migrating to a new account)
  • Import filters from an XML file

Review your filters every 6 months. Jobs change, subscriptions change, and filters that made sense two years ago might be catching emails you actually want now.

Start With One Filter Today

Knowing how to create Gmail filters is straightforward. The hard part is actually doing it. Most people read guides like this, nod along, and never create a single filter.

Don't be most people. Open Gmail right now, find one email you always ignore, and create a filter to delete it automatically. That's it — one filter. Tomorrow, add another. Within a week, your inbox will feel noticeably lighter.

Gmail filters handle the predictable chaos. For the unpredictable kind — the newsletter you signed up for three years ago, the promo emails from every online purchase — you'll want a dedicated inbox cleaner to handle the bulk work. Either way, the path to inbox zero starts with that first filter.

Try InboxClean free

Scan 1,000 emails. Clean all of it. 60 seconds.

Scan my inbox →