How to Automatically Delete Spam Email from Gmail

How to Automatically Delete Spam Email from Gmail featured image
(Last Updated On: December 13, 2017)

If you use Gmail – or Google for Work (Google Apps) – based email, you might find, over time, you start to collect a lot of spam in your “Spam” (junk) folder.

In particular, if you use an email client, via IMAP, and you like to use your own junk filter on email on your system, it can sometimes make sense to clear spam from your Gmail automatically.

The steps below describe how to do just that.

WARNING using these rules will automatically delete everything in your Gmail spam folder before you look at it. Remember that this may include email you actually wanted to receive. It’s not necessarily a good idea to do this, unless you are confident that you’ll only receive spam in your spam folder. Something real usually slips in there.

How to Automatically Delete Spam Email from Gmail

Step 1) Login to your Gmail in Webmail – at

Step 2) Click “Settings” in the top right (Click the Cog symbol at the top right, then “Settings” from the dropdown – picture below)


Step 3) Click on the “Filters” tab (pictured below)


Step 4) Click on “Create a new Filter”, and under the part where it says “Has the words” enter the following text “is:spam” and then click “create filter with this search”:


Step 5) Doing this will trigger a warning message. You are happy to continue, so click “OK”.


Step 6) Next, you need to tell Gmail what to do with these spam emails. We’d like it to “skip inbox” and to “delete”, tick both, then click “create filter” (note you may also wish to select this to apply to conversations already matching this, as in my example, below):



DONE! This will filter out all of your spam and automatically put it into the bin as it is received. This should mean it doesn’t download to your system, if you use IMAP. Note that this does mean any spam you get that isn’t marked as spam by Gmail may slip through, and also that anything you actually wanted which is marked as spam by Gmail will be deleted and you’ll never see it! Use with those precautions in mind.

Leave a comment below if this worked – or didn’t work- for you to automatically remove your spam and junk email from Gmail with a mail filter.

2 thoughts on “How to Automatically Delete Spam Email from Gmail

  1. Gmail filters are great source act as firewall for the spam messages and emails, no doubt these unwanted emails are annoying, but as you told the careful use of filters can permanently prevent us from these mails.

Leave a Reply

Your email address will not be published. Required fields are marked *

Silicon Dales