Search
Clear search
Close search
Google apps
Main menu

Whitelist IP addresses in Gmail

If you have the legacy free edition of Google Apps, upgrade to G Suite to get this feature.

As a G Suite administrator, you can help ensure that messages received from specific sending IP addresses don't get marked as spam. Do this by adding the addresses to an email whitelist in your Google Admin console.

When you create an email whitelist for your G Suite account, it affects your entire domain. You can’t create email whitelists that apply to specific organizational units. See Other settings you might use instead.

Add an IP address to your whitelist

  1. Sign in to your Google Admin console.

    Sign in using your administrator account (does not end in @gmail.com).

  2. From the Admin console dashboard, go to Appsand thenG Suiteand thenGmailand thenAdvanced settings.

    Tip: To see Advanced settings, scroll to the bottom of the Gmail page.

  3. On the left, select the top-level organization, typically your domain.

  4. Scroll to the Email whitelist setting in the Spam section. Or, in the search field, enter email whitelist.

  5. Enter the IP address of the sending mail servers you want to whitelist. To add more than one IP address, enter an IP range in CIDR notation or separate each IP address with a comma.
    Note: Be sure to enter public IP addresses, as private IP addresses are not accepted.

  6. At the bottom of the Gmail Advanced settings page, click Save.

It can take up to an hour for any changes to take effect. You can track changes in the Admin console audit log.

Other settings you might use instead

Spam setting—If you want to whitelist senders based on their email address or domain name, rather than their sending server IP address, create an approved senders list in the Spam setting. See customize spam filter settings.

Inbound gateway setting—If you have incoming mail servers that process your mail before sending to Google's servers, enter them in the Inbound Gateway setting instead. Remember, if you enter an IP address in an inbound gateway configuration and add the same IP address to an email whitelist, the IP address won’t be whitelisted. This is because of how Gmail determines the “true sender,” or source IP address.  Learn more about using an inbound mail gateway in Gmail,  and how it determines the source IP address.

Approved sender lists—In addition to the Spam setting, you can whitelist email addresses and domains using the address lists controls available in the Blocked sendersRestrict delivery,  Secure transport (TLS) complianceContent complianceAttachment complianceObjectionable content, and Routing settings.

Was this article helpful?
How can we improve it?
Sign in to your account

Get account-specific help by signing in with your G Suite account email address, or learn how to get started with G Suite.