Join our Newsletter — 33% off our NHI Course
Home› Guides› ePrivacy Directive Guide: Cookies, Confidentiality of Communications and…
Guide Privacy & Data Protection

ePrivacy Directive Guide: Cookies, Confidentiality of Communications and Marketing in the EU

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, edited by Lalit Choda Updated 26 October 2026 16 min read
On this page

The ePrivacy Directive is the EU law behind every cookie banner, yet most security teams only meet it when a tracking pixel or a telecoms breach lands on their desk. Directive 2002/58/EC, as amended by Directive 2009/136/EC, protects the confidentiality of electronic communications, controls storage of and access to information on users' devices, limits the use of traffic and location data, sets the opt-in rule for electronic marketing, and requires providers of public communications services to secure their services and report personal data breaches. Because it is a directive, it applies through 27 national laws enforced by different authorities. This guide covers scope, the obligations that matter to security and privacy engineering, the status of the withdrawn ePrivacy Regulation and the Digital Omnibus proposal, enforcement, and what the rules mean for AI agents and machine identities. It is for security leaders, privacy engineers, DPOs and telecoms compliance teams.

Key takeaways

  • Article 5(3) is about the device, not personal data. Storing or accessing any information on terminal equipment needs consent unless it is for transmission or strictly necessary for a service the user explicitly requested. EDPB Guidelines 2/2023 confirm this reaches pixels, tracking links, IP-based tracking in some cases, IoT telemetry and unique identifiers.
  • The Directive is lex specialis to the GDPR. Where it has a specific rule, that rule applies to that step; everything after it, such as profiling the collected data, needs a GDPR legal basis.
  • Telecoms breaches run on a 24-hour clock. Commission Regulation (EU) No 611/2013 requires providers of publicly available electronic communications services to notify the national authority no later than 24 hours after detection where feasible, with a full notification within three days.
  • The ePrivacy Regulation is gone, the Directive stays. The Commission's withdrawal of proposal COM(2017) 10 was published in the Official Journal on 6 October 2025. The November 2025 Digital Omnibus proposal would move device-access rules for personal data into the GDPR, but it is still being negotiated.
  • Enforcement is national and fragmented. Depending on the Member State, the data protection authority, the telecoms regulator or both enforce the national transposition, and the GDPR one-stop-shop does not apply to ePrivacy rules as such.

Scope: who and what is covered

Article 3 applies the Directive to the processing of personal data in connection with publicly available electronic communications services in public communications networks. Several articles, however, are wider than that, and this is the point most often missed.

ProvisionWho it bindsPersonal data needed?Security relevance
Art. 4 Security and breach notificationProviders of publicly available electronic communications servicesYesSecurity measures, risk warnings, breach notification, breach inventory
Art. 5(1) Confidentiality of communicationsMember States must ensure it against anyone other than the usersNoInterception, tapping, storage and surveillance of communications and traffic data
Art. 5(3) Storage and access on terminal equipmentAnyone storing or accessing information on a user's deviceNo: any informationCookies, SDKs, pixels, fingerprinting, device telemetry
Arts. 6 and 9 Traffic and location dataProviders of networks and servicesYesErasure or anonymisation, consent for value-added services
Art. 13 Unsolicited communicationsAnyone sending direct marketing by automated call, fax or electronic mailProtects natural persons; legal persons per national lawSender identity, spoofing, valid return address
  • Which services: since the European Electronic Communications Code (Directive (EU) 2018/1972) applied from 21 December 2020, "electronic communications service" includes number-independent interpersonal communications services, so messaging and webmail services are generally treated as in scope of the confidentiality rules. Confirm the position in the relevant national law.
  • Territorial reach: Article 5(3) is applied by national authorities to services that access devices of users in their territory, regardless of where the provider is established.
  • Terminal equipment: the EDPB defines it as any device connected or connectable to a public communications network, whether or not currently connected, which includes phones, browsers on laptops, smart TVs, cars and IoT devices.

Key obligations

Article 5(3): storage and access on the device

Article 5(3) provides that "the storing of information, or the gaining of access to information already stored, in the terminal equipment of a subscriber or user is only allowed on condition that the subscriber or user concerned has given his or her consent, having been provided with clear and comprehensive information". It permits technical storage or access "for the sole purpose of carrying out the transmission of 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." Consent takes its meaning from the GDPR, so it must be freely given, specific, informed and unambiguous, and pre-ticked boxes do not count (confirmed by the Court of Justice in Planet49, C-673/17).

EDPB Guidelines 2/2023 (version 2.0 adopted 7 October 2024) set out when Article 5(3) applies. The operation must involve information (personal or not), terminal equipment of a subscriber or user, a public communications network, and either storage of information or gaining access to it. Storage and access can be done by different parties.

EDPB use caseDoes Art. 5(3) apply?Why
Tracking pixels and tracking links in web pages and emailsYesIdentifiers are distributed to the device, even via caching, and the device is instructed to send them back
Local processing on the deviceNot by itselfIt applies once results are sent off the device, for example to a server
Tracking based only on IP addressOftenApplies when the address originates from the user's equipment (for example IPv6 or a router's static IPv4) unless the entity can show otherwise, such as behind carrier-grade NAT
Intermittent and mediated IoT reportingYesThe IoT device is terminal equipment, whether it reports directly or through a gateway or phone
Unique identifiers, such as hashed email addressesYesClient-side code instructs the browser to send the identifier

The EDPB stresses that Article 5(3) applying does not automatically mean consent is required: the two exemptions must be assessed case by case. Cookie categories, banner design and CMP operations are covered in the Consent Management Guide: Cookies, CMPs and GPC; this guide does not repeat them.

Article 5(1): confidentiality of communications

Member States must ensure the confidentiality of communications and the related traffic data. Listening, tapping, storage, interception or surveillance by anyone other than the users is prohibited without the users' consent unless legally authorised under Article 15(1). Technical storage necessary for conveying a communication is allowed, and recording of communications for evidence of commercial transactions is preserved under Article 5(2). For security teams this frames lawful use of content inspection on provider networks, such as spam filtering and malware scanning, which national laws and authorities treat differently; take advice before deploying content analysis on a public service.

Article 4 and Regulation 611/2013: security and breach notification

Article 4 requires providers to take appropriate technical and organisational measures, having regard to the state of the art and the risk, including ensuring that personal data is accessed only by authorised personnel for legally authorised purposes and implementing a security policy. Providers must warn subscribers of particular risks to network security, with remedies and likely costs. Commission Regulation (EU) No 611/2013, in force since 25 August 2013, fixes the notification mechanics.

StepRequirementReference
DetectionA breach is detected when the provider has enough awareness that a security incident compromised personal data to make a meaningful notificationReg. 611/2013 Art. 2(2)
Authority noticeAll personal data breaches, no later than 24 hours after detection where feasibleReg. 611/2013 Art. 2(2)
Phased noticeInitial notification within 24 hours, full notification within three days of the initial one; justify any remaining delayReg. 611/2013 Art. 2(3)
IndividualsWithout undue delay where the breach is likely to adversely affect personal data or privacy, considering data type (location, logs, browsing history, email, call lists, financial data), consequences and circumstances; clear language, no promotionDirective Art. 4(3); Reg. 611/2013 Art. 3
Encryption exceptionNo notice to individuals where data was encrypted with a standardised algorithm and the key was not compromised, or replaced by a standardised keyed hash under equivalent conditionsReg. 611/2013 Art. 4
InventoryRecord of breaches, facts, effects and remedial action, enough for the authority to verify complianceDirective Art. 4(4)

A provider that is also a controller under the GDPR follows this regime, not Article 33, for breaches in connection with its public service, and keeps the GDPR route for other processing. For the GDPR clock, see the GDPR Compliance Guide for Security Teams.

Articles 6, 9 and 13: traffic, location and marketing

  • Traffic data (Art. 6): erase or anonymise once no longer needed for transmission; keep billing data only until the bill can no longer be challenged; marketing or value-added use needs prior, withdrawable consent; restrict access to authorised personnel.
  • Location data (Art. 9): only anonymised or with consent for a value-added service, with information on type, purpose and duration, and a simple free way to refuse temporarily.
  • Marketing (Art. 13): prior consent for automated calls, fax and email marketing; a soft opt-in for a business's own similar products where the email address was obtained in a sale and a free objection is offered at collection and in every message; Member States choose opt-in or opt-out for other channels such as live calls. Article 13(4) bans hiding the sender's identity or omitting a valid address for opt-out requests, and Article 13(6) gives harmed parties a right to sue. For US rules, see the CAN-SPAM and TCPA Guide.

Timeline and current status

DateEventStatus as of October 2026
12 July 2002Directive 2002/58/EC adopted, replacing Directive 97/66/ECIn force as amended
25 May 2011Transposition deadline for Directive 2009/136/EC: cookie consent, breach notification for providers, penalties article 15aIn force
25 August 2013Commission Regulation 611/2013 on breach notification enters into forceIn force, directly applicable
10 January 2017Commission proposes an ePrivacy Regulation, COM(2017) 10Withdrawn
12 March 2019EDPB Opinion 5/2019 on the interplay with the GDPRCurrent guidance
7 October 2024EDPB Guidelines 2/2023 on the technical scope of Art. 5(3), version 2.0Current guidance
6 October 2025Withdrawal of COM(2017) 10 published in the Official Journal (C/2025/5423)Final
November 2025Digital Omnibus proposal: new GDPR Articles 88a and 88b on device access for personal data and machine-readable consent signalsProposal under negotiation

According to Taylor Wessing's analysis of the Digital Omnibus, proposed Article 88a would limit consent-free access to a closed list of purposes, including aggregated audience measurement for the provider's own service and security, Article 88b would require websites to honour automated, machine-readable signals and browser providers to support them, and a refused consent could not be requested again for the same purpose for six months. Treat all of this as a proposal: the Directive and national laws remain the binding rules, and the proposal's text will change in negotiation.

Enforcement and penalties

Article 15a requires Member States to lay down effective, proportionate and dissuasive penalties and to give competent authorities power to order infringements to stop and adequate investigative powers. Penalty levels therefore vary by country. EDPB Opinion 5/2019 explains the split:

  • Which authority: a data protection authority can enforce national ePrivacy rules only where national law gives it that competence; otherwise the authority designated by that law, often the telecoms regulator, is competent.
  • No one-stop-shop: the EDPB states that "The GDPR mechanisms do not apply to the enforcement of the provisions contained in the ePrivacy Directive as such." A company with an EU main establishment can therefore face cookie enforcement from several national authorities.
  • GDPR fines for what follows: processing after the cookie step, such as profiling, is assessed under the GDPR, and an ePrivacy infringement may be taken into account as a factual finding in a GDPR case, which brings GDPR-level fines into play.
  • Private actions: Article 13(6) supports claims by people harmed by unlawful marketing, and national laws add their own remedies.

What it means for AI agents and non-human identities

  • Agents that read communications: an AI assistant given access to mailboxes or chat on a public communications service touches content protected by Article 5(1). Base access on the user's own authorisation, scope the agent's tokens to the mailboxes it serves, and log what it reads. The postmark-mcp malicious MCP server showed how an agent tool can silently copy every email to a third party. See the Email Security Guide.
  • Agents that browse or run in the client: an agent or SDK that writes identifiers to the device or reads device data for its own purposes triggers Article 5(3). Local inference on the device is outside it until results leave the device, per the EDPB's local processing use case.
  • Agents that market: outreach agents sending email or SMS must check the Article 13 basis and suppression list before each send and must never disguise the sender.
  • IoT and machine telemetry: devices reporting through gateways are terminal equipment; design telemetry with a clear strictly necessary basis or consent, and separate security telemetry from product analytics.
  • Provider machine accounts: in telecoms, service accounts and integrations with access to traffic, location or content data fall under Article 4's authorised-access requirement. The Salt Typhoon telecom intrusions show what stolen credentials and network device secrets can expose. See the Telecoms Identity Security Guide.

Compliance steps

  1. Map the national laws. List the Member States whose users you serve, the national transposition and the competent authority in each, and whether you provide a publicly available electronic communications service.
  2. Inventory device access. Scan sites, apps, emails and devices for cookies, local storage, SDKs, pixels, tracking links, fingerprinting and telemetry. Test each against the EDPB criteria and record the exemption or the need for consent.
  3. Fix the email channel. Tracking pixels and personalised links in marketing email are in scope of Article 5(3): gate them on consent or remove them, and test with a seeded inbox.
  4. Separate the GDPR layer. For each tracked purpose, record the GDPR legal basis for the processing after collection, since Article 5(3) consent does not cover it automatically.
  5. Build the provider breach pipeline. If you are a provider, define "detection" in the runbook, prepare the Regulation 611/2013 notification fields, rehearse the 24-hour initial and three-day full notice, and confirm keys are managed so the encryption exception can be evidenced.
  6. Pilot and roll back. Deploy consent and tag changes to one market first, compare scanner results before and after, and keep the previous configuration to restore if a release breaks consent gating.
  7. Track the Digital Omnibus. Assign an owner to watch the negotiation and plan for machine-readable consent signals, but do not relax current consent practice on the strength of a proposal.

Decision guidance

  • Strictly necessary or consent: claim the exemption only when the user explicitly requested the service and the storage is needed for it, such as a login session or basket. Analytics shared with a vendor for its own purposes and advertising need consent.
  • One configuration or many: organisations serving several Member States usually adopt the strictest common interpretation, because national authorities can act independently. UK traffic can follow the separate rules in the PECR Guide.
  • Small versus large: small sites should minimise third-party tags; large organisations need tag governance with change approval, automated scanning per market and evidence retention.

Detection and measurement

  • Pre-consent access: percentage of page or app sessions where non-exempt storage or access occurs before consent (target zero).
  • Email tracking gating: share of marketing emails sent with tracking pixels to recipients without consent (target zero).
  • Unassessed technologies: number of device access technologies without a recorded EDPB assessment.
  • Breach timeliness: percentage of provider breaches with an initial notice within 24 hours of detection.
  • Traffic data retention: records held beyond the documented retention period.

Framework mapping

ePrivacy dutyNIST CSF 2.0NIST SP 800-53 Rev 5ISO/IEC 27001:2022 Annex A
Know national obligationsGV.OC-03PT-25.31, 5.34
Art. 5(3) consent and informationGV.OC-03PT-4, PT-55.34
Art. 5(1) confidentiality, Art. 4 securityPR.DS-01, PR.DS-02SC-8, SC-138.24
Breach notification and inventoryRS.CO-02, RS.CO-03IR-65.24, 5.26
Traffic data erasure and retentionPR.DS-01SI-12, AU-118.10
Third-party tags and SDKsID.AM-07SA-95.19

Practitioner checklist

  • List the national transpositions and competent authorities for every market you serve.
  • Assess every device access technology, including email pixels, IP-based tracking and IoT telemetry, against EDPB Guidelines 2/2023.
  • Gate non-exempt storage and access on GDPR-standard consent, and record the GDPR basis for later processing.
  • Remove or gate tracking pixels and personalised links in marketing email.
  • Check the Article 13 basis and suppression status before every marketing send, including sends by agents.
  • For providers, rehearse the 24-hour and three-day Regulation 611/2013 notifications and keep the breach inventory current.
  • Scope and log machine and agent access to communications content, traffic and location data.
  • Assign an owner to track the Digital Omnibus proposal without relaxing current practice.

Standards and references

Related NHI Mgmt Group resources: GDPR Compliance Guide for Security Teams · Consent Management Guide: Cookies, CMPs and GPC · PECR Guide · CAN-SPAM and TCPA Guide · Global Privacy Regulatory Map. This guide summarises Directive 2002/58/EC as amended and related EU instruments 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.

NHIMG Editorial Note
Researched and written by the NHI Mgmt Group editorial team using AI tools, under the editorial direction of Lalit Choda. Facts are drawn from the sources listed on this page and checked by our automated quality process. Last updated 26 October 2026. Spotted an error? Use our contact page.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM and Agentic AI security. nhimg.org

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 the PDF box to continue.