Cookie consent
Legitimate interest vs consent: which one do you need?
By the Kiescy teamUpdated 6 min readChecked against the official text on
"Legitimate interest" sounds like a handy way to avoid asking permission. It's a real and useful legal basis under the GDPR, but it isn't a loophole: it needs a documented test, people can object, and for cookies it can't replace consent at all. This guide shows which basis fits common situations, how the test works, and what changed in the UK in 2026.
The short version
Use consent when people should have a real choice: marketing cookies, analytics cookies, ad tracking and most marketing emails to consumers. Use legitimate interest for things people would reasonably expect and that have little impact on them, such as security, fraud prevention and service messages, after a written three-part test. For cookies and trackers in the EU and UK, the ePrivacy rules require consent before anything non-essential is stored on a device, whatever GDPR basis you'd use afterwards.
Words you'll see in this guide (4)
- Legal basis:
- The reason the GDPR allows you to use personal data. There are six in Article 6: consent, contract, legal obligation, vital interests, public task and legitimate interests.
- Consent:
- A clear, informed, freely given yes to a specific use. People can withdraw it at any time, as easily as they gave it (Article 7).
- Legitimate interest:
- A basis that lets you use data without asking, if your reason is genuine, the use is necessary, and it doesn't override the person's rights (Article 6(1)(f)).
- Legitimate interests assessment (LIA):
- The written record of your three-part test.
Which basis for which purpose?
| Purpose | Usual basis | Why |
|---|---|---|
| Analytics and advertising cookies, pixels | Consent | ePrivacy Article 5(3) requires consent to set or read them (narrow UK and French analytics exemptions aside) |
| Marketing emails to individual consumers | Consent (or the existing-customer "soft opt-in") | E-marketing rules require it; the soft opt-in covers similar products to existing customers with an opt-out |
| Marketing to business contacts | Legitimate interest, with an easy opt-out | Often allowed for B2B; check each country's e-marketing rules |
| Fraud prevention and security logs | Legitimate interest | Expected by users, low impact, clearly necessary |
| Service and account emails | Contract or legitimate interest | Part of the service people signed up for |
| Delivering an order | Contract | Necessary to do what the customer asked |
| CCTV in your premises | Legitimate interest | Security, if proportionate and signposted |
| Sharing data with partners for their own marketing | Consent | People wouldn't reasonably expect it |
| Personalised ads based on profiling | Consent | High impact; the CJEU has rejected other bases for it |
| Health or other special category data | Explicit consent or an Article 9 condition | Legitimate interest alone is never enough |
The three-part legitimate interest test
Before relying on legitimate interest, check three things and write them down (a legitimate interests assessment). The EDPB's 2024 guidelines set out the same three steps:
- Purpose: is there a genuine, lawful interest? Commercial interests can count, as the CJEU confirmed in the KNLTB case (2024), as long as they're lawful.
- Necessity: do you actually need this data for that interest, or is there a less intrusive way?
- Balance: would people reasonably expect it? Could it harm them? Do their rights outweigh your interest? Children's data weighs heavily.
Then tell people in your privacy policy that you rely on legitimate interest for that purpose and that they can object (Article 21). For direct marketing, an objection means you must stop, no questions asked.
Example: a test that passes
An online shop wants to check orders for fraud. Purpose: preventing fraud is lawful. Necessity: it only uses order and payment data it already has. Balance: customers expect shops to check for fraud, and honest customers aren't harmed. Legitimate interest works, and the shop writes this down in a short assessment.
Example: a test that fails
The same shop wants to sell customer email lists to a partner. Purpose: earning revenue is lawful. Balance: customers wouldn't expect their details to be sold, and they lose control over who contacts them. It fails the balance, so the shop needs consent.
The UK in 2026: "recognised legitimate interests"
The Data (Use and Access) Act 2025 changed the UK GDPR from 5 February 2026:
- A new basis, "recognised legitimate interest" (Article 6(1)(ea)), needs no balancing test. It only covers the purposes in a new Annex 1: disclosures requested by a public body for its public tasks, national security and defence, emergencies, preventing and detecting crime, and safeguarding vulnerable people.
- Examples of ordinary legitimate interests are now written into the law (Article 6(11)): direct marketing, sharing data within a group of companies for internal administration, and network and information security. These still need the three-part test; the law just confirms they can qualify.
- Cookies: first-party analytics and functionality cookies can now be set without consent if you explain them and offer an opt-out. Advertising cookies still need consent.
None of this applies in the EU, where the rules haven't changed.
Outside Europe
- India: the DPDP Act has no legitimate interest basis. Processing needs consent or one of the narrow "legitimate uses" in Section 7, such as data voluntarily given for a purpose, emergencies or employment. See DPDP Act vs GDPR.
- United States: most state laws don't use legal bases. Instead, people can opt out of the sale or sharing of their data and of targeted advertising. See the CCPA compliance checklist.
- Brazil: the LGPD includes legitimate interest, but consent is the safest basis for non-essential cookies.
Questions
Can I use legitimate interest for Google Analytics?
Not to set its cookies in the EU. Analytics cookies aren't strictly necessary, so the ePrivacy rules require consent. In the UK, first-party analytics used only to improve your own site no longer needs consent since February 2026, but Google Analytics with data sharing or ad features turned on still does.
Is legitimate interest easier than consent?
It saves asking, but it needs a written three-part test, a clear notice, a right to object, and genuine necessity. It isn't a shortcut for tracking.
Can people object to legitimate interest processing?
Yes, under Article 21. You must stop unless you have compelling grounds that override theirs, and for direct marketing you must always stop.
Can I switch from consent to legitimate interest if people say no?
No. Regulators see that as unfair: if you asked for consent and people refused, you can't then rely on another basis for the same processing. Choose the right basis before you start.
Is direct marketing a legitimate interest?
It can be. The UK now says so in Article 6(11) of the UK GDPR, and EU regulators accept it in principle. It still needs the balancing test, and electronic marketing to consumers usually needs consent under separate e-marketing rules.
Do strictly necessary cookies need a legal basis?
They don't need consent under the ePrivacy rules. Any personal data they involve still needs a GDPR basis, usually contract or legitimate interest.
Sources
The facts in this guide come from these official sources, last checked on . We review the guide whenever they change.
- GDPR, Regulation (EU) 2016/679 (EUR-Lex)
- EDPB Guidelines 1/2024 on processing based on legitimate interest
- CJEU: Koninklijke Nederlandse Lawn Tennisbond, C-621/22 (2024)
- CJEU: IAB Europe, C-604/22 (2024)
- Data (Use and Access) Act 2025, section 70 (legislation.gov.uk)
- Data (Use and Access) Act 2025, Schedule 4: recognised legitimate interests (legislation.gov.uk)
- ICO: Legitimate interests
Ask for cookie consent the right way
Free banner code with Reject all, categories off by default and scripts held back until visitors agree.
Open the free toolThis guide explains the law in general terms and isn't legal advice. Laws change and how they apply depends on your situation; for high-risk processing, ask a lawyer.