Age verification popup templates: set up a website age gate

Jack Hayes Jack Hayes

An age verification popup asks visitors to confirm that they meet a stated age requirement before continuing. This type of website age gate is self-declaration: the visitor supplies the answer, and the popup can close or redirect them based on their choice.

A popup does not verify identity, validate a date of birth, or enforce server-side access restrictions. The ICO distinguishes self-declaration from other age-assurance methods. Choose the required assurance method for your service first; use these templates when a self-declared confirmation is appropriate.


You can create an age verification popup with Getsitecontrol, and add it to your website for free, adjusting the text and appearance to your needs. It works on all platforms, including Shopify, WordPress, Squarespace, and others — no coding is required.

When a new visitor enters your website, the age gate will pop up, covering the webpage content. If a visitor confirms they are of the required age, the popup will close automatically; if they state they’re underage, they’ll be redirected to a page of your choice.

Use the age gate to communicate your chosen threshold consistently. For a Shopify storefront, the Shopify age gate guide covers store-specific targeting and testing. The examples below focus on confirmation wording, display behavior, and redirect destinations.

Age verification popup best practices

Choose a clear confirmation approach

Most age gates rely on one of two age verification approaches: buttons or checkboxes. Both setup options are available in Getsitecontrol.

Button-based confirmation is very common. Visitors confirm they meet the stated age requirement with a single click that closes the popup; those who indicate they’re underage can be redirected to a different page or away from the website. This pattern is fast, straightforward, and it works well for most websites.

A required checkbox makes the visitor explicitly select the age statement before submitting. It can make the interaction clearer, but it supplies no evidence of age beyond a button click. Choose between these designs for clarity and usability, not as different levels of identity verification.

Set the right age requirement

Determine the threshold and assurance method that apply to your products, service, and markets before editing the template. Do not treat the sample age in a template as a legal recommendation. Keep the same threshold in the heading, explanation, and confirmation controls.

Whatever threshold applies to your business, make sure it’s visible and consistent throughout the popup: both in the headline and in the confirmation button text.

Use direct age confirmation language

Effective age gates rely on unmistakable language. Most common confirmation copy is simple, declarative, and specific about the age threshold. That applies to the headline, description, and button text.

Age gate button copy examples

I’m 18 or older / I’m under 18

Yes, I’m 21 or older / No, I’m under 21

Yes, I’m of legal age / No, I’m not of legal age

Age gate headline copy examples

Please confirm you are 18+ to access website content

This website is only intended for users over the age of 18

Age Verification Required — You must be 18 or older to enter

In compliance contexts, clarity outperforms personality. Avoid vague or playful phrasing because it creates confusion and undermines the purpose of the popup. When the message is clear, visitors know exactly what they’re confirming, and the popup can close automatically once they do.

Redirect underage visitors thoughtfully

An age verification popup isn’t just about blocking access — it’s about handling underage visitors of your website responsibly. When someone confirms they don’t meet the age requirement, the best practice is to redirect them to a neutral-content destination rather than leaving them at a dead end.

Common redirect destinations include search engines, general information pages, or other pages of your website that don’t contain restricted content. A respectful redirect protects your brand and maintains professional experience, even for visitors you can’t serve.

Set popup display frequency

Choose how long the site remembers an acknowledgment and test the resulting behavior on a return visit. Remembering a browser is not the same as verifying the person using it: a shared device can have a different user later.

Use the available frequency settings to avoid repeating the question on every page while keeping the behavior consistent with your intended flow. Changing the frequency does not turn a self-declared answer into stronger age assurance.

Apply verification only where it’s needed

If your entire website contains age-restricted content, displaying the age gate on entry makes sense: every visitor sees the verification popup as soon as they arrive, regardless of which page they land on.

For mixed-content websites, you have more control options. For example, age verification can be applied to specific pages, subfolders, or product collections (for ecommerce sites selling both restricted and unrestricted items). This limits where the question appears. It does not prevent direct access to the underlying content.

Match the age gate to your brand

Age verification popups are often the first interaction visitors have with your website. A popup that clashes with your visual identity will create friction before someone even confirms their age.

Customizing colors, fonts, imagery, and tone helps you make the age gate feel like a natural part of your website rather than a generic compliance roadblock. When designing the popup, take a few extra minutes to ensure that all visual elements are matched with your branding. Getsitecontrol built-in popup editor makes it easy to achieve maximum visual alignment.

Getsitecontrol is a blessing!

I’ve been using it for over 6 months. Easy user interface to understand; trending marketing strategies to help beginners. This app is a blessing!

Common age verification mistakes

Copying a template’s age threshold without checking it

A sample “18+” or “21+” message is placeholder copy. Check the requirements for the specific service and market, then update every mention of the age in the template. Do not leave a confirmation button that disagrees with the headline.

Treating location targeting as proof of eligibility

Location rules can select a regional message, but they do not establish a visitor’s age or identity. Check the default message as well as regional variants, and keep any required verification or purchase restrictions in the system responsible for enforcing them.

Showing the popup repeatedly during sessions

Some age gates reappear every time a visitor navigates to a new page during the same browsing session, creating frustration and increased bounce rates. Configure your age gate to appear once when someone enters your website, then stay dismissed until they close their browser or return another day.

Failing to test on mobile devices

Age verification popups designed for desktop may break on mobile: text becomes unreadable, buttons are too small to tap, or the popup doesn’t fit on screen. With Getsitecontrol, you’re unlikely to face this problem because of the unique built-in technology that adapts popups for mobile. However, it’s crucial to always preview your age gate on different screen sizes before launch to ensure buttons are touch-friendly, text is readable, and the layout works across all devices.

Making age gates easy to bypass

An age gate that can be closed without confirmation defeats its purpose. A common mistake is to overlook the close button on a popup or allow clicking outside the popup to dismiss it. To avoid this, use premade popup templates designed specifically for age verification: they are typically fullscreen and have no close buttons, ensuring the only options are confirming age or being redirected away.

Failing to hide page content

A fullscreen layout can visually cover the page while asking the question. Blurring the background or hiding a close button changes the presentation; it does not secure the content. Keep restricted material behind appropriate access controls if access must be enforced.

Set up age verification popup with Getsitecontrol

Choose a template, replace its sample age and copy, and configure the confirm and decline actions. Preview both paths, then test direct entry to each targeted page. Install Getsitecontrol on the website before publishing; the installation guide explains that step.

Most users get their popup live quickly, without needing a developer. And if you need help, live chat support is available around the clock.

Ready to add an age verification popup to your website? Then create an account now. Getsitecontrol comes with a generous free plan, so you don’t have to add your credit card to create a popup and publish it on your website.

Getsitecontrol is straightforward

Very easy to set up a site popup. I needed it to set up an age gate. Integrated very well with my client’s Squarespace site. Had no issues, everything is straightforward.

Common questions

Does an age verification popup verify a visitor’s age?

A button or checkbox age gate records a self-declared answer. It does not validate identity or provide independent evidence of age. Use an appropriate age-assurance service where that is required.

Can visitors bypass an age gate?

A browser popup is not a security boundary. Removing the close button makes the intended confirmation path clearer, but visitors can give a false answer or bypass client-side presentation. Enforce restricted access separately where needed.

What happens when a visitor declines?

Configure the decline button to redirect to an unrestricted page. Test the destination and make sure it does not send the visitor straight back to the same gate.

Can I show the popup only on selected pages?

Yes. Use page targeting for the relevant URLs, and test entry directly to those pages rather than only through the homepage.

How often should the age gate appear?

Choose a frequency that matches the intended acknowledgment flow, then test a return visit and a fresh browser session. A remembered browser response does not establish the identity of its current user.

Can I use these templates on Shopify?

Yes. The Shopify age gate guide covers storefront setup. On other supported website platforms, connect Getsitecontrol to the site before publishing the popup.

Jack Hayes covers onsite marketing, email campaigns, and ecommerce growth at Getsitecontrol. His guides connect popups, personalization, and automated emails into practical strategies for turning visitors into subscribers and customers into repeat buyers.

Inline subscribe widget

Create popups for free

Email forms, promos, coupons, surveys, bounce-stoppers.

Get started, it’s free →

Inline subscribe widget