Clear search
Close search
Google apps
Main menu

Google Apps is now G Suite. Same service, new name. More about the name change.

Google IP address ranges for outbound SMTP

When you are configuring email handling for your domain, for example, seeking to prevent Google messages from being marked as spam, you might need to know the IP addresses of the G Suite mail servers.

Note: The following instructions are for listing IP addresses used for handling email traffic. This is not meant to be a complete list of Google-maintained IP addresses.

Google maintains a global infrastructure, which grows dynamically to accommodate increasing demand. As a result, G Suite mail servers use a large range of IP addresses, and the addresses often change. The most effective means of finding the current range of Google IP addresses is to query Google's SPF record.

To create an SPF record for your domain, you can simply have the record refer to the Google SPF record for the current list of IP addresses:

v=spf1 ~all

With this method, your domain automatically inherits changes to the Google IP addresses as they happen.

When you need the literal IP addresses for G Suite mail servers, start by using one of the common DNS lookup commands (nslookup, dig, host) to retrieve the SPF records for the domain, like so:

nslookup -q=TXT

This returns a list of the domains included in Google's SPF record, such as:,,

Now look up the DNS records associated with those domains, one at a time, like so:

nslookup -q=TXT
nslookup -q=TXT
nslookup -q=TXT

The results of these commands contain the current range of addresses.

If you are managing accounts with Chrome devices and need to need to enable those devices to work on a network with SSL inspection, seis Managing Networks with SSL content filters.

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.