Find a course

Module 2: Principles and Lawful BasesLesson 4 of 1112 min

The Six Lawful Bases

Learn the six lawful bases for processing personal data, when each fits, and why consent is not always the best or even an allowed choice.

Step 1 of 13Learn

No basis, no processing

Under the GDPR, every processing activity needs at least one lawful basis. Without one, processing is unlawful, however good your intentions or security. There are exactly six:

  1. Consent: the person has given clear permission for a specific purpose.
  2. Contract: processing is necessary to perform a contract with the person, or to take steps they asked for before entering one (such as a quote).
  3. Legal obligation: processing is necessary to comply with a law, such as keeping payroll records for tax authorities.
  4. Vital interests: processing is necessary to protect someone's life, such as sharing medical information with paramedics when a person is unconscious.
  5. Public task: processing is necessary to perform a task in the public interest or an official function set out in law, mostly relevant to public bodies.
  6. Legitimate interests: processing is necessary for your legitimate interests or a third party's, unless the person's interests and rights override them.

No basis is "better" than another. You choose the one that genuinely fits the purpose, decide it before you start, record it and tell people in your privacy notice. Switching bases later, for example from consent to legitimate interests after someone withdraws consent, is generally not acceptable.

Step 2 of 13Practice · Match the pairs

Match each processing activity with the most suitable lawful basis.

Tap an answer, then tap the place where it belongs (or drag it there).

  1. Using a customer's address to deliver the sofa they bought
  2. Sending employee salary data to the tax authority
  3. Telling an ambulance crew an unconscious guest's allergy
  4. A city council processing data to collect local taxes
  5. Sending an optional marketing newsletter that people opted into

Step 3 of 13Diagram

The six lawful bases

The six lawful basesParts diagram: Lawful basis, Consent, Contract, Legal obligation, Vital interests, Public task, Legitimate interests.Lawful basisConsentContractLegalobligationVitalinterestsPublic taskLegitimateinterests

Tap a shape with to see more.

Lawful basis
Consent

A genuine, withdrawable choice.

Contract

Necessary to deliver what the person signed up for.

Legal obligation

A law requires the processing.

Vital interests

Protecting someone's life.

Public task

Official functions with a legal basis, mostly public bodies.

Legitimate interests

Flexible, but needs the three-part test.

Step 4 of 13Learn

Necessary means necessary

Five of the six bases include the word necessary. That word does a lot of work. It means the processing is a targeted, proportionate way of achieving the purpose, not merely useful or convenient.

Take the contract basis. An online shop needs your name, address and payment details to sell and deliver your order: necessary. It doesn't need your browsing history across other websites to deliver the order. Profiling you for ads may have another basis, but it can't hide under "contract" just because it's mentioned in the terms of service.

European regulators and courts have repeatedly rejected attempts to stretch "contract" to cover behavioral advertising. Writing something into the terms doesn't make it necessary for the service the person actually wants.

The legal obligation basis needs a specific law that requires the processing; a general wish to "be compliant" isn't enough. The vital interests basis is for genuine life-or-death situations, not routine health data handling, which usually relies on other conditions.

When you're unsure whether something is necessary, ask: could we reasonably achieve the purpose with less data, or without this processing at all? If yes, it probably isn't necessary.

Step 5 of 13Practice · True or false

A company can rely on the contract basis for any processing it lists in its terms of service.

Step 6 of 13Learn

Legitimate interests and the three-part test

Legitimate interests is the most flexible basis, and the one most often misused. It can cover things like fraud prevention, network security, basic analytics, direct marketing to existing customers in some cases, and sharing data within a corporate group for internal administration.

Because it's flexible, it comes with a test. Organizations usually document it in a legitimate interests assessment (LIA) with three parts:

  1. Purpose test: is there a legitimate interest? It can be commercial, individual or societal, as long as it's lawful and clearly stated.
  2. Necessity test: is the processing necessary for that purpose, or is there a less intrusive way to achieve it?
  3. Balancing test: do the person's interests, rights and reasonable expectations override yours? Consider the type of data, whether they'd expect it, the relationship, and whether they're vulnerable, such as children.

Example: a bank analyzing transactions to detect fraud passes easily; customers expect and benefit from it. A retailer secretly combining purchase data with social media profiles to infer pregnancy almost certainly fails the balancing test.

People can object to processing based on legitimate interests, and for direct marketing the objection is absolute: you must stop.

Step 7 of 13Practice · Put in order

Put the three parts of a legitimate interests assessment in order.

Drag the items, or use the arrow buttons, to put them in order.

  1. Check the processing is necessary for it (necessity test)
  2. Weigh it against the person's interests and expectations (balancing test)
  3. Identify a legitimate interest (purpose test)

Step 8 of 13Diagram

The legitimate interests assessment

The legitimate interests assessmentProcess diagram: Purpose test → Necessity test → Balancing test → Document the result.Purpose testNecessitytestBalancingtestDocumentthe result

Tap a shape with to see more.

Purpose test

Is there a real, lawful interest, such as fraud prevention?

Necessity test

Is this processing a targeted way to achieve it, or is there a less intrusive option?

Balancing test

Would people reasonably expect it, and do their interests override yours?

Document the result

Keep the LIA as accountability evidence.

Step 9 of 13Note

Step 10 of 13Learn

Choosing a basis in practice

A practical way to pick a lawful basis is to work through the purposes one by one and ask a few questions in order.

  1. Is a law making us do this? Tax records, health and safety reporting, anti-money-laundering checks: legal obligation.
  2. Is it needed to deliver what the person asked for? Delivering an order, running an account they opened, paying an employee: contract.
  3. Are we a public body doing an official job? A school recording attendance, a council collecting taxes: public task.
  4. Is someone's life at stake right now? Vital interests, rarely used.
  5. Is it optional, something the person should be free to refuse? Marketing emails, optional profiling, non-essential cookies: usually consent.
  6. Is it a reasonable business purpose people would expect, with low impact? Fraud prevention, IT security, basic service analytics: often legitimate interests, after an assessment.

One organization usually uses several bases for different purposes. An online shop might rely on contract for orders, legal obligation for invoices, legitimate interests for fraud checks and consent for its newsletter. Record each one, and explain them in the privacy notice. Special category data then needs an additional condition on top of the basis.

Step 11 of 13Diagram

Picking a basis: ask in this order

Picking a basis: ask in this orderProcess diagram: Does a law require it? → Needed for what they asked for? → Official public function? → Someone's life at stake? → Interest that passes the 3-part test? → Otherwise: a genuine choice?.Does a law requireit?Needed for whatthey asked for?Official publicfunction?Someone's life atstake?Interest that passesthe 3-part test?Otherwise: a genuinechoice?

Tap a shape with to see more.

Does a law require it?

Then legal obligation.

Needed for what they asked for?

Then contract.

Official public function?

Then public task.

Someone's life at stake?

Then vital interests.

Interest that passes the 3-part test?

Then legitimate interests (not for public bodies doing their tasks).

Otherwise: a genuine choice?

Then consent, freely given and easy to withdraw.

Step 12 of 13Practice · What would you do?

What would you do?

An employer wants to process employees' bank details to pay salaries. HR suggests asking every employee to sign a consent form.

Step 13 of 13Practice · Choose one

A shop uses CCTV inside its store to deter theft and investigate incidents. Which lawful basis most likely fits?