PDF download Download Article
A quick guide to creating rules that label and archive your emails
PDF download Download Article

This wikiHow article teaches you how to assign labels to your Gmail messages automatically. Folders are actually called "labels" in Gmail, but they work similarly—you can organize your messages into custom labels to keep them organized. Instead of moving messages around manually, you can create filters that automatically assign labels based on criteria, like the sender's email address or words in the message. If you'd rather not mess around with filters, you can use Gmail's inbox categories, which automatically sort your messages into general categories like Social, Promotions, and Forums.

Things You Should Know

Click “Create a New Filter,” then fill it in with what you want to filter for—subject lines, email addresses, etc. Click “Create a New Filter,” again, then press the “Skip the Inbox” and “Apply the Label” options.

Method 1
Method 1 of 3:

Creating a Filter

PDF download Download Article
  1. Go to https://www.gmail.com on your computer. You'll need to use the desktop version of Gmail to create filters , as the feature isn't available in the Gmail mobile app.
  2. This icon is in the search bar at the top of your inbox and looks like a set of three horizontal sliders. This lets you create a filter that automatically sorts incoming messages based on the information you enter.
    • If you want to move messages from a particular sender and have an email from that sender in your inbox right now, you can skip this step. Just click that email to open it, click the three dots at the top of the message, and select Filter messages like these . [1] This pre-fills the sender's email address in the next step so you don't have to type or select it yourself.
    Advertisement
  3. For example, if you want all messages from a particular sender or domain name to be automatically moved to a specific folder (label), you'd type that sender's email address into the "From" field.
    • Use the asterisk symbol (*) before a domain name if you want to automatically move all messages from a particular company or organization to a folder. For example, if you want all messages from people at wikiHow to go in your "wikiHow" folder, enter *@wikihow.com .
    • You can enter multiple rules at once. For example, if you only want messages from people at wikiHow to go into your "wikiHow" folder if the word "Tech" is in the message, you can enter Tech into the "Has the words" field.
  4. It's at the bottom of the window. This opens another window in which you can specify what to do with these messages.
  5. It's near the middle of the list.
  6. In Gmail, folders are called "Labels."
  7. If you've already created the folder/label into which you want to sort these messages, click it on the list to select it. If not, here's how you can create one now:
    • Click New label…
    • Enter a name for the label into the top field.
    • If you want to nest this label under an existing label (like a sub-folder), select that folder from the drop-down menu.
    • Click Create .
  8. By default, only new messages will be sorted into your chosen label. If you have existing messages that meet your criteria and want them to be added to that label, check the box next to "Also apply filter to (number) matching conversations" at the bottom.
  9. If you want the message to move to the label (folder) you created and not clutter your inbox, check the box next to "Skip the Inbox (Archive it) at the top of the window.
  10. It's at the bottom of the window. Now, all future messages that match the criteria you entered will automatically be added to the label you chose.
    • You can see all your labels in the left panel of Gmail. They'll also be in the mobile app—just tap the menu at the top-left to see them.
  11. Advertisement
Method 2
Method 2 of 3:

Editing a Filter

PDF download Download Article
  1. If you've already set up a filter to automatically sort your messages , you can edit it anytime. To get started, make sure you're signed in to Gmail on your computer, as filters can't be adjusted on a phone or tablet.
  2. It's in the upper-right corner of the Gmail window. This opens the "Quick settings" panel on the right.
  3. It's at the top of the panel on the right.
  4. This tab is at the top of the Settings list.
  5. This opens the window you saw when you created the filter .
  6. You can skip this step if you just want to change the folder/label these messages are moved to. But if you need to adjust the criteria, such as the words in the message, the subject, or the sender's email address, you can make those changes here.
  7. This takes you to the screen that lets you choose what to do with these messages.
  8. If you want these messages to be assigned a different label, you can click Choose label to make your change and then create or select a different label.
  9. Your settings are now saved.
  10. Advertisement
Method 3
Method 3 of 3:

Using Inbox Category Tabs

PDF download Download Article
  1. By default, Gmail automatically sorts your incoming messages into Primary (for regular emails addressed to you), Social (for social media-related messages), Promotions (sales and ads), Updates (for things like shopping receipts and account notices), and Forums (discussion groups and conversational mailing lists). You can enable or disable these categories anywhere you use Gmail.
  2. Here's how:
    • Computer: Click the gear icon at the top-right, go to See all settings > Inbox , and select Default as the "Inbox type."
    • Android: Tap the menu at the top-left and go to Settings > your account > Inbox type , tap Default Inbox , then tap Inbox categories .
    • iPhone/iPad: Tap the menu at the top-left and go to Settings . Tap Inbox customizations under "Inbox," then tap Inbox categories .
    • Phone or tablet: Tap the menu at the top-left, select Settings , tap your account, scroll down toward the bottom, and then tap Inbox categories . [2]
  3. Use the checkboxes or toggle switches to change the categories that your emails sort into.
    • For example, if you want all of your emails to show up in the same folder, you'd disable all categories except for Primary.
  4. If you're using a phone or tablet, your changes will take effect immediately—no Save button necessary.
    • To view your inbox categories on a phone or tablet, tap the top-left menu and select a category.
    • On a computer, your categories appear at the top of your inbox.
  5. Advertisement

Expert Q&A

Ask a Question
      Advertisement

      Video

      Tips

      • You can edit and manage your labels by clicking the gear icon, selecting See all settings , and then clicking the Labels tab.
      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Name
      Please provide your name and last initial
      Thanks for submitting a tip for review!
      Advertisement

      About This Article

      Article Summary X

      1. Open Gmail on a computer.
      2. Click the slider icon in the search bar.
      3. Enter the criteria you want to filter by.
      4. Click Create filter .
      5. Check the box next to "Apply the label."
      6. Click Choose label .
      7. Select or create a label.
      8. Click Create filter .

      Did this summary help you?
      Thanks to all authors for creating a page that has been read 216,363 times.

      Is this article up to date?

      Advertisement