How to Whitelist in Gmail

Make sure important emails never go into Gmail's Spam folder

Illustration of a keyboard key with a thumbs up

hh5800 / Getty Images

If Gmail keeps sending messages from a certain sender to the Spam folder, you can make it stop by explicitly telling Gmail that the email is safe, which will allow it through the spam filter. You accomplish this in Gmail by whitelisting the address—that is, adding it to the safe senders' list.

You might set up whitelisting in Gmail if important emails keep getting marked as spam and never show up in your Inbox. What's happening is that Gmail is identifying them as nonimportant and possibly harmful emails that you probably don't want. However, the spam filter isn't always 100 percent correct, in which case you can take action to start getting those emails in your Inbox.

When you set up a filter to whitelist a certain sender, Gmail makes sure it reaches the Inbox folder for you to see. You can whitelist emails in Gmail by making an email filter. It can apply to a specific email address, a whole domain, or a mix of both.


Setting up email filtering in Gmail to allow messages through the spam filter is a simple process. Just open the Filters and Blocked Addresses tab to build a new filter that includes the address(es) you don't want blocked.

Screenshot showing how to whitelist email addresses in Gmail
  1. Open the settings icon at the upper right-hand side of Gmail (the gear icon), and choose Settings from the list.

  2. Open the Filters and Blocked Addresses tab.

  3. Click the link called Create a new filter. If you already have lots of filters, you won't see this link until you scroll to the very bottom of the page.

  4. In the From field, type the email address to whitelist.

    Be sure to type the full email address, like To whitelist every email address from a specific domain, type just that domain name, like, to put every address on the safe list.

  5. Click Create filter at the bottom of that pop-up window to make the whitelist filter.

You can also add some other filtering criteria if you want, but the From field is the only thing that must be filled out for this setup to work.

If you want to whitelist more than one email address or domain, you need not repeat these steps for each one. Instead, put a vertical bar (and a space before and after it) between the separate accounts, as follows: | |

If you don't see the vertical bar (also called the pipe or vertical slash) on your keyboard, hold Shift and then hit the backslash key (\).

Another Method

The other option for setting up whitelist filters in Gmail is to do it from the email. If you want to keep all messages from that particular sender out of the Spam folder, you can start the filter from one of the sender's messages.

Screenshot showing how to filter messages in Gmail from an email
  1. Open the message.

  2. From the three-dotted menu just above the message (the same button used to mark emails as read/unread or as important), click Filter messages like this.

  3. With the email address now auto-filled for you in the From field, create the filter with the Create filter button.


When you whitelist an email or domain in Gmail, the filter does not apply to past emails that are already in the Spam or Trash folder. The filter works from the time you enable it onward.

You can add more than one email address to the From field by selecting the emails from your account. For example, you can choose one from a Gmail address, another from, and a few others, and then use the Filter messages like this option to immediately copy all of those email addresses into the From field. From there, you can quickly whitelist all of those addresses, add others, or remove some from the selection.

You should avoid putting an entire domain into the safe senders' list. Whitelisting all addresses, for example, will keep every single email from a address from going to the Spam folder.

It might seem convenient to do this if you want to whitelist lots of Gmail addresses at once, but it's better to avoid grouping all addresses together. There's a good chance that some messages from addresses should indeed go to the Spam folder.

If you are whitelisting a whole domain in Gmail, it's best to do so for addresses that are not so popular, like if a website won't stop spamming you. For example, if the website keeps sending you emails with that in the domain name, blocking all addresses is completely fine. You're more likely to run into issues when an entire email service (like or is blocked.

On the other hand, if you're a webmaster and your users subscribe to content on your website, you can suggest that they whitelist your domain before they subscribe. This will ensure that every email the website sends will go to their Inbox.

Another way to mark emails as not being spam is to use the Not spam button. However, this button is only visible when the message is opened from the Spam folder. In other words, you cannot use this method to preapprove emails to make sure they don't get marked as spam.