Postcode and region rules for Shopify shipping

Match Shopify checkout addresses by postcode, range, wildcard, area rule, exclusion, or catch-all region, then return your exact rates.

Updated

You group postcodes, ZIP codes, or address fields into shipping regions and attach your own rates to each one. At checkout, Postcode Shipping matches the customer's address against your single codes, ranges, wildcards, exclusions, or catch-all regions and returns the matching rates through Shopify carrier-calculated shipping.

How it works

  1. Create a shipping zone for the country you ship to.
  2. Add a region and enter the match rules that belong together.
  3. Attach one or more rates to that region.
  4. Add a catch-all region so addresses outside your named regions still receive a rate.
  5. Test sample addresses in the Rate Sandbox.

Which rule to use

Rule type Example Use it for
Single 2000 One exact postcode or ZIP code
Range 3000-3207 Numeric postcodes in sequence, common in Australia, New Zealand, and the US
Wildcard BS1 * Every postcode sharing a prefix, ideal for UK and Canadian formats
Wildcard range BS1 1*-BS1 5* A sequential block of partial postcodes, such as adjacent UK districts
Area state:CA or city:San Francisco Address fields beyond the postcode: city, state, province, county, company name, or address line 1 or 2

Exclusion rules apply the same formats in reverse. Match a full range or wildcard, then exclude specific postcodes inside it that need separate pricing. Catch-all regions accept exclusions as well, so you can cover an entire zone while carving out selected codes.

You can also add product exclusions to a region so it withholds rates whenever the cart contains specific products, variants, or product groups.

For the United Kingdom, the United States, and Australia, you can draw many of these rules directly on a map with the visual region editor.

Typical use

An Australian store might group metro postcodes into one region, place its courier's remote postcodes into a second region, and cover the rest of the country with a catch-all region. Each region then gets its own Flat or weight-based rates using the prices you enter directly in the app.

Plans

Build and test unlimited region rules on the $0 Sandbox plan with no time limit. Customers see your rates at checkout once you activate Live rates ($20 USD a month or $200 USD a year), which includes a 7-day trial starting when you set up billing and requires Shopify carrier-calculated shipping.

Frequently asked questions

Can Shopify set shipping rates by postcode without an app?

Shopify's built-in shipping zones match by country and state or province. To price shipping by postcode or ZIP code at checkout, connect an app through Shopify carrier-calculated shipping.

What happens if a postcode is in two regions?

Your customer sees eligible rates from both regions whenever each rate's rules match the cart. You can use overlapping regions intentionally, such as offering Standard from a wide region and Express from a local one.

What if no region matches the address?

Checkout receives no rates from Postcode Shipping for that destination. Add a catch-all region in the same zone so every other address receives a price.

Can I exclude products from a region?

Yes. Turn on product exclusions for the region and choose the products, variants, or product groups that should stay excluded. Whenever a cart contains an excluded item, that region withholds its rates.

Build your postcode regions

Create regions with single codes, ranges, wildcards, or exclusions, add a catch-all region, and verify addresses in the Rate Sandbox before going live.

Build and test it free in the Sandbox, with no time limit. Customers see your rates once you activate Live rates ($20 USD a month), and the 7-day trial starts when you set up billing. Requires Shopify carrier-calculated shipping.