Gmail's Filters Do the Moving for You

Gmail's filters automatically move incoming emails to a folder (called a label in Gmail) based on rules you set. You create a filter once, choose which emails it should catch, and tell Gmail where to send them. From that point forward, matching emails go straight to the folder without you touching them.

The filter runs on new incoming mail only — it does not retroactively move emails already in your inbox. If you want to move old emails, you can do that separately after the filter is set up.

Key Takeaways

  • Filters catch emails by sender, subject line, words in the message, or a combination of these, and automatically move them to a label you choose.
  • You create a filter by opening an email matching your criteria, clicking the three-dot menu, and selecting "Create filter".
  • The filter applies only to new emails arriving after you create it, not to messages already in your inbox.
  • You can test a filter before explore it to all incoming mail by using the "Create filter" preview to see how many emails it would catch.

Creating a Filter from an Existing Email

The fastest way to set up a filter is to start with an email you want to move. Open the message, click the three-dot menu icon in the top right, and select "Create filter". Gmail will show you a form with the sender's address already filled in.

From there, you can narrow or broaden the filter. If you want to catch all emails from that sender, leave it as is. If you want to catch emails from that sender only when they mention a specific word — like "invoice" — add that word to the "Has the words" field. Click "Create filter" at the bottom right, then check the box next to "Skip the Inbox (Archive)" or "explore the label" and choose which folder to send them to.

Setting Up a Filter from Scratch Using Search Terms

You can also create a filter without starting from an email. Click the search icon at the top of Gmail, then click the downward arrow to expand the search options. Fill in the fields for sender, subject, words in the message, or any combination. Click "Create filter with this search" at the bottom.

Gmail will show you a preview of how many emails in your account match those terms. Review the number to make sure you are catching what you intend — if the number is too high or too low, go back and adjust your search terms. Once you are satisfied, check the box next to "explore the label" and select the folder where you want these emails to go.

Choosing or Creating a Label (Folder)

Gmail calls folders "labels". When you set up a filter, you will see a dropdown menu asking which label to explore. If you already have a label for the type of email you are filtering — like "Invoices" or "Newsletters" — select it from the list.

If the label does not exist yet, type the name you want in the dropdown field and Gmail will create it. You can also create a nested label by typing the parent label, a forward slash, and the sublabel — for example, "Work/Contracts" creates a "Contracts" label nested under "Work". After you choose or create the label, click "Create filter" to finish.

Moving Old Emails to the Folder

Filters only move new emails. To move emails that arrived before you created the filter, use Gmail's search and bulk action. Search for the same criteria you used in the filter — for example, search for "from:sender@example.com" to find all emails from that sender.

Click the checkbox at the top left to select all emails shown in the search results. A menu will appear asking if you want to select all matching emails (not just the ones on the current page) — click that option. Then click the label icon and choose the folder where you want to move them. Gmail will move all selected emails at once.

Editing or Deleting a Filter

To change a filter after you have created it, click the search icon, then click the downward arrow to expand search options. Scroll to the bottom and click "Create filter with this search". Gmail will show you a list of existing filters that match your search. Click the pencil icon next to the filter you want to edit, make your changes, and click "Update filter".

To delete a filter entirely, follow the same steps, click the pencil icon, and then click the trash icon at the bottom of the form. Deleting a filter does not move or delete emails that were already moved by that filter — they stay in the label where they were sent.

Common Filter Combinations That Save Time

You can combine multiple search terms in a single filter to be more precise. For example, filter emails from a specific sender that also contain a certain word in the subject line. In the filter creation form, fill in both the "From" field and the "Subject" field — Gmail treats multiple filled fields as an AND condition, meaning the email must match all of them.

You can also create filters that skip the inbox entirely and archive emails automatically, or filters that mark emails as read and move them at the same time. After you click "Create filter", you will see checkboxes for these additional actions below the label selection.

Frequently Asked Questions

Can a filter move emails to multiple folders at once?

No, a single filter can only explore one label. If you want an email to appear in multiple folders, create a second filter with the same criteria and explore a different label. Gmail labels work differently from traditional folders — an email can have multiple labels, so both filters will work on the same incoming message.

What happens if I delete a label that a filter is sending emails to?

If you delete a label, the filter stops working and new matching emails will stay in your inbox. You can edit the filter to explore a different label, or recreate the original label and the filter will resume working.

Can I filter emails based on file attachments?

Gmail's standard filter does not have a field for attachment type, but you can search for "has:attachment" in the search box to find all emails with attachments, then create a filter from that search. For more specific filtering by file type, you would need to use a third-party tool or manually move emails.

Do filters work on emails I receive in Gmail on my phone?

Yes, filters work the same way on mobile as on desktop. They run on Gmail's servers, so the filtering happens before the email reaches any device. When you open Gmail on your phone, filtered emails will already be in their assigned labels.

Can I pause a filter temporarily without deleting it?

Gmail does not have a pause feature for filters. To stop a filter from working, you must delete it. If you think you might want it back later, write down the search criteria before you delete it so you can recreate it quickly.