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
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.
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.

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.
Cookie consent plugins compared: test results
| Measurement | Complianz | CookieYes | Real Cookie Banner | Cookie Notice & Compliance |
|---|---|---|---|---|
| Version tested | 7.5.7 | 3.5.8 | 5.4.0 | 3.1.18 |
| Active installs | 1 million+ | 1 million+ | 100,000+ | 800,000+ |
| WordPress.org rating | 4.7 (1,668) | 4.8 (3,236) | 4.9 (492) | 4.8 (3,027) |
| CSS/JS added for visitors | 2.7 KB | 61.1 KB | 0 KB | 15.2 KB |
| Extra PHP memory (front end) | 2.5 MB | 2.7 MB | 8.2 MB | 2.3 MB |
| Extra PHP memory (admin) | 4.6 MB | 2.3 MB | 9.2 MB | 2.4 MB |
| Database tables | 4 | 3 | 16 | 0 |
| Options saved | 25 | 18 | 306 | 4 |
| Notices / redirects | None | setup notice, dashboard widget | setup notice | setup redirect, dashboard widget |
| Plugin size | 18.5 MB | 12.4 MB | 11.4 MB | 4.1 MB |
| WPGlory score | 9.6/10 | 8.6/10 | 9.0/10 | 9.1/10 |

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.
1. Complianz: best cookie consent plugin for WordPress
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.

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
2. CookieYes: easiest cookie banner
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.

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
3. Real Cookie Banner: most thorough free content blocker
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.

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
4. Cookie Notice & Compliance: simplest banner
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.


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

What to look for in the best cookie consent plugin for WordPress
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.
Which cookie consent plugin should you choose?
- 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.

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.
9.6/10



