Without a doubt, taking the train is faster, cheaper, more convenient, and greener than flying. By taking the train you: Don't have to make your way to and from the cities' airports which are located out of town, unlike the train stations which are located in the city centers of Madrid and Barcelona.