Article 6 GDPR - Lawfulness of processing

1. Processing shall be lawful only if and to the extent that at least one of the following applies:
(a) the data subject has given consent to the processing of his or her personal data for one or more specific purposes;
(b) processing is necessary for the performance of a contract to which the data subject is party or in order to take steps at the request of the data subject prior to entering into a contract;
(c) processing is necessary for compliance with a legal obligation to which the controller is subject;
(d) processing is necessary in order to protect the vital interests of the data subject or of another natural person;
(e) processing is necessary for the performance of a task carried out in the public interest or in the exercise of official authority vested in the controller;
(f) processing is necessary for the purposes of the legitimate interests pursued by the controller or by a third party, except where such interests are overridden by the interests or fundamental rights and freedoms of the data subject which require protection of personal data, in particular where the data subject is a child.
Point (f) of the first subparagraph shall not apply to processing carried out by public authorities in the performance of their tasks.
2. Member States may maintain or introduce more specific provisions to adapt the application of the rules of this Regulation with regard to processing for compliance with points (c) and (e) of paragraph 1 by determining more precisely specific requirements for the processing and other measures to ensure lawful and fair processing including for other specific processing situations as provided for in Chapter IX.
3. The basis for the processing referred to in point (c) and (e) of paragraph 1 shall be laid down by:
(a) Union law; or
(b) Member State law to which the controller is subject.
The purpose of the processing shall be determined in that legal basis or, as regards the processing referred to in point (e) of paragraph 1, shall be necessary for the performance of a task carried out in the public interest or in the exercise of official authority vested in the controller. That legal basis may contain specific provisions to adapt the application of rules of this Regulation, inter alia: the general conditions governing the lawfulness of processing by the controller; the types of data which are subject to the processing; the data subjects concerned; the entities to, and the purposes for which, the personal data may be disclosed; the purpose limitation; storage periods; and processing operations and processing procedures, including measures to ensure lawful and fair processing such as those for other specific processing situations as provided for in Chapter IX. The Union or the Member State law shall meet an objective of public interest and be proportionate to the legitimate aim pursued.
4. Where the processing for a purpose other than that for which the personal data have been collected is not based on the data subject’s consent or on a Union or Member State law which constitutes a necessary and proportionate measure in a democratic society to safeguard the objectives referred to in Article 23(1), the controller shall, in order to ascertain whether processing for another purpose is compatible with the purpose for which the personal data are initially collected, take into account, inter alia:
(a) any link between the purposes for which the personal data have been collected and the purposes of the intended further processing;
(b) the context in which the personal data have been collected, in particular regarding the relationship between data subjects and the controller;
(c) the nature of the personal data, in particular whether special categories of personal data are processed, pursuant to Article 9, or whether personal data related to criminal convictions and offences are processed, pursuant to Article 10;
(d) the possible consequences of the intended further processing for data subjects;
(e) the existence of appropriate safeguards, which may include encryption or pseudonymisation.

Frequently Asked Questions

Short answers to common questions about this provision. They are general information and not legal advice.

Under paragraph 1, processing is lawful only if and to the extent that at least one of six grounds applies, namely consent, necessity for a contract with the data subject, compliance with a legal obligation, protection of vital interests, performance of a task in the public interest or exercise of official authority, or legitimate interests not overridden by the interests or fundamental rights of the data subject. The words to the extent that indicate that each processing purpose must be matched to a basis.

No, not in the performance of their tasks. The second subparagraph of paragraph 1 excludes point (f) for processing carried out by public authorities in the performance of their tasks, the rationale being that it is for the legislature to provide their legal basis, typically under points (c) or (e) read with paragraph 3.

The processing must be necessary for the purposes of the legitimate interests pursued by the controller or by a third party, and those interests must not be overridden by the interests or fundamental rights and freedoms of the data subject, with particular weight where the data subject is a child. Recital 47 gives direct marketing as an example of a possible legitimate interest, and reliance on point (f) triggers the data subject's right to object under Article 21(1).

Paragraph 3 requires the basis for processing under points (c) and (e) of paragraph 1 to be laid down in Union law or in the Member State law to which the controller is subject, and that law must meet an objective of public interest and be proportionate to the legitimate aim pursued. Paragraph 2 additionally allows Member States to maintain or introduce more specific provisions adapting the Regulation for these two grounds.

Where the further processing is not based on the data subject's consent or on a Union or Member State law safeguarding the objectives of Article 23(1), paragraph 4 requires the controller to assess compatibility with the original purpose. The assessment takes into account, inter alia, the link between the purposes, the context of collection, the nature of the data, in particular special categories under Article 9 or data under Article 10, the possible consequences for data subjects, and the existence of safeguards such as encryption or pseudonymisation.