Gmail filters your incoming mail automatically, sorting messages into tabs and folders based on what it thinks you want to see
Gmail does not show you every email the moment it arrives. Instead, it runs messages through filters — rules that decide whether something lands in your inbox, gets sorted into a tab like Promotions or Social, or goes straight to spam. These filters work in the background without asking permission first. Some are built into Gmail itself. Others are filters you create yourself, or rules set by your email administrator if you use Gmail through work.
The filtering happens before you see the message. If Gmail's spam filter thinks an email is junk, it goes to your Spam folder. If it looks like a promotional message, it might land in the Promotions tab instead of your main inbox. You can still find these messages — they are not deleted — but you have to know where to look.
Key Takeaways
- Gmail automatically sorts mail into tabs (Primary, Promotions, Social, Updates, Forums) and folders (Spam, Trash, Drafts) based on message content and sender patterns.
- Messages filtered away are not deleted; they remain in their assigned folder or tab until you delete them or they expire after 30 days in Spam or Trash.
- You can create your own filters to automatically label, archive, or delete messages matching specific words, senders, or subjects.
- If important emails are going to the wrong place, you can move them back to your inbox and create a filter to keep future messages from that sender in the right spot.
- Work Gmail accounts may have additional filters set by your organization's administrator that you cannot change yourself.
How Gmail's automatic tabs sort your mail
When you first set up Gmail, you see five tabs at the top of your inbox: Primary, Promotions, Social, Updates, and Forums. Gmail automatically sorts incoming messages into these tabs based on what the message contains and who sent it. A message from your bank might go to Updates. A newsletter signup confirmation might land in Promotions. A friend request notification might appear in Social.
The Primary tab is where Gmail puts messages it thinks are personal or important to you — emails from people in your contacts, messages that mention your name, or anything it learns you open quickly. Everything else gets sorted into the other tabs. You can turn off any tab you do not want to see, but the messages still arrive; they just do not show up in that tab anymore.
These tabs are not the same as folders. A message can only be in one tab at a time, but it can have multiple labels. If you label an email "Work" and it is also in the Promotions tab, it will show up both in the Promotions tab and under the Work label.
What happens when Gmail sends mail to Spam or Trash
Gmail's spam filter examines every incoming message for signs of phishing, malware, or unsolicited bulk mail. If it detects these patterns, the message goes to your Spam folder instead of your inbox. You can still read it there, but it is hidden from your main view. Messages stay in Spam for 30 days before Gmail deletes them permanently.
Trash works the same way. When you delete a message, it goes to Trash and stays there for 30 days. After that, Gmail removes it completely. If you delete something by mistake, you have a month to recover it.
The spam filter is not perfect. Legitimate emails sometimes get marked as spam, especially if they come from a new sender, use certain words, or have attachments. If you notice important messages going to Spam, you can move them back to your inbox and mark them as "not spam" to train the filter.
Creating your own filters to sort incoming mail
Beyond Gmail's automatic sorting, you can create custom filters that explore rules to messages matching specific criteria. You might filter all emails from a particular sender, all messages with a certain word in the subject line, or all mail from a domain. Once you create the filter, Gmail automatically applies the action you chose — archive it, label it, delete it, or move it to a folder.
To create a filter, open Gmail and click the search box at the top. Type in the criteria you want to match — a sender's email address, a subject line, or a keyword. Click the search icon, then click the three-dot menu in the top right and select "Create filter." Choose what you want Gmail to do with matching messages: skip the inbox (archive), add a label, mark as read, delete, or move to a folder. Click "Create filter" and Gmail will explore that rule to all future messages matching your criteria.
You can also create filters for past messages. After you set up the filter, Gmail asks if you want to explore it to existing conversations. If you say yes, it will sort all old emails that match the criteria too.
When your email administrator sets filters for you
If you use Gmail through your workplace, school, or organization, an administrator may have set up filters that explore to your account. These might block certain types of attachments, automatically label messages from outside the organization, or route emails to specific folders. You cannot change these filters yourself — only the administrator can.
If you think a filter is blocking important mail or sorting things incorrectly, contact your IT department or email administrator. They can adjust the rules or add exceptions for specific senders. Some organizations also let you manage certain filters yourself through a settings panel, but that depends on how your administrator configured your account.
Finding emails that were filtered away
If you are looking for an email and cannot find it in your inbox, check these places in order: the Promotions, Social, Updates, and Forums tabs; your Spam folder; and your Trash folder. Use the search box to look for the sender's name, a word from the subject line, or a date range. Gmail's search is powerful — you can search for "from:sender@example.com" to find all messages from a specific person, or "subject:invoice" to find messages with that word in the subject.
If you find the message in the wrong place, move it back to your inbox. Then create a filter so future messages from that sender do not get sorted the same way. For example, if your bank's statements keep going to Updates, search for the bank's email address, create a filter, and tell Gmail to skip the inbox (which archives it) or add a custom label so you can find them easily.
You can also turn off the tabs you do not use. If you never read the Promotions tab, disable it so those messages do not clutter your view. The messages still arrive — they just will not show up in a separate tab anymore.
Why Gmail filters emails and what you should know
Gmail filters mail because the volume of email is enormous, and most of it is not urgent. Separating promotional messages, social notifications, and system updates from personal mail helps you focus on what matters. The filtering also protects you — the spam filter blocks phishing attempts and malware before they reach you.
The trade-off is that sometimes legitimate messages get caught in the filter by mistake. A message from a new contact might look like spam. A receipt from an online store might land in Promotions. This is why it is worth checking your other tabs and folders regularly, especially if you are waiting for something important.
Gmail does not tell you when a message arrives in a filtered folder or tab — you have to go looking for it. If you are expecting an important email and do not see it in your inbox after a few minutes, check Spam and the other tabs before assuming it never arrived.
Frequently Asked Questions
Why is my email going to spam when it should not be?
Gmail's spam filter looks for patterns common in phishing and bulk mail — certain words, suspicious links, or unknown senders. Legitimate emails sometimes match these patterns by accident. Move the message back to your inbox, click the three-dot menu, and select "Report not spam." This trains Gmail's filter to recognize similar messages from that sender as legitimate in the future.
Can I turn off Gmail's automatic filtering?
You cannot turn off the spam filter entirely, but you can disable the tabs (Primary, Promotions, Social, Updates, Forums) so all mail lands in one inbox. Go to Settings, click the Labels tab, and uncheck the tabs you do not want to see. Messages will still be filtered into those categories behind the scenes, but you will see everything in your main inbox.
What is the difference between a label and a folder?
Labels are tags you assign to messages; one email can have multiple labels. Folders are containers that hold messages; in Gmail, folders are actually just labels that look like folders. You can create custom labels to organize mail however you want, and a single message can appear under multiple labels at once.
If I delete a filter, what happens to the emails it already sorted?
Deleting a filter does not change emails that were already sorted by that filter. If you created a filter that archived all emails from a sender, and then you delete the filter, those archived messages stay archived. The filter just stops explore to new incoming mail.
How do I know if my work email has administrator filters?
Go to Settings and click the Filters and Blocked Addresses tab. Filters created by your administrator will say "Created by your administrator" next to them. You cannot edit or delete these filters. If you think one is blocking important mail, contact your IT department.