How To Automatically Delete Spam In Gmail

Did you receive a suspicious email from an unknown sender? Don’t open it! Chances are, the message is spam and may contain harmful links that can steal your data. If you want to automatically delete these type of messages even without you seeing it, check our guide below.


Junk emails, popularly known as spam, are annoying and unwanted messages that other people send to you in bulk. These messages can be harmful and may contain malicious software or links to websites that can steal your data. In fact, a lot of phishing attacks come from spam emails.

Thankfully, email service providers like Gmail automatically detect suspicious messages and marks them as spam. While their security isn’t one hundred percent foolproof, it is still a reliable and helpful feature. It also improves as you report more emails as spam.

Although Gmail detects spam, it just stores these messages into a separate folder. It can still potentially bring harm to the user, especially if they accidentally open one.

So if you don’t want to bother deleting and managing the spam folder regularly, you can create a filter to automate the process. Check our step-by-step guide on how to set up filters and use labels so that you can manage spam messages automatically.

How to Set Up Filters to Automatically Delete Spam

If you think that spam emails are dangerous, annoying, or a waste of time, you can set up various filters to send these unsought messages directly to the trash as soon as you receive them.

Here’s how to create a filter on your desktop web browser:

  1. On your web browser, open your Gmail account.
  2. At the upper right corner of your screen, click Settings (gear icon) > “See all settings.”

  3. Go to the “Filtered and blocked addresses” section.

  4. Set up a new filter.

  5. On the blank space beside “includes the word,” add “label:Spam” as a parameter. Click “create a filter” to continue.

  6. Now, you can choose what to do to any email that matches your criteria. Select “Delete it” and click on the “Create a filter” button to finalize your decision. You can also apply the filter to existing messages and emails by clicking on the last option on the list.

    Note: Google Chrome users on mobile can use the “View on desktop” feature from the options (the vertical dots) and use the desktop web browser guide to set up their filter settings.

Since Google has an algorithm that detects and marks suspicious emails on its own, you can use filters to add messages from specific addresses to spam or remove them.

How to Create A Filter on Gmail Using your Phone

While you can’t use the Gmail app to create or edit filters, you can use your favorite mobile web browser instead.

Here’s the full guide:

  1. Open Gmail using your favorite web browser on your smartphone.
  2. Tap the three horizontal lines on the upper left corner of your screen to open the menu.

  3. At the bottom of the page, select Desktop to use the HTML view of your Gmail.

  4. Tap Settings.

  5. Under the Filters options, tap “Create a new filter.”

  6. Add “label:Spam” as one of the search criteria and proceed to the next step.

  7. Put a check on the box beside “Delete it” and tap “Create a filter” to save and apply the filter to your account.

If you are receiving an awful lot of spam and notifications in a short amount of time, do a Security check-up and check for signs of a breach. Hackers may tend to flood your inbox with a lot of messages to distract you and hide security alerts.

To Sum It All Up

There you go! Now that you know the basics of filters, you can use this helpful feature to delete your spam messages as soon as you receive them.

The use of filters isn’t limited to deleting spam. You can also manage incoming mails, different folders, and entire inboxes with this feature. It is pretty useful when you’re getting a lot of messages in a day.

While the combination of filters and search operators can be a significant amount of help in managing your emails, you need to be careful with how you use them. You don’t want to delete important messages by accident.

We hope that you found our guide helpful in your process to handle spam messages efficiently. That’s all from us, so if you want more tips and tricks, bookmark our page and don’t forget to subscribe to our newsletter.