Age Gate Popup
Customize this age gate design and use it on your website for free.
It's a full-screen age gate that blocks content until the visitor confirms he is 18 or older.
It saves the answer for 30 days or more.
Copied 31 times.
Customize the prompt
What it does
This age gate puts your website behind a popup that asks the visitor to confirm their age before they see age restricted content (alcohol, vaping, gambling, adult content). Nothing behind it shows or works until the visitor passes the age gate. You can put an emoji, a pictogram or your logo at the top of the popup.
- No sneaking past it: not the Escape key, not clicking around it, not the back button.
- Failing the check leads to a polite you-must-be-older page with a link away.
- Fully usable with a keyboard and friendly to screen readers.
- Once the visitor passes, it can remember the answer for 30 days or forever.
- Runs on your site only. No cookies, nothing loaded from other companies. It just keeps one small note in the visitor's browser to remember they passed.
How it works
Customize the popup.
Copy the prompt, the block of text this page builds for you.
Paste it in your favorite AI, wherever you're building your project.
Set the link for visitors who fail, in its marked spot in the code.
Swap the placeholder legal line for your own wording where the code marks it, since the law in your area is yours to check, same as with a cookie consent banner.
Try to cheat it before shipping: the Escape key, clicking outside, the back button. The only way in should be passing the check.
Check that the page behind stays frozen. Nothing should scroll or click until you answer yes on the gate.
What you can customize
- How they verify: yes or no is one tap and the quickest. Date of birth checks the math and rejects impossible dates.
- Minimum age: 18, 20 or 21. The icon on the popup follows (๐ for 18, ๐ซ for 20 and 21).
- Remember for how long: this session covers one visit only, so everyone re-verifies next time. 30 days lets regulars skip the gate for a month. Forever never asks again on that browser.
- Color, size, and lettering come from your own site, because with the prompt you get here, your AI builds the gate right inside your own design, like the other popup designs on the shelf.
Saw an age gate you prefer on another site? The CopyDesign Chrome extension copies it in one click.
You'll also like
3D Press Button
Customize this 3D press button design and use it on your own website. It's a chunky button that sits up off the page and pushes down like a real key when you click it. You can set how deep it sits and how sharp the shadow under it looks.
Price Calculator
Sliders the visitor drags to see a live price computed from your real rates. Formula visible, nothing invented.
Comparison Table
An honest us-vs-them feature table. Your column leads, but every cell must be true.