Trains to Barcelona Trains to Barcelona

Madrid to Barcelona by train

Traveling between Madrid and Barcelona by train is the most efficient and comfortable option. The distance between the two cities is 312 miles (504 km), and high-speed trains typically take around 2 hours and 29 minutes to 2 hours and 52 minutes to complete the journey, with up to 58 direct high-speed trains operating daily. Whether you’re looking for budget-friendly options or premium services, there’s something for everyone.

Traveling by train from Madrid to Barcelona is a popular option, handling three-quarters of all journeys between the two cities.

Introduction to Train Travel

Traveling by train is one of the best ways to discover Spain, offering a blend of speed, comfort, and convenience that appeals to both visitors and locals alike. The country’s high speed train network is renowned for connecting popular destinations such as Madrid and Barcelona with ease, making it simple to plan your journey between these vibrant cities. With frequent direct trains and a wide range of cheap train tickets available, you can enjoy a smooth and efficient train journey without the stress of airport lines or traffic delays.

The high speed Madrid to Barcelona route is especially popular, whisking passengers between city centers in as little as 2 hours and 30 minutes. Whether you’re traveling for business or leisure, you’ll appreciate the comfortable seating, free onboard services, and the ability to relax or work as you travel. Train schedules are designed to offer flexibility throughout the day, so you can choose the departure time that best fits your plans.

Upon arrival, the Barcelona train experience continues at Barcelona Sants station—a major hub in Spain’s rail network. Here, you’ll find a variety of services to make your trip even more enjoyable, from hot and cold drinks at station cafés to up-to-date train schedule displays and spacious waiting areas with comfortable seating. With its modern amenities and central location, Barcelona Sants ensures your journey ends as smoothly as it began.

Whether you’re a first-time visitor or a seasoned traveler, taking the train from Madrid to Barcelona is a fast, reliable, and enjoyable way to experience two of Spain’s most exciting cities.

Key Highlights:

  • First Train / Last Train: The first direct train typically leaves Madrid around 05:50–06:00 on weekdays (around 06:20 on weekends), and the last train departs around 9 PM.

  • Journey Times: Fastest high-speed trains take around 2h 29min to 2h 52min between Madrid and Barcelona Sants.

  • Frequency: There are approximately 35 trains per day traveling from Madrid to Barcelona.

  • Ticket Prices: Train tickets can start from as little as €23.70 if booked in advance, with the average ticket price around €66 if purchased on the day of travel.

  • Convenience: City-center stations, no airport security lines, and punctuality rates of 95–99%.

  • Operators: Choose from AVE (premium), Avlo (budget), Ouigo (budget), and Iryo (business-focused).

Quick Comparison of Train Operators:

All these operators provide high speed services between Madrid and Barcelona. Avlo and Ouigo are considered low cost options.

Feature

AVE (Renfe)

Avlo (Renfe)

Ouigo (French)

Iryo (Private)

Price

From $19.95¹

From $8.20¹

From $10.50¹ (as low as €9)

From $12¹

WiFi

Free, slow

Free WiFi and power outlets

Free, slow

Free, 5G-ready

Bar Car

Yes

No (vending machines for snacks and drinks)

Yes

Yes

Extra Luggage

Free

$11.70/item

$5.85/item

Varies by class

Travel Time

~2.5 hours

~2.5 hours

~2.5 hours

~2.5 hours

¹ Price listed is for an adult ticket; child and discounted fares may vary.

Notes:

  • Avlo trains are Spain’s low-cost high-speed rail service operated by Renfe, offering free WiFi, power outlets, and vending machines for snacks and drinks (no onboard dining service).

  • OUIGO offers low-cost train services from Madrid to Barcelona, with prices starting as low as €9.

Money-Saving Tips:

  • Book Early: Prices for high-speed train tickets increase significantly as the departure date approaches. For the best fares, book your tickets 7 to 30 days in advance. Tickets booked 30 days ahead average around $73, with promotional prices as low as $12 to $35.

  • Round-Trip Discount: Save up to 20% by booking round-trip tickets.

  • Travel Off-Peak: Mondays and late evenings often have lower fares.

  • Discounts: Seniors (60+) and children can enjoy reduced fares.

  • Extra Fees: You may need to pay extra for ticket changes, baggage, or additional services, especially on low-cost operators.

Train travel offers comfort, speed, and affordability. Whether for business or leisure, it’s the best way to travel between Spain’s two largest cities.

Train types and services

Madrid–Barcelona is served by four train operators—AVE, Iryo, Ouigo, and Avlo—all providing high speed services with fast travel times and modern amenities. Direct trains from Madrid to Barcelona are available multiple times a day, making it easy to find a suitable train time for your journey start. Train tickets for direct high speed services usually cost more than stopping services, which take longer but can be more economical. Here’s a breakdown of what you can expect from each option.

AVE Trains

Renfe’s AVE trains are the high-speed, top-tier choice, capable of reaching speeds up to 192 mph (310 km/h). The fastest way to travel from Madrid to Barcelona is by taking the AVE high-speed train, which can get you to your destination in just under 3 hours. They provide a full-service experience with two seating options: standard and comfort class. Standard class fares start at $19.95 for an adult ticket, while comfort class begins at $79.60. Discounts may be available for children or seniors.

Other Train Options

  • Avlo (Renfe’s budget option): Avlo trains are Spain’s low-cost high-speed rail service operated by Renfe, connecting major cities like Madrid and Barcelona. Tickets start at $8.20. Avlo trains are known for their affordability and efficient travel, offering basic amenities, vending machines instead of a bar car, and charging $11.70 per piece for extra luggage. Class upgrades are not available.

  • Ouigo (French operator): OUIGO is a low-cost operator with prices starting at $10.50. OUIGO trains feature an onboard entertainment platform called OUIFUN, which includes films, series, and games. Passengers are allowed one piece of hand baggage and one piece of cabin baggage (with specific size limits), and pets up to 10 kg are permitted if in a carrier. There is also a cafeteria service offering a variety of food and drinks. Additional luggage can be brought for a low fee of $5.85. Ouigo trains operate at about 90% occupancy.

  • Iryo (Private operator): Iryo is a high-speed operator known for modern trains and competitive prices, with tickets starting at $12. Iryo operates high-speed trains between Madrid and Barcelona using modern Frecciarossa 1000 trains capable of speeds up to 360 km/h. This service is tailored for business travelers, offering premium amenities and free suburban train connections.

  • Regional Express: For a slower, more economical option, this train has a fixed fare of approximately $50.30. However, the journey takes around 9 hours and 13 minutes.

Currently, there is no night train service between Madrid and Barcelona.

What’s on board

High-speed trains on this route come with a variety of onboard features. The table below compares what each operator offers:

Feature

AVE

Avlo

Ouigo

Iryo

WiFi

Free, slow

Free, slow

Free, slow

Free, slow – 5G ready

Bar Car

Yes

No (no onboard dining service, but vending machines for snacks and drinks)

Yes

Yes

In-seat Service

Yes

No

Yes

Yes, enhanced in first class

Electric Sockets

Yes

Yes

Yes

Yes

First Class

Yes

No

No

Yes

Hand Baggage / Hand Luggage

Included (check weight limit)

Included (check weight limit)

One piece of hand baggage and one piece of cabin baggage included, with specific size and weight limits

Included (check weight limit)

Entertainment

Limited

Limited

OUIFUN platform: watch films, series, documentaries, and play video games (video entertainment)

Limited

Hand luggage is included in the ticket price for most operators, but travelers should check the weight limit and size restrictions for each service to ensure compliance.

How to Buy Tickets

Ticket Purchase Options

You can book your tickets through the official Renfe website, their mobile app, or third-party platforms like Omio. For international travelers, Omio is a convenient option since it supports English and accepts foreign credit cards.

When booking with Renfe, you’ll find these ticket types (prices listed are for an adult ticket; child and senior discounts may apply):

  • Promo: Lowest price, non-refundable.

  • Promo+: Offers partial refunds, providing some flexibility.

  • Flexible: Fully changeable and cancellable.

  • Round-trip: About 20% cheaper than booking two one-way tickets.

Best Time to Book

For the best prices, aim to book 91 days in advance. Timing your purchase is key to saving even more. If you wait until closer to the departure date, you may have to pay higher prices for your ticket.

Day of Week

Price Impact

Monday

11% cheaper than average

Friday

10% more expensive than average

Average Fare

$42 (€37)

Lowest Fare

Starting at $12 (€10)

Special deals often pop up 40 days before departure, and about 25% of round-trip tickets are priced at $38 or less.

Money-Saving Tips

Rail Passes: If you’re traveling extensively, Eurail passes are valid for this route. Be sure to reserve seats early to avoid extra fees, which range from $10–20 for second class to around $35 for first class (includes a meal).

Special Discounts:

  • Seniors (60+): Get a Tarjeta Dorada for about $7 (€6) in Spain to unlock big discounts.

  • Children: Kids under 3 travel free, while older children enjoy reduced fares, typically around $8 (€7).

  • OUIGO Plus: For an extra $10 (€9), you get XL seats and more luggage allowance.

Strategic Booking:

  • To find the cheapest train ticket, search in advance—fares for the Madrid to Barcelona route can start from as low as €22.

  • Consider low cost operators like OUIGO or AVLO for the most affordable fares. OUIGO tickets start at $10 (€9), while AVLO tickets begin at $20. With these low cost services, you may need to pay extra for additional services or luggage, so check what’s included before booking your train ticket.

  • Early morning or late evening departures often come with reduced fares.

  • Compare one-way and round-trip options to find the best value.

Station and Trip Guide

Madrid Atocha Basics

Madrid Atocha is divided into three main areas: the historic trainshed with a tropical garden, the high-speed terminal, and the underground Cercanias platforms.

Plan to arrive at least 30 minutes before your train departs (or 45 minutes if you need to buy a ticket). Knowing your departure time is crucial for a smooth journey start, as it helps you organize your arrival and ensures you have enough time for security checks and finding your departure hall. Look for screens labeled “Planta Baja” (ground floor) or “Planta Primera” (first floor) to locate your train. If you have a Renfe Premium ticket, you can enjoy the Sala Club lounge up to 90 minutes before departure. Plus, you can take advantage of free Cercanias travel within 4 hours of your arrival or 3 hours before your departure. Luggage storage services are also conveniently located nearby.

Once you’re settled on the train, relax and enjoy the modern amenities designed for a comfortable journey.

During Your Trip

Each train operator offers a slightly different experience:

Operator

Amenities

Food & Beverage

Renfe AVE

WiFi, power outlets, Standard and Comfort classes

Cafe-bar; Premium includes meal and wine

Iryo

WiFi, power outlets, multiple class options

Cafe-bar; Infinita Bistro meal option

Ouigo

WiFi, power outlets, XL seating option

Cafe-bar available

Avlo

WiFi, power outlets

Vending machines only

All trains are air-conditioned, and you’re welcome to bring your own food and drinks.

During your journey from Madrid to Barcelona by train, you’ll pass through notable stops such as Camp de Tarragona, a significant station along the high-speed route. Travelers can enjoy scenic views of the Spanish countryside, including rolling hills and charming villages, and as the train approaches Barcelona, expect glimpses of the Mediterranean Sea.

Passengers can bring a dog on certain train services, subject to specific policies, size and weight restrictions, and the need to reserve a pet ticket in advance.

Once your trip ends, you’ll arrive at Barcelona Sants, ready to continue your journey.

Barcelona Sants Basics

Arriving at Barcelona Sants is straightforward, making it easy to transition to your next destination.

The station operates daily from early morning until midnight and is designed for efficiency. You can access platforms via elevators, stairs, or escalators from the main concourse. Metro connections are available directly at “Sants Estació” for Lines L3 (green) and L5 (blue). Taxis are available at both station entrances, and several bus lines serve the area. The station also offers WiFi, luggage storage, tourist services, and information desks. For suburban trains, platform details are shown shortly before departure.

After arriving, take advantage of the convenient transport links to visit popular Barcelona attractions such as La Sagrada Família, the Gothic Quarter, or the vibrant Eixample neighborhood.

With these amenities and connections, Barcelona Sants ensures a smooth travel experience.

Travel preparation

Luggage rules

Baggage policies vary depending on the train operator, so it’s important to know the rules before you pack. Here’s a quick breakdown of the major operators’ policies, including hand baggage, hand luggage, and weight limit details:

Operator

Baggage Policy

Extra Fees

Renfe AVE

No extra cost for suitcases/backpacks; hand luggage included with no strict weight limit

None

Iryo

1 small bag (hand baggage) + 1 cabin-size bag (hand luggage) in Inicial class; size and weight limits apply

Varies by class

Ouigo

1 piece of hand baggage (max 36x27x15 cm) and 1 cabin baggage (max 55x35x25 cm), total weight limit 30kg; exceeding weight limit may incur extra charges

€5 per additional suitcase/backpack

Avlo

Strict size and weight restrictions for hand luggage and hand baggage; exceeding the weight limit may result in a €30 fee

€10 per suitcase/backpack; €30 fee for oversized or overweight items

Keep in mind that all stations require baggage to go through X-ray screening before you can enter the departure area. If you’re traveling with Avlo, be extra cautious about bag dimensions and weight limit for hand luggage and hand baggage – going over the size or weight limit, even slightly, could result in a €30 fee. Once you’ve got your luggage sorted, you’re ready to enjoy the trip.

Using train services

Most high-speed trains are equipped with power outlets and free WiFi, making it easy to stay connected. On certain trains, such as OUIGO, passengers can enjoy onboard entertainment through the OUIFUN platform, where you can watch films, series, documentaries, and even access video games and other video content during your journey. To make the most of these amenities, download any necessary files or media before boarding, carry a fully charged power bank, and pack your own snacks and drinks. Double-check the onboard WiFi availability to avoid interruptions. These small steps can help ensure a smooth and enjoyable journey.

Things to do onboard

The 2-hour 45-minute journey offers plenty of opportunities to either work or relax. Use the onboard tables and power outlets to stay productive or enjoy your downloaded content. Passengers can also watch films and videos as part of the onboard entertainment options, making the trip more enjoyable. The spacious and comfortable seating on high-speed trains makes it easy to settle in and make the ride your own, whether you’re catching up on emails or just unwinding.

Conclusion

Key Points

The Madrid–Barcelona train route stands out for its speed and reliability. Covering 504 km (312 miles), the trip takes an average of 2 hours and 47 minutes, with up to 58 direct high-speed trains operating daily, including frequent departures throughout the day. For the most accurate planning, always check train times for real-time schedules, departure and arrival times, and journey durations.

Feature

Details

Journey Time

As quick as 2h 30min on high-speed trains

Daily Frequency

Up to 58 direct high-speed trains

Operating Hours

5:40 AM – 9:25 PM

Next Steps

Ready to plan your trip? Here’s how to make it happen:

  • Compare operators: Look into travel options like AVE, Ouigo, Renfe AVLO, and iryo. Train tickets start at around $12 (€10).

  • Book early: Reserve your train ticket up to 91 days in advance for the best prices.

  • Pick your stations: Double-check your departure (Madrid-Puerta de Atocha-Almudena Grandes or Madrid Chamartín) and arrival stations (Barcelona Sants, Passeig de Gràcia, or Barcelona Estació de França).

  • Arrive early: Get to the station at least an hour before departure to allow time for security checks.

  • Check extra fees: Be aware that you may need to pay additional fees for services like ticket modifications, extra baggage, or seat selection.

Find the travel option and train ticket that meets your needs and budget, and enjoy the journey!