WooCommerce · Guide
How to Set Up Shipping Zones and Rates in WooCommerce

Short answer
To set up shipping in WooCommerce, go to WooCommerce > Settings > Shipping > Shipping zones and add a zone for each delivery area, ordered from smallest to largest. Add Flat rate, Free shipping, or Local pickup to each zone, set the costs, then test every zone with a real address before you go live.
Key takeaways
- Each customer matches only one shipping zone, the first one that fits their address.
- Order zones from smallest to largest, or a broad zone will hide the narrow ones.
- Flat rate costs accept formulas with [qty], [weight], and [fee percent] placeholders.
- Free shipping can require a coupon, a minimum order amount, or both.
- The free WooCommerce Shipping plugin prints USPS, UPS, and DHL labels for US stores only.
What are WooCommerce shipping zones, methods, and rates?
A shipping zone is a geographic area you ship to, a shipping method is how you charge for delivery inside that zone, and the rate is the price the customer pays.
The three pieces work together. WooCommerce matches the customer's address to one zone, then shows the methods inside that zone, each with its own rate.
The Setting up Shipping Zones guide puts it plainly: a shipping zone is a geographical area to which you ship items, and zones can cover specific postcodes, regions, entire countries, or continents.
Each customer matches only one zone. The same guide says shipping zones are assigned based on the first one the customer matches, and each customer matches only one shipping zone. That rule shapes everything else in this guide, from zone order to testing.
WooCommerce includes three built-in shipping methods: Flat Rate, Free Shipping, and Local Pickup. The same guide names all three, and the sections below cover each one.
Live carrier rates are not built in. Core WooCommerce charges what you set; showing a carrier's live price at checkout needs an extension or the free WooCommerce Shipping plugin for labels.
What do you need before you set up shipping?
You need your store address, the countries you ship to, your delivery costs, and product weights for anything charged by weight.
Check the store settings first. The Setting up Shipping Zones guide lists one prerequisite: go to WooCommerce > Settings > General and check that your “Shipping location(s)” setting is configured properly. If a country is excluded there, no zone can offer shipping to it.
Gather these numbers before you build zones:
- Your store address and the countries, states, or postcodes you deliver to.
- What you pay the carrier for a typical order, so your rates cover it.
- The weight of each product, in your store's weight unit, if any rate uses weight.
- The minimum order value for free shipping, if you plan to offer it.
You can add as many shipping zones or shipping methods as you need. The same guide says there is no limit, so do not try to squeeze every destination into one zone. Read our WooCommerce settings guide first if you are new to the settings screens.
How do you create your first shipping zone?
Go to WooCommerce > Settings > Shipping > Shipping zones, click Add zone, enter a name and regions, add a method, and save.
Follow the steps from the Setting up Shipping Zones guide:
- Go to WooCommerce > Settings > Shipping > Shipping zones.
- Click “Add zone” at the top.
- Enter a descriptive “Zone name”, such as “Local delivery” or “Domestic”.
- Select the “Zone regions” that apply. Regions can be countries, states or provinces, or continents.
- Optional: click “Limit to specific zip/postcodes” to narrow the zone, and enter one code per line.
- Add shipping methods to the zone.
- Click “Save changes”.
The first time you open the Shipping tab, WooCommerce shows a prompt to add a zone and a default zone called “Rest of the world”. The same guide says the Rest of the world zone applies to customers who do not match any zone you add.
Adding methods to it is optional. If you want to exclude a region entirely, add a zone for it with no shipping methods at all.
Postcode limits accept three formats: exact codes such as 90210, a range written with three dots such as 2000...2999, and a wildcard such as 20* for every code that starts with 20. Use exact codes when the delivery area is small, and ranges when it covers a whole region.
How do you order zones so the right one matches?
Order zones from the smallest area to the largest, because WooCommerce checks them top to bottom and uses the first match.
The Setting up Shipping Zones guide says zones are matched in a hierarchy, from the top of the list to the bottom, and WooCommerce chooses the first shipping zone that a customer matches. The guide recommends this order: city first, then state or province, then country.
| Zone order | Example zone | Region |
|---|---|---|
| 1 (smallest) | Local delivery | California ZIP 90210 |
| 2 | Domestic | All US states |
| 3 | Europe | Countries in Europe |
| 4 (largest) | Rest of the world | Everywhere else |
That table mirrors the example in the official guide, which pairs a free shipping method with the 90210 zone, flat rates with the US and Europe zones, and a separate flat rate with the rest of the world.
A broad zone above a narrow one hides the narrow zone. Starting in WooCommerce 11.1, the shipping zones table shows an inline warning under a zone's region when an earlier, broader zone already covers it, as the same guide explains.
The warning names the zone to move above it. If you see it, drag the narrow zone higher and save.
To sort zones, go to WooCommerce > Settings > Shipping > Shipping zones, hold the handle on the left of a zone, drag it to the right place, and click “Save changes”. The same drag handle sorts methods inside a zone.
The default selected shipping method is the first enabled method in the zone the customer matches, so put the option most customers want at the top.
How do you add a flat rate?
Open a zone, click Add shipping method, pick Flat rate, enter a name, tax status, and cost, then save.
The Flat Rate Shipping guide gives these steps: go to WooCommerce > Settings > Shipping > Shipping zones, click Edit on the zone, and click “Add shipping method”.
Then select the method, click “Continue”, enter a “Name” that customers see at cart and checkout, pick a “Tax Status”, enter the “Cost” for the whole cart, and click “Save zone and method”.
The cost field accepts formulas, not just one number. The same guide lists these placeholders: [qty] for the number of products in the cart, [weight] for the total weight of shippable items, and [fee percent="10"] for a fee of 10% of the order total.
You can also set a minimum or maximum fee with min_fee and max_fee.
Two examples from the same guide show how formulas work. A quantity-based rate of 10 + ( 2 * [qty] ) charges $12.00 for 1 item, $14.00 for 2 items, and $16.00 for 3 items.
A percentage-based rate of 10 + [fee percent="10"] charges $11.00 on a $10.00 order, $12.00 on a $20.00 order, and $13.00 on a $30.00 order.
Check your product weights before you use a weight formula. The guide warns that products without a weight count as zero, which can result in free shipping.
If your store charges tax on shipping, set the tax status on the method. Our guide to setting up taxes in WooCommerce covers the tax side.
How do you set up free shipping?
Add the Free shipping method to a zone, pick what the customer must do to earn it, and set a minimum order amount if you use one.
The Free Shipping guide lists five choices in the “Free shipping requires” dropdown: no requirement, a valid free shipping coupon, a minimum order amount, a minimum order amount or a coupon, or a minimum order amount and a coupon. Pick one and save.
The minimum order amount needs care. The same guide explains a checkbox labelled “Apply minimum order rule before coupon discount”. If the box is unchecked, WooCommerce checks the order amount after a coupon discount.
An order of $30 with a $10 coupon counts as $20. If the box is checked, the $30 amount before the coupon is used instead.
To offer free shipping with a coupon, create the coupon first:
- Go to Marketing > Coupons.
- Click “Add coupon”.
- Tick “Allow free shipping”.
- Click “Publish”.
Then add the Free shipping method to the zone and pick the coupon requirement. Customers can now use the coupon to get free shipping. Set the minimum order amount above your average order value, so free shipping lifts order sizes instead of giving away margin on small orders.
How do you set up local pickup?
Open the Local Pickup tab under WooCommerce > Settings > Shipping, tick “Enable local pickup”, add a pickup location, and save.
Local pickup lets customers order online and collect the order in person. It has its own tab under WooCommerce > Settings > Shipping, separate from the zone methods.
Tick “Enable local pickup”, rename the title if you want, add a price if pickup is not free, then click “Add pickup location” and enter the name, address, and pickup details.
You can add more than one pickup location, such as a shop and a warehouse. Customers pick a location at checkout. Keep the pickup details short and exact: the address, the opening hours, and anything the customer must bring, such as an order number or ID.
Local pickup also exists as a method inside zones in older setups, but the tab is the current place to manage it. If you run the cart and checkout blocks, check that pickup shows correctly on the block checkout.
The legacy and block checkouts handle pickup display differently. The Setting up Shipping Zones guide links to separate setup guides for local pickup on the legacy checkout and on the cart and checkout blocks.
How do you use shipping classes for heavy items?
Create a shipping class for heavy or bulky products, assign it to those products, then set a class cost in the flat rate.
Shipping classes group products of a similar type so they can cost more to ship. The Product shipping classes guide says classes work with methods such as flat rate shipping to provide different rates for different types of products.
Create a class first:
- Go to WooCommerce > Settings > Shipping > Classes.
- Click “Add shipping class”.
- Enter a name such as “Heavy”, a slug, and a description.
- Click “Create”.
Then assign it. The same guide says each product can only have one shipping class assigned to it.
Open a product, go to its Shipping tab, pick the class from the dropdown, and update the product. For many products at once, use the Bulk actions dropdown on the Products page.
Then set the price. Open the flat rate inside the zone and you will see a cost field for each class. The Flat Rate Shipping guide shows an example with a base cost of $0.00, a Heavy class cost of $10.00, and a Small class cost of $1.00.
With the calculation type set to “Per Class”, a cart with one Heavy item and one Small item pays $11.00 in shipping. With “Per Order”, the same cart pays $10.00, because only the most expensive class is charged. To charge by class only, set the base cost field to $0.00.
How do you test your shipping setup?
Place test orders from addresses in each zone, check the rates on the cart page, and confirm the checkout shows the right methods.
Test every zone, not just your own address. The Setting up Shipping Zones guide says customers see the shipping methods from their matched zone on the cart page after they use the “Calculate Shipping” link, so test through that link with a real address in each zone.
Run these checks:
- Add a product to the cart and use “Calculate Shipping” with an address in each zone.
- Confirm the right methods and prices appear for each address.
- Test a heavy product and a light product to check the class costs.
- Test an order above and below the free shipping minimum.
- Place a full test order with each method, including local pickup.
Turn on Debug mode in the shipping settings while you test. It shows the matched zone on the cart and checkout pages and bypasses the shipping rate cache, so you see the current result instead of a cached one.
If a customer sees no shipping options, the zone order is the first thing to check. Our guide to fixing the no shipping options error walks through the other causes.
How do you print shipping labels?
Install the free WooCommerce Shipping plugin to buy and print discounted carrier labels from the order page.
Setting rates is only half the job. Labels are the other half. The WooCommerce Shipping plugin page says the plugin lets you print discounted shipping labels and compare live label rates from your WooCommerce dashboard, with no need to set up individual carrier accounts.
The plugin prints USPS, UPS, and DHL labels, and the same page says you can save up to 77% instantly, with all shipments 100% carbon-neutral. It only supports stores shipping from the United States and its territories, using US dollars as the currency.
You also need to connect a WordPress.com account, as the plugin page explains, so the plugin can charge the payment method on file for labels. Read our guide to printing shipping labels from WooCommerce for the steps.
If you ship from outside the United States, this plugin will not work for your store. Use a carrier extension for your country instead, or print labels from the carrier's own site. For stores that hold no stock at all, read our guide to setting up WooCommerce for dropshipping, where shipping works differently.
What mistakes should you avoid?
Do not put broad zones above narrow ones, do not leave products without weights, and do not skip testing with real addresses.
These mistakes cause most shipping problems:
- Ordering zones largest first, so a country zone hides the city zone below it and local customers see the wrong rate.
- Leaving the “Rest of the world” zone empty while shipping worldwide, so customers outside your zones see no shipping options at all.
- Forgetting product weights, so a weight-based formula charges $0 and ships heavy items free.
- Setting a free shipping minimum below your average order value, so most orders ship free and eat your margin.
- Adding methods to a zone but never testing them, so a typo in a flat rate cost goes live.
- Using the WooCommerce Shipping plugin for labels when the store ships from outside the United States, where the plugin does not work.
If you manage many zones by code, the Shipping zones API lets you create, view, update, and delete zones through the REST API, with each zone carrying an id, a name, and an order value.
For most stores, the dashboard is enough. Build the zones once, test them with real addresses, and review the rates whenever your carrier prices change.
Frequently asked questions
What happens if a shipping zone has no shipping methods?
A zone with no methods shows no shipping options to customers in that area. WooCommerce suggests using an empty zone to exclude a region on purpose, but if you want to ship there, add a method to the zone. Check the zone order too, since a broader zone above it can hide it.
Does WooCommerce show live carrier rates at checkout?
No. Core WooCommerce does not show live carrier rates at checkout. It charges the flat rates and free shipping rules you set. For live rates you need a carrier extension from the WooCommerce Marketplace. The free WooCommerce Shipping plugin compares live label rates for printing labels, but it does not set checkout prices.
Can I change a shipping rate after the store is live?
Yes. Open the zone and edit the flat rate cost, then save. The new rate applies to new carts right away. If a customer already has a shipping quote cached, the Debug mode note in the shipping settings explains that cached rates can linger, so test the new rate in a fresh session.
How do I offer delivery only to certain postcodes?
Use a zone limited to specific postcodes and list the codes you deliver to, one per line. You can also use a range such as 2000...2999 or a wildcard such as 20* for codes that start with 20. Keep the zone above broader zones so local customers match it first.
Can I use the WooCommerce Shipping plugin outside the United States?
No. The WooCommerce Shipping plugin only supports stores shipping from the United States and its territories, using US dollars. It prints USPS, UPS, and DHL labels. Stores outside the United States need a carrier extension for their country or must print labels from the carrier's own site.
Sources
- Setting up Shipping Zones WooCommerce
- Flat Rate Shipping WooCommerce
- Free shipping WooCommerce
- Product shipping classes WooCommerce
- Shipping zones API WooCommerce Developer Resources
- WooCommerce Shipping WordPress.org
Is your product missing, or something out of date?
Tell us what to add or correct. We read every note and reply when we need a source. A message does not buy a ranking.
Thanks — we review requests within 3 business days.
Related guides
About the editors
Researched from the primary sources listed above and checked against our editorial rules before publishing.


