You are here:
Let Your Agents Block Visitors by IP Address
Help your agents avoid troublesome customers by blocking chats from specified IP addresses.
Required Editions
| View supported editions. |
| User Permissions Needed | |
|---|---|
| To chat with visitors in Chat in the Salesforce console: | Chat is enabled, set up, and included in a Salesforce console app |
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 plus asynchronous conversations that can be picked back up at any time. Learn about migrating in Help and Trailhead.
You can enable your agents to block chat requests from specified IP addresses while they work in the console. For example, if a customer is using abusive language or sending spam messages, the agent can block that user from starting a new chat.
An agent action can block chats from an individual IP address.
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.
- From Setup, enter Chat Configurations in the Quick Find box, then select Chat Configurations.
- Click Edit next to the configuration that you want to modify.
- Under Basic Information, select Visitor Blocking Enabled.
- Click Save.
As a Salesforce admin, you can also block individual IP addresses. Or, if your Salesforce org is receiving spam chats from a particular region, you can block entire IP ranges. See Create an IP Blocking Rule for more information.

