About this map
Where every Renfe, FGC and Metro Bilbao train that publishes its position is, using open data. What it shows, what it does not, and where each piece of data comes from.
What it is
This map shows the last known position of every train that Renfe publishes as open data, with its delay, its next stop and, above all, how old each piece of data is. It also keeps a public record of what the official sources said, so that journalists, researchers and anyone else can analyse it later.
What it is not
It is not a railway safety system. Traffic safety depends on signalling, on the train's protection systems (such as LZB, ERTMS or ASFA) and on Adif's control centres. Nothing on this website interacts with them or can warn a driver or a control centre.
- The data arrives with a delay of seconds to minutes and sometimes contains errors.
- Between one update and the next, a high-speed train can travel more than a kilometre.
- Do not use this website to make decisions that affect anyone's safety.
- In an emergency, call 112.
Which trains do not appear
Today, Renfe (high-speed, long- and medium-distance, Cercanías and Rodalies), FGC (all its lines) and Metro Bilbao publish the position of their trains as open data. FGC does not publish the minutes of delay, only whether the train is on time. That is why this map does not show every train running on a track:
- Iryo and Ouigo do not publish real-time positions.
- Adif, which manages the infrastructure and knows every movement, does not publish them as open data.
- Freight trains and maintenance vehicles do not appear.
- Regional operators (FGC, Euskotren, FGV, SFM…) are not yet integrated.
A map with only some of the trains can give a false impression of a clear line. We say so here and on the map itself so that nobody reads it that way.
How we look after accuracy
- We show the GPS position that Renfe publishes (updated every 15–20 seconds) and the age of each position. A train with no data in the last 3 minutes is drawn faded.
- We do not invent positions: we do not extrapolate where a train “should” be between two updates.
- We correct and flag known defects in the sources: the long-distance feed publishes its time one hour out; some Cercanías delays arrive with the wrong day; we discard impossible delays and positions outside Spain.
- Speed and direction of travel are estimated from two consecutive positions, and are labelled as such. If the jump between two positions is physically impossible, it is marked as doubtful.
- We always say whether a source has stopped updating, and since when.
What we ask for
That Adif, Iryo and Ouigo publish the position of their trains in real time as open data, as Renfe already does, under the European multimodal travel information framework (Commission Delegated Regulation (EU) 2017/1926).
What's new
Every version brings changes you can see: we describe them in , also available as an RSS feed.
The site is in Spanish, English, Catalan, Basque and Galician. We translated the versions in other languages with the help of artificial intelligence: if something reads wrong, write to us and we will fix it.
Who makes it
It is made by Valfiguer, on a non-profit basis. It has no advertising, it only counts visits if you accept, and it does not ask you to register: the account is optional and only serves to save your favourites across all your devices. For any correction or suggestion, write to info@valfiguer.com.