Andorra doesn't have a railway, and it never had. Some of the train stations closest to the Andorran border are located in Barcelona, Perpignan, and Toulouse. There are also regular buses to Andorra from the French station Gare d'Andorre-L'Hospitalet.