Skip to content
Browse Loman Age Verification docs

Age rules by country and state

Setting the minimum age in each place you ship to, and what the gate asks when it cannot tell where someone is.

Alcohol is 21 in the United States and 18 across most of Europe, and cannabis and vape rules vary by state. The Age thresholds card in Settings is where you set the age your gate asks for in each place you ship to.

It has two parts: one number that always applies, and a list of exceptions.

The lower half of the Settings page. The Age thresholds card shows the fallback field, Age to ask for when we can't tell where someone is, set to 18, then a rules list: Canada 19+, Canada · Quebec 18+, United States 21+, each with Edit and Remove buttons, and an Add a rule button. Below it, the How the gate appears card with Gate layout set to Centered popup, the Verification passes card with its Reset verification passes button, and the In the unlikely event we're unreachable card.
The Age thresholds card: the fallback age above the line, the rules below it. A rule for a province beats one for its country.

The fallback age

Age to ask for when we can’t tell where someone is.

This is the ordinary case, not an edge case. Shopify’s storefront only knows the market a visitor has selected, and plenty of visitors select nothing — so this number is what most of them will be asked. Your own country is usually the right answer.

It saves through the page’s Save bar, along with everything else on Settings.

The fallback is not the whole defenseSetting this low does not open a hole. Anyone whose delivery address needs a stricter age is still stopped at checkout — see Checkout enforcement. That is why the fallback is asked for in words rather than inferred from your strictest rule: guessing high would over-prompt your home market to guard against a case checkout already covers.

A store that has configured nothing at all falls back to 18. That is a floor rather than a recommendation, and the setup checklist asks you to replace it deliberately.

Rules for everywhere else

Below the fallback is the list. Add a rule anywhere the age is different.

  1. Click Add a rule.
  2. Choose a Country.
  3. Optionally add a State or province — the two-letter code, like TX, CA, or ON. Leave it blank to cover the whole country.
  4. Set the Minimum age.
  5. Click Add rule.

Each rule appears as a row: the place, a badge showing the age, and Edit and Remove beside it. US states and Canadian provinces are shown by name; anywhere else is shown by the code you typed.

Edit changes the age only. To move a rule to a different place, remove it and add another — that is deliberate, because walking one rule onto another would hand you a uniqueness error about a place you were not editing.

The most specific rule wins

A rule for a state beats a rule for its country, which beats your fallback. So:

Your rules A visitor in… Is asked for
Fallback 21, United States 21, Texas 21 Texas 21
Fallback 18, United States 21 Ohio 21
Fallback 18, United States 21 France 18
Fallback 18 only anywhere 18

With no rules at all, the list says so: “No rules yet. Every visitor is asked for the age above.”

When the gate asks where the order ships

If — and only if — the visitor’s country has a rule at state or province level, the gate adds a question above the age check: Where will your order ship?

It lists the states you have written rules for, by name, plus “Elsewhere in” that country. The app pre-selects its best guess from the visitor’s connection, and they can change it. Until a choice is made, the submit button stays disabled — “are you 23?” is the wrong question for somebody who turns out to be in a 30 state.

This exists because a storefront cannot see a visitor’s state. Without asking, a gate would have to either ask everyone in the country for the strictest state’s age, or ask the national age and then have checkout block a buyer it had just waved through. Asking is the version that does not waste anybody’s time.

A guess, not a decisionThe guess only decides what the gate asks. Checkout enforces against the real delivery address, which a buyer cannot choose freely, so a wrong guess costs one click and opens nothing. You can also reword the question itself — Destination question in the editor's Content category.

What happens when you change a rule

Raising an age re-asks the people it affects. Visitors who passed under the old, lower number are asked again on their next visit, and get a fresh pass at the new number. Without that they would carry a pass the gate accepts and a checkout that refuses them, with no way to earn a better one.

Lowering an age re-asks nobody. A pass for a higher age already clears a lower one.

Either way the checkout rule is updated to match, so the number your gate asks for and the number Shopify enforces never drift apart.

Picking the numbers

We cannot tell you what to set. What a jurisdiction requires depends on what you sell and where you sell it, it changes, and getting it wrong has consequences that land on you rather than on us — so the numbers in this app are yours to choose and worth checking with someone qualified rather than with a help center.

What the app is answerable for is narrower, and worth being precise about: whatever numbers you enter are what the gate asks for and what checkout enforces, in every place you have written a rule for.

Still stuck?

Email [email protected] with your store's .myshopify.com domain and what you were trying to do. Most replies go out within one business day; over a weekend it can take longer.