Technologytechnology

How Transport for London Uses Big Data to Run the City

TfL collects data from Oyster cards, contactless payments, and Wi-Fi to manage crowds, plan infrastructure, and share with developers. A look at the technology, privacy, and commercial side.
big-data-in-transport-tfl

Transport for London runs one of the world's most data-intensive public transport networks. Every day, the system logs millions of taps from Oyster cards and contactless bank cards, records Wi-Fi handshakes from riders' phones, and streams live feeds from CCTV cameras. TfL uses that information to nudge train schedules in real time, tell commuters which carriages are emptiest, and decide where to spend billions on new infrastructure like the Elizabeth Line. It also shares depersonalized versions of the data through an open API that by 2017 was powering over 600 third-party travel apps used by millions of Londoners.

The same data program has generated controversy. A Wi-Fi tracking pilot that TfL began in 2016 and expanded to the entire Underground network by 2017 collects depersonalized connection data from riders' mobile devices. The system allows people to opt out by disabling their device's Wi-Fi, but privacy advocates have raised concerns about the scope of data collection and the clarity of the opt-out mechanism. TfL says all data collection and usage is governed by its Privacy and Data Protection Policy and complies with UK data protection legislation, with oversight from the UK Information Commissioner's Office.

Here are the specific data sources TfL uses, how the technology works, the operational and commercial applications, the privacy safeguards, and the role the data plays in long-term capital planning.

Transport for London headquarters Palestra building
Sludge G, Wikimedia Commons, CC BY-SA 2.0

The Data Sources: From Oyster to Wi-Fi

TfL's big data operation rests on three core sources: the Oyster card system, contactless bank card payments, and Wi-Fi connection data from riders' mobile devices. Beyond these main sources, TfL also uses CCTV feeds for real-time flow monitoring, automated fare gate data, and sensors on trains that report speed, location, and door status.

Oyster was introduced in 2003 as a contactless smartcard system. Every tap records the stop, time, and card identifier. Today, the same back-end also processes contactless bank card transactions, which TfL began accepting in 2014. Both systems generate a high-frequency stream of entry and exit events across all modes: Tube, bus, tram, Docklands Light Railway, London Overground, and Elizabeth Line.

Wi-Fi data works differently. In 2016, TfL started a trial collecting depersonalized Wi-Fi connection data from riders' mobile devices at 54 London Underground stations. By 2017, the trial had been expanded to cover the entire London Underground network. Instead of capturing the content of communications, the system logs the probe requests that phones emit to find available Wi-Fi networks. TfL depersonalizes this data before it reaches analysts, stripping persistent identifiers and replacing them with rotating tokens.

Tracking Journey Patterns Without Seeing People

The Wi-Fi tracking system does not track individuals in the way a GPS tracker would. When a rider's phone emits a probe request, the station's Wi-Fi access points record the device's approximate signal strength and the access point identifier. TfL's servers stitch these observations into a pattern of movement: device A appeared at ticket hall access point 3 at 8:03, then at platform access point 7 at 8:07.

The key design feature is depersonalization. TfL says it replaces the device's MAC address with a random token at the point of collection and discards the original. That token rotates over time, so the system cannot build a persistent history tied to a specific phone. The result is a high resolution map of rider flows at the stop and line level, without identifying any individual.

These depersonalized patterns are what TfL uses to measure congestion. By comparing the count of unique devices seen on a platform against the scheduled capacity of approaching trains, the system can estimate how full each carriage is. That information feeds into TfL's real time crowding features, which travelers see on departure boards and in third party apps that pull from the open API.

From Data to Operations: Crowding, Scheduling, and Flow

Real-Time Carriage Occupancy

Real time crowding uses the Wi-Fi device count data to estimate seat availability on approaching trains. TfL publishes this as a crowding indicator on departure boards and through its open data API. A commuter waiting on the platform can see which carriages are likely to have standing room only and which are emptier. The system updates every few minutes as new Wi-Fi observations arrive from stations ahead.

Dynamic Scheduling Behind the Scenes

Dynamic scheduling is less visible to travelers. TfL's control room uses historical and real time data from ticketing and Wi-Fi to adjust service patterns. If a stop exit gate count shows a sudden spike in arrivals, controllers can hold a connecting bus or call in a spare train. The same data helps predict where pinch points will form during major events. When Wembley Stadium hosts a concert, TfL can see from advance ticket sales and previous event patterns which Tube stations will need extra staff and which connecting lines should run extra services.

Managing Station Density

Station flow management is the third application. CCTV feeds combined with Wi-Fi connection counts allow TfL to monitor the density of people in ticket halls, concourses, and platforms. If one area reaches a pre-determined threshold, staff can open alternative routes or hold travelers at the entrance.

The Open Data API and the Commercial Program

Powering Over 600 Travel Apps

Since the early 2010s, TfL has published a large portion of its data through a unified API. By 2017, this open data was powering over 600 third party travel apps used by millions of Londoners. The API includes live departure times, line status, crowding information, and planned works. It is free for developers.

Commercial Data Licensing

The commercial dimension of TfL's data work is separate from the open API. TfL has a program to share aggregated, depersonalized data with third party businesses. The business customers tend to be companies that want to understand movement patterns around their retail locations or property holdings. TfL provides them with reports or access to aggregated datasets that show, for example, how many people pass a particular station exit in a given hour window, or how journey patterns shifted after a new rail line opened.

Revenue That Feeds Back Into the Network

TfL says the revenue from these commercial arrangements supports the transport network. The exact figures are not public in detail. TfL also uses its own data internally to optimize advertising placements in stations and on trains, another revenue stream that the data enables.

London Underground contactless payment reader
Roger Carvell, Wikimedia Commons, CC BY 3.0

Privacy Safeguards, Governance, and the Wi-Fi Controversy

The Governance Framework

TfL's data handling is governed by its Privacy and Data Protection Policy, which states that all data collection must comply with UK data protection legislation. The TfL Privacy and Data Protection team oversees compliance. The UK Information Commissioner's Office (ICO) has a regulatory role and can investigate complaints or breaches.

The Opt-Out Debate

The specific controversy around Wi-Fi tracking centers on whether travelers understand the data collection and opt-out mechanism. TfL allows people to opt out by disabling their device's Wi-Fi. If Wi-Fi is off, the phone does not emit probe requests, and the station access points never see it. Critics argue that this approach puts the burden on the traveler to know about the system and take action to avoid it. They also note that many commuters keep Wi-Fi on without realizing their phone is broadcasting probe requests. TfL has responded by pointing to the depersonalization measures and the public information campaigns explaining the program.

Regulatory Status

No formal regulatory fines against TfL for data handling breaches have been confirmed. The ICO has engaged with TfL on the Wi-Fi program, but as of the latest available information, no enforcement action has been taken.

How Big Data Shapes Infrastructure: The Elizabeth Line and Beyond

Modeling the Elizabeth Line

TfL does not rely only on spreadsheets and line capacity calculations to plan major infrastructure. It feeds the historical journey data from Oyster and contactless cards into demand models that forecast where travelers will go once a new line opens. These models were used for the Elizabeth Line, which opened in stages between 2022 and 2023.

The data showed that large numbers of commuters making east-west journeys across central London were using overcrowded parallel routes. The models predicted that a new high-frequency rail line under central London would attract those travelers, relieving pressure on the Central and District lines. They also forecast how demand would shift at intermediate stops, which informed decisions about station entrance capacity and interchange layouts.

Prioritizing Capital Spending

Beyond the Elizabeth Line, TfL uses the same data to prioritize capital spending. When annual commuter counts show that a particular stop is approaching its crush capacity, TfL can decide to invest in escalator upgrades or platform widening years before the congestion becomes a crisis. The data also feeds into bus network reviews, where TfL reroutes services based on where travelers are actually tapping out, rather than where the previous century's routes assumed they would go.

Key Facts

  • Oyster card introduced: 2003
  • Contactless bank card payments accepted: 2014
  • Wi-Fi tracking trial begins at 54 stations: 2016
  • Wi-Fi tracking expanded to entire London Underground network: 2017
  • Third-party apps powered by TfL open data API: Over 600 by 2017
  • Opt-out mechanism for Wi-Fi tracking: Disable device Wi-Fi

Frequently Asked Questions

Can TfL track my phone's location with Wi-Fi tracking?

No. TfL collects only depersonalized Wi-Fi probe requests from phones. The system replaces persistent MAC addresses with rotating tokens at the point of collection and discards the original. It does not track individuals, only aggregate device sightings at station level.

How do I opt out of TfL's Wi-Fi data collection?

You can opt out by disabling your phone's Wi-Fi when you are in a London Underground station. If Wi-Fi is off, your phone does not emit the probe requests that the station access points log. TfL also advises that you can turn off Wi-Fi scanning in your device settings.

Does TfL sell my personal travel data to third parties?

TfL shares only aggregated, depersonalized data with third parties through its commercial program and its open data API. The data cannot be traced back to an individual. TfL's commercial partners receive reports on general movement patterns, not individual journey histories.

About the author

, Editor

Kenneth Ma is the editor of LeadMonitor.ai, covering the companies, deals and policy decisions shaping business and technology markets.

View all 427 articles by Kenneth Ma  ·  Our editorial policy

Recent Stories

How to make money selling Canva templates

How to highlight text in Canva

How to print from Canva without quality loss

How to check if Canva is down right now

How to group and ungroup elements in Canva

How to stretch an image in Canva

How to make a QR code in Canva

Convert Canva to PowerPoint and Google Slides