Trenalia

Trenalia We help you use the railway network. You help us improve it.

Spain's trains on a map, in near real time.

Trenalia brings together in one place the positions, delays, timetables and incidents published by Renfe, ADIF and other open sources, and explains them clearly. Check timetables, plan a journey with connections or ask Trenalito. It is an independent, non-profit project.

And we want to go further: to be a citizen network that collects data on the state of the railway. The phones we carry on the train can pick up anomalies in trains and track; combined with the incidents and delays travellers share, and processed by Trenalia, they let us identify over time which sections are causing problems.

It is an experimental tool for information only. Positions and times are estimates. It is not for driving trains or for making safety decisions.

Most delayed trains right now

--:--
TrainDestinationNext stopDelay
Connecting to Trenalia…
— trains on the map — delayed by 5 min or more — median delay

Real data read just now from the Trenalia server.

🚇 New · Metro and tram

Metro and tram in 12 cities, now on the map

Zoom into your city on the map to see its lines in their colours, its stations and the trains moving. Tap a station for the next departures and the operator’s notices, or tap a train to see where it is and when it reaches each stop.

Metro train positions are estimated from each operator’s official timetable (metros do not publish GPS); in Bilbao and on the Euskotren tram they are corrected with the real delay.

📱 Big news · Apps for iPhone and Android

Trenalia is becoming an app: your train, even with the screen locked

On top of the web app you already use, we're publishing the Trenalia apps on the App Store and Google Play. The app follows your train in the background, sends you notifications even when Trenalia isn't open and keeps the automatic SOS watching with the phone in your pocket.

  • Your trip on the lock screen: a persistent notice with your train, its delay and the next stop
  • Notifications for your train and your daily alert without opening the website
  • Automatic SOS in the background: the impact sensor keeps working with the screen off
  • Everything the website does, free, no ads and no account required

Join the beta

The apps are being published. Leave your email and which phone you have and we'll send you an invitation to try them before anyone else.

Which phone do you have?

iPhone: through TestFlight, Apple's app for beta testing (iOS 15 or later). Android: from Google Play (Android 6 or later).

✈️ Trenalia on Telegram

Everything happening on the network, in your Telegram

Join the channel to hear right away about major incidents, strikes, storms and the daily summary. And use the bot so it only writes to you about your own things, every day: your train, your station, your Cercanías line or your area.

How to use the bot, step by step → · Free. The bot does not keep your name or phone number; “borrar” deletes everything.

🚨 New · Automatic SOS

If something happens to you on the train, we alert your people

Turn on automatic SOS in «Voy en tren» and choose who to alert. If the phone feels a very strong impact, or you hold the alarm button, Trenalia sends your contacts an email and a Telegram message with your train, your GPS position and the train’s position.

  • Configurable: you choose the contacts, and they confirm before receiving anything
  • 10 seconds to cancel if you just dropped your phone
  • Sign in with Google or Microsoft, so nobody can play with alarms
  • Your position is only sent if the alarm goes off

Trenalia does not alert 112 or any emergency service: only your contacts. In an emergency, call 112. It works with the page open and the screen on.

Trenalia in 30 seconds

Trenalia brings together on one website, free and with no sign-up, everything you need to know about trains in Spain: where each train is, how late it is and which source that figure comes from, the timetables for any day, and the incidents and risks along the line. It helps you plan journeys with connections, alerts you if your train is running late even when the website is closed, lets you send your family a link so they can see where you are, and answers your questions through Trenalito. For anyone studying the network it adds measured punctuality, reports, open data, an API, connectors for AI assistants and a “what if…?” simulator. Always with public data, and always saying what is official data and what is an estimate.

  • Free and ad-free
  • No sign-up
  • Installs as an app
  • Five languages
  • Free software, GNU AGPL
  • Open data, CC BY 4.0

Trenalia in real life

A traveller on a train checking Trenalia on her phone
On board: where your train is, the next stop and when you arrive, on your phone.
People at a station checking their train’s time and platform on their phones
At the station: which train leaves, how late it is and from which platform.
Someone waits on the platform for a person arriving by train
Meeting someone: you know when they arrive without calling.
A mother and her son follow the father's train on a tablet
At home: the family sees where the train is and when it arrives, without calling.
A woman with a coffee reads a Trenalia alert on her phone
Before you leave: an email reminds you of the time and tells you about delays or cancellations.
Two friends plan a train trip with Trenalia in a café
Planning: every train of the day, with connections and alerts so you miss none.

Rail information already exists. The hard part is finding it and making sense of it.

Train positions are on Renfe's live viewer; Iryo and Ouigo delays, on ADIF's station boards; timetables, in official files; incidents, on another page; weather warnings, on AEMET. Trenalia puts it all on a single screen, snaps positions onto the track and makes clear what is data and what is an estimate.

It is a personal project, free and ad-free, designed for people who travel, people who follow the railway as a hobby, people who work in it and people who want to use its data.

What you can do

One website, on your phone or computer, with six main pieces. Further down you will find them sorted by what you are looking for.

  • Live map

    Where every train is and how late it is running, with its position snapped to the track.

  • Timetables and journeys

    Every direct train between two stations on any day, and how to get there with connections.

  • Platform view

    Departures and arrivals for any station, with countdown, delay and platform.

  • Trenalito

    An assistant you can ask in your own words about trains, delays, timetables and journeys.

  • Incidents, hazards and alerts

    Network incidents, weather, wildfires and earthquakes near the line, alerts calculated by Trenalia and incident hypotheses that check themselves.

  • History and open data

    How each train usually runs, punctuality, monthly reports, API and downloads.

Map of Spain with trains coloured by delay, service filters and the list of delayed arrivals

In five languages (Spanish, English, French, Italian and German), with light or dark mode. The map remembers where you left it when you come back from other screens.

New

Trenalia on your phone, without app stores

Trenalia installs as an app straight from your browser: free, without signing up and without going through any store. It opens full screen with its own icon and has shortcuts to “Platform” and “Timetables”.

  • iPhone and iPadIn Safari: tap «•••» (or Share) and «Add to Home Screen». In Chrome: Share, next to the address. We show you with example screens.
  • AndroidIn the ☰ menu choose “Install on your phone” and tap “Install app”. You can also use the Install option in the browser menu.
  • trenalia.appIf you visit that address on your phone, you are offered the installation straight away. It never installs by itself: you always confirm.

Without a connection, it shows the last saved copy of the pages you have already visited, with a clear “Offline” notice: that data may be out of date. From the menu you can delete the data stored on your device at any time.

Trenalia on a mobile phone, with the map and the bottom panel

Join the sensor network

Help us check the state of Spain’s railways

Every time you travel, your phone can feel how the train is running: the bumps, the vibrations, the stretches that sway. By pooling what hundreds of passengers feel, we can see sooner which tracks and trains need attention. Nothing to install, no sign-up.

Don’t worry: it’s normal. Every journey has hundreds of perfectly normal noises, bumps and vibrations: points, rail joints, passing trains, braking. Your phone noticing one doesn’t mean anything is wrong. Later, Trenalia puts together the readings from many journeys and studies calmly what might be out of the ordinary.

  • Leave it still on the table, ideally charging
  • Truly anonymous: no GPS, no name, no account
  • Every trip measured counts for everyone

The railway’s family doctor

Your family doctor doesn’t order a CT scan straight away: they ask questions, listen to your chest and check your blood pressure and temperature. If something doesn’t add up, they send you for more precise tests. Trenalia is the family doctor; the infrastructure manager, with its track-recording trains and instruments, is the radiologist who can study it precisely. The advantage: we all carry a stethoscope with us — our phone.

Like accident black spots on the roads

A network this large can’t be checked all at once: you have to know where to start. Just as roads have their accident black spots, millions of measurements from travellers can point to the sections that deserve attention first. A phone is not as precise as a track-recording train, but with enough samples statistics find what a single measurement can’t. That’s why every trip counts: we need millions of measurements.

How we are collecting data along the routes

This map shows where travellers’ phones have already collected data with the on-board sensor. The lit-up areas are the stretches where we are starting to have measurements; the stronger the vibrations collected, the more intense the colour.

It does not mean there is any problem or danger. A more intense colour does not mean the track is in bad shape: the ride depends on the train, the speed, the switches and many normal things. We simply want to share with everyone how the data grows with every measured trip and how important it is to characterise the routes.

Areas of about 500 m with at least one measured pass (what a single train measures appears after 3 hours). Updated every few minutes. No times, no trains and no one’s data.

The screen stays on while it measures. These are citizen indications: they don’t replace inspections or official notices.

New · Game room

Stationmaster: play with real trains and help improve the network

A collection of games with real trains, stations and timetables. Manage traffic after a closure, work out what happened on the line from the delays, or get two travellers to their meeting on time. You start as a station porter and can rise to director of the station network.

Dispatcher. The line closes and, when it reopens, everyone wants to go: decide who goes first so passengers lose as little time as possible.
Detective. Look at the delays the trains left with and propose the cause: a speed restriction, a closure or a train that left late.
Stories. Pedro and María are meeting up and each leaves from their own city: choose the trains so they arrive on time.
Travellers in a pickle. Your train is late and you have an appointment? Decide what to do: wait, ask, take the bus or a taxi. Your anonymous decisions teach Trenalia how travellers react.

The perfect pastime while you travel by train

Short challenges of a few minutes, designed for your phone: between stations you play, learn how a rail network is managed and score points.

Like the SETI@home screensaver, but for trains

Years ago, millions of people let their computer search for signals from space while they weren't using it. Here, while you play, your phone can solve a small piece of a network simulation: the more players, the more hypotheses and problems we solve, and the sooner. Everyone does their bit for scientific computing.

Your phone only receives an anonymous problem to solve: public timetables and numbers, never personal data or sensitive information. And the server checks every result before using it.

Why it helps everyone

  • Your phone simulates each move with the same engine Trenalia uses, and the server checks the result.
  • In real cases, when many players agree on an explanation, the Trenalia team reviews it as a probably valid hypothesis. It is never approved on its own.
  • No account or email: you play with an alias and appear in each game's hall of fame.

This is a game based on open data and estimates: it is not fit for railway operations or safety decisions.

One network, different needs

Trenalia's features, sorted by who uses them. Choose your profile:

01

Travellers

For people who take the train every day or now and then: when it leaves, whether it is late and whether you will make your connection, before you check with your operator.

Trenalito chat on a mobile phone explaining Trenalia's features

Today's timetable

Every direct train between two stations on the day you choose, grouped into early morning, morning, afternoon and night, with journey time and stops. Past departures are dimmed and the next one is highlighted.

See timetables

How to get there, with connections

Combinations with up to three changes, with times, the margin for each connection and the live delay of trains already running. You can share the journey or add it to your calendar.

Plan a journey

Follow your journey

With “Set course”, Trenalia stays with you: time and platform before you leave, how far to your stop and a warning if a connection gets tight or is missed, with the option to look for another combination.

Platform view

Departures and arrivals at your station, or the nearest one, with countdown, delay and platform. At night it already shows the first trains of the morning.

Open the platform view

Alerts for your train

Follow a train and Trenalia alerts you when the delay reaches the minutes you choose, when the platform changes or when you are close to your station. If you turn on notifications, they reach you even with the website closed (on iPhone and iPad, with Trenalia added to the home screen).

Indicative compensation

Based on the known delay, what compensation you might be entitled to under the rules published by each operator. It is only a guide: the operator's decision is what counts.

You know which delay you see

Every delay shows its source: Renfe (the official one), Adif (station boards, for Iryo, Ouigo and other trains without GPS) or Trenalia (projected). Trenalia’s figure is only shown where validation proves it is more accurate than the official one.

See the station

Tap a station and see what it looks like from outside, with a free photo from Wikimedia Commons and its author and licence shown.

I’m on a train: get met without calling

If you are on a train, send your family a short link (by WhatsApp or with a QR code): they will see where you are, the next stops and when you arrive at the station where they are meeting you. They can ask for an alert on arrival and add the arrival to their calendar. No personal data; the link expires on its own.

Try “I’m on a train”

Your train, straight from your ticket

Don’t know your train number? In “I’m on a train”, take a photo of your ticket or scan it with the camera, pick the Wallet pass (.pkpass) or upload the PDF the operator sent you: Trenalia finds the train, the day and your stop, and offers the next leg if it is a return ticket. The ticket is read on your own phone and is never uploaded. On Android, with Trenalia installed, you can also send it from your email or the operator’s app with “Share → Trenalia”.

Read my ticket

From computer to phone, with a QR code

Started your trip on the computer on the train and getting off to change trains? In “Move to another device” you scan a QR code (or type a code) and your current trip, your trip with changes, upcoming trips and followed trains move to your phone. You can also link both devices for 24 hours so they keep each other up to date. No accounts and end-to-end encrypted: Trenalia can’t read what is moved. And on a trip with changes, “I’m on a train” tells you how much time you have to change and, when you arrive, switches to your next train by itself.

Move to another device

Buses, closures and lifts

Trenalia reads the official Cercanías and Rodalies notices and puts them on the map: sections run by bus, closures, single-track working, trains that do not complete their route and planned engineering works. It tells you when you plan a journey (also for another day) and on the station board, together with lifts that are out of order.

Email alerts

Plan a journey (also for tomorrow or next week) or follow someone’s arrival and ask for email alerts: a reminder the evening before and before departure, delays, cancellations, connections at risk and operator notices on your route. You confirm once, unsubscribe with one click and your address is deleted when the journey ends. You can also subscribe to alerts for your commuter line, for a route between two stations (Adif and the operator: closures, buses, faults) or for a train you take often, and to a weekly newsletter with what is new in Trenalia.

Plan and get alerts

My trips

“I’m on a train” remembers your trip while it lasts, even if you close the page, and saves it to your history when you arrive: train, route, scheduled and actual arrival, maximum delay and operator notices. For now, only in your browser.

See my trips

Be the track’s sensor

In “I’m on a train” you can leave your phone still on the table (ideally charging) and turn on the sensor: it feels the train’s bumps and vibrations and, by pooling what many passengers feel, sections and trains that aren’t right show up sooner. Anonymous and without GPS; the screen stays on while it measures.

Try “I’m on a train”

A simple view on your phone

On your phone, Trenalia now opens a simple home screen: search for your train or station, swipe to choose what to do and see your usual journey. The first time, a short tutorial shows you the basics; the usual map is still in Menu → Full view.

Open on your phone

Connections at every station

On the station board you see what connects with the station: airport (Barajas, El Prat, Málaga, Jerez), boat (Bay of Cádiz catamaran, Algeciras ferries) and shared bikes within 400 m with free bikes and docks in real time (BiciMAD, Bicing, Bilbao Bizi, Bizi Zaragoza and more). And nearby metro, tram and buses with their next departures, real-time delays where the operator publishes them and their notices (Madrid, Basque Country, Valencia, Alicante, Málaga, Seville, Granada, Zaragoza, Murcia, Barcelona and Mallorca), long-distance departures from the nearby bus station (ALSA, Daibus, Avanza, Samar…), Baleària ferries from the port, the Barcelona metro (TMB, via T-mobilitat) and nearby car parks with free spaces where the city council publishes them (Málaga and those on the DGT platform).

Ask Trenalito

Write the way you talk: “How do I get from Madrid to Seville tomorrow?”, “Timetables from Atocha to Aranjuez this afternoon”, “Are there any incidents in Catalonia?”. It answers with timetables and live data, takes you to the page with all the options, and you can rate each answer with 👍 or 👎.

It uses artificial intelligence (Claude, by Anthropic, with backup providers) and can make mistakes. Conversations are not stored; if you rate an answer, the question is saved without personal data to improve the assistant.

Talk to Trenalito

02

Rail fans and the curious

For people who enjoy watching the network move, or simply want to know which train just went past their window.

Menu for an AVE with the Cab view, Details and History buttons over its route Cab view on a mobile phone with the speed, the delay, the next stop and the track ahead

Live map

AVE, Avlo, Alvia, Euromed, Intercity, Media Distancia, regional, Cercanías and Rodalies trains, coloured by delay, with filters by service and by region.

Open the map

Positions on the track

Renfe's GPS is snapped to the real track and smoothed. Trains without public GPS, such as Iryo and Ouigo, are estimated from their timetable and drawn hollow. Every position shows its uncertainty.

Tap a train

Stops, timetable, delay, platform and position accuracy. Its route is drawn on the map: the part already covered in grey and what is still ahead in blue.

Cab view and 3D

What lies ahead of and behind the train: other trains, stations, incidents and hazards. With the gradient profile calculated from the IGN terrain model and a 3D view with the relief.

More operators and layers

FGC and Metro Bilbao trains, Euskotren delays and the status of each Rodalies line. Layers for infrastructure (single or double track, electrification, gauge, ERTMS, maximum speed), relief, weather, wildfires and earthquakes.

How does it usually run?

Look up a train and compare today's delay with its average over previous days, stop by stop.

See the history

Stations with their own data sheet

Hover over a station (or tap it) to see its photo and the essentials; under “See the station”, its data sheet: opening year, tracks and platforms, lines, accessibility and sources. With Adif’s stations on the map from the start.

Open the map

Switches, buffer stops and gauge changers

The “Track” layer shows the gauge changers across the whole network and, up close, OpenStreetMap’s switches, track crossings and buffer stops, each with its explanation.

See the “Track” layer

The cab view is for guidance only: it uses public data with delays and a margin of error. It is not for driving trains.

03

Rail industry professionals and companies

For people working at operators, in logistics, freight or passenger services: an overview of the network with measured history and the sources in plain sight.

Close-up of the map in Galicia with the delayed arrivals panel and network incidents

Punctuality

Share of arrivals with 5 and 15 minutes' delay or less, by product, time of day, day of the week and route, over 7, 30 or 90 days.

See punctuality

Where time is lost

The sections between stops where trains lose or recover the most time, with the option of drawing them on the map.

Incidents and their impact

Every ADIF and Cercanías incident from start to finish, with its cause, its duration and an estimate of the trains affected and the minutes accumulated.

Monthly report

The month's punctuality by product, corridor and week, worst sections and incidents, compared with the previous month. Print it, save it as PDF or download it as CSV.

See the report

Supply and freight

Trains per operator on 14 corridors, a freight market panel with official CNMC figures, and network parameters useful for freight (axle load, loading gauge and maximum train length).

Timetable changes

Every hour the official timetables are compared to detect trains that have been cancelled, added or rescheduled for today and the coming days.

Cercanías punctuality

Renfe does not publish the delay of each commuter (Cercanías) train: Trenalia measures it by matching its GPS with the official timetable, stop by stop. By hub and line, with time of day, day of the week and recurring patterns.

Hypotheses on the map

A map layer, hidden until you turn it on, with possible incidents detected live and the trains likely to be affected.

How they work

Under construction

“What if…?” simulation

Try more trains per hour, different signalling, a speed restriction or a closure on a corridor, and see the knock-on effect on delays and occupancy. Access on request.

About the simulation

Reliability by series and unit

Delays and incidents by train model and by individual unit (its number, e.g. 449-018), compared with the others on the same corridor so the train isn’t blamed for what belongs to the track. In the API and the MCP connector.

See the API

The analysis is in the map's ☰ menu → “Analysis”. Punctuality is measured with Renfe trains that publish GPS; the impact of incidents is an estimate by Trenalia, not official data.

04

Developers, researchers and media

Everything the website shows is also available as data, to build with, study or report on what happens on the network. Just credit the source.

# Public API, no key
GET /api/v1/trains?min_delay=15
# MCP server for AI assistants
https://trenalia.org/mcp

Public API v1

Read-only, no key and with CORS: trains, stations and their boards, incidents, hazards, alerts, timetables and journeys. Documented with OpenAPI, with texts in five languages.

See the documentation

MCP connector for AI

Two connectors for Claude or any other MCP-compatible assistant: the public one, with more than 30 tools (everything the website shows: trains, boards, journeys, punctuality including Cercanías, incidents, hypotheses and validation), and the simulation one, for approved users, with an API key or OAuth.

How to connect it

Open data

Monthly CSV downloads of journeys, sections and incidents, under a CC BY 4.0 licence and without personal data. Also feeds in GTFS‑Realtime format.

A board for your website

A station's departures or arrivals, ready to embed in any page with an iframe, in light or dark mode and in five languages.

Public validation

How accurate Trenalia is: the delay shown compared with the observed arrival, the status of the models and the outcome of the alerts.

See the validation

Free software

Trenalia's code is free software under the GNU AGPL v3 or later.

See the licence

Data for research

For people collaborating on the analysis: journeys, stops and time per section, with each day’s planned timetable, the official sections with their line and kilometre point, incident hypotheses with predicted versus observed, alerts and stops, with their dictionary. Filter by train, station or corridor and download as CSV or JSONL from the simulation or through its MCP, with a permission granted by the controller. No personal data.

Request access to the simulation

Help at every step of the simulation

A “?” button next to each part of the simulator explains what it is for and how to read the result, and a full manual with search brings together everything you need to simulate and to work with the data. Claude can also look it up through the connector.

Go to the simulation

05

Public bodies and emergency managers

A view of the network in context, to understand what is happening and where, alongside the official channels.

History of rear-end conflict alerts with the active alerts and the box to mute them

The network at a glance

Trains, delays and incidents across Spain on one screen, with the trains that will arrive late grouped by region.

Sections at risk

AEMET warnings, wildfires detected by satellite, fire danger, earthquakes and road closures near the line, with the trains that will pass through in the coming hours.

Network alerts

Stopped or very slow trains, sudden jumps in delay, possible temporary speed restrictions and abnormal drops in electricity demand as a warning sign.

Rear-end conflict alerts

When two trains with a reliable position get too close on the same line, with a review of what happened afterwards. By default they do not pop up on the map; the bell keeps the active ones and their history.

Under construction

Scenario simulation

Before engineering works, a closure or a timetable change: estimate with open data how many trains and lines would be affected, and by how much. Access on request.

About the simulation

These are estimates by Trenalia using public data, without access to signalling: there may be false alarms. They are not ADIF warnings and are not for railway safety.

New

Simulation: the network’s time machine

Under construction · access on request and approval

What would happen if…? Pick a line or a corridor and a day: in the past, with the delays that were actually observed, or in the future, with a projection based on how its trains usually run. Change something and see how it spreads through the network, train by train.

Access is by request only: every request is reviewed and, if approved, you receive personal credentials to sign in.

Example: what would happen if…?

Illustrative
  • 2 h closure · Station X – Station Y
    • L1Train A +25′
      • L1Train B +12′
      • L2Train C +8′
        • L1Train D +3′
  • L1Line 1 · 3 trains · +40 min
  • L2Line 2 · 1 train · +8 min
A made-up example to explain the idea; not real data.

A corridor and a day

In the past, each train starts with the delay it really had, and the model is checked against what was observed. In the future, with its typical delay over the last 30 days.

Change what you want

  • More trains per hour in a time window
  • A different minimum headway between trains, for example with ERTMS level 2
  • A temporary speed restriction
  • A 2-hour closure on a section
  • A delayed or cancelled train
  • More or less weight for non-visible traffic, such as freight
  • Several days in a row, from 1 to 21

See the effects

Average delay by hour, before and after the change; the occupancy of each section hour by hour with the UIC 406 method; and a tree of chained effects showing which trains and lines are affected, and by how many minutes.

Signalling compared

Punctuality and time losses of lines by signalling system: ERTMS, LZB or ASFA. It compares lines, not systems: each line also has its own alignment, traffic and trains.

Non-visible traffic

Freight and other trains with no public data are estimated from recurring time losses that no visible train explains. Always aggregated by section and hour, never in real time.

Who it’s for

Operators, public administrations, consultancies, universities and media who need to study the capacity and punctuality of the network with open data.

Step by step on the map

A time machine on the map: move forward 5 minutes at a time and see which train is waiting for which, and why (headway, single track, rolling-stock turnaround or a full station). Compare three layers: what really happened, the plan without changes and what would happen with your changes.

Uncertainty

Runs the simulation up to 100 times with variations learned from history and gives a range (p10–p90) and the probability that each train gets worse, not a single number.

Turnarounds and stations

If a train arrives late, the next one leaving with the same rolling stock is delayed too; and if a station is full, the next train waits outside. Turnarounds are learned from history.

Bring your own model

Upload your delay model in PMML, ONNX or WebAssembly and compare it with the built-in one, which is retrained every night with machine learning. It runs isolated and with limits.

From your AI assistant

Once your access is approved, connect Claude or another assistant over MCP with your API key or OAuth: search corridors, run and compare scenarios, use the scenarios you saved on the website and manage your models, all in conversation.

Trenalito helps you

Inside the simulator, Trenalito answers your questions about using it, with the simulator manual and what you have on screen: what to change, how to read a result or why something failed.

Simulations powered by many phones

Large simulations, with hundreds of runs to see the range of what's likely, are shared out to the phones of people playing in the «Stationmaster» room, as the SETI@home screensaver did. Whoever runs the simulation sees how many phones are helping and the estimated time. This way Trenalia can serve many more simulation users without adding servers.

Phones only receive an anonymous problem (public timetable and numbers), never who's asking or personal data. Each result is checked on the server, and if a phone is slow, the server computes it: nothing gets slower or fails because of it.

Enter the room

New

Incident hypotheses: the network learns from itself

Every night Trenalia reviews the previous day’s delays, recognises the situations that caused them (a broken-down train, a closure, slow running or a congested section) and simulates them again to see whether it reproduces them. From that it learns patterns. When it sees something similar live, it publishes a hypothesis: which trains are likely to be affected and by how much.

Learns every night

The first time it reviews the whole history; after that, the previous day. Each pattern has a confidence level that goes up or down with every hit or miss.

Live hypotheses

With a stopped train or several trains in trouble on a section, it simulates from that moment and shows the trains likely to be affected, with their probability and minutes. If it matches an official Adif or Renfe notice, it says so.

Checks itself

After 3 and a half hours it compares the forecast with the actual delays. Hypotheses are shown as “under study” until the maintainer validates their pattern; then they become “possible incident”.

You can validate too

If you are on one of those trains, you can say “I confirm” or “No, my train is fine”. It is anonymous and your IP is not stored. The hit rate is published on the validation page.

They are estimates, not Adif or Renfe notices. See how often they are right

What do you think of Trenalia?

Ratings from the people who use it, with no accounts and no personal data.

…

Get Trenalia’s news

Once a week, a short email with what is new for better train travel. No ads, unsubscribe in one click.

Subscribe to the news What’s new →

What open data allows today, and what better data would allow

Today

  • Renfe long and medium distance: GPS position and delay every 15 seconds.
  • Cercanías and Rodalies: positions and service notices as open data.
  • ADIF: network incidents and station boards covering all operators, when available.
  • Iryo and Ouigo: they do not publish GPS. They are placed using their timetable and, when station boards are available, their actual delay.
  • Other operators: positions of FGC and Metro Bilbao, Euskotren delays and the status of Rodalies lines.
  • Official timetables in GTFS format, checked every hour to detect changes and cancellations.
  • Context: AEMET, NASA wildfire satellites, IGN earthquakes, aGIS by STRATOS GS, OpenStreetMap rail lines and the IGN terrain model.

Showing the limits is also part of informing

  • Information may arrive late.
  • Not every train has a known position.
  • An estimated position is not a GPS position.
  • If a train does not appear, that does not mean the line is clear.
  • Alerts are rough calculations, not safety warnings.

Trenalia does not replace official channels, signalling, operating instructions or operational communications. Before you travel, check with your operator. In an emergency, call 112.

Improving information is a shared task

Feedback from users, the experience of people who work in the railway and data from those who hold it all help make Trenalia more useful. This is how it moves forward:

  1. Experience

    Tell us what is missing, what is unnecessary and what is unclear.

  2. Data

    Find more sources and better access to cover more trains.

  3. Review

    Check the results with professionals to improve quality.

The button opens Trenalito on the map, which will ask for your contact details.

Want to help spread the word about Trenalia?

If you take the train to class, share it with your classmates. Download the A4 poster with the QR code to print and put up at your school, university, residence or station. The poster is in Spanish.

Download the poster (A4 PDF)

A first step, open to anyone who wants to join in.

So that rail information reaches the people who need it, better.