There are two main train stations in Madrid. The Atocha train station is located on the south side of the Madrid city centre and serves destinations to the south of Spain.
The second Madrid railroad station is the Chamartin Train Station (Estación de Chamartín) and serves destinations to the north of the country
