What is a cookie consent banner
A cookie consent banner, or cookie banner, is the pop-up or bar that tells website visitors about cookies and asks them to accept, reject, or customize them.
A cookie consent banner, or cookie banner, is the pop-up or bar that tells website visitors about cookies and asks them to accept, reject, or customize them.
A cookie consent banner, often just called a cookie banner, is the pop-up or bar a website shows to tell visitors about its cookies and ask for their choice. It usually offers Accept, Reject, and settings options, and non-essential cookies load only after the visitor agrees.
Cookie banners are how most websites collect cookie consent under laws such as the GDPR and the UK's PECR, and how many display opt-out choices under US state laws such as the CCPA. For design tips and examples, see our cookie consent banner guide.
Label | Value |
|---|---|
Definition | An on-screen notice that tells visitors about cookies and asks them to accept, reject, or customize them |
Also known as | Cookie banner, cookie pop-up, consent banner, cookie notice banner |
Primary purpose | Inform visitors and collect their cookie choices before non-essential cookies load |
Required by law? | Not by name, but EU and UK rules require consent before non-essential cookies, and a banner is the usual way to ask |
What it should show (EU and UK) | Clear purposes, equally easy Accept and Reject options, a settings link, and a link to the cookie policy |
Common formats | Bottom bar, pop-up modal, corner box, full-screen overlay |
Usually powered by | A consent management platform |
A cookie banner follows the same steps on most websites:
Page loads -> banner appears and non-essential cookies stay blocked -> visitor clicks Accept, Reject, or Settings -> the choice is saved -> allowed cookies load and the banner closes
A floating icon or footer link lets visitors reopen the banner and change their choice later.
Used for EU and UK visitors. Non-essential cookies stay off until the visitor clicks Accept or turns on specific categories.
Used under US state laws such as the CCPA. Tracking can run by default, and the banner or footer offers a Do Not Sell or Share My Personal Information link.
A short first layer with Accept and Reject buttons, plus a second layer where visitors switch individual cookie categories on or off.
A message such as "This site uses cookies" with a single OK button. It informs visitors but does not collect a real choice, so it is not enough for non-essential cookies in the EU and UK.
A cookie wall blocks access to the website until the visitor accepts cookies. EU regulators generally treat consent given this way as not freely given.
The banner is what visitors see. The platform behind it does the work:
Feature | Cookie banner | Consent management platform |
|---|---|---|
Visible to visitors | Yes | Through the banner it displays |
Blocks cookies until consent | Only if connected to blocking logic | Yes |
Stores proof of each choice | No | Yes |
Sends Google Consent Mode signals | No | Yes |
Adapts to each visitor's location | Rarely | Yes |
Learn more about the software side in our definition of a consent management platform.
The banner is where a visitor makes their choice, so regulators look closely at its design. In January 2022, France's CNIL fined Google €150 million and Facebook €60 million because rejecting cookies took more clicks than accepting them.
US regulators apply the same idea to opt-outs. In March 2025, California's privacy agency fined American Honda $632,500, partly because its cookie banner made opting out harder than opting in.
No. A banner only collects a choice; the website also has to act on it. If analytics or ad tags load before the visitor clicks anything, the banner does not give valid consent in the EU or UK. That is why most websites pair the banner with script blocking. Read more: Is a cookie banner enough?
Privacy banner A broader on-screen notice about how a website collects and uses personal data.
Cookie policy A page that lists the cookies a website uses, their purposes, and how long they last.
Essential cookies Cookies a website needs to work, which are usually exempt from consent.
Non-essential cookies Cookies a website does not need to function, such as analytics and advertising cookies.
Google Consent Mode A Google framework that adjusts how Google tags behave based on the visitor's consent choice.
Global Privacy Control (GPC) A browser signal telling websites a visitor wants to opt out of the sale or sharing of their data.
No law requires a banner by name, but in the EU and UK you need consent before setting non-essential cookies, and a banner is the standard way to ask. In California, the CCPA requires an opt-out rather than prior consent, so a banner is common but not mandatory.
In the EU and UK, a cookie banner should explain what cookies are used for, offer equally easy Accept and Reject options, link to detailed settings and the cookie policy, and keep non-essential cookies off until the visitor chooses.
Yes. Visitors must be able to change or withdraw their choice as easily as they gave it. Most websites add a floating icon or a footer link that reopens the cookie settings.
Not always. Most US state privacy laws use an opt-out model, so websites need a way to opt out of the sale or sharing of data, such as a Do Not Sell or Share link and support for Global Privacy Control. A website with EU or UK visitors still needs an opt-in banner.
A cookie banner is the on-screen message that asks visitors to make a choice. A cookie policy is a separate page that lists each cookie, its purpose, and how long it lasts. Most banners link to the cookie policy.