Spain

How to get from Madrid to Barcelona

Compare all transport options: bus, ferry, train, flight. Prices, durations and tips from a local expert.

⏱
FASTEST
1h 12min
💶
From
18€
📍
Distance
506 km
Powered by 12Go system

There are 3 way(s) to get from Madrid to Barcelona

Select an option below to see the route details and compare prices. Secure booking via our partner 12go.asia.

🚌 Departure from Madrid
📍For high-speed trains to Barcelona, your departure point is Madrid Atocha Station (Estación de Madrid Puerta de Atocha-Almudena Grandes). It's Spain's largest railway hub, centrally located and equipped with shops, restaurants, and a tropical garden. Ensure you arrive at least 30 minutes before departure.
🚇Madrid Atocha is easily accessible from the city center. You can take the Metro (Line 1 to Atocha Renfe), Cercanías suburban trains (various lines), or numerous bus routes. A taxi or ride-sharing service will cost approximately 10-15€ from most central locations and take 10-20 minutes, depending on traffic.
⏰High-speed trains from Madrid Atocha to Barcelona Sants are very frequent, with departures typically every 20-30 minutes throughout the day. Services usually start around 6:00 AM and run until late evening, around 9:00 PM-10:00 PM.
💸 Transport from 18€ per person
⚡ Fastest: 1h 12min
🗓 Book now Secure payment · via 12go.asia
📶 Stay connected the moment you land

Activate an eSIM before you go: internet the moment you land, no SIM to swap, zero roaming fees.

Yesim · eSIM partner

Practical tips

💡
Book High-Speed Trains in Advance

For the best prices on high-speed trains like Renfe AVE, Avlo, Iryo, and Ouigo, always book several weeks or even months ahead. Last-minute tickets can be significantly more expensive, sometimes rivaling flight prices. This ensures you secure a good deal and avoid paying full fare.

💡
Understand Madrid's Stations

Madrid has multiple train and coach stations. For high-speed trains to Barcelona, you'll depart from Madrid Atocha. Coach services usually use Madrid Estación Sur. Always double-check your ticket to confirm the exact departure point to avoid any confusion or last-minute rush.

💡
Compare Total Journey Time for Flights

While the flight itself from Madrid to Barcelona is only an hour, don't forget to factor in travel to and from airports, security checks, and boarding times. Often, the total door-to-door time for a flight can be comparable to, or even longer than, a high-speed train.

💡
Low-Cost Train Options

Look out for low-cost high-speed train operators like Avlo, Iryo, and Ouigo. These can offer significantly cheaper fares than standard Renfe AVE, especially if you book in advance. They provide a fast and budget-friendly alternative for your journey to Barcelona.

💡
Ferry and Island Connections

For journeys to the Balearic Islands, ferries typically depart from Barcelona, Valencia, or Dénia. For trips to Ceuta and Tangier, your departure ports are Algeciras or Tarifa. Always confirm the correct port for your island or international connection to ensure a smooth transfer.

🛣️ The journey experience

Planning your trip from Madrid to Barcelona can seem daunting with so many choices, but we're here to make it straightforward. Whether you're a solo explorer, a couple, or traveling with friends, finding the best option for your budget and schedule is key. We'll help you instantly compare whether train, coach, or even flight is the smartest choice, laying out durations and price ranges in one clear table so you can book with confidence.

The route between Madrid and Barcelona offers excellent connectivity. For speed, high-speed trains (Renfe AVE, Avlo, Iryo, Ouigo) are often your best bet, getting you there in around 3 hours for as little as 18€. If you prefer a more scenic and economical journey, coaches (ALSA, Avanza, FlixBus) take about 8 hours and start from 32€. Flights are also available, with a duration of just 1 hour and prices typically around 40€, though you need to factor in airport transfer times.

Spain offers various ways to make the same journey, each with different timings and costs. This can make it hard to choose between a comfortable, fast train and a budget-friendly coach, or knowing if a short flight is worth it. For Madrid to Barcelona, if speed is paramount, the high-speed train is the clear winner, especially when booked in advance. If budget is your main concern and you don't mind a longer journey, the coach is an excellent alternative. Flights become appealing when time is extremely tight, but remember to factor in airport transfers.

Frequently asked questions — Madrid → Barcelona

✨ Why visit Barcelona?

  • ✓ Marvel at Gaudi's Sagrada Familia, an architectural masterpiece
  • ✓ Stroll through the Gothic Quarter and discover hidden plazas
  • ✓ Indulge in tapas and sangria at a traditional Catalan restaurant
  • ✓ Relax on the beaches of Barceloneta or visit Park Güell
  • ✓ Experience the vibrant nightlife and flamenco shows
🌙
Recommended stay
3 to 5 nights — perfect for exploring major sights and enjoying the culture.

☀️ When to visit Barcelona?

MEDITERRANEAN CLIMATE

April to May or September to October — pleasant weather, fewer crowds, and ideal for sightseeing and outdoor activities.

Jan 😞
Feb 😞
Mar 😐
Apr 😐
May 😊
Jun 😊
Jul 😊
Aug 😊
Sep 😊
Oct 😐
Nov 😐
Dec 😞
📍
In Barcelona — Plan your stay
Accommodation, activities and tips selected for you
🏨 Accommodation
Hotels in Barcelona
Compare the best rates available
via trip.com

What to do in Barcelona?

Local experiences, must-see sights and activities selected for you

INCONTOURNABLE
🏛️
Sagrada Família: Gaudí's Masterpiece
Marvel at Antoni Gaudí's unfinished basilica, a breathtaking symbol of Barcelona. Its intricate façades and stunning interior light are mesmerizing. Book your tickets online well in advance to avoid long queues; general admission starts around 30€.
🚶‍♀️
Stroll through Barri Gòtic
Lose yourself in the narrow, winding streets of the Gothic Quarter, exploring ancient Roman walls, hidden squares, and the Barcelona Cathedral. Go early in the morning to experience its unique atmosphere before the crowds arrive.
🎨
Parc Güell: Gaudí's Whimsical Park
Discover another Gaudí marvel, a vibrant park filled with mosaic sculptures, unique architecture, and panoramic city views. The monumental zone requires a ticket, so buy it online to secure your entry slot, typically around 10€.
🍜
Taste at La Boqueria Market
Immerse yourself in the vibrant sensory overload of La Boqueria, a renowned public market on Las Ramblas. Sample fresh juices, local cheeses, and tapas. Avoid peak lunchtime for a more relaxed experience; some stalls offer small portions for a few euros.
🏖️
Relax at Barceloneta Beach
Unwind on the golden sands of Barceloneta Beach, right within the city. It's perfect for a refreshing dip or a leisurely walk along the promenade. Renting a sunbed can cost around 10-15€ for the day, or just bring your towel for free relaxation.
🚠
Montjuïc Hill Views & Castle
Take the Montjuïc cable car for breathtaking views of the city and harbor, then explore Montjuïc Castle. It offers a rich history and strategic vantage points. A return cable car ticket is approximately 13€, and castle entry is around 5€.
💃
Experience Flamenco Show
Immerse yourself in the passionate art of Flamenco at one of Barcelona's intimate 'tablaos'. The raw emotion and powerful performance are captivating. Look for shows that include a drink, typically starting from 25-35€ for an authentic experience.
🌳
Hidden Oasis: Parc de la Ciutadella
Escape the city buzz in this expansive park, home to the Arc de Triomf, Barcelona Zoo, and a charming boating lake. It's perfect for a picnic or a leisurely afternoon. Rent a rowboat for a few euros for a tranquil experience.

⏱️ How long to visit Barcelona?

3 to 5 days

For a first-time independent traveler, 3-5 days is ideal to experience Barcelona. In 3 days, focus on the Gothic Quarter, Sagrada Familia, and Park Güell. With 5 days, you can add Montjuïc, Barceloneta beach, and a day trip to Montserrat. Plan your key attractions in advance to maximize your time.

Related searches

train Madrid Barcelona bus Madrid Barcelona flight Madrid Barcelona how to get from Madrid to Barcelona ticket price Madrid to Barcelona travel time Madrid to Barcelona travel to Spain

Other trips from Madrid

Book now