---
schema_version: "1"
id: 295cee321f93c9ebbbaf3260ad14e85ef6de182564376995c69f2e0a2c1d77bd
title: Create an IP Blocking Rule to Block Chat Visitors
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/service/264-0-0/live_agent_block_IPs_admin_create_blocking_rule.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.live_agent_block_IPs_admin_create_blocking_rule.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: ab4b27b3d75f92eb224b4360c8f8e568ca17895effbf38f3d9291df5626da425
description: Help your agents avoid troublesome customers by blocking chats from specified IP addresses.
products:
  - Service Cloud
release: "264"
---
# Create an IP Blocking Rule to Block Chat Visitors

Help your agents avoid troublesome customers by blocking chats from specified IP addresses.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;"><a href="https://help.salesforce.com/s/articleView?id=service.legacy_editions.htm&amp;language=en_US" target="_blank">View supported editions</a>.</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d14671e58">User Permissions
              Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d14671e58 ">To chat with visitors in Chat in the Salesforce console: </td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d14671e58 ">Chat is enabled, set up, and included in a Salesforce console app</td>

          </tr>
        </tbody>
      </table>

![Important](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support_legacy-264-0-0-production-enus/081af4ec-6c06-4d4b-9443-cb3516bbc46d/images/icon_important.png)

Important

Legacy Chat will be retired on February 14, 2026. To avoid service interruptions to your end users, switch to enhanced Chat (formerly Messaging for In-App and Web). Enhanced Chat offers many of the legacy Chat [features that you love](https://help.salesforce.com/s/articleView?id=service.miaw_replacing_chat_considerations.htm&language=en_US) plus asynchronous conversations that can be picked back up at any time. Learn about migrating in [Help](https://help.salesforce.com/s/articleView?id=service.miaw_replacing_chat_considerations.htm&type=5&language=en_US) and [Trailhead](https://trailhead.salesforce.com/content/learn/modules/migrating-from-legacy-chat-to-enhanced-chat).

You can block chat requests from specified IP addresses. For example, if a customer is using abusive language or sending spam messages, you can block that user from starting a new chat. If your Salesforce org is receiving spam chats from a particular region, you can block entire ranges of IP addresses.

Blocked visitors see a message indicating that chat isn’t available.

If a customer attempts to request a chat from a blocked IP address, the chat is canceled. In addition, you can modify or delete blocking rules.

1. From Setup, enter Block Visitors in the Quick Find box, then select **Block Visitors**. For guidelines on entering valid IP ranges, see [Set Trusted IP Ranges for Your Org](https://help.salesforce.com/s/articleView?id=xcloud.security_networkaccess.htm&type=5&language=en_US).
2. Click **New** and fill in the parameters of your Blocking Rule.
3. Click **Save**.

You can also enable your agents to block chat requests from specified IP addresses while they work in the console. See [Let Your Agents Block Visitors by IP Address](https://help.salesforce.com/s/articleView?id=service.live_agent_block_IPs_admin_enable_agents.htm&release=264.0.0&type=5 "Help your agents avoid troublesome customers by blocking chats from specified IP addresses.") for more information.