TillKit Checkout Rules

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, AE or AP out 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

  1. In Templates, choose Alaska, Hawaii and US territories off for chosen products.
  2. Pick whether to match products by Vendor or Product tag, and enter the vendors or tags that stay in the lower 48 (separated by commas).
  3. Choose whether to block Alaska, Hawaii and US territories, Alaska and Hawaii or Remote Alaska and Hawaii only (UPS and FedEx).
  4. Click Add this rule and click Save, test a ZIP code in Test & Preview or with your private Testing link, then set Status to Active and click Save. 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.
90-second walkthrough: hiding free shipping in remote UPS and FedEx Alaska ZIP codes and blocking US PO boxes, verified live on US checkout.

Using any US pack or custom ZIP codes

  1. To block items, click Create a new rule → Block checkout. To hide, rename or move rates, click Create a new rule → Hide, rename or reorder shipping rates. For a different rate in an area, click Create a new rule → Swap standard & remote shipping rates (how area rate pairs work).
  2. Change Condition to Postal code, outside the UK and choose United States under Country.
  3. Pick any of the eight sourced packs under Pack and click Add pack, or type your own ZIP codes in Postal codes, comma separated.
  4. Set Status to Testing, save and verify in Test & Preview or with your Testing link, then switch to Active and 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.

Works on every Shopify plan, Basic included.