Install free
Home / Blog

How to set shipping rates by zip code on Shopify

GuideNovember 29, 2026·6 min read·By Rajimul Islam Joy
Illustration for: How to set shipping rates by zip code on Shopify
Quick answer

To set shipping rates by zip code on Shopify, install a postal-code rates app such as Zipcode Shipping Rate, create a zone, add the zip codes it covers, add a rate with a price, test it with Test mode, then turn it on.

One flat shipping rate for a whole country is simple, but it means you overcharge nearby customers and lose money on far-away ones. Setting rates by zip code fixes that. Here is how to do it on Shopify, step by step.

Why a flat rate costs you money

Shopify's built-in shipping zones work at the country and region level. If a customer 5 miles away and a customer 500 miles away pay the same fee, one of them is paying too much or you are absorbing the difference. Pricing by zip or postal code lets the fee follow the real cost of getting the parcel there.

What you need before you start

Step 1: Create a zone

A zone is a named group of postal codes for one country, for example "West Coast" or "Inner London". Start with the areas you already know the cost for. Everything else can be added later.

Step 2: Add the postal codes

You can match codes three ways: an exact code like 90210, a numeric range like 10000-19999, or a prefix like SW1*. Our guide to postal code matching patterns explains each one.

Step 3: Add rates to the zone

Give each rate a clear name, such as "Standard delivery", and set its price. On the Pro plan you can also tie a rate to an order weight range or an order value range inside the zone. See how to charge shipping by weight and order value.

Step 4: Test before customers see it

Leave Test mode on and use the built-in Test-a-zip checker. Type a zip code and see which zone and rate it returns. Try a code at the edge of a range and a code you expect not to match.

Tip: test at least one code per zone, plus one code from each end of every range. Most mistakes hide at the edges.

Step 5: Go live

When every test returns the rate you expect, turn the app on. Customers now see the matching fee at checkout before they pay. Place a real test order from a zip code in each zone to confirm everything end to end.

Keep it maintainable

Frequently asked questions

Can Shopify charge different shipping rates by zip code?

Shopify's built-in shipping zones work at the country and region level. To price by zip or postal code you can add an app like Zipcode Shipping Rate, which works on every Shopify plan.

How long does it take to set up zip-code shipping?

A first zone usually takes a few minutes: create the zone, add its codes, add a rate and test it. More zones take longer, depending on how many areas you serve.

Can I test the rates before customers see them?

Yes. Keep Test mode on and use the Test-a-zip checker to see which rate any zip code returns before you go live.

Stuck? Talk to a real person.

We believe human support is best. Our team helps on every plan, including Free and Shopify Basic.

Email support

Set up zip-code shipping in minutes

Start on the free plan. Add zones, test any zip code, and go live when you are ready.

Install free on Shopify

More from the blog

Zip codes, postal codes, Eircodes and pincodes: how to match them
How-to

Zip codes, postal codes, Eircodes and pincodes: how to match them

Exact codes, numeric ranges and prefix wildcards explained with examples for US, UK, Canada, Ireland and India, so your zip-code shipping rules match the right customers.

November 28, 2026 · 5 min read
Flat-rate vs zip-code shipping: which fits your store?
Strategy

Flat-rate vs zip-code shipping: which fits your store?

Flat-rate shipping is simple, zip-code shipping is precise. Here is how to decide which one fits your Shopify store, with a quick checklist.

November 27, 2026 · 5 min read
How to charge shipping by weight and order value
How-to

How to charge shipping by weight and order value

Combine zip-code zones with weight and order-value tiers to price shipping fairly. Includes an example tier table and tips for free-shipping thresholds.

November 26, 2026 · 5 min read