Join our Newsletter — 33% off our NHI Course
Home› Guides› Lawful Basis for Processing: Choosing Among the Six…
Guide Privacy & Data Protection

Lawful Basis for Processing: Choosing Among the Six GDPR Bases

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 27 November 2026 14 min read
On this page

Every processing activity under the GDPR needs a lawful basis chosen before it starts, and the wrong choice is hard to undo: it changes which rights people have, what the privacy notice must say and whether processing can continue when circumstances change. This guide explains all six bases in Article 6(1) of the EU GDPR, the test each one applies, how the choice affects individual rights, how special category data adds a second layer, and how to record the decision so it survives an audit. It is written for privacy, security and compliance teams who build and maintain a record of processing. The detailed comparison of the two most debated bases is in Consent vs Legitimate Interest, and the wider programme is in the GDPR Compliance Guide for Security Teams; this page does not repeat them.

Status checked 27 November 2026 against the GDPR text on EUR-Lex, EDPB guidelines and ICO guidance. The UK position differs and is noted below.

Status: correct as at 27 November 2026.

Key takeaways

  • There are six bases and no hierarchy. Consent, contract, legal obligation, vital interests, public task and legitimate interests are equal in law; the right one is the one that genuinely fits the purpose.
  • Five of the six turn on "necessary". Necessary means targeted and proportionate, not merely useful; if a less intrusive way achieves the purpose, the basis fails.
  • The basis decides the rights. Portability attaches to consent and contract, the Article 21(1) right to object to public task and legitimate interests, and withdrawal to consent.
  • Switching later is generally unfair. Decide per purpose before processing starts, tell people in the privacy notice, and plan for what happens when a contract ends or consent is withdrawn.
  • Record it even though Article 30 does not list it. Article 30(1) requires purposes, not the basis, but Article 13 requires the basis in the privacy notice and Article 5(2) accountability means you must be able to show it.

The six bases and their tests

Article 6(1) states that processing is lawful only if, and to the extent that, at least one of the following applies.

BasisArticleThe test in practiceTypical organisational uses
Consent6(1)(a)Freely given, specific, informed, unambiguous; as easy to withdraw as to give (Article 7)Optional marketing, non-essential cookies (with ePrivacy rules), optional research participation
Contract6(1)(b)Objectively necessary to perform a contract with the person, or for steps they asked for before entering oneDelivering the ordered service, billing, account administration
Legal obligation6(1)(c)Necessary to comply with a legal obligation on the controller, laid down by EU or Member State law (Article 6(3))Anti-money laundering identity checks, tax records, notifying a breach to the supervisory authority
Vital interests6(1)(d)Necessary to protect the life of the person or another natural personMedical emergencies where no other basis fits
Public task6(1)(e)Necessary for a task in the public interest or official authority vested in the controller, with a basis in law (Article 6(3))Public authorities' statutory functions
Legitimate interests6(1)(f)A legitimate interest, necessity, and a balancing test the person's interests do not override (particularly for children); not available to public authorities performing their tasksNetwork and information security, fraud prevention, many internal administrative uses

Consent

Consent fits when the person has a real choice and you are prepared to stop when they say no. Article 7(3) gives a right to withdraw at any time, and withdrawal does not affect processing done before it. Consent is a poor fit where there is a power imbalance, such as an employer and employee, or where you would carry on anyway. Article 8 sets 16 as the default age for a child's own consent to information society services, with Member States able to set a lower age not below 13. The conditions are covered in the GDPR Article 7 guide and evidence in the Consent Records Guide.

Contract

The EDPB's Guidelines 2/2019 on Article 6(1)(b) (online services) set the bar: processing must be objectively necessary for a purpose integral to delivering the contracted service, judged from both parties' perspective, and writing a processing activity into the terms does not make it necessary. The guidelines treat service improvement and online behavioural advertising as generally outside contractual necessity, say fraud prevention is likely to go beyond it (pointing to legitimate interests or legal obligation instead), and treat personalisation case by case. Accepting terms of service is not consent.

Legal obligation and public task

Both need a basis in EU or Member State law (Article 6(3)). The obligation must be on the controller, and a contractual duty to a third party does not count. The EDPB guidelines give a bank's identity checks before entering a contract as a legal obligation example, not a contract one. Public authorities rely mainly on public task for their functions and cannot use legitimate interests when performing those tasks.

Vital interests

This basis is for protecting someone's life. It is rarely the right answer for planned, routine processing; if the processing is foreseeable and repeated, another basis almost always fits better. For health data in an emergency, the matching special category condition is Article 9(2)(c), which applies where the person cannot legally or physically give consent.

Legitimate interests

Legitimate interests is the most flexible basis and needs the most documented reasoning: identify the interest, show the processing is necessary for it, and balance it against the person's interests, rights and reasonable expectations. The EDPB has issued Guidelines 1/2024 on Article 6(1)(f); version 1.0 went to public consultation in late 2024 and a version 2.0 is now published. Use the Legitimate Interests Assessment Template to record the three steps.

How the basis changes individual rights

The choice is not paperwork. It decides what people can demand of you.

BasisWithdraw consent (Art. 7(3))Object on personal grounds (Art. 21(1))Data portability (Art. 20)Erasure ground
ConsentYesWithdrawal applies insteadYes, where processing is automatedWithdrawal with no other ground (Art. 17(1)(b))
ContractNot applicableNot applicableYes, where processing is automatedWhen data is no longer necessary for the purpose
Legal obligationNot applicableNot applicableNot applicableLimited while the obligation applies
Vital interestsNot applicableNot applicableNot applicableWhen data is no longer necessary
Public taskNot applicableYes, unless compelling legitimate grounds overrideNot applicableLimited while the task requires it
Legitimate interestsNot applicableYes, unless compelling legitimate grounds overrideNot applicableObjection with no overriding grounds (Art. 17(1)(c))

The right to object to direct marketing (Article 21(3)) is absolute: once someone objects, processing for direct marketing stops, whatever the basis. Rights handling is covered in the GDPR Article 15 and GDPR Article 17 guides.

Special category and criminal offence data: the second layer

Article 9(1) prohibits processing special category data (for example health, biometric data used for identification, racial or ethnic origin, religious belief, trade union membership, sex life or sexual orientation) unless an Article 9(2) condition applies. That condition is needed in addition to an Article 6 basis, not instead of one. The EDPB notes that contractual necessity is not an Article 9(2) exception.

Article 9(2) conditionSummary
(a)Explicit consent, unless law says consent cannot lift the prohibition
(b)Employment, social security and social protection obligations authorised by law or collective agreement
(c)Vital interests where the person cannot consent
(d)Not-for-profit bodies with political, philosophical, religious or trade union aims, for members and regular contacts
(e)Data manifestly made public by the person
(f)Legal claims or courts acting judicially
(g)Substantial public interest under proportionate law with safeguards
(h)Preventive or occupational medicine, health or social care
(i)Public health with specific safeguards
(j)Archiving, scientific or historical research, or statistics with safeguards

Several conditions depend on Member State law, so the same activity can need different reasoning in different countries. Criminal conviction and offence data has its own rule in Article 10. The Special Category Data Guide covers the safeguards.

Choosing a basis: a decision sequence

  1. Define the purpose precisely. The EDPB guidelines say vague purposes such as "improving users' experience" usually fail the specificity requirement. One purpose, one basis decision.
  2. Check for a legal obligation or public task. If law requires the processing, record the specific provision.
  3. Check contractual necessity strictly. Ask whether the core service could be delivered without it. If yes, contract is not the basis.
  4. Consider legitimate interests where you have a real interest, the processing is necessary for it and people would reasonably expect it. Run and keep the assessment.
  5. Use consent where you want to give people genuine control and will stop if they decline or withdraw.
  6. Keep vital interests for emergencies.
  7. Add the Article 9 or Article 10 layer if the data requires it.
  8. Plan the end state: what happens at contract termination, withdrawal or objection, and which data must be kept under a separate legal obligation.

The ICO suggests weighing who benefits, what people would expect, your relationship with them, any power imbalance and the potential for harm when the choice is not obvious.

Worked examples from security and IT operations

ActivityBasis commonly relied onWatch point
Security logging and monitoring of corporate systemsLegitimate interests, or legal obligation where a specific law requires itProportionate retention and access; staff transparency. See the Employee Monitoring and Privacy Guide.
Fraud prevention in a customer serviceLegitimate interests, or legal obligation where requiredEDPB says this is likely beyond contractual necessity
Customer identity verification for regulated financeLegal obligationNot contract; record the statute
Delivering and billing a subscribed serviceContractStops at termination except administration, with retention on its own basis
Product analytics to improve the serviceLegitimate interests or consentEDPB treats service improvement as generally outside contract; cookies and device access also need ePrivacy compliance
Notifying a personal data breach to the authorityLegal obligation (Article 33)See the GDPR Articles 33 and 34 Breach Notification Guide
Biometric login for staffAn Article 6 basis plus an Article 9(2) conditionConsent from employees is rarely freely given; offer an alternative

These are common patterns, not answers for a specific organisation. Facts, sector law and Member State law change the outcome.

Changing purpose or basis

  • Further processing: Article 6(4) lists factors for judging whether a new purpose is compatible with the original: the link between purposes, the context of collection, the nature of the data, the possible consequences and the safeguards, such as encryption or pseudonymisation.
  • Switching basis: the ICO says you generally cannot swap to a different basis later, particularly away from consent, without breaching fairness and transparency. A genuine change in circumstances or a new purpose justifies a fresh decision, with people told before anything new happens.
  • Contract termination: the EDPB says processing that relied only on Article 6(1)(b) generally stops when the contract ends, and switching to a new basis then is generally unfair. Retention required by law needs its own basis identified at the outset.

Recording the decision

Article 30(1) lists what a controller's record of processing must contain: controller details, purposes, categories of data subjects and data, recipients, transfers, erasure time limits where possible, and a general description of security measures where possible. The lawful basis is not on that list. It still belongs in the record because Article 13(1)(c) requires the privacy notice to state the purposes and legal basis, Article 13(1)(d) requires the legitimate interests to be stated where 6(1)(f) applies, and Article 5(2) makes the controller responsible for demonstrating compliance. The ICO asks organisations to keep a record of the basis for each purpose and why it applies. Add these fields to each processing activity in the record:

  • Lawful basis: the Article 6(1) point, and the specific law for (c) or (e).
  • Justification: one or two sentences on why it applies, with a link to any assessment.
  • Special category or criminal data: the Article 9(2) or Article 10 condition and the Member State provision relied on.
  • Rights consequences: which of withdrawal, objection and portability apply, so the rights team routes requests correctly.
  • End state: what happens at termination, withdrawal or objection, and the retention basis.
  • Review date and owner.

Article 30(5) exempts organisations with fewer than 250 people unless the processing is likely to result in a risk, is not occasional, or includes special category or criminal offence data; in practice most organisations keep a record anyway. See the Data Mapping and ROPA Guide.

UK GDPR differences

The ICO's lawful basis guidance, updated to reflect the Data (Use and Access) Act, lists seven bases for the UK: the six above plus "recognised legitimate interest". That basis covers five set purposes (safeguarding vulnerable people, responding to emergencies, preventing or investigating crime, national security, public security and defence, and sharing with an organisation that needs the data for its public task at its request) without the balancing test (confirm the current list of conditions with the ICO), and is not available to public authorities performing their tasks. Organisations operating in both jurisdictions should record the basis for each regime separately. See UK GDPR vs EU GDPR.

Detection and measurement

  • Percentage of processing activities in the record with a lawful basis and justification recorded (target 100 per cent).
  • Percentage of legitimate interests activities with a current assessment on file.
  • Percentage of special category activities with a named Article 9(2) condition and Member State provision.
  • Mismatches found between the record and the privacy notice in each review.
  • Rights requests misrouted because the basis was wrong or missing (for example portability refused on a contract activity).
  • New systems or vendors that went live without a basis decision.

Framework mapping

FrameworkReferenceRelevance
GDPRArticles 5(2), 6, 7, 9, 13, 21, 30Accountability, bases, consent, special categories, transparency, objection, records
GDPRArticle 83(5)(a)Infringing Articles 5, 6, 7 and 9 sits in the higher fine tier: up to EUR 20 million or 4 per cent of worldwide annual turnover, whichever is higher
NIST SP 800-53 Rev 5PT-2, PT-3, PT-4, PT-5Authority to process, purpose specification, consent, privacy notice
NIST CSF 2.0GV.OC-03Legal and privacy obligations understood and managed
ISO/IEC 27001:2022Annex A 5.34Privacy and protection of personal data

Enforcement patterns are tracked in the GDPR Article 83 guide.

Common failure patterns

  • Contract stretched to cover everything: analytics, advertising and fraud checks recorded as "necessary for the contract" when the core service runs without them.
  • Consent used as a safety net: asking for consent while intending to process anyway, then falling back on another basis after withdrawal.
  • One basis for a whole system: a CRM or HR platform recorded with a single basis although it serves several purposes.
  • Article 9 forgotten: a valid Article 6 basis recorded for biometric or health data with no Article 9(2) condition.
  • Notice and record disagree: the privacy notice states legitimate interests while the record says consent, or the reverse.
  • No end-state plan: data kept after contract termination with no retention basis identified at the outset.

Practitioner checklist

  • Split each system into distinct purposes before choosing bases.
  • Record one Article 6(1) basis per purpose, with the law cited for (c) and (e).
  • Test contractual necessity against the EDPB "objectively necessary" standard.
  • Complete and file a legitimate interests assessment for every 6(1)(f) activity.
  • Add the Article 9(2) or Article 10 condition wherever the data requires it.
  • Map each basis to the rights it triggers and brief the rights request team.
  • Align the privacy notice with the record of processing at every review.
  • Define the end state for termination, withdrawal and objection before go-live.
  • Record UK and EU bases separately where both regimes apply.
  • Make a basis decision a gate in project, vendor onboarding and DPIA workflows.

Standards and references

Related NHI Mgmt Group resources: Consent vs Legitimate Interest · GDPR Compliance Guide for Security Teams · Data Mapping and ROPA Guide · DPIA Guide: Running a Data Protection Impact Assessment. This guide summarises the GDPR lawful bases for processing for organisations and is not legal advice.

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.