Cookie laws by country, and what each one asks of your banner.
Some privacy laws need opt-in consent before any tracking cookie is set. Others let you set them and require an easy way to opt out. The table shows which is which, and each law has a page with the rules, the penalties and the official sources.
| Law | Where | Tracking cookies | Penalties |
|---|---|---|---|
| GDPRGeneral Data Protection Regulation and ePrivacy Directive | European Union and EEA | Opt-in before tracking | Up to €20m or 4% of global turnover |
| PECRPrivacy and Electronic Communications Regulations and UK GDPR | United Kingdom | Opt-in before tracking | Up to £17.5m or 4% of global turnover |
| TDDDGTelecommunications Digital Services Data Protection Act | Germany | Opt-in before tracking | Up to €300,000 under the TDDDG, plus GDPR fines |
| CNILArticle 82 of the French Data Protection Act and the CNIL guidelines | France | Opt-in before tracking | €325m to Google in 2025, the CNIL’s largest |
| LEKElectronic Communications Act (2022:482), chapter 9, section 28 | Sweden | Opt-in before tracking | GDPR fines via IMY; SEK 37m to Apoteket in 2025 |
| nFADPFederal Act on Data Protection, and Article 45c of the Telecommunications Act | Switzerland | Opt-out allowed | Fines up to CHF 250,000, on individuals |
| TelecommunicatiewetArticle 11.7a of the Dutch Telecommunications Act (Telecommunicatiewet) | Netherlands | Opt-in before tracking | Up to €900,000 or 1% of turnover, plus GDPR fines |
| LSSIArticle 22.2 of the Spanish Information Society Services Act (LSSI) and the AEPD cookie guide | Spain | Opt-in before tracking | Up to €30,000, or €150,000 if repeated |
| GaranteArticle 122 of the Italian Privacy Code and the Garante cookie guidelines | Italy | Opt-in before tracking | Up to €20m or 4% of global turnover |
| CookiebekendtgørelsenDanish Executive Order on cookies (cookiebekendtgørelsen), no. 1148 of 9 December 2011 | Denmark | Opt-in before tracking | Fines set by the courts, after a police report |
| EkomlovenElectronic Communications Act (ekomloven), section 3-15 | Norway | Opt-in before tracking | Infringement fines under ekomloven, plus GDPR fines |
| TraficomAct on Electronic Communications Services (917/2014), section 205 | Finland | Opt-in before tracking | Traficom orders, and fines for deliberate breaches |
| PKEElectronic Communications Law (Prawo komunikacji elektronicznej), article 399 | Poland | Opt-in before tracking | Up to 3% of the previous year’s revenue |
| CCPACalifornia Consumer Privacy Act, as amended by the CPRA | California, United States | Opt-out, opt-in for some data | $2,500 per violation, $7,500 if intentional |
| Colorado Privacy ActColorado Privacy Act (CPA) | Colorado, United States | Opt-out, opt-in for some data | Up to $20,000 per violation |
| CTDPAConnecticut Data Privacy Act | Connecticut, United States | Opt-out, opt-in for some data | Up to $5,000 per wilful violation |
| VCDPAVirginia Consumer Data Protection Act | Virginia, United States | Opt-out, opt-in for some data | Up to $7,500 per violation |
| UCPAUtah Consumer Privacy Act | Utah, United States | Opt-out allowed | Up to $7,500 per violation |
| Quebec Law 25Act to modernize legislative provisions as regards the protection of personal information | Quebec, Canada | Opt-in before tracking | Up to C$25m or 4% of global turnover |
| PIPEDAPersonal Information Protection and Electronic Documents Act | Canada | Opt-out allowed | Up to C$100,000 for specific offences |
| TDPSATexas Data Privacy and Security Act | Texas, United States | Opt-out, opt-in for some data | Up to $7,500 per violation |
| OCPAOregon Consumer Privacy Act | Oregon, United States | Opt-out, opt-in for some data | Up to $7,500 per violation |
| MCDPAMinnesota Consumer Data Privacy Act | Minnesota, United States | Opt-out, opt-in for some data | Up to $7,500 per violation |
| NJDPANew Jersey Data Privacy Act | New Jersey, United States | Opt-out, opt-in for some data | Up to $10,000, or $20,000 for repeat violations |
| LGPDLei Geral de Proteção de Dados, Law 13.709/2018 | Brazil | Opt-in before tracking | 2% of Brazilian revenue, up to R$50m each |
| POPIAProtection of Personal Information Act 4 of 2013 | South Africa | Consent, with exceptions | Fines up to R10m, and imprisonment |
| Saudi PDPLPersonal Data Protection Law and its Implementing Regulation | Saudi Arabia | Consent, with exceptions | Fines up to SAR 5m, plus criminal penalties |
| Singapore PDPAPersonal Data Protection Act 2012 | Singapore | Consent, with exceptions | Up to 10% of Singapore turnover, or S$1m |
| Thailand PDPAPersonal Data Protection Act B.E. 2562 (2019) | Thailand | Consent, with exceptions | Fines up to THB 5m, plus criminal penalties |
| APPIAct on the Protection of Personal Information | Japan | Notice, consent in some cases | Fines up to ¥100m for companies |
| Privacy ActPrivacy Act 1988 and the Australian Privacy Principles | Australia | Notice, consent in some cases | Up to A$50m, 3x the benefit or 30% of turnover |
| DPDP ActDigital Personal Data Protection Act 2023 and DPDP Rules 2025 | India | Consent, with exceptions | Up to ₹250 crore |
A summary for website owners, not legal advice. Reviewed ; each page links the law and the regulator's guidance it was read from.
Most of these laws fail on the same thing.
Cookies set before the visitor has answered. A free scan shows whether your site does it, and which cookie is responsible.