Age verifier
Published 19 minutes ago
The Age verifier covers your store with a message asking visitors to confirm their age, with a confirm and a decline button. Visitors who confirm can browse, and aren't asked again for the number of days you choose. Visitors who decline see a message or are sent to another website. Use it if you sell age-restricted products.
Add the age verifier
The age verifier lives in the Overlays group and can be added once.
- In your Shopify admin, go to Online Store > Themes > Customize.
- In the Overlays area of the sidebar, click Add section and choose Age verifier.
- Select the section to preview it while you edit it.

Settings
The editor notes: the section asks visitors to confirm their age before they can browse. Select this section to preview it.
| Setting | What it does |
|---|---|
| Always show in the theme editor | Keeps the age verifier open whenever the theme editor loads, not only when the section is selected. Leave off so it doesn't cover the pages you're editing. Your live store isn't affected. |
| Show logo | Shows your logo above the question. |
| Heading | The question, such as "Are you 18 or older?". |
| Text | A short explanation. |
| Confirm button label | Text for the confirm button, such as "Yes, enter". |
| Decline button label | Text for the decline button, such as "No, exit". |
| Send declining visitors to | A web address to send visitors to when they decline. Leave empty to show the message below instead. |
| Declined heading | Heading shown when a visitor declines (if no address is set above). |
| Declined message | Message shown when a visitor declines. |
| Remember confirmation for | 1–90 days. How long a visitor who confirmed won't be asked again on that device and browser. |
| Color scheme | The colors of the age verifier. |
How it behaves
- Visitors can't close the age verifier with the Escape key or by clicking outside it. They must choose a button.
- The confirmation is remembered on each device and browser separately.
- The age verifier doesn't appear on your password page or gift card page.
- If you also use the Promo popup, it waits until the visitor has confirmed their age.
Tips
- The age verifier asks visitors to confirm their age; it doesn't check identity. Check which rules apply to the products you sell and the regions you sell to, and add any age check required at checkout or delivery separately.
- Use the same minimum age in the Heading as in your store policies.
- To test the age verifier again after confirming, use a private browsing window.