How to restrict Shopify shipping by US ZIP code (Alaska, Hawaii & territories)
TillKit Checkout Rules includes eight sourced US ZIP code packs (Alaska, Hawaii, US territories, overseas military APO/FPO/DPO, UPS/FedEx Remote Alaska and Remote Hawaii, plus built-in FedEx 2027 and UPS Remote US 48 contiguous-48 remote ZIP lists) and four ready-made US templates. Block specific products outside the lower 48, swap to remote rates or hide zero-cost free shipping in remote ZIP codes - on any Shopify plan, Basic included.
Last updated: 3rd December 2026.
What Shopify does on its own
Shopify's shipping zones go down to US state level, not ZIP code, and they never inspect address lines. That leaves four everyday gaps for US stores:
- PO boxes and APO/FPO/DPO military mail: Shipping zones can't tell a PO box from a street address, and leaving
AA,AEorAPout of a zone shows only Shopify's generic "Shipping not available" dead-end error. - Per-product lower-48 restrictions: Moving heavy, perishable or hazmat products into a second shipping profile causes Shopify to sum rates from both profiles in mixed carts.
- Remote Alaska and outer Hawaiian islands: State-level zones can't separate Anchorage, Fairbanks or Honolulu from the 219 bush Alaska ZIP codes and 68 outer-island Hawaii ZIP codes where UPS and FedEx add remote-area charges.
- Free shipping exclusions: Shopify's free shipping discounts apply across the whole United States rather than per state or ZIP code; moving your free tier to a zero-cost shipping rate in Shopify lets TillKit hide it outside the lower 48 (see the free shipping exclusion guide).
Blocking US PO boxes and APO/FPO/DPO addresses
Need to stop UPS or FedEx orders going to USPS PO boxes or overseas military mail (APO, FPO, DPO) while keeping private mailboxes (PMB) and domestic bases open? Use the one-rule US PO boxes and APO/FPO/DPO off template - see our dedicated guide on how to block PO boxes and APO/FPO addresses on Shopify.
Block Alaska, Hawaii and US territories for chosen products
- In
Templates, chooseAlaska, Hawaii and US territories off for chosen products. - Pick whether to match products by
VendororProduct tag, and enter the vendors or tags that stay in the lower 48 (separated by commas). - Choose whether to block Alaska, Hawaii and US territories, Alaska and Hawaii or Remote Alaska and Hawaii only (UPS and FedEx).
- Click
Add this ruleand clickSave, test a ZIP code inTest & Previewor with your private Testing link, then set Status toActiveand clickSave. Shoppers in matched ZIP codes then see a clear message naming the blocked item (Sorry, we can't ship {item} to that ZIP code.) and can remove it to check out the rest of their cart.
Using any US pack or custom ZIP codes
- To block items, click
Create a new rule→Block checkout. To hide, rename or move rates, clickCreate a new rule→Hide, rename or reorder shipping rates. For a different rate in an area, clickCreate a new rule→Swap standard & remote shipping rates(how area rate pairs work). - Change
ConditiontoPostal code, outside the UKand chooseUnited StatesunderCountry. - Pick any of the eight sourced packs under
Packand clickAdd pack, or type your own ZIP codes inPostal codes, comma separated. - Set Status to
Testing, save and verify inTest & Previewor with your Testing link, then switch toActiveand save.
You can enter a 5-digit ZIP code (75001), a 3-digit prefix (995) or an equal-length range (75001-75099). Hyphens don't matter, so a shopper who enters a ZIP+4 code such as 99501-1234 matches both 995-999 and 99501.
A limit for US stores
These rules can also hide, rename or move payment methods. On US and Canadian stores, rules for card payments need Shopify Plus. Without Plus, card payments stay first.
Questions
Is there a ready-made list of US ZIP codes?
Yes. Eight sourced US packs are built in: Alaska (995-999), Hawaii (96701-96798, 968), US territories and Freely Associated States (Puerto Rico, US Virgin Islands, American Samoa 96799, Guam, Northern Mariana Islands, Micronesia, Marshall Islands and Palau - leaving out Holtsville, NY 005), US military and diplomatic mail (APO, FPO, DPO) (090-099, 340, 962-966), Alaska remote ZIP codes (UPS and FedEx) (219 bush/off-road ZIP codes, excluding Anchorage and Fairbanks), Hawaii remote ZIP codes (UPS and FedEx) (68 outer-island ZIP codes, excluding Oahu and Honolulu), US contiguous-48 remote ZIP codes (FedEx 2027) (6,124 contiguous-48 remote ZIP codes) and US contiguous-48 remote ZIP codes (UPS Remote US 48) (3,591 contiguous-48 remote ZIP codes). Shopify places all five inhabited US territories, the three Freely Associated States and military codes under United States (US), so one US rule catches them all; only uninhabited U.S. Outlying Islands (UM) is a separate country.
How do the contiguous-48 FedEx and UPS remote ZIP lists fit inside Shopify Functions?
Shopify Functions cap a store's compiled rule string at 10,000 bytes, so expanding thousands of contiguous-48 ZIP codes into text wouldn't fit. Instead, TillKit ships both official carrier remote lists - FedEx 2027's 6,124 contiguous-48 remote ZIPs and UPS Remote US 48's 3,591 ZIPs - as compact lookup tables compiled directly inside the checkout functions. Adding either pack (or both together via the Free shipping hidden in US remote ZIP codes (FedEx and UPS) template) uses virtually zero rule space, leaving room for the rest of your store's rules.
Does it work on the Basic plan?
Yes. It works on every Shopify plan, Basic included.
Try it on your store
Install the app, add a US template or pack and open your private Testing link to see it on your own checkout before your customers do.
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 how-to guides
- Exclude Alaska, Hawaii and US territories from free shipping
- Charging different Shopify shipping rates by postcode (without Plus)
- Highlands and Islands delivery
- Northern Ireland
- Channel Islands and Isle of Man
- Remote Australian postcodes
- Stop FedEx and UPS remote-area surcharges on Shopify
- Block PO boxes on Shopify (any plan)
- Canada remote postal codes and PO boxes
- Free FedEx, UPS Remote ZIP and UK Postcode Checker
- Hide next-day delivery after a cut-off time and schedule holiday rules
- Hide Cash on Delivery (COD) by order total or postcode
- All of Checkout Rules
- Shopify shipping zones and advanced shipping rules without CCS
- Shopify checkout customization without Plus