Add IP addresses to allowlists in Gmail

Help prevent messages from certain IP addresses from being marked as spam by adding them to an email allowlist. Messages from these addresses won't be marked as spam by Gmail.

Email allowlists are always applied to your entire domain. You can’t create email allowlists that apply to specific organizational units only.

Related settings for bypassing spam

These settings also help you prevent messages from specified senders from being marked as spam.

Spam settings Add senders to an allowlist based on their email address or domain name. Create an allowlist of approved senders by following the steps in Customize spam filter settings.
Approved sender lists Add email addresses and domains to allowlists with the address list option in these Gmail settings: Blocked sendersRestrict delivery,  Secure transport (TLS) complianceContent complianceAttachment complianceObjectionable content, and Routing.
Inbound gateway setting If you have receiving mail servers that process your mail before sending to Gmail's servers, add them to the Inbound Gateway setting. Follow the steps in Set up an inbound mail gateway.

Important: If you enter an IP address in an inbound gateway configuration, then add the same IP address to an email allowlist, the IP address won't be added to the allowlist. This is due to how Gmail determines the true sender, or source IP address.

Add an IP address to your allowlist

  1. Sign in to your Google Admin console.

    Sign in using your administrator account (does not end in

  2. In the Admin console, go to Menu and then Appsand thenGoogle Workspaceand thenGmailand thenSpam, Phishing and Malware.
  3. On the left, select the top-level organization. This is usually your domain.

  4. On the Spam, phishing, and malware tab, scroll to the Email allowlist setting. Or, in the search field, enter email allowlist.

  5. Enter the IP address of the sending mail servers you want to add to the allowlist. To add more than one IP address, enter an IP range (using CIDR notation) or separate individual IP addresses with commas.
    Note: Enter public IP addresses only. This setting doesn't support private IP addresses.

  6. At the bottom of the page, click Save.

Changes can take up to 24 hours but typically happen more quickly. Learn more

You can track changes in the Admin audit log.

Was this helpful?

How can we improve it?
Clear search
Close search
Google apps
Main menu