Find a train from Madrid to Barcelona

These train, bus and flight companies trust us

Find the cheapest ticket for your trip

Help rental companies move cars and get £1 rental!, (no hidden charges)

Journey details

Best price 39.50£
Journey duration 4 h 10 min
Connections per day 163
First departure: 05:50
Last departure: 21:25
Distance 504km

Compare the best train prices from Madrid to Barcelona

With Virail you can find the best train connection from Madrid to Barcelona , you just need to enter the date of your trip and we will find the best solution for you! On our platform you can also choose between a round-trip ticket or a one-way ticket and you can filter your results by price and departure. Once you chose the best ticket for your trip we will redirect you automatically to the provider’s website where you will be able to book and pay your ticket. Virail is a metasearch platform with customers from more than 30 countries. Our comparison tool works with more than 2000 transportation companies and enables you to find the optimal travel solution, no matter your needs.

Which companies travel from Madrid to Barcelona by train?

Among all virail partners, you will also be able to travel with Renfe, serving the train route between Madrid and Barcelona.

Renfe is the national Spanish company, which offers a very well-developed high-speed network served by the AVE trains. It covers also regional short-distance routes, through the FEVE trains, and international long-distance routes, for instance with the night train Elipsos.

How much is the cheapest train ticket from Madrid to Barcelona?

Booking in advance really allows you to save some money: in fact, you can get cheap train tickets from Madrid to Barcelona also for only 39,50 £, while the average price is 126,85 £.

Ticket price Madrid - Barcelona every day

Today Tomorrow In 2 days In 3 days In 4 days In 5 days In 6 days
32 £32 £10 £10 £32 £18 £10 £
35 £50 £30 £45 £35 £35 £25 £
More 28 £ More More 42 £37 £39 £
More More More 38 £1 £1 £ More

Trains from Madrid to Barcelona


If there are changes in your route, make sure you always have enough time to walk from one platform to the other and never forget the possibility of delay that could make you miss the second train.

With such a long journey, you could take into account travelling by plane, which is not necessarily more expensive. Doing so, you will shorten the distances and you will be able to enjoy more time in Barcelona.

What are the departure and arrival stations in Madrid and Barcelona?

Trains leave Madrid from Madrid Chamartin, Madrid Chamartín, Madrid Atocha or Madrid Puerta de Atocha and arrive at Barcelona Sants, Barcelona Estació de França or Barcelona Passeig de Gràcia.

How long will it take you from Madrid to Barcelona by train and when do the trains leave?

While the first train to Barcelona leaves at 07:12, the last one is scheduled for 18:12. The average duration of the journey is of 8 hours and 14 minutes, but the fastest trains can get you to Barcelona in 2 hours and 30 minutes.

virail lets you search and compare times and prices of any transports from one city to another