On this page
To make a Gmail filter send mail to a folder, create a label, then build a filter that ticks "Apply the label" and "Skip the Inbox (Archive it)". Gmail's folders are labels, so applying the label files the mail, and skipping the inbox takes it out of the main view. Do it on a computer; the Gmail apps have no filter editor.
Why a filter does the "move"
Outlook has a "move to folder" rule. Gmail doesn't, because a message in Gmail isn't stored in one place. It carries labels, and the inbox is one of them. So "moving" mail means two changes: add your label, remove the Inbox label. Gmail's filter actions map directly onto that:
| Outlook idea | Gmail filter action |
|---|---|
| Put it in folder X | Apply the label |
| Take it out of the inbox | Skip the Inbox (Archive it) |
Tick only the first and the mail sits in the folder and in the inbox. Tick only the second and it vanishes into All Mail with no folder. Most "my filter doesn't work" reports come from one of those two. For the full picture of how labels differ from folders, see Gmail labels vs folders.
How to set up a filter that files mail into a folder
- Create the label. In the left sidebar, click the + next to Labels, name it (say "Receipts"), and click Create. More options, including nesting, are in how to create folders in Gmail.
- Describe the mail. Click the Show search options icon at the right end of the search bar. Put the sender in From, or words in Subject or Has the words, then click Search and check that the results are what you expect to file.
- Click Create filter at the bottom of the box.
- Tick Apply the label and choose the label from the dropdown.
- Tick Skip the Inbox (Archive it) if you want the mail to bypass the inbox. Leave it off if you want to see mail arrive and still have it filed.
- Tick Also apply filter to matching conversations to file the mail you already have, then click Create filter.

A shortcut: tick a message, open the More menu (three dots), and choose Filter messages like these. Gmail pre-fills the sender and takes you to the same actions step.
Conditions that file mail well
- A whole domain. From:
@example.comcatchesnews@,offers@andhello@from the same company. - Several senders at once. From:
alice@example.com OR bob@example.comsends both to one label. - Mail with a recurring subject. Subject:
"order confirmation"with the quotes keeps the phrase together. - Mailing lists. Has the words:
list:news.example.commatches on the list's ID, which stays the same when the sender address changes.
Always run the search first. A filter matches exactly what that search matches, so the results are a preview of what gets filed.
Fix a filter that doesn't file mail
- It's still in the inbox. You ticked the label but not Skip the Inbox. Open Settings, See all settings, Filters and Blocked Addresses, click edit on the filter, and add it.
- Old mail wasn't moved. Filters run on new mail unless "Also apply filter to matching conversations" was ticked. Edit the filter and tick it on the final step to sweep the backlog.
- The mail never matches. Compare the actual sender address with your condition. Companies change sending addresses, and a rule on one address misses its siblings. Use the domain.
- The mail went to Spam first. Gmail's spam check runs before filters. Add Never send it to Spam to the filter.
If none of that explains it, Gmail filters not working goes through the six usual causes in order.
A folder doesn't stop the mail
Filing newsletters and promotions into a folder hides them. It doesn't stop them. The sender keeps mailing you, the folder fills up, the mail still counts against your storage, and every new sender needs a new filter. It works for mail you want to keep, like receipts, invoices and alerts. For mail you don't read, unsubscribing is the better fix. Gmail rules covers what filters can and can't do, and Gmail auto archive covers skipping the inbox without a label.
Our extension scans your Gmail, lists every subscription sender, and unsubscribes from the ones you pick in bulk, using each sender's own unsubscribe mechanism. Use filters to sort what stays, and unsubscribe from what shouldn't be arriving.
Don't build a folder for mail you never read. Scan your inbox, pick the senders you're done with, and unsubscribe in one sitting.
Add to Chrome, freeCommon questions
Can a Gmail filter move email to a folder?
Yes, with a label. Gmail has no separate folders, so a filter with Apply the label and Skip the Inbox (Archive it) ticked is the equivalent of a move. The mail leaves the inbox and shows up under the label in the left sidebar.
Why is the mail still in my inbox after the filter ran?
Because Apply the label alone only adds the label. The message keeps its Inbox label too, so it appears in both places. Edit the filter and tick Skip the Inbox (Archive it) to take it out of the inbox.
Can I set up a Gmail filter to a folder on my phone?
Not in the Gmail app, which has no filter editor. Make the filter in Gmail on a computer and it applies to all your mail, including what you read in the app.
Does the filter move mail that is already in my inbox?
Only if you tick Also apply filter to matching conversations when you create it. Otherwise the filter only handles mail that arrives afterwards.
My filter is not putting mail in the folder. What now?
Usually the conditions almost match, or the mail was already sent to Spam. Gmail filters not working covers all six causes.
Can one filter file mail into two folders?
A single filter applies one label. To use two, create a second filter with the same conditions and a different label. A message can carry as many labels as you like.