1. Cheap tickets
  2. Train
  3. Main Journeys
  4. Train from Barcelona to Madrid

Barcelona to Madrid train

Thanks to Gopili, compare train ticket prices and find the best price to travel from Barcelona to Madrid by train. Our service is dedicated to helping you find the cheapest Barcelona to Madrid train ticket and gives you practical information: booking, next departures, timetables, fares, and good deals.

Find cheap train tickets from Barcelona to Madrid

Other city in Spain

Cheap train calendar from Barcelona to Madrid

Find cheapest tickets to travel from Barcelona to Madrid by train, bus, ride sharing and plane. With the calendar below, choose the day you want to travel and easily find the cheapest price.

  january march   february
monday tuesday wednesday thursday friday saturday sunday

Ticket prices and availability have been recorded in the last 6 hours from the data provided by our partners.

Find the best prices for train tickets Barcelona to Madrid

from €85.40 MORE 2h55m
from €46.30 MORE 3h33m
from £38.00 MORE 3h13m
Other modes of transport available to travel from Barcelona to Madrid
from €32.20 MORE 7h30m
from £23.77 MORE 4h08m

How to find cheap train tickets Barcelona to Madrid ?

If you're searching for cheap train tickets Barcelona to Madrid, we're here to help. Here we give you some hints to find cheap train tickets.

When should I book my ticket?

To travel for cheap you have to buy your ticket in advance. The best time to purchase your advance train ticket is around 12 weeks before. Thus you must remember to book approximately 3 months in advance. Using this trick you should enjoy great savings of up to 80%.

When should I take my train?

The peak times to travel are during the morning commute time and in the late afternoon for your train ticket Barcelona to Madrid. Train ticket prices tend to be more expensive during these hours so you will pay less by travelling very early, in the middle of the day or late in the evening.

2 single tickets vs 1 return: which is cheaper?

It's very common that two singles are cheaper than a return ticket, we suggest you should always check both tickets for your journey if you want to make savings.

How does split ticketing work?

Frequently, booking a ticket from Barcelona to an intermediary city and then an additional ticket from this station to Madrid costs less than purchasing a single ticket for your entire journey. Splitting your ticket can help you pay less.

Next train departures

When are the next trains to Madrid?

See all departures Today Tomorrow

Departure and arrival for your train travel

For your journey between Barcelona and Madrid several railway stations of departure and arrival exist. You can choose between the following train stations departure:Barcelona Sants train station, Barcelona Estació de Franca train station, Barcelona Clot-Arago train station, Barcelona Sant Andreu Comtal train station, Barcelona Passeig de Gracia train station.

For your arrival, several train stations are available :Madrid Chamartin train station, Madrid Atocha cercanías train station, Madrid Nuevos ministerios train station, Madrid Pta. atocha train station, Madrid Recoletos train station.

Different train ticket types for your journey

There are several types of train tickets Barcelona to Madrid provided by each company, allowing passengers to choose between flexibility and price. Travellers can purchase tickets on the website of the railway companies or on train ticket sales websites being accredited. Here is a description of each kind of rail ticket:

The Advance Tickets are tickets for single journeys, valid in 1st and 2nd class. They can be bought 12 weeks in advance, really they are sold in limited numbers and are subject to availability. Usually, the earlier you book them, the cheaper the price is. You should be aware that the Advance ticket is non-refundable. However, you can change the hours and the date of the journey before departure.

The Off-Peak Tickets are the cheapest tickets to travel in less occupied trains. Offering an interesting quality-price ratio, these tickets require passengers to travel off-peak. You can buy tickets at any time, in advance or just before the travel. The rail ticket is refundable but administrative fees may be charged; these fees do not exceed £10.00.

The Anytime Tickets are completely flexible: you can travel whenever you desire. Tickets can be bought in advance or directly before travel. There are no restrictions on when you want to go, however you will need to book a new ticket if you want to modify the date, destination or class.

You can also buy a Season Ticket for 7 days or a period of either 1 month or 1 year. Normally these tickets are available for short and medium distances in the UK.

The last Rovers and Rangers ticket type allows you unlimited travel for an area and time period with all train companies.

Book cheap train from Barcelona to Madrid

Barcelona to Madrid train ticket can be bought using different options:

You are able to buy tickets online using most rail companies' websites such as C2C, Northern Rail, South West Trains, Greater Anglia. You can also book train tickets on Ticket Retailers' websites like Trainline or My Train Ticket.

If you would rather have a chat with an advisor that will help you get your journey sorted, you can do it with most rail companies.

If you need to buy your ticket at the station, you have the ability to do it either by yourself using the self-service ticket machine as well as with an agent. Please note some rural stations might not have all these services.

The best way to find cheap train tickets from Barcelona to Madrid is to check online the prices from all train companies. Gopili helps you to do it by comparing in one search journey times and prices across all existing offers. If you need to travel back to Barcelona afterwards, train tickets Madrid to Barcelona are also available on gopili.

Barcelona - Madrid: the best time to book cheap trains

Price of the ticket when booking in advance or at the last minute


90 days


60 days


30 days


15 days


7 days


3 days


1 day


Same day

The chart above is based on the cheapest prices found over the last six months depending on how many time in advance the train is bought. Buying your train from Barcelona to Madrid in advance can help you spend less for your trip.

Tickets are available from £36 when purchasing your ticket 2 months in advance, it is 42% cheaper than the cheapest price we found when booking 7 days in advance.

Travel information for your train journey

Barcelona Madrid train

Route Barcelona to Madrid

Train duration 3h12m
Arrival city Madrid, Spain
Departure city Barcelona, Spain
Distance 313 Miles
Lowest train ticket price from £38.00
Train operators for Barcelona to Madrid Renfe

Which train company can I use?

There are a lot of rail operators across the country & Europe but the journey connecting Barcelona in Spain to Madrid in Spain are run by Renfe.

How long is the train?

On average, it takes normally 3h12m by train covering a distance of 313 miles to get to Madrid from Barcelona. The duration will change depending if the train is direct or if you need to make a change.

What is the price of a train ticket for this journey?

We found tickets from £38.00 to travel in the next month. Prices will change depending on the day and hour of travel as well as how long in advance you buy your ticket.

And if you change?

Other alternatives of transport exist to travel from Barcelona to Madrid:

Bus from Barcelona to Madrid

Best price found for train ticket from Barcelona to Madrid

We compare train ticket prices for all major companies to travel from Barcelona to Madrid by train and find the best price for you. Here are the best prices selected for the coming days to go to Madrid. Your Barcelona to Madrid train ticket is just few clicks away!

Journey Price Departure on At Company Searched
€46.30 MORE 06/03/2017 21:15 Renfe 1 month ago
€54.40 MORE 06/03/2017 20:00 Renfe 1 month ago
€55.30 MORE 11/03/2017 21:15 Renfe 5 days ago
€55.30 MORE 11/03/2017 19:00 Renfe 5 days ago
€55.30 MORE 11/03/2017 20:00 Renfe 5 days ago
€55.30 MORE 11/03/2017 21:15 Renfe 5 days ago
€55.30 MORE 11/03/2017 19:00 Renfe 5 days ago
€55.30 MORE 11/03/2017 20:00 Renfe 5 days ago
€63.90 MORE 11/03/2017 11:00 Renfe 5 days ago
€63.90 MORE 11/03/2017 11:00 Renfe 5 days ago

Best price found for Barcelona to Madrid train ticket for the next 30 days.

> Search train from Barcelona to Madrid

Where to find cheap train tickets


The 505 kilometers to link the city of Barcelona with Madrid are operated by Renfe! You will need to plan to spend a minimum of £47 for a Renfe train.

Transport operators from Barcelona to Madrid

The following table lists the various transport operators serving the route Barcelona to Madrid.

Transport operators Departure Arrival
Renfe Barcelona Madrid