How to block invalid or fake UK postcodes at Shopify checkout
Stop failed Royal Mail and DPD deliveries caused by fake or mistyped UK postcode districts like SW99 by validating against the official ONS live postcode list - Basic plan included.
Last updated: 3rd December 2026.
Why Shopify lets impossible UK postcodes through checkout
Shopify only checks basic UK postcode formatting, so a mistyped or invented postcode like SW99 1AA or ZZ1 1AA passes straight through checkout. Worse, a typo in a remote-area postcode can also slip past postcode-based shipping rules before your courier rejects the label at dispatch.
TillKit checks the shopper's UK postcode district against the official Office for National Statistics (ONS) live directory - including the Channel Islands and the Isle of Man - and flags impossible districts directly on the postcode field when they click Pay.
Set it up in 60 seconds
- Open
TillKit Checkout Rulesin your Shopify admin and clickTemplates(orBrowse all templates). - Switch to
Address Protectionand pickPostcodes that don't exist blocked. - Click
Add this rule(no blanks to fill in), clickSaveinTestingmode, preview with your private Testing link, then switch Status toActive. - At checkout, a non-existent UK district like
SW99 1AAis caught cleanly on the postcode field before payment completes.
Want to also block or re-rate genuine UK island and offshore postcodes? See our Scottish Highlands & Islands, Northern Ireland and Channel Islands & Isle of Man guides.
Questions
Will valid Northern Ireland (BT), Channel Islands, Isle of Man or international orders still pass?
Yes. Live Channel Islands and Isle of Man districts are included in the ONS directory, and Northern Ireland (BT), BFPO and all non-UK addresses pass cleanly.
Does this validate against live official UK data?
Yes. TillKit compiles the official Office for National Statistics (ONS) live postcode district list directly into the checkout function with zero external API latency.
Does it also stop shoppers bypassing Highlands or island surcharge rules with a fake postcode?
Yes. Because made-up districts like IV99 or SW99 are rejected at payment, shoppers cannot invent a fake postcode to dodge area shipping rules.
Does this work on Shopify Basic without Shopify Plus?
Yes. ONS postcode validation runs natively inside Shopify checkout on every plan, Basic included.
Try it on your store
Install the app, add the template in one click and test it safely with your private Testing link before switching it to Active.
Free plan
Free forever
Run 2 complete rules live across checkout, delivery or payments. Each rule covers unlimited postcodes, packs, products and conditions - with unlimited orders. Rules in Testing or Off don't count.
Unlimited plan
$5.99 / month
Every active rule runs, with a 7-day free trial and free use on development stores. If you switch back to Free, your earliest 2 live rules keep running and the rest stay saved.
Works on every Shopify plan, Basic included.
More checkout & shipping guides
- Scottish Highlands and Islands shipping rules on Shopify
- Require a house or building number at Shopify checkout
- Block PO boxes and BFPO addresses at Shopify checkout
- Block non-Latin characters in Shopify checkout addresses
- All of Checkout Rules
- Royal Mail Click & Drop and UK courier rules on Shopify
- Shopify checkout customization without Plus