1. Section 2: Principles and lawful processing

1.2. 2.2 The seven lawful bases

UK data protection learning

2.2 The seven lawful bases

The legal justification required for each processing purpose.

BasisUse when processing is necessary because…Example
Consentthe person has made a valid, informed and unambiguous choice.Optional email marketing with a clear opt-in.
Contractit is needed for a contract with the person or requested pre-contract steps.Using an address to deliver an online order.
Legal obligationit is needed to comply with a legal duty.Keeping certain tax or employment records.
Vital interestsit is needed to protect someone's life.Sharing urgent medical information when a person cannot consent.
Public taskit is needed for an official function or task in the public interest with a basis in law.A public authority performing a statutory function.
Recognised legitimate interestit is needed for a listed recognised public-interest purpose.Certain disclosures requested by a public body in support of a public task, where the statutory conditions are met.
Legitimate interestsit is needed for a legitimate interest and the balancing test favours the processing.Proportionate fraud prevention or network security in suitable circumstances.
Recognised legitimate interest is not a blanket exemption. Necessity, the defined purpose and all other UK GDPR requirements still apply. Public authorities cannot use this basis for processing in the performance of their public tasks.

Choosing and recording the basis

  1. Define the exact purpose.
  2. Test whether the processing is genuinely necessary.
  3. Compare the bases and choose the one that best matches the facts.
  4. Record the reasoning before processing.
  5. Reflect the basis in the privacy information.
  6. Review the decision if the purpose or method changes.

Official reference points

Legal accuracy: reviewed against official UK sources on 14 July 2026. This learning content is educational and is not a substitute for case-specific legal advice.