Block IP addresses and ranges
Show the stop page to known scrapers, competitors or abusers by IP address or range.
Written by Ongoing Apps - Local Dev
Updated Oct 30, 2026 2 min read
Block the IP addresses of known scrapers, competitors or abusers so they see your stop page instead of your store. If your own address ends up blocked, an access link gets you and your team back in.
Block an IP address or range
- In Ongoing Defender, open Visitor protection, then IPs, VPNs & Tor.
- Under Blocked IP addresses, enter an address or range, add a note if you like (such as why you blocked it), and click Block.
You can enter:
- One address:
203.0.113.7or2001:db8::42. - A range in CIDR form:
203.0.113.0/24or2001:db8::/32. - A start and end address:
203.0.113.10-203.0.113.50.
IPv4 and IPv6 both work. You can block up to 500 addresses or ranges. The block is live on your store within a minute. Click Unblock beside an entry to remove it, and the visitor gets back in on their next page.
What blocked visitors see
Your stop page, with your heading and the message "This store isn't available to you. If you think this is a mistake, please contact the store owner." It doesn't say they were blocked by IP address. You set the heading on the Countries & regions page, under Stop page. See Block countries and regions.
Which rule wins
- Trusted IPs always get in. An address under Trusted IP addresses on Trusted access is never blocked, even inside a blocked range. Use this to block a range but let one address through.
- Devices with an access link get in.
- Then blocked IP addresses, VPN and Tor blocking, and country blocking, in that order.
Search engines and link previews always get in, so your store stays in search results.
If you block yourself
If your own address is on the blocked list, the IPs, VPNs & Tor page warns you and offers Exclude my IP, which adds it to Trusted access. You can also remove the block, or use an access link.
What it can't do
IP blocking runs in the visitor's browser on your storefront. It turns away people browsing your store, but a bot that skips your storefront, or a visitor who changes their IP address, isn't stopped by it. Shopify doesn't let apps see a buyer's IP address at checkout, so use checkout rules on Checkout protection to stop known fraudsters there.
Ongoing Defender checks each visitor's IP address on our own servers. Visitors' addresses aren't stored or sent anywhere else.
Related articles
Still need help?
Our team usually replies in a few minutes.