Domain V /

When do cookies and similar technologies need consent?

By the endDecide whether a tracking technique falls under Article 5(3) of the ePrivacy Directive, whether an exemption from consent applies, and whether the consent collected is valid.

The rule and its two exemptions

Article 5(3) of the ePrivacy Directive, Directive 2002/58/EC, in the wording Directive 2009/136/EC gave it, allows "the storing of information, or the gaining of access to information already stored, in the terminal equipment of a subscriber or user" only with that person's consent, given "having been provided with clear and comprehensive information", inter alia about the purposes. No consent is needed for storage or access solely to transmit a communication over an electronic communications network, or "as strictly necessary in order for the provider of an information society service explicitly requested by the subscriber or user to provide the service". The Directive still applies: the proposed ePrivacy Regulation, COM(2017) 10, was withdrawn by a notice in the Official Journal of 6 October 2025. The digital omnibus proposal, COM(2025) 837, is pending: the Council's mandate of 21 October 2026 keeps the cookie rules in the Directive and adds purposes exempt from consent, and on 19 November 2026 the European Parliament's file was awaiting committee decision.

Any information, stored by anyone

In Planet49 (C-673/17, 1 October 2019) the Court of Justice held that Article 5(3) is not interpreted differently according to whether the information stored or accessed is personal data. The European Data Protection Board (EDPB) adopted Guidelines 2/2023 on the technical scope of Article 5(3), version 2.0, on 7 October 2024 after public consultation. In the EDPB's view the rule applies whoever stored the information, the user or the manufacturer included, and covers access to a read-only value such as a media access control (MAC) address. Storage and access need not occur in the same communication or be done by the same party, and either one alone engages the rule. Engaging the rule does not mean consent is always needed: the guidelines leave the exemptions to case-by-case analysis under national law and guidance.

Techniques the EDPB places in scope

Tracking pixels and links

Sending a pixel, or a link carrying an identifier, to a device is storage, at least in the client software's cache, even if not permanent. Collecting the identifier sent back is a gaining of access.

Scripts and SDKs

Code that instructs the device to send stored information, such as JavaScript in a browser or a software development kit (SDK) in an app, gains access, even where another party receives the data.

Tracking by IP address alone

Reading an Internet Protocol (IP) address engages the rule where the address originates from the terminal equipment, as an IPv6 address, partly defined by the host, or a static outbound IPv4 address from the user's router does. Unless the entity can ensure the address does not come from the device, it must take all the steps Article 5(3) requires.

Connected devices

An Internet of Things (IoT) device connected directly or indirectly to a public communications network is terminal equipment. Code that makes it send streamed or cached data to a server gains access.

Valid consent, and the law after the cookie

Planet49 held that a checkbox the provider pre-ticked, which the user must deselect to refuse, gives no valid consent; consent requires active behavior. It must also be specific: clicking to enter a promotional lottery was not consent to cookies. The required information includes how long the cookies operate and whether third parties may access them. In the Cookie Banner Taskforce report of 17 January 2023, which records their minimum common position, the supervisory authorities confirmed that pre-ticked boxes on a banner's second layer give no valid consent; a vast majority treat a layer with a consent button but no reject option as an infringement. For the taskforce, national law transposing the Directive governs placing or reading the cookie, outside the one-stop-shop mechanism of the General Data Protection Regulation (GDPR), and the GDPR governs the later processing, which cannot comply where a required consent was not validly obtained.

Worked example

Reviewing a news site's tracking

A news site sets a session cookie that keeps subscribers logged in to read the articles they open. It also embeds an ad network's pixel and a script that sends the browser's screen size and fonts to an analytics vendor. Its banner shows "Accept all" and "Settings", and the boxes under Settings come pre-ticked.

  1. 1

    Test the scope

    All three store or read information on the device. The script gains access by instructing the browser to send data, though it sets no cookie.

  2. 2

    Test the exemptions

    The session cookie may qualify as strictly necessary for articles the subscriber explicitly requested, as the national transposition decides. The pixel and the script serve advertising and analytics, so they need consent.

  3. 3

    Test the consent

    The pre-ticked boxes give no valid consent, and most authorities would require a reject option beside "Accept all".

Result: The pixel and the script may run only after an active opt-in, with the boxes unticked. Following the majority of authorities, the banner offers a reject option on its first layer; the national rules that apply still need checking.

Try it

Apply the scope test

Decide whether Article 5(3) applies to each case, and say why. (1) A connected thermostat on home Wi-Fi caches its readings and uploads them to the maker's server each night. (2) An analytics vendor follows visitors across websites by their IPv6 address alone.

Hint: Is the device terminal equipment, and does information leave it on another party's instruction?

02 / Questions

Answer 6 questions

Check 1 of 6scenario · medium

A games website stores a cookie holding a random number that it never links to registration data or to anything else about the player. Its counsel argues that, because the cookie holds no personal data, Article 5(3) of the ePrivacy Directive does not reach it. How did the Court of Justice rule in Planet49 (C-673/17)?

Check 2 of 6scenario · easy

An online retailer's cookie banner opens a settings layer on which the boxes for analytics and advertising cookies are already ticked. A visitor clicks "Save" without changing anything. Under the Court of Justice's judgment in Planet49 (C-673/17), has the visitor consented to those cookies?

Check 3 of 6recall · medium

According to the Court of Justice in Planet49 (C-673/17), what must the clear and comprehensive information required by Article 5(3) of the ePrivacy Directive include?

Check 4 of 6scenario · hard

An online shop gives partner bloggers links that carry an identifier for each blogger, so that it knows which partner sent a buyer. The link loads the requested product page and passes the identifier to the shop. According to the European Data Protection Board's (EDPB) Guidelines 2/2023, how does Article 5(3) of the ePrivacy Directive apply?

Check 5 of 6scenario · easy

A user adds items to an online shop's basket and moves to checkout. The shop sets four cookies. Which one is most likely to fall within the exemption in Article 5(3) of the ePrivacy Directive for storage strictly necessary to provide a service the user explicitly requested?

Check 6 of 6scenario · medium

A news site's banner states that it reads cookies to build personalized content profiles on the basis of its legitimate interests, and it offers an objection only in a deeper layer. What did the authorities in the Cookie Banner Taskforce report of 17 January 2023 confirm about that basis?

03 / Recall

Answer without looking back

State what Article 5(3) of the ePrivacy Directive requires and its two exemptions, what Planet49 held, and which law governs processing after a cookie is read.

Primary reading

Read the relevant section

EDPB Guidelines 2/2023 on Technical Scope of Art. 5(3) of ePrivacy Directive, Version 2.0 · section 2.2, paragraphs 9-12 ↗
Sources used in this lesson
  1. EDPB Guidelines 2/2023 on Technical Scope of Art. 5(3) of ePrivacy Directive, Version 2.0, section 1, paragraph 1 ↗European Data Protection Board
  2. Directive 2002/58/EC (ePrivacy Directive), consolidated text as of 19.12.2009, Article 5(3) ↗Publications Office of the European Union
  3. Directive 2009/136/EC of 25 November 2009 amending Directive 2002/22/EC (universal service), Directive 2002/58/EC (privacy and electronic communications) and Regulation (EC) No 2006/2004 (consumer protection cooperation), Article 2, point 5, replacing Article 5(3) of Directive 2002/58/EC ↗Publications Office of the European Union (EUR-Lex)
  4. Judgment of the Court (Grand Chamber) of 1 October 2019, Bundesverband der Verbraucherzentralen und Verbraucherverbände v Planet49 GmbH, Case C-673/17, paragraph 74 ↗Court of Justice of the European Union
  5. Report of the work undertaken by the Cookie Banner Taskforce, section 7, paragraph 24 ↗European Data Protection Board
  6. Withdrawal of Commission proposals (C/2025/5423), including the proposal for a Regulation on Privacy and Electronic Communications, COM(2017) 10 final, Closing statement on the approval of the withdrawals, and OJ C date line ↗European Commission (Official Journal of the European Union, C series)
  7. Digital rulebook: Council agrees position to simplify data protection, privacy and cyber reporting rules (press release, 21 October 2026, updated 22 October 2026), Main elements of the mandate, section "e-privacy directive and cookies" ↗Council of the European Union
  8. Procedure file 2025/0360(COD), Digital Omnibus (European Parliament Legislative Observatory, read 19 November 2026), Basic information, Status ↗European Parliament
Glossary terms used in this lesson
European Parliament
EU institution of representatives of the Union's citizens that exercises legislative and budgetary functions jointly with the Council. It also exercises functions of political control and consultation and elects the President of the Commission.
Court of Justice
Court within the Court of Justice of the European Union, made up of one judge from each Member State and assisted by Advocates-General. Its members are chosen from persons whose independence is beyond doubt and appointed by common accord of the Member States' governments for six years.
personal data
Any information relating to an identified or identifiable natural person. A person is identifiable if they can be identified directly or indirectly, for example by a name, an identification number, location data, an online identifier, or factors specific to their physical, physiological, genetic, mental, economic, cultural or social identity.
processing
Any operation or set of operations performed on personal data, whether or not by automated means. Examples include collection, recording, organization, storage, alteration, retrieval, consultation, use, disclosure, dissemination, combination, restriction, erasure and destruction.
controller
The natural or legal person, public authority, agency or other body that, alone or jointly with others, determines the purposes and means of processing personal data. Where Union or Member State law determines the purposes and means, that law may name the controller or the criteria for naming it.
consent
Any freely given, specific, informed and unambiguous indication of the data subject's wishes by which they signify, by a statement or a clear affirmative action, agreement to the processing of their personal data.
legitimate interests
The lawful basis in Article 6(1)(f): processing necessary for the legitimate interests of the controller or a third party, except where the data subject's interests or fundamental rights and freedoms override them, in particular where the data subject is a child. Public authorities cannot use it for their tasks.
EDPBEuropean Data Protection Board
Union body with legal personality, composed of the head of one supervisory authority of each Member State and the European Data Protection Supervisor, or their representatives. It ensures consistent application of the GDPR. The Commission may take part in its activities and meetings without voting right.
ePrivacy Directive
Directive 2002/58/EC on privacy and electronic communications. It harmonises national rules protecting fundamental rights, in particular privacy and confidentiality, when personal data are processed in the electronic communications sector, and applies to processing in connection with publicly available electronic communications services in public communications networks.
cookie
As the referring court described it in Planet49, a text file that a website provider stores on the user's computer and can access again on a later visit, to facilitate navigation or transactions or to access information about user behaviour. The clear and comprehensive information owed under Article 5(3) of the ePrivacy Directive includes how long cookies operate and whether third parties may access them.
terminal equipment
Equipment directly or indirectly connected to the interface of a public telecommunications network to send, process or receive information, as Directive 2008/63/EC defines it. The EDPB applies this definition to Article 5(3) of the ePrivacy Directive, which protects both the confidentiality of information in the equipment and its integrity.
pre-ticked checkbox
A checkbox ticked in advance that the user must deselect to refuse consent. In Planet49 the Court of Justice held that consent given this way to storing information, or accessing information already stored, in a website user's terminal equipment by cookies is not validly constituted.
Cookie Banner Taskforce
The supervisory authorities' taskforce that coordinated the handling of NOYB's cookie banner complaints. Its report, adopted on 17 January 2023, records their common positions, among them that national law transposing the ePrivacy Directive governs placing or reading cookies, outside the one-stop shop, and the GDPR governs the later processing.
information society service
Any service normally provided for remuneration, at a distance, by means of electronic equipment for the processing and storage of data, at the individual request of a recipient. It covers online selling and services not paid for by their recipients, such as online information, and excludes television and radio broadcasting.