Shopify doesn’t include a single “Block Customer” button, but there are several effective methods to prevent specific customers from placing orders — from manual tagging and order cancellation to automated rules with Shopify Flow and third-party fraud prevention apps.
This guide covers all the methods available across Shopify plans, when to use each, and how to implement automated blocking for repeat offenders.
Why You Might Need to Block a Customer
- Chargeback fraud (filing disputes after legitimate delivery)
- Repeat policy abuse (excessive returns, discount stacking)
- Harassment of your support team
- Account hacking attempts or credential stuffing
- Suspicious purchasing patterns (bulk orders from new accounts)
Method 1: Tag the Customer Account
The foundation of any blocking strategy is tagging the customer account. This creates the identifier other methods use to trigger restrictions.
Navigate to Customers and search for the customer you want to restrict.
In the customer profile, find the Tags field and add a descriptive tag likeblocked,fraud, ordo-not-sell. This tag is not visible to the customer.
Use the Notes field to document why the customer was tagged and the date. This creates an audit trail for chargebacks and disputes.
Tagging alone does not prevent orders — you need to combine it with a checkout rule (see Method 3) or manual monitoring.
Method 2: Cancel and Refund Existing Orders
For orders already placed by problematic customers:
Go to Orders and open the relevant order.
Select the cancellation reason (Fraud is an option). Choose whether to restock items and whether to send a cancellation notification.
Refund in full to avoid chargebacks. Note: for confirmed fraud, consult with your payment processor before refunding — some processors have specific chargeback procedures.
Method 3: Block Tagged Customers at Checkout (Shopify Plus)
On Shopify Plus, use Shopify Functions to create a checkout validation rule that blocks customers tagged “blocked” from completing their purchase:
// shopify.extension.toml
[[extensions]]
type = "function"
name = "block-tagged-customers"
handle = "block-tagged-customers"
// src/run.js (Checkout Validation Function)
export function run(input) {
const customer = input.cart.buyerIdentity?.customer;
const isBlocked = customer?.tags?.includes('blocked');
if (isBlocked) {
return {
errors: [{
localizedMessage: "We're unable to process this order.",
target: "$.cart"
}]
};
}
return { errors: [] };
}
Method 4: Use Shopify Flow for Automated Blocking (Shopify Plus)
Shopify Flow can automatically tag customers and cancel orders when fraud signals are detected:
- Trigger: Order Created
- Condition: Customer tags contain “fraud” OR order risk level = High
- Actions: Cancel Order → Tag Customer → Send internal email notification
This removes the manual step — high-risk orders are automatically cancelled and customers tagged without staff intervention.
Method 5: Third-Party Apps (All Plans)
Fraud Filter (Shopify App Store, Free)
Create block rules based on: email address, phone number, IP address, billing/shipping address, or customer name. Matching orders are automatically cancelled. Works on all Shopify plans.
Block Customer — Customer Blocker
Dedicated blocking app with a customer blocklist, bulk blocking, and order history scanning. Supports blocking by email, phone, address, and IP. Paid app (~$5–15/month).
NoFraud, Signifyd, or Kount
Enterprise-grade fraud platforms with machine learning risk scoring. Integrate with Shopify to automatically approve, review, or decline orders based on fraud probability. Best for stores processing 500+ orders/month with significant chargeback rates.
Method 6: Block IP Addresses via Cloudflare
For persistent bad actors accessing your store from a known IP:
- Add your Shopify store to Cloudflare (free plan works)
- Go to Security → WAF → IP Access Rules
- Add the IP with action “Block” and note the reason
- Optionally use Challenge instead of Block for less certain cases
Note: IP blocking is most effective against bots. Determined humans easily bypass it using VPNs or mobile data. Combine with checkout validation for better coverage.
Disabling Customer Account Access
To prevent a customer from logging into their account (without blocking checkout):
- Go to Customers → select the customer
- Click the three-dot menu → “Disable account”
- The customer can no longer log in but can still checkout as a guest
For full blocking, combine account disabling with the checkout validation method above.
Frequently Asked Questions
Shopify doesn’t have a native ‘block’ button, but you can effectively block customers by tagging their account, using checkout rules to block tagged customers, or cancelling and refunding their orders. Third-party apps like Fraud Filter or Block Customer provide more automated blocking.
Shopify has no single ‘block customer’ button, so you combine tactics: block their email or IP with custom checkout/Shopify Functions logic or a fraud/blocking app, add them to a blocklist, and cancel and refund orders that slip through. For repeat abuse, IP and email blocking plus Shopify’s fraud analysis is the practical combination most merchants use.
Use Shopify Flow (Shopify Plus) to create a rule that cancels and refunds orders from specific email addresses or customer tags. On standard plans, use apps like Fraud Filter to block specific emails at checkout.
Shopify doesn’t natively support IP blocking in the admin. You can block IPs at the CDN level using Cloudflare (free plan supported), or use custom Liquid theme code combined with a third-party app to detect and redirect specific IP ranges.
Not natively in a simple setting. You can capture and check the phone number at checkout using Checkout Extensibility/Shopify Functions (Plus) or a blocking/fraud app that supports phone rules, then prevent or flag the order. Phone-based blocking is weaker than email or IP because numbers are easy to change, so use it alongside other signals.
No. Blocking, blocklisting, or restricting a customer doesn’t send them a notification. If their order is prevented at checkout they’ll typically see a generic error, and if you cancel an existing order they’re notified about the cancellation/refund — but not that they’ve been specifically blocked.
Cancelling a Shopify order voids fulfilment, restocks inventory (if selected), and optionally issues a full or partial refund. The customer receives an email notification. The order remains in your admin with a ‘Cancelled’ status.
Use Shopify’s built-in fraud analysis to flag risky orders, enable address/CVV verification through your payment gateway, hold or manually review high-risk orders before fulfilment, and block repeat offenders by email/IP. For higher volume, a dedicated fraud-prevention app adds rules and machine scoring. The goal is to catch fraud before you ship, since chargebacks are far costlier to fix after.
Related Resources
Shopify Customer Retention Strategies
Keep good customers coming back with loyalty and email.
Learn MoreCustom Shopify Development
Build a store with custom checkout rules and fraud prevention.
Learn MoreShopify Plus Development
Advanced automation and checkout customisation for Shopify Plus.
Learn More