|

Best Cookie Consent Plugin for WordPress (2026): 4 Tested for GDPR

Some links on this page are affiliate links. If you buy through them we may earn a commission, at no extra cost to you. It never changes our verdict. How we test and make money

7 min read
On this page

Short answer: The best cookie consent plugin for WordPress is Complianz: a cookie scan, automatic script blocking, region-specific banners and a privacy policy generator for free, and only 2.7 KB added to your pages in our test. CookieYes is the easiest and includes Google Consent Mode v2 for free (up to 5,000 page views a month), Real Cookie Banner has the most thorough free content blocker, and Cookie Notice is the simplest banner, with blocking and consent records after you connect a free account.

Tested on WordPress 7.1.4 (PHP 8.3) with the Kadence theme on 5 November 2026. Every number below comes from our own test site.

If your site uses analytics, ads, embedded videos or social widgets and you have visitors from the EU, UK or other regions with privacy laws, you need consent before those scripts set cookies. A cookie consent plugin shows the banner, blocks scripts until the visitor agrees, records the choice and, with Google Consent Mode v2, tells Google tags what is allowed.

The best cookie consent plugin for WordPress has to be accurate and light, because the banner loads on every page for every visitor. We installed the four most popular options on the same clean WordPress site and measured them.

best cookie consent plugin for WordPress ranked by WPGlory test score
WPGlory score out of 10. WPGlory test data, WordPress 7.1.4.

Our picks at a glance

1

ComplianzBest overall: scan, blocking, policies

9.6/10

2

CookieYesEasiest, Consent Mode v2 free

8.6/10

3

Real Cookie BannerMost thorough free blocker

9.0/10

4

Cookie Notice & ComplianceSimplest banner

9.1/10

The order is our recommendation for most sites, weighing features and fit. The score measures only what each plugin costs your site.

MeasurementComplianzCookieYesReal Cookie BannerCookie Notice & Compliance
Version tested7.5.73.5.85.4.03.1.18
Active installs1 million+1 million+100,000+800,000+
WordPress.org rating4.7 (1,668)4.8 (3,236)4.9 (492)4.8 (3,027)
CSS/JS added for visitors2.7 KB61.1 KB0 KB15.2 KB
Extra PHP memory (front end)2.5 MB2.7 MB8.2 MB2.3 MB
Extra PHP memory (admin)4.6 MB2.3 MB9.2 MB2.4 MB
Database tables43160
Options saved25183064
Notices / redirectsNonesetup notice, dashboard widgetsetup noticesetup redirect, dashboard widget
Plugin size18.5 MB12.4 MB11.4 MB4.1 MB
WPGlory score9.6/108.6/109.0/109.1/10
Cookie consent plugins tested on WordPress 7.1.4
best cookie consent plugin for WordPress: extra PHP memory on the front end, measured
Extra PHP memory per page (MB). WPGlory test data, WordPress 7.1.4.

Complianz was the lightest banner for visitors: 2.7 KB. CookieYes added 61.1 KB (25 KB of files and 36 KB of inline code, including its banner settings), and Cookie Notice 15.2 KB. Real Cookie Banner added nothing to pages before setup but was the heaviest on the server (8.2 MB of memory, 16 tables and 306 options). In Playground it also showed a REST API network error notice, which is likely caused by our test environment.

Not legal advice: a plugin helps you comply, but your banner text, categories and policies must match how your site actually uses data. Check the rules for your region.

9.6/10 Free plan v7.5.7 · 1 million+ installs · 4.7★ on WordPress.org

Complianz has 1 million+ active installs. Its wizard scans your site for cookies and services, blocks scripts until consent, shows banners for the EU, UK, US and other regions, and generates a cookie policy and privacy statement. Unlike hosted consent tools, it has no page-view or visitor limits in the free version.

Complianz admin screen after activation, tested in WordPress Playground
Complianz in the WordPress admin, straight after activation.

In our test it added only 2.7 KB to pages, 2.5 MB of memory, 4 tables and 4 cron jobs, with no notices. Records of consent, A/B testing, Geo IP banners, IAB TCF and extra legal documents are Complianz Premium.

Free download: Complianz on WordPress.org (version 7.5.7, last updated 4 November 2026).

Pros

  • Lightest banner: 2.7 KB
  • Scan, script blocking and policy generator free
  • Region-specific banners

Cons

  • Wizard takes time to complete
  • Records of consent need Premium

8.6/10 Free plan v3.5.8 · 1 million+ installs · 4.8★ on WordPress.org

CookieYes is the best-rated plugin here (4.8 stars from 3,236 reviews). The plugin works on its own, and connecting the optional CookieYes web app adds scanning and a dashboard. Google Consent Mode v2 (Basic and Advanced) is included free; the free plan covers up to 5,000 page views a month.

CookieYes admin screen after activation, tested in WordPress Playground
CookieYes in the WordPress admin, straight after activation.

It added 61.1 KB to every page and showed a notice promoting its AccessiYes accessibility widget, plus a dashboard widget.

Free download: CookieYes on WordPress.org (version 3.5.8, last updated 27 October 2026).

Pros

  • Easiest setup
  • Google Consent Mode v2 free
  • Best rating: 4.8 stars

Cons

  • 61 KB on every page
  • Free plan: 5,000 page views a month
  • Promotional notice

9.0/10 Free plan v5.4.0 · 100,000+ installs · 4.9★ on WordPress.org

Real Cookie Banner from devowl.io blocks content until consent and lets you create unlimited services and content blockers in the free version, with a scanner that suggests configurations. Google Consent Mode, TCF and most of its 160+ service templates are PRO.

Real Cookie Banner admin screen after activation, tested in WordPress Playground
Real Cookie Banner in the WordPress admin, straight after activation.

It added nothing to pages before setup, but 8.2 MB of memory, 16 tables and 306 options, the heaviest on the server here.

Free download: Real Cookie Banner on WordPress.org (version 5.4.0, last updated 14 October 2026).

Pros

  • Thorough content blocking free
  • Service scanner
  • 4.9-star rating

Cons

  • Heaviest on the server: 8.2 MB, 306 options
  • Consent Mode and TCF are PRO

9.1/10 Free plan v3.1.18 · 800,000+ installs · 4.8★ on WordPress.org

Cookie Notice & Compliance (by Hu-manity.co) has 800,000+ installs. Without an account it shows a simple consent banner with a privacy-policy link. Connecting a free account adds automatic script blocking, consent categories and records, and Google Consent Mode v2, up to 1,000 visits a month.

Cookie Notice & Compliance setup screen shown right after activation, tested in WordPress Playground
Cookie Notice & Compliance: the first screen after activation.
Cookie Notice & Compliance admin screen after activation, tested in WordPress Playground
Cookie Notice & Compliance in the WordPress admin, straight after activation.

It redirected to its welcome screen after activation, added a dashboard widget and 15.2 KB to pages, but no tables.

Free download: Cookie Notice & Compliance on WordPress.org (version 3.1.18, last updated 2 November 2026).

Pros

  • Simple, no tables
  • Free account adds blocking and records

Cons

  • Free account limited to 1,000 visits a month
  • Welcome redirect and dashboard widget
best cookie consent plugin for WordPress: front-end weight added, measured
CSS and JavaScript added for visitors (KB). WPGlory test data, WordPress 7.1.4.

A banner alone is not enough. The best cookie consent plugin for WordPress should do these things.

  • Block before consent: analytics and ad scripts must not run until the visitor agrees.
  • Google Consent Mode v2: required if you use Google Ads or Analytics with EU visitors.
  • Records of consent: proof of what each visitor agreed to.
  • Regional banners: opt-in for the EU and UK, opt-out for US states.
  • Light banner: it loads on every page, so a few KB matters.
  • Most sites: Complianz.
  • You want the fastest setup and Google Consent Mode: CookieYes.
  • Heavy use of embeds and third-party services: Real Cookie Banner.
  • Tiny sites with almost no tracking: Cookie Notice.

Using privacy-friendly analytics can reduce what needs consent; see our analytics plugin test.

best cookie consent plugin for WordPress: options saved
Options saved. WPGlory test data, WordPress 7.1.4.

How we tested

Every plugin was installed from WordPress.org on a clean WordPress 7.1.4 site (PHP 8.3, Kadence theme) in WordPress Playground in November 2026. We activated one plugin at a time, measured the site, then deactivated it again, so each result is compared with the same baseline.

We loaded the home page and a normal blog post as a logged-out visitor three times and kept the median PHP peak memory, added up the CSS and JavaScript files the plugin added, and recorded database tables, options, scheduled cron jobs, admin menus, notices, dashboard widgets and any redirect on the first admin visit.

Screenshots were taken on the same test site right after activation. Ratings, installs and versions come from the WordPress.org plugin directory on the same day. No consent banners were configured, so the numbers show what each plugin adds straight after activation.

The WPGlory score rates what a plugin costs your site, not how many features it has: front-end weight 30%, server cost 20%, admin clutter 20%, WordPress.org rating 20% (weighted by the number of reviews) and maintenance 10%. Features are covered in the text. Read the full method.

FAQ

What is the best cookie consent plugin for WordPress?

Complianz: scanning, script blocking and policy generation for free, with the lightest banner in our test.

Do I need a cookie banner on WordPress?

If you use non-essential cookies (analytics, ads, embeds) and have visitors from regions like the EU or UK, generally yes.

Which free plugin supports Google Consent Mode v2?

CookieYes includes it free. Cookie Notice includes it with a free account.

Do cookie plugins slow down WordPress?

Slightly. In our test banners added 2.7 to 61 KB per page.

Final verdict

Complianz is the best cookie consent plugin for WordPress

It scans, blocks and documents consent for free, with the lightest banner we measured. Choose CookieYes if you want the quickest setup.

Modasser Jasim

Modasser Jasim

Meet Modasser, an industry specialist, website designer, and developer with professional experience. With over 9+ years of expertise in crafting interactive websites and providing intelligent business solutions, Modasser has established a solid reputation for excellence in the industry.

I install every plugin on a clean test site and publish the numbers.

Leave a Reply

Your email address will not be published. Required fields are marked *