New: Blockly Checkout Customizer is live — checkout rules, upsells & checkout analytics.Install free
Tutorial

How to Block an Email Address or Domain From Ordering on Shopify

Stop a known fraudster or a throwaway email domain from placing orders on your Shopify store. The native options, their gaps, and how to block emails at checkout without hurting real customers.

How to Block an Email Address or Domain From Ordering on Shopify

Quick answer: Shopify doesn't have a simple built-in setting to block an email address from checking out. You can tag the customer and cancel their orders with Shopify Flow after they're placed, or build checkout validation with Shopify Functions if you have the developer resources. The simplest way to stop an email or an entire email domain before the order exists is a checkout blocking app that checks the email at checkout and refuses the order.

Most merchants start thinking about email blocking after the same customer causes trouble twice. A chargeback, then a second order from the same address a week later. Or a wave of orders from addresses on a domain nobody has heard of.

Blocking the email is a reasonable response. The tricky parts are doing it before the order is placed, and not catching innocent customers along the way.

When blocking by email makes sense

Email is one of the easiest identifiers for a fraudster to change. A new Gmail address takes a minute. So email blocking works best for specific situations:

  • A confirmed fraudster or serial chargeback filer who keeps using the same address
  • A disposable email domain that keeps showing up in fraud orders
  • A pattern of generated addresses on one unusual domain during a card-testing run
  • Reseller or bot accounts breaking purchase limits on a limited drop

It works less well as your only defense against a determined attacker. For that, combine it with other identifiers. Our guide to tagging and blocking repeat fraud customers explains how to link email, phone, address, device and IP so a new email doesn't mean a fresh start.

Exact address vs whole domain

You can block at two levels, and they carry very different risks.

Block typeExampleCatchesRisk of blocking real customers
Exact email[email protected]One known personVery low
Whole domain@throwaway-mail.exampleEveryone using that domainLow for disposable domains, high for common providers

Never block an entire mainstream provider like Gmail, Outlook, Yahoo or iCloud. Most of your real customers use them.

Domain blocks are best saved for disposable or temporary email services, and for odd domains you've seen used repeatedly in fraud. Even then, check your order history first. Some small companies and schools use domains that look strange but belong to real buyers. Our article on email domain fraud signals covers how to tell these apart.

Watch for easy variations

Fraudsters often change an address slightly to slip past an exact-match block:

If your blocking tool supports patterns or partial matching, use it for these cases. If it only matches exact addresses, add the variations you've seen and pair email rules with phone, address or device checks.

Option 1: Tag and cancel with Shopify Flow

Shopify Flow can watch for new orders and act on them. A common setup:

  1. Keep a list of blocked emails, for example as a customer tag like blocked on the customer record.
  2. Create a Flow workflow triggered when an order is created.
  3. Add a condition that checks whether the customer has the blocked tag, or whether the email contains a domain you've flagged.
  4. Cancel the order, refund it, and tag it so your team sees what happened.

This works and costs nothing extra, but it acts after the order is placed. The payment still goes through first, which means you may pay processing fees, you have to refund, and you still need to make sure nothing ships before the workflow runs. Flow features and available actions change over time, so check Shopify's current Flow docs for what your plan supports.

Option 2: Checkout validation with Shopify Functions

Shopify Functions let developers add custom validation to checkout, which can refuse to continue when the email matches a blocked list. This stops the order before payment, which is better than cancelling afterward.

The catch is that it requires building and maintaining an app. Whether you can deploy a custom function on your own store depends on your Shopify plan, so check Shopify's documentation before you start. Many merchants use an app that already runs on Functions instead. Our explainer on how Shopify Functions power fraud filters goes into how this works.

Option 3: A checkout blocking app

A checkout blocking app checks the email at checkout and refuses the order if it matches your rules. The buyer sees an error message and the order never gets created. No payment, no refund and no chance of shipping it by accident.

This is the fastest route for most stores, and it's easy to manage because blocked emails sit in one list you can edit. See the Shopify checkout blocker guide for the broader picture of what you can block at checkout.

Setting up email blocking step by step

Whichever tool you use, the process is the same.

1. Build your list from evidence

Start with orders you've confirmed as fraud: chargebacks lost to stolen cards, cancelled orders where the customer never replied, card-testing runs. Pull the emails and look for repeated domains.

2. Add exact emails first

Block the specific addresses tied to confirmed fraud. This carries almost no risk.

3. Add domains carefully

Only add a domain after you've seen it in several bad orders and checked that it isn't used by good customers in your history.

4. Write a calm error message

A blocked buyer will see something. Keep it short and polite, and give a contact route in case you've made a mistake. For example: "We're unable to process this order. Please contact [email protected] if you think this is an error." Our guide on fraud error messages has more examples.

5. Review the list regularly

Check blocked attempts every month or so. If real customers keep hitting a domain rule, remove it. If you see new variations of a blocked address, add them or switch to a pattern rule.

Don't rely on email alone

A blocked email is easy to replace, so treat it as one layer. The same person usually reuses something else: a phone number, a shipping address, a device or an IP range. Blocking those together is much harder to get around. Our companion guide on blocking phone numbers at checkout covers the next identifier most fraudsters forget to change.

Doing it with Blockly Fraud Filter

Blockly Fraud Filter (formerly Shieldy) includes checkout block rules that stop orders by email, phone, name, address, zip code and more, so a blocked email never gets as far as a payment. It also covers the layers that make email blocking stick:

  • Device fingerprinting and bot, VPN, proxy and Tor detection help catch the same person behind a new email address.
  • IP, country, ISP and referrer blocking cover traffic sources you've seen in fraud.
  • Fraud control can auto-block known fraudsters and auto-cancel high-risk orders that get through.
  • Blocked-visitor logs and fraud insights show which rules are firing, so you can spot a domain rule that's catching real customers.

It works with Shopify Checkout, Shopify Flow and the Shopify admin. You can install it free from the Shopify App Store, and plan details are on the pricing page.

The takeaway

Blocking an email on Shopify is easy to get wrong in two directions: acting too late with after-the-fact cancellations, or too broadly with domain rules that catch real buyers. Block exact addresses from confirmed fraud, add disposable domains only after you've seen them misused, and stop the order at checkout rather than refunding it later. Then link email to phone, address and device so a fresh inbox doesn't let the same person back in.

Frequently asked questions

Can I block a customer's email in Shopify without an app?

Not directly at checkout. You can tag the customer and use Shopify Flow to cancel their orders after they're placed, or build checkout validation with Shopify Functions if your plan and resources allow it.

Should I block all disposable email domains?

Blocking well-known disposable domains is usually safe for physical goods stores, but check your order history first. If you sell digital products or run frequent giveaways, some honest buyers may use them.

What does a blocked customer see at checkout?

That depends on your tool. Usually the checkout shows an error and won't continue. Keep the message neutral and include a support contact so a real customer blocked by mistake can reach you.

Will blocking an email stop a fraudster for good?

Rarely on its own, since a new email takes seconds to create. Combine email rules with phone, address, device and IP checks so the same person is recognized when they come back.

Up nextHow to Block Phone Numbers and Fake Phone Patterns on Shopify

Related articles

More tutorial articles →
Free forever plan

Ready to protect
your store?

Join 5,000+ Shopify merchants. Install in 30 seconds and block your first bad actor today.

  • No credit card
  • 5-minute setup
  • Cancel anytime