Cloneables

Cookie Age Gate Modal

Here's a way to create an age gated pop up modal in Webflow. Using the power of cookies you can now gate your content/site with a age date requirement. The code in the settings takes the submission of the month, day and year of the persons birthday and…

age-gate-overlay.webflow.io
Cookie Age Gate Modal live demo on a desktop screen
Cookie Age Gate Modal live demo on a phone
Screenshot of the live demo, Oct 20, 2026 Open live demo

The Cookie Age Gate Modal is a feature that allows you to create an age gated pop-up modal on your Webflow site. Using cookies, you can gate your content or site with an age requirement. The code in the settings takes the submission of the month, day, and year of the person's birthday and calculates their age against today's date. If they are over 18, a cookie will be added to their browser, and the pop-up modal will be hidden from them until they clear their cookies. If they are not over 18, they will be redirected from your site. This cloneable is categorized under Form, Link, and Modal and was created by Corey Moen. The Cookie Age Gate Modal is a useful tool for anyone who needs to restrict access to their website based on age. It is easy to set up and customize, and it can help you ensure that your content is only accessible to appropriate audiences. With the Cookie Age Gate Modal, you can easily implement age restrictions on your Webflow site.

Browse similar cloneables

More from Corey Moen

Profile →

Related Webflow questions

All answers →

Similar cloneables

All cloneables →