Madrid to Barcelona train with Ouigo

Sun, Feb 08
+ Add return
Ouigo
iryo
AVE
Renfe AVLO
Renfe
1,000+ travel companies
Ouigo
iryo
AVE
Renfe AVLO
Renfe
1,000+ travel companies
QR-Code
Scan to get our free app
Use our app to get live travel updates and book mobile tickets for trains, buses, flights, and ferries.
App Store
rate4.9
42K ratings
Google Play
rate4.6
136K reviews

The cheapest and fastest trains from Madrid to Barcelona

Showing times and prices for Feb 08

Cheapest price

€28

Average price

€60

Fastest journey

3 h 2 m

Average duration

3 h 2 m

Trains per day

38

Distance

504 km

Cheap tickets

The best way to find a cheap train ticket from Madrid to Barcelona is to book your journey as far in advance as possible and to avoid traveling at rush hour.

The average ticket from Madrid to Barcelona will cost around €60 if you buy it on the day, but the cheapest tickets can be found for only €28.

Fast trains

Of the 38 trains that leave Madrid for Barcelona on Sun, Feb 08, 38 travel direct so it’s quite easy to avoid journeys where you’ll have to change along the way.

On Sun, Feb 08 the direct trains cover the 504 km distance in an average of 3 h 2 m but if you time it right, some trains will get you there in just 3 h 2 m .

On Sun, Feb 08 the slowest trains will take 3 h 2 m and usually involve a change or two along the way, but you might be able to save a few pennies if you’re on a budget.

Ouigo06471
06:22AM3h23
Madrid-Puerta de Atocha-Almudena Grandes
09:45AMBarcelona Sants
281One-way
0 transfers
AVE03301
06:27AM3h29
Madrid-Puerta de Atocha-Almudena Grandes
09:56AMBarcelona Sants
331One-way
0 transfers
Ouigo06501
09:31AM3h28
Madrid-Puerta de Atocha-Almudena Grandes
12:59PMBarcelona Sants
371One-way
0 transfers
Ouigo06541
01:42PM3h02
Madrid-Puerta de Atocha-Almudena Grandes
04:44PMBarcelona Sants
371One-way
0 transfers
AVE03083
08:27AM3h17
Madrid-Puerta de Atocha-Almudena Grandes
11:44AMBarcelona Sants
401One-way
0 transfers

Travel Information

Compare train, bus, and flight for Madrid to Barcelona

Omio recommends booking the train as it is the most popular option from Madrid to Barcelona among Omio's users. If you are prioritising price take the bus with prices starting from €15. For those with little time consider booking a flight which can get you there in 3h 6m. In case you are seeking to minimise your carbon footprint the train is your best bet as it emits only 0.2 - 0.5kg. The ticket price range depends on the travel mode: a bus costs an average of €15, and a flight costs an average of €28.

Distance: 504 km

Compare train with

Most popular
Train
Bus
Flight

€50

Average price

€40

Average price

Cheapest

€120

Average price

5h 22m

Average total duration

4h 52m

Onboard

+

30m

Additional time*

6h 40m

Average total duration

6h 10m

Onboard

+

30m

Additional time*

6h 6m

Average total duration

Fastest

3h 6m

Onboard

+

3h 0m

Additional time*

0.2 - 0.5kg

CO2 emissions

Lowest

0.5 - 1.3kg

CO2 emissions

1.5 - 3.0kg

CO2 emissions

iryo

Most popular train company

Alsa

Most popular bus company

Iberia

Most popular airline

Direct Options

Direct Options

Direct Options

Additional time: Average total travel duration to departure point, security checks and transfers.

Live departures

Madrid to Barcelona train times

The table below shows live departures for Madrid to Barcelona trains for today, Saturday, February 7. You can also manually refresh the results below to see updated train journeys.

Last updated at 2:47 PM
ProviderDepartsDurationArrivesTransfers
Tickets
RenfeAVE03163
On time
3:27 PM Madrid-Puerta de Atocha-Almudena Grandes
3h17
6:44 PM Barcelona Sants
0 transfersDirect
iryo06171
On time
4:22 PM Madrid-Puerta de Atocha-Almudena Grandes
3h20
7:42 PM Barcelona Sants
0 transfersDirect
RenfeAVE03373
On time
4:27 PM Madrid-Puerta de Atocha-Almudena Grandes
3h44
8:11 PM Barcelona Sants
0 transfersDirect
RenfeAVE03183
On time
5:27 PM Madrid-Puerta de Atocha-Almudena Grandes
3h22
8:49 PM Barcelona Sants
0 transfersDirect
iryo06181
On time
5:32 PM Madrid-Puerta de Atocha-Almudena Grandes
3h03
8:35 PM Barcelona Sants
0 transfersDirect
iryo06013
On time
6:29 PM Madrid-Puerta de Atocha-Almudena Grandes
3h17
9:46 PM Barcelona Sants
0 transfersDirect
RenfeAVE03309
On time
6:34 PM Madrid-Puerta de Atocha-Almudena Grandes
3h46
10:20 PM Barcelona Sants
0 transfersDirect
sncf-ouigo06415
On time
7:10 PM Madrid-Puerta de Atocha-Almudena Grandes
3h18
10:28 PM Barcelona Sants
0 transfersDirect
Sunday, February 8
sncf-ouigo06471
On time
5:22 AM Madrid-Puerta de Atocha-Almudena Grandes
3h23
8:45 AM Barcelona Sants
0 transfersDirect
RenfeAVE03301
On time
5:27 AM Madrid-Puerta de Atocha-Almudena Grandes
3h29
8:56 AM Barcelona Sants
0 transfersDirect
RenfeAVE03073
On time
6:27 AM Madrid-Puerta de Atocha-Almudena Grandes
3h44
10:11 AM Barcelona Sants
0 transfersDirect
iryo06081
On time
7:22 AM Madrid-Puerta de Atocha-Almudena Grandes
3h02
10:24 AM Barcelona Sants
0 transfersDirect
RenfeAVE03083
On time
7:27 AM Madrid-Puerta de Atocha-Almudena Grandes
3h17
10:44 AM Barcelona Sants
0 transfersDirect
iryo06281
On time
7:50 AM Madrid-Puerta de Atocha-Almudena Grandes
3h02
10:52 AM Barcelona Sants
0 transfersDirect
iryo06091
On time
8:22 AM Madrid-Puerta de Atocha-Almudena Grandes
3h17
11:39 AM Barcelona Sants
0 transfersDirect
RenfeAVE02561
On time
8:27 AM Madrid-Puerta de Atocha-Almudena Grandes
3h37
12:04 PM Barcelona Sants
0 transfersDirect
sncf-ouigo06501
On time
8:31 AM Madrid-Puerta de Atocha-Almudena Grandes
3h28
11:59 AM Barcelona Sants
0 transfersDirect
iryo06011
On time
8:57 AM Madrid-Puerta de Atocha-Almudena Grandes
3h17
12:14 PM Barcelona Sants
0 transfersDirect
RenfeAVE03303
On time
9:27 AM Madrid-Puerta de Atocha-Almudena Grandes
3h17
12:44 PM Barcelona Sants
0 transfersDirect
iryo06111
On time
10:22 AM Madrid-Puerta de Atocha-Almudena Grandes
3h17
1:39 PM Barcelona Sants
0 transfersDirect
RenfeAVE0311310:27 AM Madrid-Puerta de Atocha-Almudena Grandes
3h44
2:11 PM Barcelona Sants0 transfersDirect
iryo06121
On time
11:22 AM Madrid-Puerta de Atocha-Almudena Grandes
3h17
2:39 PM Barcelona Sants
0 transfersDirect
RenfeAVE02591
On time
11:27 AM Madrid-Puerta de Atocha-Almudena Grandes
3h42
3:09 PM Barcelona Sants
0 transfersDirect
RenfeAVE09725
On time
11:50 AM Madrid-Puerta de Atocha-Almudena Grandes
3h29
3:19 PM Barcelona Sants
0 transfersDirect
sncf-ouigo06541
On time
12:42 PM Madrid-Puerta de Atocha-Almudena Grandes
3h02
3:44 PM Barcelona Sants
0 transfersDirect
RenfeAVE03141
On time
12:57 PM Madrid-Puerta de Atocha-Almudena Grandes
3h02
3:59 PM Barcelona Sants
0 transfersDirect
iryo06141
On time
1:02 PM Madrid-Puerta de Atocha-Almudena Grandes
3h17
4:19 PM Barcelona Sants
0 transfersDirect
RenfeAVE03143
On time
1:27 PM Madrid-Puerta de Atocha-Almudena Grandes
3h22
4:49 PM Barcelona Sants
0 transfersDirect
iryo06021
On time
1:42 PM Madrid-Puerta de Atocha-Almudena Grandes
3h24
5:06 PM Barcelona Sants
0 transfersDirect
RenfeAVE033052:27 PM Madrid-Puerta de Atocha-Almudena Grandes
3h47
6:14 PM Barcelona Sants0 transfersDirect

Find all the dates and times for this journey

Compare prices and tickets Madrid to Barcelona by train, bus, or flight

Compare train, bus, and flight prices over the next three weeks. See the best deals at a glance, find the lowest fares, and choose the option that fits your budget.

Sat
Feb 07
Sun
Feb 08
Mon
Feb 09
Tue
Feb 10
Wed
Feb 11
Thu
Feb 12
Fri
Feb 13
Sat
Feb 14
Sun
Feb 15
Mon
Feb 16
Tue
Feb 17
Wed
Feb 18
Thu
Feb 19
Fri
Feb 20
Sat
Feb 21
Sun
Feb 22
Mon
Feb 23
Tue
Feb 24
Wed
Feb 25
Thu
Feb 26
Fri
Feb 27

How far in advance should I book train tickets from Madrid to Barcelona?

The best time to book your train from Madrid to Barcelona is 91 days before departure. See how prices for trains change on the Madrid to Barcelona route.
Prices are for one-way tickets for one passenger from Madrid to Barcelona per month. Insights are sourced from fares found by Omio users in the last 12 months. Current prices may differ as prices vary depending on the time of day, class or how far in advance you book your train from Madrid to Barcelona.

Journey information

Overview: Train from Madrid to Barcelona

SpainSpain
SpainSpain
Icon of train

Trains from Madrid to Barcelona run on average 37 times per day, taking around 4h 52m. Cheap train tickets for this journey start at €24 but you can travel from only €15 by bus.

There are 37 trains per day. The earliest train runs at 00:14, the last at 21:25. The fastest train covers the 504 km distance in 2h 37m.

Fares are the lowest economy prices found on Omio. Early booking often means lower prices. Prices change daily and are subject to availability. Discount cards, coach trips, and booking fees are not included.
Price information
Cheapest alternative travel mode
Bus from €15
Distance
504 km
Average train duration
4h 52m
Cheapest ticket price
€24
Trains per day
37
Direct trains
37
Fastest train
2h 37m
First train
00:14
Last train
21:25
Fares are the lowest economy prices found on Omio. Early booking often means lower prices. Prices change daily and are subject to availability. Discount cards, coach trips, and booking fees are not included.
Price information
Cheapest alternative travel mode
Bus from €15

Train companies: Ouigo, iryo, AVE, Renfe AVLO, Renfe, Renfe Viajeros from Madrid to Barcelona trainsOuigo, iryo, AVE, Renfe AVLO, Renfe, Renfe Viajeros trains will get you between Madrid and Barcelona from €15. With over 1000 travel companies on Omio, you can find the best train times and tickets for your trip.

iryo

About
iryo is a new brand from railway operator ILSA operating in Spain since 2022. iryo uses Frecciarossa 1000 trains which are modern, can travel at up to 360km/h and have a minimal environmental impact. iryo’s Frecciarossa trains have different classes, all of which come with free unlimited WiFi, power sockets, toilets and an onboard entertainment portal where you can watch films and TV series. The main classes are: Infinita Class, Singular Café Class, Singular Class, Inicial Class. These new trains take 2 hours and 30 minutes to travel between Madrid and Barcelona. They depart from Madrid Atocha and Barcelona Sants stations, and stop in Zaragoza along the way. iryo services also cover Madrid, Cuenca, Valencia, Alicante, Córdoba, Seville and Málaga.
Luggage & cancellation policy
Average Duration
2h 37m
Cheapest Price
€25
iryo frequency
12 a day
Luggage included
1 cabin bag (36x56x26cm) and 1 handbag (36x30x10cm)
Luggage storage
Overhead compartments and designated luggage areas
Cancellation Policy
According to fare conditions
Refund
Full refund provided
Amenities on board the train
Wifi
Food sold onboard
Restaurant car with Mediterranean cuisine, at-seat service in both classes
Seat reservation
Included in ticket price
Toilets
USB plugs
Accessibility
Wheelchair spaces and assistance available
Pets
Small pets in carriers allowed free. Large dogs need paid ticket
Quiet zone

AVE

About
Travel comfortably with AVE, Renfe’s high-speed trains. AVE connects major cities across Spain at speeds of up to 310 km/h (193 mph), offering a fast and smooth travel experience. Ticket options include Promo, Promo+, and Flexible fares to suit different budgets, along with discount cards such as the Gold Card and +Renfe Youth 50 Card for eligible travelers. AVE trains feature modern amenities including comfortable seating, Wi-Fi, power outlets, and onboard catering, making them a convenient and enjoyable way to travel across Spain.
Luggage & cancellation policy
Average Duration
2h 52m
Cheapest Price
€46
AVE frequency
17 a day
Luggage included
1 piece of hand luggage and 3 pieces of luggage free of charge
Luggage storage
Overhead racks, end of carriages, and designated areas between seats
Cancellation Policy
Refund conditions depend on ticket type
Refund
Full refund if train is canceled
Amenities on board the train
Wifi
Food sold onboard
Cafeteria car with hot and cold meals, snacks, and beverages. At-seat service in Preferente (First) Class
Seat reservation
Included in ticket price for all classes
Toilets
USB plugs
Accessibility
Wheelchair spaces, accessible toilets, and assistance services available
Pets
Small pets under 10kg in carriers allowed free. Larger dogs require paid ticket and muzzle. Guide dogs free.
Quiet zone

Renfe

About
Renfe is Spain’s national train company operating freight and passenger on Spain’s extensive railway network as well as international routes to neighboring France and Portugal. Renfe has a wide range of ticket types to fit your budget like the Basic, Elige and Premium tickets. Renfe also offers discount cards like the Renfe Gold Card and +Renfe Youth Card 50 for qualified travelers. The Renfe AVE trains run at high speed and serve long-distance routes, Alvia trains combine high-speed and normal speed trains serving domestic routes, Altaria serves domestic routes into southern Spain, Euromed offers domestic routes along the Mediterranean coast, Avant trains serve regional commuter routes and Trenhotel offers night train routes.
Luggage & cancellation policy
Average Duration
9h 8m
Cheapest Price
€43
Renfe frequency
1 a day
Luggage included
One piece of hand luggage and up to three suitcases free of charge
Luggage storage
Overhead racks, luggage areas at the end of carriages, and spaces between seats
Cancellation Policy
Cancellation possible according to ticket conditions
Refund
Full refund provided for canceled trains
Amenities on board the train
Wifi
Food sold onboard
Restaurant car (cafeteria) available on most long-distance trains serving hot and cold meals, snacks, and beverages. First class passengers receive at-seat service
Seat reservation
Optional seat reservation. Included in some ticket types, additional fee for others. Recommended during peak travel times
Toilets
USB plugs
Accessibility
Wheelchair spaces, accessible toilets, and assistance services available for passengers with reduced mobility
Pets
Small pets in carriers travel free. Dogs must be leashed and muzzled, require paid ticket. Guide dogs travel free
Quiet zone

Ouigo

About
SNCF OUIGO is a low-cost train service launched in 2013 by SNCF, the French national railway company. It offers budget-friendly travel on both high-speed (Ouigo Grande Vitesse) and conventional (Ouigo Vitesse Classique) lines in France, and also to Belgium and Spain. OUIGO trains are characterized by a \no-frills\" approach, featuring a single class of seating and minimal onboard amenities to keep ticket prices low. While the high-speed services utilize specially reconfigured TGV trains, Ouigo Vitesse Classique uses older locomotive-hauled rolling stock for even cheaper fares on slower routes."
Luggage & cancellation policy
Average Duration
2h 30m
Cheapest Price
€22
Ouigo frequency
10 a day
Luggage included
1 cabin bag (max 36x27x15cm) and 1 small bag included
Luggage storage
Overhead racks and designated areas at end of carriages
Cancellation Policy
According to fare conditions
Refund
Full refund if train is canceled by OUIGO
Amenities on board the train
Wifi
Food sold onboard
Cafe bar serving hot and cold drinks, snacks, sandwiches. First Class at-seat service on some routes
Seat reservation
Seat reservation mandatory and included in ticket price
Toilets
USB plugs
Accessibility
Wheelchair spaces and assistance available for passengers with reduced mobility
Pets
Small pets in carriers (max 45x30x25cm) for €5. Large dogs not allowed except guide dogs

Renfe AVLO

About
Renfe Avlo is Spain’s low-cost high-speed rail service operated by the national rail company Renfe. Serving routes between major cities such as Madrid, Zaragoza, Barcelona, Valencia, Tarragona, Girona, and Figueres, Avlo trains reach speeds of up to 186 mph (300 km/h). All tickets are for Economy Class (“Básica”) with assigned seating and include onboard services such as free Wi-Fi, entertainment via the PlayRenfe app, power sockets, and vending machines. Child tickets are available for ages 0–13, while passengers aged 14 and over require an adult ticket. Each fare includes a backpack and hand luggage (55x35x25 cm, no weight limit), with the option to upgrade for extra baggage. Prices start from as low as €7, making Avlo a budget-friendly way to travel between Spain’s most popular destinations.
Luggage & cancellation policy
Average Duration
3h 4m
Cheapest Price
€27
Renfe AVLO frequency
4 a day
Luggage included
1 cabin bag (55x35x25cm) and 1 personal item (35x30x20cm)
Luggage storage
Overhead racks and spaces between seats
Cancellation Policy
According to fare conditions
Refund
Full refund if train is canceled
Amenities on board the train
Wifi
Food sold onboard
Cafe bar serving hot and cold drinks, snacks, sandwiches. First Class at-seat service on some routes
Seat reservation
Seat reservation included in ticket price
Toilets
USB plugs
Accessibility
Wheelchair spaces and assistance available
Pets
Small pets in carriers under 10kg allowed free. Service animals allowed

Renfe Viajeros

Luggage & cancellation policy
Average Duration
2h 30m
Cheapest Price
€50
Renfe Viajeros frequency
3 a day

Trains from Madrid to Barcelona

RENFE Spain operate AVE high-speed trains from Madrid to Barcelona seven days a week. This direct route takes around 2.5 hours. The first departure is just before 6:00 a.m., with trains then leaving roughly half-hourly until 8:00 p.m.

Return journeys for trains from Madrid to Barcelona are also available.

Trains from Madrid to Barcelona; not what you were looking for?

Here are some pages that might be more in line with the information you need:

Trains from Madrid to Barcelona: Departing

Madrid Puerta de Atocha Station is centrally located within easy walking distance of the historic Madrid centre and its major art galleries. This attractive old station, with its soaring façade, contains a tropical garden and a pond full of terrapins. Madrid has one of the best public transport systems in the world and the second largest Underground network after London, so getting around the city by Metro, bus or Cercania train is easy. Puerta de Atocha is on Line 1 of the Metro and well served by local buses and taxis. Night buses, known as Búhos (owls), run every twenty minutes.

Trains from Madrid to Barcelona: Arriving

Trains from Madrid to Barcelona arrive at Barcelona Sants Station, which is to the South-West of the city and a ten-minute Metro ride on Lines 5 or 3 into the historic centre. Barcelona has an efficient and well-integrated transport system, with tickets that cover trains, buses and Metros. There is a night bus service and taxi ranks are located outside Sants Station.

Barcelona with its distinct barrios is full of history, architecture and culture, as well as having a lively night-life. The stunning architecture of Gaudí can be seen around the town, while The Rambla, a famous thoroughfare, is the place to meet and enjoy a drink with friends, or simply to sit and watch the world go by.

FAQs: Trains from Madrid to Barcelona

Find answers to the most common questions about traveling from Madrid to Barcelona by train. From journey times and ticket prices to direct connections, first and last departures, and even whether the route is scenic, our FAQs cover everything you need to plan your trip. Whether you’re looking for the fastest train, the cheapest option, or tips for making the most of your visit at Barcelona, this guide helps you travel smarter and with confidence.

FAQs
Cheap train tickets from Madrid to Barcelona can start from as little as €24 when you book in advance. The average train ticket price for Madrid to Barcelona is €50; however, prices vary depending on the time of day and class and they tend to be more expensive on the day.
The average journey time by train from Madrid to Barcelona is 2h 37m to travel the 504 km long route. Journey times can vary on weekends and holidays, so use our Journey Planner to search for a specific date.
The earliest train from Madrid to Barcelona leaves at 12:14 AM. Plan your trip with the Journey Planner   from Omio.
The latest train from Madrid to Barcelona leaves at 9:25 PM.
Yes,there are 37 direct trains a day from Madrid to Barcelona with Ouigo, iryo, AVE, Renfe AVLO, Renfe, Renfe Viajeros, Ouigo. Schedules can vary on holidays or weekends with fewer direct trains.
Yes, there's a high-speed train to Barcelona. Take the fast train with Ouigo, iryo from Madrid to Barcelona.
When taking a train from Madrid to Barcelona, you can count on Ouigo, iryo, AVE, Renfe AVLO, Renfe, Renfe Viajeros, Ouigo for the best way to get you to Barcelona. You can also check all possible train companies who offer a service between Madrid and Barcelona and compare the amenities they offer before buying a train ticket.
A trip to Barcelona from Madrid is worth doing but not as a day trip with a journey time of 2h 37m each way. Check with Omio app the best way to travel.
The cheapest month for a train from Madrid to Barcelona is July.
It's helpful to compare your options as there are 3 ways to travel between Madrid and Barcelona including taking a train, bus, and flight.

popular train stations

Popular train stations from Madrid to Barcelona

Madrid
Barcelona
The major train station for departures in Madrid is Madrid-Puerta de Atocha-Almudena Grandes. Find all the information you need to know about services, amenities and connections at Madrid-Puerta de Atocha-Almudena Grandes for your trip from Madrid to Barcelona.
Amenities at train station
WifiWifi
LockersLockers
ParkingParking
DiningDining
ATMATM
TaxisTaxis
AccessibilityAccessibility
WCWC
HotelHotel
Lost and Found OfficeLost and Found Office
Ticket OfficeTicket Office
Bike ParkingBike Parking
Bike RentalBike Rental
Car RentalCar Rental
Information DeskInformation Desk
information
phone
Phone Number
ticketOfficeHours
Ticket Office Hours
  • Mon - Sun: 10:00 - 20:00
ticketOfficeHours
Distance to city center
1 km
Wifi
Wifi
  • Free WiFi in the station and on all Renfe trains.
Lockers
Lockers
  • Open daily from 05:30 to 22:00.
Dining
Dining
  • Passion Food
  • La Barrila
  • Enrique Tomás
  • Pic Nic
  • Foodissimo!
  • PureGusto
  • Burger King
Accessibility
Accessibility
  • Wheelchair parking, adapted elevators, adapted platforms, lobby shopping area.
Hotel
Hotel
  • 60 Balconies Urban Stay
  • Only YOU Hotel Atocha
  • SLEEP’N Atocha
Ticket Office
Ticket Office
  • Mon - Sun: 10:00 - 20:00
Information Desk
Information Desk
  • On the ground floor of the main concourse.
Public transit options for Madrid-Puerta de Atocha-Almudena Grandes
  • Metro lines: 1
  • Bus lines: 10, 14, 24, 26, 32, 37, 54, 57, 59, 85, 86, 102, 121, 203
  • Train lines: C1, C2, C3, C4, C5, C7, C8, C10
Amenities at train station
ParkingParking
DiningDining
ATMATM
TaxisTaxis
AccessibilityAccessibility
WCWC
HotelHotel
Lost and Found OfficeLost and Found Office
Ticket OfficeTicket Office
Bike ParkingBike Parking
Bike RentalBike Rental
Car RentalCar Rental
Information DeskInformation Desk
information
ticketOfficeHours
Distance to city center
6 km

The Omio App Makes Travel Planning Easy

We’ll get you where you want to go. From live train updates to mobile tickets, our innovative app is the ideal way to plan and keep track of your travel.

ios-badge
android-badge
Hand With Phone