Age Gate icon
Utilities

Age Gate

A plugin to check the age of a visitor before view site or specified content

  • By Phil
  • v3.8.1 New
  • Updated
  • 5 min read

Is Age Gate safe to install?

Good choice: actively maintained

  • Pass: Actively maintained Last updated 1 week ago (version 3.8.1).
  • Pass: Compatible with current WordPress Tested up to WordPress 7.1; the current release is 7.1. Needs PHP 8.3+.
  • Pass: Well rated Rated 4.6/5 by 64 users on WordPress.org.
  • Pass: Widely used Active on 40,000+ sites.

Check every plugin on your site with the free WordPress plugin checker →

Based on WordPress.org data, checked Nov 17, 2026. Always keep plugins updated and test changes on a staging site.

Age Gate WordPress Plugin: A Comprehensive Guide

Introduction

The Age Gate WordPress plugin is a powerful tool designed to restrict content based on the user’s age. It is commonly used for websites that offer age-sensitive materials such as alcohol, gambling, adult content, or other regulated industries. By implementing an age verification system, website owners can ensure compliance with legal regulations and create a responsible user experience.

In this guide, we will explore the key features, benefits, installation steps, customization options, and best practices for using the Age Gate plugin effectively.

[modal_image thumbnail=”/wp-content/uploads/2025/04/Age-Gate-inner.png” large=”/wp-content/uploads/2025/04/Age-Gate-inner-slider.png”]

Key Features

The Age Gate plugin offers various features that make it an ideal choice for age-restricted websites:

  1. Customizable Age Restriction – Set the required minimum age for accessing content.
  2. Multiple Verification Methods – Users can verify their age using a dropdown, input field, or confirmation button.
  3. Flexible Content Restriction – Choose between full-site restriction or specific pages, posts, and categories.
  4. SEO-Friendly – Ensures search engines can still index content while restricting access to users.
  5. Customizable Appearance – Modify the design, background, and text to match your brand.
  6. Cookie-Based Remembering – Users can be remembered after verification to prevent repeated prompts.
  7. Multilingual Support – Works with WPML and other translation plugins.
  8. WooCommerce Integration – Restrict access to certain products based on age requirements.
  9. GDPR Compliance – Does not store unnecessary user data, ensuring privacy.
  10. Developer-Friendly – Includes hooks and filters for custom development.

Installation Guide

Installing and setting up the Age Gate plugin is simple. Follow these steps:

Step 1: Install the Plugin

  1. Log in to your WordPress dashboard.
  2. Navigate to Plugins > Add New.
  3. Search for Age Gate in the search bar.
  4. Click Install Now and then Activate once installed.

Step 2: Configure Basic Settings

  1. Go to Settings > Age Gate.
  2. Set the Minimum Age requirement (e.g., 18 or 21 years old).
  3. Choose the Verification Method (date of birth input, yes/no confirmation, or dropdown selection).
  4. Select which pages, posts, or categories should be restricted.
  5. Enable Cookie Remembering to avoid prompting users repeatedly.
  6. Save the settings.

Customization Options

The Age Gate plugin provides several customization options to tailor the age verification experience to your website’s needs.

Appearance Settings

  • Custom Background – Upload an image or set a solid color.
  • Custom Text – Modify the verification message.
  • Brand Logo – Add your company logo for a professional look.
  • Button Styling – Customize button colors and text.

Behavior Settings

  • Restrict Entire Site or Specific Content – Choose if the age gate applies to the entire website or specific sections.
  • Redirect Users – Send underage visitors to a different page or display a message.
  • Enable Cookies – Allow verified users to bypass the gate for a specified period.
  • Enable JavaScript Compatibility Mode – Ensure the plugin works with all themes and scripts.

Advanced Settings

  • SEO-Friendly Mode – Allows search engines to crawl content while restricting user access.
  • Custom JavaScript and CSS – Developers can add custom scripts and styles.
  • Shortcode Support – Use shortcodes to manually insert age verification prompts.
  • Multilingual Compatibility – Translate the plugin into different languages.

Use Cases

The Age Gate plugin is suitable for various types of websites:

1. Alcohol and Tobacco Websites

Many countries require age verification for websites selling alcohol or tobacco products. The plugin ensures compliance with these regulations.

2. Gambling and Betting Sites

Online casinos and sports betting platforms must restrict access to users below the legal gambling age.

3. Adult Content Websites

Websites featuring explicit content use the Age Gate plugin to prevent minors from accessing restricted materials.

4. Pharmaceutical Websites

Some health-related products require users to confirm their age before accessing content.

5. Video Games and Entertainment

Certain games and media content may contain mature themes, requiring age verification before access.

6. eCommerce Stores

WooCommerce stores selling age-restricted products (e.g., vaping devices, cannabis products) benefit from age verification to prevent underage purchases.

Best Practices for Implementing Age Verification

To ensure a seamless user experience while maintaining compliance, follow these best practices:

1. Keep the Process Simple

Avoid unnecessary steps in the verification process to prevent users from leaving the site prematurely.

2. Use Clear and Concise Messaging

Ensure that the verification message is easy to understand. Example:

“You must be 18 or older to enter this site. Please verify your age below.”

3. Offer Multiple Verification Methods

Giving users options (date picker, dropdown, or confirmation button) improves usability.

Reduce user frustration by allowing them to bypass the verification screen for future visits.

5. Ensure Mobile Compatibility

Since many users access websites from mobile devices, make sure the age verification page is fully responsive.

6. Maintain Compliance with Regulations

Research local laws regarding age-restricted content to ensure your website remains legally compliant.

7. Optimize for SEO

Enable SEO mode so that search engines can crawl your website without restrictions.

Troubleshooting Common Issues

Even though the Age Gate plugin is user-friendly, you may encounter issues. Here’s how to solve common problems:

1. Age Gate Not Appearing

  • Ensure the plugin is activated and properly configured.
  • Check if caching plugins are interfering with the display.
  • Verify that the selected content is set to be restricted.

2. Users Not Being Remembered

  • Ensure cookies are enabled in the plugin settings.
  • Clear browser cache and cookies to test the functionality.
  • Check for conflicts with other plugins.

3. SEO Issues

  • Enable the SEO-Friendly Mode to allow search engines to crawl your content.
  • Use Google Search Console to ensure pages are indexed properly.

4. Compatibility Problems with Themes or Plugins

  • Enable JavaScript Compatibility Mode in settings.
  • Test by deactivating other plugins one by one to find conflicts.
  • Use a default WordPress theme (e.g., Twenty Twenty-One) to see if the issue persists.

Comparison with Other Age Verification Plugins

Several other age verification plugins exist, such as Age Verify, Age Checker, and WP Age Gate. Here’s how Age Gate compares:

FeatureAge GateAge VerifyAge CheckerWP Age Gate
Multiple Verification Methods✅✅❌✅
SEO-Friendly Mode✅❌✅✅
WooCommerce Support✅❌✅✅
Customization Options✅✅✅Limited
Mobile Compatibility✅✅✅✅
Cookie Remembering✅✅❌✅

Conclusion

The Age Gate WordPress plugin is an essential tool for websites that require age verification. Its flexibility, customization options, and ease of use make it a top choice for business owners, content creators, and eCommerce store owners dealing with age-restricted content.

By following the installation and best practices outlined in this guide, you can effectively implement an age verification system that ensures compliance while maintaining a smooth user experience. If you need a reliable and customizable age verification solution, Age Gate is an excellent choice for your WordPress website.

How to install Age Gate

  1. Open the plugin installer. In your WordPress dashboard go to Plugins → Add New Plugin.
  2. Search for it. Type “Age Gate” and pick the one by Phil.
  3. Install and activate. Click Install Now, then Activate.
Install with a zip file or WP-CLI

Download the zip from the WordPress.org plugin page, then go to Plugins → Add New Plugin → Upload Plugin, choose the file and click Install Now. Or from the command line:

wp plugin install age-gate --activate

Requirements: WordPress 6.6.0+ · PHP 8.3+ · tested up to WordPress 7.1.4

Hooks & customisation

Age Gate 3.8.1 fires 28 actions and 25 filters. Use them from your child theme or a snippets plugin to change how it behaves without editing its files.

age-gate — top hooks
// Filter in src/Controller/ViewController.php
apply_filters( "age_gate/field/{strtolower($map[$key])}/value", '' );

// Filter in src/Controller/ViewController.php
apply_filters( 'age_gate/form/select/month/format', 'M' );

// Filter in src/Controller/ViewController.php
apply_filters( 'age_gate/form/select/year/min', 1900 );

// Action in src/Legacy/Deprecated.php
do_action( 'age_gate_add_validators' );

// Filter in src/Legacy/Deprecated.php
apply_filters( 'age_gate_field_names', $names );

// Filter in src/Legacy/Deprecated.php
apply_filters( 'age_gate_logo', $logo, $logo );

Browse all 53 hooks with examples →

Age Gate: frequently asked questions

Is Age Gate free?

Yes. Age Gate is free to download from the official WordPress.org plugin directory and is licensed under the GPL, so you can use it on as many sites as you like. Some developers sell a separate Pro version or paid add-ons; check the developer's website for details.

Is Age Gate safe to use?

Age Gate is actively maintained: the latest version was released 1 week ago. Users rate it 4.6 out of 5 from 64 reviews on WordPress.org. As with any plugin, keep it updated and only install it from WordPress.org or the developer.

Does Age Gate work with WordPress 7.1?

Yes. Age Gate is tested up to WordPress 7.1, the current release. It requires WordPress 6.6.0 or later and PHP 8.3 or later.

How many websites use Age Gate?

Age Gate is active on 40,000+ WordPress sites, according to WordPress.org. It is currently at version 3.8.1, last updated on November 10, 2026.

What are the best alternatives to Age Gate?

Plugins that do a similar job and are actively maintained include Age Gate Lite (2,000+ installs).

Can I customise Age Gate without editing its code?

Yes. Age Gate 3.8.1 fires 28 actions and 25 filters that you can use from a child theme or a code snippets plugin, so your changes survive plugin updates. Browse all 53 hooks with examples.

Done for you

Need Age Gate to do more?

Clear starting prices, an exact quote before any work, and changes built so plugin updates never wipe them.

Custom hook snippet

from $49

A small, update-safe change built on the plugin’s own hooks.

  • Code written against the plugin’s actions and filters
  • Tested on a staging copy of your site
  • Install instructions included

Typical turnaround: 2–3 business days

Choose this

Bug or conflict fix

from $79

Errors, broken layouts or two plugins that don’t get along.

  • Find the cause on a staging copy
  • Fix without breaking updates
  • Explain what was wrong

Typical turnaround: 1–3 business days

Choose this

Not sure which fits? Describe what you need and we’ll suggest the simplest option.

Need Age Gate customised?

Tell us what you want changed, added or fixed and we'll reply with an estimate.

WP EXPERTS is independent and not affiliated with Phil. Plugin names and logos belong to their owners. Version, rating and install figures from WordPress.org, checked Nov 17, 2026.

About the developer

Phil

1 plugins · 40,000+ installs in total · 1 of 1 updated in the last year

  • Actively maintained
  • Released this month
  • Keeps up with WordPress
99 maintenance
score
Developer profile →

Alternatives in Utilities

See all →

Import posts, pages, comments, custom fields, categories, tags and more from a WordPress export file.

2+ million installs 28 hooks

Easily add Custom CSS or JS to your website with an awesome editor.

600,000+ installs 7 hooks

This is not just a plugin, it symbolizes the hope and enthusiasm of an entire generation summed up in two…

500,000+ installs

Web Accessibility (formally known as Ally) is a free, powerful, and user-friendly plugin that helps WordPress creators build more accessible…

500,000+ installs 18 hooks