Spain

How to get from Barcelona to Madrid

Compare all transport options: bus, ferry, train, flight. Prices, durations and tips.

⏱
FASTEST
1h 25min
💶
From
25€
📍
Distance
506 km
Powered by 12Go system
⚡ Quick answer

Best option from Barcelona to Madrid: Flight — both the fastest and the cheapest, about 1h 25min, from €25. Main companies selling this route on 12Go (checked on October 8, 2026): Iberia, Renfe, Vueling; main departure point: Barcelona Airport.

Distance: 506 km. Data updated on .

There are 3 ways to get from Barcelona to Madrid

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

Train
3h 1min – 3h 17min
CHEAPEST
36 – 44 €
View
Bus
7h 20min – 7h 35min
43 – 48 €
View
Flight
1h 25min
FASTEST
from 46€
View
✈️ Also compare on Aviasales ›
🚌 Departure from Barcelona
📍Barcelona Sants Station is the main railway station in Barcelona, serving high-speed (AVE, Avlo, Iryo, Ouigo) and regional trains. It's a large, modern hub with various shops, restaurants, and luggage storage facilities, making it convenient for travellers.
🚇Barcelona Sants is easily accessible by metro (L3 and L5 lines, 'Sants Estació' stop), bus, and taxi from anywhere in the city. A metro ride from the city centre typically costs around €2.40 and takes 10-15 minutes, while a taxi might cost €10-15.
⏰Trains to Madrid depart frequently throughout the day, typically every 30-60 minutes from early morning until late evening. The first train usually departs around 05:50 and the last around 21:10, depending on the operator.
💸 Transport from 25€ per person
⚡ Fastest: 1h 25min
⭐ Recommended: Train — 36€
🗓 Book now Secure payment · via 12go.asia

Companies selling this route on 12Go

Offers listed on 12Go on October 8, 2026 for a departure on October 29, 2026. Timetables and prices change with the date: check them before booking.

CompanyModeDeparts fromFromOffers
OUIGO Train Barcelona Sants €36 5
Renfe Train Barcelona Sants €38 21
iryo Train Barcelona Sants €41 14
Alsa Bus Barcelona North Bus Station €43 3
Aratesa Bus Barcelona €47 10
Vueling Flight Barcelona Airport €46 19
Air Europa Flight Barcelona Airport €51 2
Iberia Flight Barcelona Airport €87 32
📶 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 in Advance for Best Prices

Especially for high-speed trains (AVE, Avlo, Iryo, Ouigo), booking several weeks ahead can save you a lot. Last-minute tickets can be significantly more expensive. For coaches, prices are more stable but booking ahead still secures your seat.

💡
Verify Departure Stations

Madrid has multiple train and bus stations. Ensure you know whether your train leaves from Atocha or Chamartín, or your bus from Estación Sur or Avenida de América. Check your ticket carefully to avoid confusion.

💡
Consider Travel Time to Airports

While flights are fast, remember to factor in the time and cost of getting to and from airports at both ends. For city-to-city travel like Barcelona to Madrid, the train often offers a more convenient overall journey.

💡
Flexibility Saves Money

If your travel dates are flexible, try adjusting them by a day or two. Mid-week travel often offers cheaper rates for both trains and buses compared to weekends or public holidays. Use price comparison tools to find the best deals.

💡
Carry Snacks and Water

Especially on longer bus journeys, having your own snacks and water can save you money and ensure you have what you like. While trains often have catering, it can be pricey. Be prepared for your journey.

The journey experience

Planning your trip from Barcelona to Madrid? Spain offers various ways to make this journey, each with different times and prices. We understand you want to instantly know whether a trip is best by coach, train, or flight, and compare durations and price ranges side-by-side in one clear table. Our goal is to make your travel decisions straightforward and stress-free.

For the Barcelona to Madrid route, you have three main options: train, bus, and flight. The high-speed train is a fast option, taking around 3 hours and costing from €36. Buses are an option, costing from €43, but take significantly longer, between 7 and 8 hours. Flights are the fastest and most budget-friendly, taking about 1 hour and 25 minutes, with prices starting from €25, though you must factor in airport travel time.

Deciding between coach, high-speed train, or low-cost train can be tricky with multiple operators on the same line. For Barcelona to Madrid, the train is often a smart choice for its balance of speed and cost, especially if booked in advance. While coaches are generally more expensive than flights, the time saved by train usually makes it worth it for such a popular route. Forget about going to the wrong station – we provide clear details for each main departure point.

Frequently asked questions — Barcelona → Madrid

Why visit Madrid?

  • ✓ Explore world-class art at the Prado Museum, home to masterpieces by Goya, Velázquez, and El Bosco.
  • ✓ Stroll through the grandeur of Retiro Park, rent a rowboat on the lake, or visit the Crystal Palace.
  • ✓ Experience the vibrant nightlife and traditional tapas in the lively La Latina district.
  • ✓ Witness a breathtaking flamenco show in a historic 'tablao' for an authentic Spanish cultural immersion.
  • ✓ Visit the Royal Palace of Madrid, the largest functioning royal palace in Europe, and its beautiful gardens.
🌙
Recommended stay
3 to 4 nights — perfect for discovering major sights, enjoying gastronomy, and vibrant evenings.

When to visit Madrid?

MEDITERRANEAN CONTINENTAL CLIMATE

Spring (April to June) or Autumn (September to October) — pleasant temperatures, ideal for walking and outdoor activities.

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

What to do in Madrid?

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

MUST-SEE
🏛️
Explore Prado Museum Masterpieces
Immerse yourself in one of the world's finest art collections, featuring Goya, Velázquez, and El Greco. Allow at least 3-4 hours to appreciate its vastness. Consider visiting late afternoon or early evening on weekdays to avoid peak crowds, and check for free entry slots.
👑
Visit Royal Palace Madrid
Discover the official residence of the Spanish Royal Family, boasting opulent rooms, a stunning armory, and beautiful gardens. Purchase tickets online in advance to save time and ensure entry, especially during high season. The changing of the guard is a visual spectacle.
🌳
Stroll Retiro Park serenity
Escape the urban bustle in this expansive park. Rent a rowboat on the lake, admire the Crystal Palace, or simply relax. It’s perfect for a leisurely morning or afternoon. Look out for street performers and local artists near the main entrance.
🍽️
Indulge in Tapas Culture
Experience Madrid’s vibrant culinary scene by hopping between tapas bars. Start in La Latina or Cava Baja for an authentic evening. Order a caña (small beer) and a few plates to share. Remember, some bars offer free tapas with your drink.
💃
Experience Live Flamenco Show
Witness the passion of a traditional flamenco performance. Numerous 'tablaos' offer authentic shows with dinner options. Book tickets in advance, especially for popular venues in Barrio de las Letras. Arrive early to get a good seat and soak in the atmosphere.
🚶
Wander Puerta del Sol, Plaza Mayor
Explore the heart of Madrid, bustling with activity. Puerta del Sol is kilometer zero for Spain’s roads, and Plaza Mayor offers stunning architecture. These areas are best explored on foot. Watch out for pickpockets in crowded areas, especially during peak tourist times.
🖼️
Visit Reina Sofía Museum
Home to Picasso's 'Guernica' and other 20th-century Spanish art, this museum offers a modern counterpoint to the Prado. Plan to spend 2-3 hours. Check their website for free entry hours, typically in the late afternoon. It's close to Atocha station.
mercado
Taste at Mercado de San Miguel
Savor gourmet Spanish food and drinks in this elegant, historic market near Plaza Mayor. It's a fantastic spot for a quick bite or a full meal, but can get very crowded. Go early in the morning or late afternoon for a more relaxed experience. Prices can be a bit higher here.

How long to visit Madrid?

3 to 7 days

For an independent traveler, 3-4 days in Madrid is ideal. This allows for exploring major museums like the Prado, Reina Sofía, and Thyssen-Bornemisza, enjoying the Retiro Park, and experiencing the city's vibrant nightlife and gastronomy. If you have less time, focus on one or two key areas; with more, consider a day trip to Toledo or Segovia.

Related searches

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

Other trips from Barcelona

Book now