Internet Connection Records (ICRs) explained
Short answer: an Internet Connection Record is the metadata your broadband or mobile provider can be ordered to keep about which internet service your connection went to — think “connected to facebook.com at 21:14 for 40 minutes”, not “viewed this exact page”. It can be retained for up to 12 months, only under a notice approved by a Judicial Commissioner, and councils cannot get it. The honest gap: nobody outside government knows which providers actually hold retention notices.
Is this legal? Yes — it is the law. The Investigatory Powers Act 2016 (as amended in 2024) allows the Home Secretary to require operators to retain communications data, including ICRs, for up to 12 months, with judicial approval. Knowing what can lawfully be kept about you is part of using the internet in the UK; nothing on this page suggests breaking any rule.
What an ICR actually contains
The Communications Data Code of Practice (June 2025) lists the core fields:
| Field in an ICR | What it is |
|---|---|
| Customer account reference | An account number or an identifier for your device or connection |
| Source IP address and port | Where on your provider’s network the connection came from |
| Destination IP address and port | The service you connected to (the code likens it to “a dialled telephone number”); the port hints at the service type |
| Date, time, duration | When the connection started and finished |
| Data volume (sometimes) | How much data moved in each direction |
What it does not contain: the specific web page you viewed. The code of practice is explicit
that an authorisation or retention notice can only cover the elements of a URL that are communications data —
the domain and routing parts — and that the path, query parameters and fragments (the part of the address that
identifies an individual page) are not communications data. So an ICR says you connected to
www.example.com, not that you read /articles/particular-story.
It is also service-level in another sense: apps that hold persistent connections to a service show up as that service. An ICR “will only identify the service that a customer has been using” — which is exactly why government departments treat ICRs as a way to identify who used a service, then make further enquiries of the service itself.
How long, and under what authority
- Maximum 12 months from the day of the communication. That is a hard statutory cap on retention notices.
- A retention notice can only be given by the Secretary of State, and only if it is considered necessary and proportionate for specified purposes (national security, preventing or detecting serious crime, public safety and a small number of others) and a Judicial Commissioner has approved the decision. Operators can be paid the incremental cost of compliance.
- Notices are time-limited: the 2024 amendment gave retention notices a two-year lifespan, after which they must be renewed, varied or they lapse.
Who can get an ICR — and who cannot
- Councils cannot. The Investigatory Powers Commissioner may not grant an ICR authorisation on a local authority’s application, and a council’s own designated senior officer cannot grant one either. Your council tax office cannot find out which services you use.
- Other public authorities can only obtain ICR data if condition A, B or C is met — roughly: identifying an unknown user of a known service (A), certain non-crime statutory purposes such as preventing death or injury (B), or preventing or detecting serious crime (C). Serious crime means, broadly, offences carrying at least a 12-month sentence.
- Condition D (in force 14 October 2024) is new and narrower: the Security Service (MI5), the Secret Intelligence Service (MI6), GCHQ and the National Crime Agency can seek ICR data to identify which persons or apparatuses were using one or more specified internet services in a specified period — “target discovery”. D1 authorisations go to the Investigatory Powers Commissioner; D2 to a designated senior officer. This is the provision that lets the agencies move from “someone used this service” to “who was it”.
The honest gap: nobody knows who is retaining
Retention notices are given to operators in secret, and there is no public register of which broadband, mobile or webmail providers are currently under a notice. In practice, press reporting, parliamentary answers and civil society scrutiny (Open Rights Group, Privacy International, Liberty) have repeatedly established this — and after the 2018 litigation it is clear that some providers hold notices and some hold none. What we can say honestly: the government does not publish the list, and providers are not permitted to publish it either. If you are deciding how much this matters to you, assume that your UK home broadband and mobile provider may be retaining ICR data, and that public Wi-Fi providers may be too.
What this does NOT mean
- An ICR is not your “browsing history” in the everyday sense. No page-level record is retained.
- Retention notices cannot require content — messages, emails, page contents — to be kept. Content requires an interception warrant.
- Encryption and tools like DoH, ECH, VPNs or Tor change what an ICR can show: with a VPN, for instance, the “service” your provider can identify is the VPN server, not the sites behind it.
Not legal advice. This page summarises the legal position as verified on the date below. The law differs in detail between England & Wales, Scotland and Northern Ireland. If your freedom or livelihood depends on it, take advice from a qualified UK lawyer or a Citizens Advice bureau.
Sources and verification
Every factual claim on this page is registered and independently checked (two independent sources for legal, numeric and security claims). How this works: fact-checking. Spotted an error? Tell us.
An internet connection record is communications data that may be used to identify the telecommunications service a communication was transmitted to for the purpose of obtaining access to, or running, a computer file or program; it records the service a customer connected to, not the content of the communication.
- legislation.gov.uk — Investigatory Powers Act 2016, section 62 (restrictions in relation to internet connection records)
- Home Office (GOV.UK) — Communications Data Code of Practice (June 2025)
According to the Communications Data Code of Practice (June 2025), an internet connection record typically contains a customer account reference, the source IP address and port, the destination IP address and port, and the date, time and duration of the event; it may also include the volume of data transferred. It identifies the service used, not individual web pages.
- Home Office (GOV.UK) — Communications Data Code of Practice (June 2025)
- legislation.gov.uk — Investigatory Powers Act 2016, section 62 (restrictions in relation to internet connection records)
The Communications Data Code of Practice (June 2025) confirms that an authorisation or retention notice can only cover the elements of a URL that constitute communications data — the scheme, the fully qualified domain name and the port — while the path, query parameters and fragments (the part of the address that identifies an individual page) are not communications data and cannot be required to be retained.
- Home Office (GOV.UK) — Communications Data Code of Practice (June 2025)
- legislation.gov.uk — Investigatory Powers Act 2016, section 62 (restrictions in relation to internet connection records)
Under section 87 of the Investigatory Powers Act 2016, the Secretary of State may require a telecommunications operator to retain relevant communications data only if the notice is considered necessary and proportionate for specified purposes (including national security and preventing or detecting serious crime) and the decision has been approved by a Judicial Commissioner.
- legislation.gov.uk — Investigatory Powers Act 2016, section 87 (powers to require retention of certain data)
- Home Office (GOV.UK) — Communications Data Code of Practice (June 2025)
A retention notice must not require any data to be retained for more than 12 months beginning with the day of the communication concerned.
- legislation.gov.uk — Investigatory Powers Act 2016, section 87 (powers to require retention of certain data)
- Home Office (GOV.UK) — Communications Data Code of Practice (June 2025)
Local authorities cannot obtain internet connection records: the Investigatory Powers Commissioner may not grant such an authorisation on a local authority's application, and a local authority's designated senior officer cannot grant one either.
- legislation.gov.uk — Investigatory Powers Act 2016, section 62 (restrictions in relation to internet connection records)
- Home Office (GOV.UK) — Communications Data Code of Practice (June 2025)
Condition D — split into D1 and D2 by the Investigatory Powers (Amendment) Act 2024 and in force since 14 October 2024 — allows the Security Service, the Secret Intelligence Service, GCHQ and the National Crime Agency to obtain internet connection records to identify which persons or apparatuses are using one or more specified internet services in a specified period (so-called 'target discovery').
- legislation.gov.uk — Investigatory Powers Act 2016, section 62 (restrictions in relation to internet connection records)
- legislation.gov.uk — Investigatory Powers (Amendment) Act 2024 — table of contents
The government does not publish which telecommunications operators are subject to retention notices, so it is not publicly known which broadband or mobile providers are currently retaining internet connection data; retention notices are given (or published) in whatever manner the Secretary of State considers appropriate. single-source attributed
- legislation.gov.uk — Investigatory Powers Act 2016, section 87 (powers to require retention of certain data)
- Home Office (GOV.UK) — Communications Data Code of Practice (June 2025)