Age gate UX: copy and design that keep bounce low
Summary
Copy and design guidance for alcohol age gates, drawn from Google Search Central, the GOV.UK Design System, the W3C's ARIA patterns, web.dev and Nielsen Norman Group. It covers choosing a method, overlaying instead of redirecting, date of birth fields, keyboard and screen reader access, avoiding layout shift, short wording, and remembering returning visitors.
An age gate is the first thing many visitors to a beer, wine or spirits site see. Done badly, it's a wall: slow to load, fiddly on a phone, hard to use with a keyboard, and full of legal wording nobody reads. Done well, an adult gets through it in a moment and barely notices.
We won't quote bounce rates here. We haven't found a published, independent study of age gate bounce we'd stand behind, and numbers vary by site and audience. What we can do is point to design guidance from Google, the UK government's design system, the W3C and usability researchers, and show how it applies to a gate. Measure your own site before and after any change.
1. Pick the lightest method your markets allow
The method sets most of the friction. A yes/no button is one tap. A date of birth takes a few seconds but states an actual age, which lets the gate apply each country's legal purchase age. A remembered visitor sees nothing at all.
Which you need depends on your markets and your own risk view, not on UX alone. Our how to choose an age gate guide covers the trade-offs, and age affirmation explains what these methods do and don't show. None of them checks ID; for that, see age gate vs ID check.
2. Overlay the page; don't redirect
Google's guidance on intrusive interstitials and dialogs treats age gates as mandatory interstitials and exempts them from its guidelines. It still recommends that sites:
- "Ensure that the content is overlaid with the interstitial," so Google can index at least some of it.
- Don't redirect incoming requests to a separate page, because "Redirecting all URLs to a single page will remove all but that one page from search results."
It also recommends letting Googlebot crawl content behind a mandatory age gate without triggering the gate, after confirming the requests really come from Google.
Overlaying is better for people too. A visitor who arrives on a product page from search stays on that product page once they're through, instead of landing on a home page and starting over. See intrusive interstitial and age gates and SEO.
3. Design the date of birth field for typing
If you ask for a date of birth, the input matters more than anything else on the gate.
- Use separate day, month and year fields. The GOV.UK Design System's Dates pattern says to ask for memorable dates, like dates of birth, using its date input component: three short text fields for day, month and year. The component is for dates users "already know, or can look up without using a calendar."
- Let browsers fill it in. GOV.UK recommends the autocomplete attribute for a date of birth, setting the three fields to
bday-day,bday-monthandbday-year, so browsers can fill in a date the user has entered before. - Bring up a number keypad. The GOV.UK example fields use
inputmode="numeric", which shows a number keypad on most phones. - Avoid calendar pickers. Nielsen Norman Group's date-input guidelines say typing "is the most efficient one, especially when the date is further away in the past (e.g., birthdate)," and recommend allowing users to type the date even if other input methods are available. Scrolling back decades in a calendar is slow.
- Match the local order. Day-month-year and month-day-year both exist. Label each field so the order is never a guess.
4. Make it work with a keyboard and a screen reader
An age gate is a modal dialog, and the W3C's Dialog (Modal) Pattern sets out how one should behave:
- When the dialog opens, focus moves to an element inside it, usually the first focusable one.
- Tab and Shift + Tab stay inside the dialog.
- The container has
role="dialog"andaria-modal="true", and a label, ideallyaria-labelledbypointing to a visible title.
The pattern also says Escape closes a dialog. For a gate, decide what closing means: it shouldn't reveal the content behind it as if the visitor had answered. A clear "I'm under the age" or "Leave" option is better than a silent close.
5. Don't shift the page
A gate that pops in late and pushes content around feels broken. web.dev describes Cumulative Layout Shift as a measure of how often users experience unexpected layout shifts, and says sites should aim for a CLS score of 0.1 or less, measured at the 75th percentile of page loads across mobile and desktop.
For a gate, that usually means rendering it as a fixed overlay above the page, rather than inserting it into the page flow, and loading its script early so it doesn't appear seconds after the page does.
6. Keep the copy short and plain
The wording on a gate has one job: get an adult through, and tell a minor clearly that the site isn't for them. Some practical rules:
- Lead with the question. "What's your date of birth?" or "Are you of legal drinking age?" is enough. GOV.UK's own example asks "What is your date of birth?"
- Use the visitor's legal age, not a generic one. "You must be 18 or over" for one market and "20 or over" for another is clearer than a vague "legal age". The legal drinking ages around the world pillar lists them.
- Make both answers obvious. Equal-sized buttons for yes and no read as fair; a hidden "no" reads as a trick.
- Put legal text below the fold of the dialog. A short line and a link to your terms usually does it. Where a market requires specific wording, such as Singapore's warning about the offence and penalty, include it in full (Singapore).
- Follow your marketing code. If you sign up to an alcohol marketing code, keep the gate's images and wording in line with it too; see alcohol marketing codes and age gates.
- Translate it. A gate in the wrong language is a wall. Match the site's language for each market.
7. Remember adults, sensibly
Asking the same adult on every page is the fastest way to annoy them. Remember a successful answer for a reasonable period, so returning visitors go straight in. Be clear in your privacy notice about what's stored, and check any local consent rules for cookies or storage with counsel.
8. Test like a visitor
Before launch and after every theme change:
- Open the site on a phone, with a fresh browser, from each market you sell into.
- Get through the gate using only a keyboard.
- Try it with a screen reader.
- Land directly on a deep product page from a search result, and check you stay there.
- Watch for layout shift as the page loads.
- Check that search crawlers see the content, and that AI agents get the rules you intend. See our AI shopping agents setup guide.
Where General Spirit fits
General Spirit is a JavaScript gate that overlays the page and installs with a script tag. It offers date-of-birth, yes/no and remembered methods, has legal ages for every country built in, and always lets search crawlers through. It doesn't check ID. The design advice above applies whichever gate you use; for a wider look at how gates work, see age gates for alcohol brands and the age gate glossary entry.
This article is general information, not legal advice. Check your obligations with counsel in each market you sell into.
FAQ
Should an alcohol age gate ask for a date of birth or a yes/no answer?
It depends on the market and your risk appetite. A yes/no button is quicker; a date of birth asks the visitor to state an actual age, which lets the gate apply each country's legal age. Neither checks ID. If you use a date of birth, design it as a typed day, month and year field.
Does an age gate hurt SEO?
It doesn't have to. Google treats age gates as mandatory interstitials, exempt from its intrusive interstitial guidelines, but recommends overlaying the content rather than redirecting, and letting Googlebot crawl the content without triggering the gate.
What is the best date of birth input for an age gate?
Usability guidance favours typing. The GOV.UK Design System recommends its date input, with separate day, month and year fields, for memorable dates like a date of birth, plus autocomplete attributes so browsers can fill it in. Nielsen Norman Group says typing is often the most efficient option for dates far in the past, such as a birthdate.
Should the age gate remember returning visitors?
Usually, yes, so adults aren't asked on every page or every visit. Set a sensible period, and be clear in your privacy notice about what you store.