Opens in a new tab
Store Operations

Restricting WooCommerce shipping to UK mainland (without breaking checkout)

A pattern I see on UK WooCommerce shops is a carrier that says “UK mainland only”… but the site happily offers shipping to places the carrier won’t touch (or will surcharge heavily): Highlands, islands, Northern Ireland, Isle of Man, and the Channel Islands. Then someone has to email the customer, cancel the order, or swallow…

Restricting WooCommerce shipping to UK mainland (without breaking checkout)

A pattern I see on UK WooCommerce shops is a carrier that says “UK mainland only”… but the site happily offers shipping to places the carrier won’t touch (or will surcharge heavily): Highlands, islands, Northern Ireland, Isle of Man, and the Channel Islands. Then someone has to email the customer, cancel the order, or swallow the extra cost. This post is the practical, plugin-neutral way I approach woocommerce restrict shipping uk mainland so you can stop those orders getting through in the first place (or at least make the limitation crystal clear before payment).

What “UK mainland” actually means (and why you must define it)

Before you touch WooCommerce settings, decide what you mean by “mainland”. Carriers all define it slightly differently, and “UK” doesn’t map cleanly to “mainland”. In practice, you need a written list of exclusions based on how you fulfil.

Most shops end up excluding some combination of:

  • Northern Ireland
  • Isle of Man
  • Channel Islands (Jersey and Guernsey)
  • Scottish islands and other offshore islands
  • Isles of Scilly
  • “Remote”/“extended area” postcodes charged differently by the carrier

WooCommerce doesn’t ship with a built-in “UK mainland” region, so you can’t just tick a box. The reliable approach is postcode-based rules in a shipping zone, using the same postcode exclusions/surcharge list your courier uses.

If you need the official WooCommerce background on how zones work, they’re covered in Setting up shipping zones and the general WooCommerce shipping documentation.

Why shipping zones alone can fall short

Shipping zones are the right starting point, but there are two common gotchas:

  • Zones only control which shipping methods appear. A postcode restriction can remove shipping methods, but it doesn’t necessarily stop a customer entering an “excluded” address. The practical effect is usually: they get to shipping, see “no shipping options were found”, and abandon (or email you annoyed).
  • The UK postcode map isn’t a neat numeric range. You can’t sensibly define mainland UK as one continuous range. It’s prefixes and districts, and different carriers draw their surcharge lines differently.

So: use zones and postcode rules to control availability, but be deliberate about the customer experience. For some shops, a warning message is enough. For others, you want to block the checkout with a clear error before payment.

The recommended WooCommerce setup: a “UK mainland” zone using postcodes

Here’s the setup I generally work towards. It matches WooCommerce’s own guidance: create a dedicated zone that is limited by postcodes, then make sure broader zones don’t accidentally override it. WooCommerce matches the customer’s address to the first applicable zone, so the order of zones matters (WooCommerce shipping zones; also see Troubleshooting shipping).

Step-by-step

  1. Go to WooCommerce → Settings → Shipping → Shipping zones.
  2. Create a new zone called UK mainland.
  3. Set Zone regions to United Kingdom.
  4. Enable Limit to specific ZIP/postcodes.
  5. Add the postcode patterns your carrier treats as mainland (one entry per line).
  6. Add the shipping methods you want to offer for mainland customers (Flat rate, Free shipping, courier integration, etc.).
  7. Move UK mainland above any broader zones (e.g. “United Kingdom” or “Europe”). WooCommerce uses the first zone that matches the customer’s shipping address.
  8. Keep a final Rest of the world zone with no shipping methods (or only methods for destinations you genuinely ship to). Anyone not matching your mainland zone won’t be able to select a delivery method.

Postcode formats WooCommerce supports

WooCommerce supports individual postcodes, numeric ranges, and wildcard patterns such as CB23*. For prefixes that contain letters (which is most of the UK), wildcards are generally the practical approach (Setting up shipping zones).

A typical “mainland” list often ends up being a mixture:

  • Wildcards for prefixes/districts you allow (e.g. NE* or NE1*)
  • Explicit exclusions handled by omission (i.e. you simply don’t include the postcodes you want to block)

It’s tempting to “include everything” and then try to subtract the exceptions, but WooCommerce’s postcode limits are additive within a zone: you’re describing what matches that zone. In practice, I find it easier to think in terms of a set of postcode patterns you will accept, based on a courier’s definition of mainland.

Highlands, islands, Northern Ireland, and Channel Islands: handling the awkward bits

This is where most “UK mainland only” setups go wrong. A few practical points to keep you out of trouble:

Northern Ireland is not reliably handled by “United Kingdom”

If you include the whole UK as the region, Northern Ireland addresses are still “United Kingdom”. If you need to exclude NI, you’re into postcode logic (commonly the BT area), and you should be careful not to treat all UK addresses the same. WooCommerce’s country selector alone can’t distinguish “mainland” destinations.

Channel Islands and Isle of Man often appear as UK-adjacent, but aren’t mainland

Depending on how your checkout is configured, customers may be able to pick a country that looks “close enough”, or your shipping integration may interpret them differently. The safest way to align with your carrier is still postcode-based acceptance/exclusion rules. Document what you do, and keep your customer-facing delivery page consistent with it.

Scottish islands and “remote” areas are usually postcode-driven

Carriers typically publish their own lists of surcharged areas by postcode district/sector. There isn’t a universal “island postcode list” built into WooCommerce, and the UK postcode geography isn’t one neat sequence you can cover with a simple numeric range. Take your carrier list as your source of truth, translate it into WooCommerce postcode patterns, and test it (more on testing below).

Zone ordering, overlaps, and the “why is shipping showing up?” problem

When someone tells me “I restricted it, but it still offers shipping”, the fix is often boring:

  • The UK mainland zone is below a broader zone that also matches the address.
  • The postcode list is too broad (e.g. a wildcard that accidentally covers excluded districts).
  • A method exists in Rest of the world (even an old leftover flat rate), so excluded addresses still see an option.

WooCommerce is explicit about this: it will match an address to the first applicable zone, and overlapping or incomplete postcode ranges are a common cause of unexpected results. If you’re troubleshooting, the WooCommerce doc is worth a read: Troubleshooting core shipping.

A quick overlap sanity check

Do a quick review of your zone list from top to bottom and ask:

  1. Is there any zone above “UK mainland” that includes the UK without postcode limits?
  2. Is “Rest of the world” truly empty (no shipping methods), if you’re using it as a hard stop?
  3. Do any of your postcode wildcards overlap with areas you intended to exclude?

Customer experience: blocking at checkout vs giving a warning

There are two decent approaches, and which one you choose depends on your shop, your support load, and how strict you need to be.

Option A: Hard block (no shipping method available)

This is the simplest, pure-WooCommerce approach: for excluded postcodes, no shipping methods appear. Practically, this stops the order because the customer can’t complete checkout without a shipping method.

Pros:

  • No custom code required.
  • Very hard for an excluded address to slip through accidentally.

Cons:

  • The customer often only discovers the problem late (at checkout).
  • The default “no shipping options” messaging can be vague, which generates emails.

Option B: Allow checkout but show a clear warning early

This approach is more customer-friendly when exclusions are rare, or when you’re happy to handle exceptions manually. You still control shipping methods, but you also communicate the rule earlier (cart page, delivery info, or a notice when the postcode is entered).

Pros:

  • Fewer nasty surprises at the payment step.
  • You can explain alternatives (collection, courier quote, etc.).

Cons:

  • You need to be disciplined operationally, so you don’t accidentally fulfil orders you can’t deliver.
  • Depending on your setup, it can be harder to guarantee an order never slips through.

If you want to control whether shipping is calculated against billing or shipping address, that’s in WooCommerce → Settings → General. WooCommerce documents these general settings here: Configuring WooCommerce settings. For “UK mainland only”, I usually prefer basing shipping on the shipping address, because that’s where the parcel is actually going.

Testing: don’t go live until you’ve tried real addresses

Once you’ve built a postcode-limited “UK mainland” zone, test it with representative addresses. This is the bit people skip, then spend a week firefighting.

A simple test checklist

  1. Pick at least one postcode from England, Wales, and mainland Scotland that should be allowed.
  2. Pick postcodes for the areas you exclude (for example: Northern Ireland, Scottish islands, Isle of Man, and Channel Islands if relevant to your business rules).
  3. Test with different cart contents if you have shipping classes, heavy items, or free shipping thresholds.
  4. Test with both logged-in and guest checkout.
  5. Test entering the postcode with and without spaces. Customers are inconsistent, and formatting issues can cause false negatives.

If something doesn’t behave as expected, work through WooCommerce’s troubleshooting guide, paying particular attention to zone order and postcode overlaps: Troubleshooting core shipping.

Advanced: managing zones programmatically (for developers)

If you’re maintaining multiple stores, or you have a long list of postcode patterns to keep in sync with a courier document, doing this through the admin UI can be painful. WooCommerce exposes shipping zones and zone locations via the REST API, which can be useful for automating updates or auditing what’s currently configured.

Docs:

I’m not going to pretend a REST API integration is “quick”, but even using it once to export zone locations can help you spot overlaps and surprises in a big postcode list.

Key takeaway

WooCommerce doesn’t have a built-in “UK mainland” destination, so the dependable way to do it is a dedicated UK mainland shipping zone limited by postcode patterns, placed above any broader zones, with a final Rest of the world zone that offers no methods. That gets you most of the way there. The remaining work is deciding what “mainland” means for your carrier and your operations, and choosing whether you want a hard block at checkout or a gentler warning earlier in the journey.

If you get stuck untangling postcode overlaps or zone order, I’m happy to take a look at the setup. You can reach me via Contact Us.

Dan Cotugno-Cregin
Written byDan Cotugno-Cregin

The developer behind Baltic Digital. Building and running WordPress and WooCommerce stores since 2009, and writing the plugins they need.

More about me →
On this page
Baltic Digital

Plugins that do one job properly.

Lightweight WordPress and WooCommerce plugins, tested on real client stores.

Browse plugins

More from the blog

How I get more genuine reviews on WooCommerce stores (without annoying customers)
MarketingNovember 17, 2026

How I get more genuine reviews on WooCommerce stores (without annoying customers)

Most WooCommerce stores I look after have the same problem: customers are happy enough (they come back, they don’t complain),…

Read article →
Offering finance on a WooCommerce store in the UK: what to check before you add BNPL
ComplianceOctober 27, 2026

Offering finance on a WooCommerce store in the UK: what to check before you add BNPL

A pattern I see on UK WooCommerce stores is this: a retailer wants to improve conversion on higher-value baskets, so…

Read article →
Back-in-stock notifications in WooCommerce: the practical way to set them up (without annoying customers)
Store OperationsOctober 19, 2026

Back-in-stock notifications in WooCommerce: the practical way to set them up (without annoying customers)

Most WooCommerce stores I look after hit the same snag sooner or later: a product sells out, customers keep checking…

Read article →