These Countries Force ISPs to Log Your Browsing
Published on September 30, 2025
Themes:logsecurityprivacyindiarussiaukunitedkingdom
Below are key examples where mandatory internet logging is the law.
United Kingdom
The Investigatory Powers Act 2016, strengthened by the more recent Investigatory Powers (Amendment) Act 2024, requires all ISPs operating in the United Kingdom to retain Internet Connection Records (ICRs) for 12 months.
An ICR is essentially a log of every service or domain you visit. While the required data collection does not include a full URL (so, for instance, not the specific video you watched on some video site), it's still more than enough to reconstruct your online patterns in detail.
Perhaps more surprising is who can access this data. The data isn’t just available to MI5 or MI6; rather a long list of agencies, including local police and even tax authorities, can all request access. The UK Home Office factsheet confirms just how broad this system is.
Russia
Russia enforces one of the most sweeping surveillance laws in the world. The Yarovaya laws (2016) require ISPs to store both metadata and content of communications.
- Content (like text messages or call recordings) must be stored for six months.
- Metadata (who contacted whom, when, and how) must be kept for up to three years.
The FSB has direct access to this data, without needing a court order. As the EFF observed, these requirements are not only invasive but also technically challenging for ISPs to comply with.
China
China layers multiple overlapping laws that mandate internet logging. The Cybersecurity Law requires operators to store network logs for at least six months, while Internet Information Services regulations compel ISPs to keep user activity data for at least sixty days.
On top of that, a major update came into force on January 1, 2025. The new Network Data Security Management Regulations expand requirements further, tightening obligations on ISPs and platforms to retain and provide access to user logs.
In practice, this means Chinese internet companies must maintain detailed user activity records, which can be turned over to authorities when requested. It’s a system designed for both control and deterrence.
The divide is sharp. The UK, Russia, and China have doubled down on mandatory internet logging, embedding surveillance into the core of how ISPs operate. The EU, by contrast, has seen its courts push back, limiting or outright rejecting general retention laws.
For citizens, the implications are obvious: your privacy online depends heavily on where you live. And with these laws evolving quickly, from new amendments in the UK to fresh regulations in China, the debate over surveillance versus privacy is only heating up.
India
The Indian government actively enforces a legal framework that compels Internet Service Providers (ISPs) to log and maintain detailed records of their users' online activities. This includes browsing history, IP addresses, and personal subscriber information, raising concerns among privacy advocates about the extent of government surveillance.
Under a combination of laws and directives, including the Information Technology Act of 2000, the recently enacted Digital Personal Data Protection Act of 2023, and regulations from the Telecom Regulatory Authority of India (TRAI) and the Indian Computer Emergency Response Team (CERT-In), ISPs in India are legally obligated to monitor and store user data for a specified period.
- ISPs must maintain a detailed log of all their subscribers, including names, addresses, and contact details.
- Every IP address assigned to a user must be logged and linked to that individual's account.
- ISPs are required to keep records of the services their customers use, which can include the websites they visit and the duration of their online sessions.
Mexico
Under Articles 189 and 190 of the Federal Telecommunications and Broadcasting Law, telecommunications concessionaires, including ISPs, are required to collaborate with security and justice authorities. This collaboration includes the obligation to “maintain a registry and control of communications.” The law specifies the types of data that must be retained, including:
- The user's name, denomination or company name, and address.
- The type of communication (e.g., voice, data).
- Data necessary to trace and identify the origin and destination of communications.
- The date, time, and duration of the communication.
- Geolocation data.
Canada
Canadian law does not mandate blanket monitoring and retention of all user activity. Instead, the obligation is indirect. Under the Criminal Code, law enforcement can obtain a court order (a “Production Order” or “Preservation Order”) to compel an ISP to preserve and hand over specific data. For an ISP to be able to comply with these orders, they must have the data in the first place. This creates a de facto requirement for them to log certain user data, but it is not a blanket, proactive monitoring mandate.
In reality, each ISP sets its own data retention period based on its business needs and to ensure it can comply with potential court orders.
The good news? You can opt out by signing up for VP.NET, the only VPN that can’t spy on you.
Your privacy is worth protecting.
Get vp.net™ - the only VPN that isn't spying on you