Train Madrid to Barcelona vs Plane and Car

Two high-speed trains side by side at a station platform in Spain

A train between Madrid and Barcelona is the easiest way to make the trip, because the fastest direct trains take about 2 hours 30 minutes from Madrid Atocha to Barcelona Sants. Flying and driving can work too, but each one has a catch that this guide spells out.

Time: train Madrid Barcelona vs plane vs car

The train is the fastest way between the two city centres, at about 2 hours 30 minutes for a direct service. Renfe states that time for its direct trains. The service started in 2008 with a 2 hour 38 minute trip, and it now runs up to 54 trains a day. The first Renfe train from Madrid leaves at 6:20. Do trains run every hour? No operator page says so. Renfe's route page lists no timetable. OUIGO's page says only that there are several trains every day, and its table shows five Madrid departures: 06:22, 09:31, 13:42, 16:22 and 20:10, so OUIGO alone is not hourly. Renfe's up to 54 trains a day add many more, but no official page gives their hours, so look up the exact departure you want. Iryo's site did not open, so we cannot say what it runs.

Not every train is that fast. OUIGO's page says the trip takes "approximately 2:30h", yet its timetable table shows 3 hours 2 minutes to 3 hours 27 minutes, because some trains stop in Zaragoza and Camp de Tarragona. Read the duration of the exact departure before you buy.

A flight is short in the air but not door to door. You still travel to the airport, check in, wait and then ride into the city on the other end. For a trip between two city centres, the train removes most of those steps.

Driving takes the longest and ties up the whole day. No official page we checked gives a driving time, so we do not quote one. Renfe's route page gives no distance in kilometres either. Is the train faster than driving? Yes. We cannot give the hours saved, because no official page publishes a driving time, but a drive between the two cities fills the whole day while the train takes about 2 hours 30 minutes. Plan a full day on the road and expect stops.

Way to goStarts and endsTime we can confirm
Direct high-speed trainAtocha to Sants, both in the cityAbout 2 hours 30 minutes (Renfe)
Slower OUIGO trainAtocha to Sants3 hours 2 minutes to 3 hours 27 minutes (OUIGO timetable)
PlaneAirports outside both citiesNot published by an official source we use
CarDoor to doorNot published by an official source we use
Madrid Atocha first Renfe train 6:20 About 2 h 30 min on the fastest trains Barcelona Sants metro, taxi or Rodalies on

Key Takeaway The direct train needs about 2 hours 30 minutes from Atocha to Sants, while OUIGO trains that stop on the way take 3 hours 2 minutes to 3 hours 27 minutes.

Price: train vs plane vs car

The cheapest train fare we can confirm is OUIGO's €9 per adult, and the earlier you book, the lower the fare. OUIGO's page lists "from €9" for adults, a flat €7 for children and free travel for babies from 0 to 3. Renfe's route page says buying in advance gets the cheapest fares and lists no amounts, so check Renfe's booking page for a price on your date.

Luggage can change the total. On OUIGO your ticket covers a small bag of 36 x 27 x 15 cm and a cabin bag of 55 x 35 x 25 cm. An extra piece costs €5 on the Essential fare, and you can add it in the booking up to 30 minutes before departure.

Planes and cars have costs that are easy to miss. For a flight you add the airport rides, and for a car you add fuel, tolls and parking. No official source we use publishes a flight fare, so we give none. Is the train cheaper than flying? Flight fares are not published by any official page we use, so we cannot say for sure. The train fare is published, from €9 per adult on OUIGO. For a flight, add both airport rides before you compare. In Barcelona the airport metro ticket costs €5.90, as the stations section shows. The parking cost in Barcelona is covered in the driving section below.

Pro Tip On OUIGO, add the €5 extra bag when you book instead of at the station, since the cabin bag limit is 55 x 35 x 25 cm and a large suitcase will not fit it.

Stations: where the train arrives vs the airport

The train drops you in the city, because Madrid Puerta de Atocha and Barcelona Sants are both in the middle of urban areas. Renfe's route page names Atocha as the first departure station and Sants as the main Barcelona station, and Sants is open from 04:30 to 00:15. OUIGO runs the same pair of stations, Atocha to Sants.

From Sants, you reach the rest of Barcelona by metro, taxi or regional train. A single metro ticket costs €2.90 for one zone, according to TMB. A taxi from the Sants rank adds a €2.55 station supplement on top of the meter, as the metropolitan taxi authority's 2026 tariffs state.

Landing in Barcelona by air puts you at El Prat, outside the city. The airport metro ticket costs €5.90 and works only on the Barcelona Metro. The R2 Nord regional train also runs from the airport's Terminal 2 to Sants about every 30 minutes on weekdays, as Rodalies de Catalunya lists. Terminal 1 passengers use a free shuttle to reach it.

Your first booking in Barcelona can start the same day you arrive. For a fixed plan in the afternoon, the Sagrada Família skip-the-line entry and tour is from €59.25 per person, takes 1.5 hours and is run by 4 YOU BARCELONA, S.L. It is rated 4.8 from 15,333 reviews and shows free cancellation. Prices and ratings as shown on GetYourGuide on 25 October 2026. The meeting point is Av. de Gaudí 1, and tower access is not included. You could visit on your own, but this tour gives you a fixed start and skip-the-line entry. The bike tour (4.6 from 829 reviews, City Tours) and the tapas and flamenco evening (4.4 from 1,527 reviews, Travel Bound) also show free cancellation.

Driving: car vs train

Driving is worth it only if you need a car for the days after the trip. If you will stay in Barcelona, the train is simpler since a car in the city means parking and rules for entering. To see the coast or the hills beyond the city, you could hire a car at Barcelona airport after you arrive instead of driving all the way from Madrid.

Parking in central Barcelona is paid on the street. The city's blue area runs Monday to Friday from 9:00 to 20:00 and, in the centre, also on Saturdays. The page's table lists €3.25 an hour for a car with the label C in rate A zones such as Eixample and Ciutat Vella, and notes a €2 an hour surcharge without saying whether the table includes it. Check the meter before you leave the car.

Foreign-licence cars face one more rule. The low emission zone around the city's ring roads asks foreign-plated cars to register with the metropolitan area's register before driving in. The page does not mention rental cars or state a fee, so check it before you drive in.

Booking: when to buy a train ticket

Book as early as the operator lets you, because both Renfe and OUIGO say the lowest fares go to early buyers. OUIGO sells tickets from several months ahead up to 10 minutes before departure, and tickets are fully digital in its app. Renfe's page says advance purchase gives the cheapest fares.

Pick the train by time of day and number of stops, not just by price. A 6:20 start from Madrid gives you the whole day in Barcelona. A later train works if you like a slow morning, but check the duration of that exact train first.

StepWhat to doWhat to watch for
1Pick the date and the operatorRenfe or OUIGO, both Atocha to Sants
2Check the exact departure timeOUIGO trains with stops take up to 3 hours 27 minutes
3Add luggage when you book€5 per extra piece on OUIGO's Essential fare

When the train is the wrong choice

The train is not the best answer for every trip. Already flying into Madrid and out of Barcelona on separate bookings, the train may add a leg you do not need. With several large bags, OUIGO's extra bags cost €5 each and add up. And when your day starts well outside either city centre, the airport can be faster for you than a ride to the station.

A good journey between two cities is one where the travelling does not eat the day.

After the train: things to do and see in Barcelona

You arrive in Barcelona with most of the day left, so plan the first hours. Things to do and see in Barcelona lists the main sights and how to see them. A short bike or e-bike sightseeing tour of 1.5 to 2 hours is from €19.20 per person and shows free cancellation, which suits a first look after a morning train. For the evening, the tapas dinner and flamenco show is from €47.20 per person and runs about 2 hours. Prices and ratings as shown on GetYourGuide on 25 October 2026.

You can also decide how far you want to go. Browse Barcelona tours for more picks, or see day trips from Barcelona for extra days. Of the 528 Barcelona listings this site counted on GetYourGuide on 26 October 2026, 510 show free cancellation, so plans can move if your train does.

Plan your first day in Barcelona

Once the train has dropped you at Sants, these picks cover a first day. The Sagrada Família skip-the-line tour is from €59.25 per person, the bike tour from €19.20 and the tapas and flamenco evening from €47.20, and all three show free cancellation on GetYourGuide. You do not need a tour to ride the train, since you book it yourself in a few minutes. The Sagrada Família price is for skip-the-line entry and a 1.5 hour guided visit, and tower access is not included. On your own you pick the time and pay less, but you plan every entry. A tour only helps on the arrival day, when you want a fixed start, a guide or a skip-the-line entry without any planning. Ratings run from 4.4 to 4.8 across 829 to 15,333 reviews, and each tour is run by a named operator: 4 YOU BARCELONA, S.L., City Tours on Bike-eBike-Segway and Travel Bound. Meeting points and what is not included are listed with each pick below.

  • Sagrada Família skip-the-line tour

    from €59 per person

    Rated 4.8 from 15,333 reviews, 1.5 hours and run by 4 YOU BARCELONA, S.L., so it is a fixed start you can book once your train time is known. Meet at Av. de Gaudí 1, next to the church, in a small group of up to 10 or a standard group of up to 30. Tower access and hotel pickup are not included.

    1 h 30 min 4.8 (15,333 reviews) Free cancellation

    Run by 4 YOU BARCELONA, S.L.

    Check availability: Sagrada Família skip-the-line tour on GetYourGuide
  • Bike or e-bike sightseeing tour

    from €19 per person

    A 1.5 to 2 hour first look at the city from €19.20 per person, easy to fit in after a morning train. It is rated 4.6 from 829 reviews, shows free cancellation and is run by City Tours on Bike-eBike-Segway. Meet at Passeig de Lluís Companys 10, in a small group of up to 10 or a private group of up to 20. Food, drinks, tips and hotel pickup are not included.

    1 h 30 min 4.6 (829 reviews) Free cancellation

    Run by City Tours on Bike-eBike-Segway

    Check availability: Bike or e-bike sightseeing tour on GetYourGuide
  • Tapas dinner and flamenco show

    from €47 per person

    A 2 hour first-evening plan from €47.20 per person that needs no planning on your side. It is rated 4.4 from 1,527 reviews, shows free cancellation and is run by Travel Bound. Meet at Carrer de la Boqueria 27. The price covers tapas, sangria and a 35-minute flamenco show at Tarantos. Tips and extra food or drinks are not included, and the group size is not stated.

    2 hours 4.4 (1,527 reviews) Free cancellation

    Run by Travel Bound

    Check availability: Tapas dinner and flamenco show on GetYourGuide

Prices and ratings as shown on GetYourGuide on 25 October 2026.

Barcelona tours and tickets

Compare rental cars at Josep Tarradellas Barcelona-El Prat Airport

FAQ

How long is the train ride from Barcelona to Madrid?

The fastest direct trains take about 2 hours 30 minutes, according to Renfe. OUIGO's page also says about 2 hours 30 minutes, but its own timetable table lists 3 hours 2 minutes to 3 hours 27 minutes. Only two of its five trains are direct (13:42 and 16:22, both 3 hours 2 minutes). Check the departure you want before you pay.

Should I book a tour or do it on my own?

Do the train on your own, because you book the ticket in a few minutes and need no guide. A tour costs more and does not get you to Barcelona. Book a tour only for the arrival day, when you want a fixed start or skip-the-line entry. All three picks below show free cancellation, so you can book once your train time is known. The Sagrada Família skip-the-line tour is from €59.25 per person, rated 4.8 from 15,333 reviews on GetYourGuide, shows free cancellation and is run by 4 YOU BARCELONA, S.L. It lasts 1.5 hours and meets at Av. de Gaudí 1 in a group of up to 10 or up to 30. Tower access and hotel pickup are not included. You could also visit on your own, but then you plan the entry yourself.

How far is Madrid from Barcelona in kilometres?

We cannot give a kilometre figure, because no official page we use publishes one. Renfe and OUIGO do not publish the distance. Renfe's route page and OUIGO's page give no kilometre figure, and Adif's line dossier would not open for us. A search result quotes 667 km for the whole high-speed line, but that figure runs on to the French border, so it is not the Madrid to Barcelona distance. Do not plan with it. What the operators do publish is travel time, about 2 hours 30 minutes on the fastest direct trains, and that is the figure that matters for planning.

How much is the train from Madrid to Barcelona?

OUIGO's page says from €9 per adult and a flat €7 for children, and babies from 0 to 3 travel free. Renfe's route page lists no fare amounts and only says the cheapest fares go to those who buy in advance.

Is the train from Madrid to Barcelona cheaper than flying?

We cannot say for sure, because no airline or airport page we use publishes a flight fare. The train side is clear: OUIGO shows tickets from €9 per adult. A flight also needs two airport rides, one in each city. In Barcelona the airport metro ticket alone costs €5.90, so add that and the Madrid ride to any flight price before you compare with the train.

Do trains from Madrid to Barcelona run every hour?

No. No official page says they do, so an hourly pattern is not published. Renfe says its service runs up to 54 trains a day but its route page lists no hours, except that the first train leaves Madrid at 6:20. OUIGO's table shows five departures a day, from 06:22 to 20:10. Check the exact time on the operator's page.

Is there a train from Madrid to Barcelona?

Yes. Renfe runs AVE, Avlo and long-distance services, and OUIGO runs trains from Madrid Puerta de Atocha to Barcelona Sants. The first Renfe train leaves Madrid at 6:20, and an AVE or long-distance ticket includes one free Cercanías trip, according to Renfe.

How many days should I spend in Madrid and Barcelona?

Because the train takes about 2 hours 30 minutes, you lose only half a day to travel. Most people give each city at least two full days, and Barcelona is easy to enjoy in two days if you plan them.

Conclusion

Take the train from Madrid Atocha to Barcelona Sants if you want the simplest trip. It leaves from the city, arrives in the city and lets you book a fare as low as €9 on OUIGO. Fly only if your flights are already booked, and drive only if you need a car for the days after. Book early, check the exact timetable on the operator's page, and plan your first evening in Barcelona before you arrive.

Sources