Tất cả bài viết

How to block PO Box addresses at Shopify checkout

By the end of this guide, your Shopify checkout will either stop buyers from sending orders to a PO Box your carriers cannot reach, or show those buyers only the rates that can. Quick answer: Shopify has no built-in PO Box setting, so most stores use an app that adds a checkout validation (a hard block) or a shipping rules app that hides courier rates for PO Box addresses (a soft block).

What you need before you start

Blocking PO Box addresses needs a Shopify store on any plan, a clear list of which of your carriers can deliver to a PO Box, and about 15 minutes for setup and a test order.

  • Your plan: checkout validations from public apps in the Shopify App Store work on every Shopify plan. If you want a developer to build a private validation as a custom app instead, check Shopify's current plan requirements first, because custom apps that use Shopify Functions have historically needed Shopify Plus.
  • Your carriers: in the United States, USPS delivers to PO Boxes. UPS says on its shipping support page that it does not deliver to P.O. boxes, and that parcels addressed to one can be delayed, lose the service guarantee and carry an address correction charge. FedEx's standard services also need a street address. Write down which of your rates are postal and which are courier.
  • Your markets: buyers abroad write PO Boxes in their own words, such as "Postfach" in Germany, "Postbus" in the Netherlands or "GPO Box" in Australia. List the countries you ship to.

Ways to block PO Box addresses in Shopify

There are three practical ways to handle PO Box addresses in Shopify: a dedicated PO Box blocker app, a shipping rules app that hides courier rates, or a custom validation built by a developer. Shipping zones and profiles cannot do it on their own, because they match a country, region or ZIP code, not the words in the address line.

Route

Cost

Effort

Best for

PO Box blocker app

Free to about $10 a month

Low

Stores where no carrier reaches PO Boxes

Shipping rules app

Free to paid

Low to medium

Stores that also ship by post

Custom validation function

Developer time

High

Stores with unusual rules and a developer

A dedicated PO Box blocker app

A PO Box blocker app adds a checkout validation: when the shipping address looks like a PO Box, the buyer sees an error and cannot pay until they enter a street address. Several are listed in the App Store, and most are new, so check reviews and trial terms before you install. Listings checked in November 2026:

  • BoxGuard: PO Box Blocker by Mad Syntax has a free plan that blocks US PO Boxes. The Pro plan ($9.99 a month) adds APO, FPO and DPO military addresses, European parcel lockers, custom error text and blocked keywords. It launched in October 2026 and had no reviews yet.
  • PO Box Blocker — AddressFence by momiji-shop has a free plan and blocks PO Box and parcel locker addresses. Paid plans start at $9.99 a month and add custom error messages. It had no reviews yet.
  • PO Box Blocker Pro by Dev Kit starts at $2.99 a month with a 14-day trial, and its $4.99 plan adds lockers and APO/FPO addresses. It had one review, rated 1.0.

A shipping rules app

A shipping rules app can hide only the courier rates for a PO Box address, so the buyer still checks out with a postal rate. This "soft block" suits stores that offer USPS, Australia Post or another postal service next to a courier. Our roundup of shipping rules apps for Shopify compares the main options.

SO: Shipping rules | ETA does both. It has rule conditions called "Shipping address is a PO Box" and "Shipping address is not a PO Box", a "Hide couriers for PO Box addresses" template, and an optional checkout block that uses the same keyword list. It is free. It launched in October 2026 and has one review (5.0), so it has less proof behind it than older shipping apps.

Disclosure: we make this app.

A custom validation function

A custom validation is a Shopify Function your developer writes against Shopify's cart and checkout validation API. It gives you full control over the matching logic, but you own the code, the testing and every future API version update. For a rule as common as PO Box blocking, an app is usually the cheaper path.

How to block PO Box addresses, step by step

The steps below set up a PO Box check with an app, using SO: Shipping rules | ETA as the worked example. Other apps use different screens, so follow their own setup guide for the exact clicks.

  1. Decide between a hard block and a soft block. If none of your rates can reach a PO Box, block checkout. If a postal rate can, hide only the courier rates.
  2. Write your keyword list. Start with "PO Box", "Post Office Box" and "POBox", then add the words used in each country you ship to, such as "GPO Box", "Postfach" or "Postbus".
  3. In the app, open Settings and find PO Box addresses. Paste one keyword per line and save. Case and punctuation are ignored, so "PO Box" also catches "P.O. Box 12" and "po box 12", and only whole words match, so "Boxwood Road" is not caught.
  4. For a soft block, create a rule from the Hide couriers for PO Box addresses template. It hides rates whose names contain UPS, FedEx or DHL; edit those names to match how your courier rates are actually titled at checkout.
  5. For a hard block, go back to Settings, grant the checkout validation permission when the app asks (a one-time Shopify prompt), and turn on Block checkout when the shipping address is a PO Box.
  6. Write the message buyers will see, up to 200 characters, for example: "We can't deliver to PO Boxes. Please enter a street address." Leave it empty to show a default message in the buyer's checkout language.
  7. Place a test order with "P.O. Box 12" in the first address line, then again with it in the second line, then with a normal street address, and once with local pickup. The first two should be stopped or should lose the courier rates; the street address and the pickup order should go through untouched.

Two safety details are worth knowing in this setup. Pickup orders are never blocked, because nothing needs delivering. And if the check itself ever fails, checkout keeps working rather than turning away buyers.

Tips to get more out of it

A PO Box rule works best when buyers learn about it before they reach the error message.

  • Say it early. Add one line to your shipping policy and your FAQ page, such as "We ship by courier, so we can't deliver to PO Boxes."
  • Prefer the soft block when you can. A buyer who still sees a postal rate finishes the order; a buyer who meets an error might not.
  • Check both address lines. Buyers often type the street in the first line and the PO Box in the second, or the reverse.
  • Treat military addresses separately. UPS's support page also says it does not accept APO or FPO addresses. If you ship to US service members, decide whether to block them or offer a USPS rate, and add "APO" and "FPO" to your keywords only if you want them blocked.
  • Review the list once a quarter. When you open a new market, add its local word for a PO Box.

Common mistakes to avoid

Most PO Box problems come from a keyword list that is too loose, too narrow, or a block that leaves the buyer nowhere to go.

  • Matching "box" on its own. That catches real streets and businesses. Use full phrases such as "PO Box".
  • Forgetting dotted and joined spellings. "P.O. Box", "PO Box" and "POBox" are all common. Pick an app that ignores punctuation or list each spelling.
  • Hiding every rate. If a soft-block rule hides all your rates, the buyer sees no shipping options at all, which reads like a broken store. Keep at least one postal rate visible.
  • A vague error message. "Invalid address" tells the buyer nothing. Say why and what to do instead.
  • Blocking pickup orders. A buyer collecting in store does not need a deliverable address.
  • Skipping the test order. Always try a PO Box in both address lines before you rely on the rule.

Frequently asked questions

Does Shopify have a built-in setting to block PO Box addresses?

Shopify has no built-in setting that blocks PO Box addresses at checkout. Shipping zones and profiles work on country, region and ZIP code, not on the words in an address line. You need an app that adds a checkout validation, or a custom validation function written by a developer.

Can I block PO Boxes on the Basic Shopify plan?

Yes. Checkout validations from public apps in the Shopify App Store run on every Shopify plan, including Basic. Only custom apps built for a single store have historically needed Shopify Plus to run Shopify Functions, so check Shopify's current requirements if you plan to build your own.

Should I hide courier rates or block checkout for PO Box addresses?

Hide courier rates when at least one of your rates, usually a postal service such as USPS, can deliver to a PO Box. Block checkout only when none of your rates can. Hiding keeps the sale, while blocking forces the buyer to find a street address.

Will a PO Box block catch "P.O. Box" with dots?

It depends on the app. Some apps compare the address word for word, so "PO Box" and "P.O. Box" need separate keywords. SO: Shipping rules | ETA ignores case and punctuation, so a single "PO Box" keyword also catches "P.O. Box 12".

What about APO and FPO military addresses?

APO and FPO addresses are handled by USPS, and UPS's support page says UPS does not accept them. Some PO Box blocker apps block them on paid plans. If you would rather ship to them, keep a USPS rate visible for those addresses instead of blocking them.

Next step

Open your shipping settings and write down which of your rates can reach a PO Box. If at least one can, set up a soft block that hides the others; if none can, add a checkout block with a clear message. Then place one test order with "P.O. Box 12" before the next busy weekend. For more on rates that show up where they should not, read why Shopify shows the wrong shipping options at checkout.

Đọc thêm bài viết