Skip to content

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.
On this page
  1. Quick answer table
  2. The three-part test
  3. Cookies
  4. UK changes
  5. Other countries
  6. Questions
  7. Sources

Which basis for which purpose?

PurposeUsual basisWhy
Analytics and advertising cookies, pixelsConsentePrivacy Article 5(3) requires consent to set or read them (narrow UK and French analytics exemptions aside)
Marketing emails to individual consumersConsent (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 contactsLegitimate interest, with an easy opt-outOften allowed for B2B; check each country's e-marketing rules
Fraud prevention and security logsLegitimate interestExpected by users, low impact, clearly necessary
Service and account emailsContract or legitimate interestPart of the service people signed up for
Delivering an orderContractNecessary to do what the customer asked
CCTV in your premisesLegitimate interestSecurity, if proportionate and signposted
Sharing data with partners for their own marketingConsentPeople wouldn't reasonably expect it
Personalised ads based on profilingConsentHigh impact; the CJEU has rejected other bases for it
Health or other special category dataExplicit consent or an Article 9 conditionLegitimate 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:

  1. 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.
  2. Necessity: do you actually need this data for that interest, or is there a less intrusive way?
  3. 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.

Cookies: why consent comes first

Two separate laws apply to cookies at the same time:

QuestionWhich law answers itAnswer for analytics and ad cookies
May I store or read a cookie on this person's device?ePrivacy Directive Article 5(3) / UK PECR regulation 6Only with consent, unless strictly necessary
What's my basis for using the data I collect?GDPR Article 6In practice consent, because consent was already needed to collect it

The first question comes first. If the ePrivacy rules need consent to set the cookie, legitimate interest under the GDPR can't skip that step. This is why a cookie banner can't use "legitimate interest" to load analytics or advertising cookies before the visitor agrees. For what goes in each category, see GDPR cookie categories.

Some banners built on the ad industry's Transparency and Consent Framework show a second set of "legitimate interest" switches, already on, so visitors who click "Reject all" may still be profiled. In 2024 the CJEU ruled (IAB Europe, C-604/22) that the framework's consent string is personal data, which brings this whole system under the GDPR. For an ordinary website, make "Reject all" mean reject all.

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.

  1. GDPR, Regulation (EU) 2016/679 (EUR-Lex)
  2. EDPB Guidelines 1/2024 on processing based on legitimate interest
  3. CJEU: Koninklijke Nederlandse Lawn Tennisbond, C-621/22 (2024)
  4. CJEU: IAB Europe, C-604/22 (2024)
  5. Data (Use and Access) Act 2025, section 70 (legislation.gov.uk)
  6. Data (Use and Access) Act 2025, Schedule 4: recognised legitimate interests (legislation.gov.uk)
  7. 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 tool

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

Keep reading

All guides

Get compliant this afternoon, not this quarter.

Set up your policies, banner and request form in one place. Free while Kiescy is in early access.