Made by a Shopify PartnerSubmitted to the Shopify App Store, review in progressSee how setup works
Shopify Partner · App Store review in progress

How do I block a country on my Shopify store?

Short answer

Shopify has no setting that stops visitors from a country opening your store. Markets only controls where you sell and ship. To block a country you need an app that checks each visitor’s location when the page loads and shows a block message or redirects them. Check that search engine crawlers are still let through.

What Shopify Markets does and does not do

In Settings → Markets you choose the countries you sell to, with their currencies and shipping (November 2026). Removing a country stops checkout to that country.

It does not hide your store. Someone there can still browse, sign up, and trigger bot traffic. Blocking visits needs a check that runs on the storefront itself.

How a country block works

A theme app embed runs when a page opens, looks up the visitor’s IP address, and compares the country with your rules. A blocked visitor sees your message or is sent to another address. Location comes from an IP database, so it is very accurate by country and less so by city.

  • Block a list of countries, or allow only the countries you sell to
  • Redirect instead of blocking, for example to a regional store
  • Keep verified search and social crawlers allowed, so listings and link previews keep working

Steps with Brickmoat

  1. 1

    Switch on the storefront embed

    From the Dashboard, open the theme editor, switch on the Brickmoat app embed and save. Visitor rules do nothing until this is on.

  2. 2

    Pick the countries

    Open Rules and add the countries to block. The free plan holds up to 10 country and IP rules together, Starter 100, Pro has no limit. On Pro you can instead allow only the countries you list.

  3. 3

    Write the message

    Write the message a blocked visitor sees. On Pro you can redirect them to another address instead, per rule.

  4. 4

    Check in watch mode

    While watch mode is on, the visitor log shows who would have been blocked and nothing is enforced. Look for real customers in that list before going live.

  5. 5

    Turn watch mode off

    Switch watch mode off in Rules. The rules now apply, and every decision is recorded in the visitor log with its reason.

Brickmoat has a free plan, and paid plans start with a 14-day free trial. See the plans or watch the install guide.

Limits to know about

  • A visitor using a VPN appears to be in the VPN’s country. Blocking VPN and proxy networks is a separate switch, on the Starter plan and above.
  • The check runs after the page starts loading, so a blocked visitor may see the page for a moment before the block appears.
  • If the check cannot be completed, the visitor is let in. A blocker should never take a store offline.
  • Geo rules are for traffic and fraud control. They are not a legal-compliance or sanctions-screening tool.

Related questions

Will blocking a country hurt my Google ranking?

Not if crawlers are let through. Brickmoat allows verified search and social crawlers by default, checked by network and not by name, so a block on a country does not block Googlebot.

Can I allow only one country?

Yes. On the Pro plan, country rules can run as allow-only: list the countries you sell to and everyone else is blocked or redirected.

Is removing a country from Shopify Markets the same as blocking it?

No. Removing it stops orders shipping there. People in that country can still open and browse the store.

More guides

Start with a free scan of your customer list

The free plan is free for good. Brickmoat starts in watch mode: it shows what it would catch and changes nothing until you switch it on.