The cheapest and fastest trains from Castelldefels to Madrid
Cheapest price
€39
Average price
€70
Fastest journey
2 h 51 m
Average duration
2 h 57 m
Trains per day
15
Distance
487 km
The best way to find a cheap train ticket from Castelldefels to Madrid is to book your journey as far in advance as possible and to avoid traveling at rush hour.
The average ticket from Castelldefels to Madrid will cost around €70 if you buy it on the day, but the cheapest tickets can be found for only €39.
Of the 15 trains that leave Castelldefels for Madrid on Tue, Aug 11, 15 travel direct so it’s quite easy to avoid journeys where you’ll have to change along the way.
On Tue, Aug 11 the direct trains cover the 487 km distance in an average of 2 h 57 m but if you time it right, some trains will get you there in just 2 h 51 m .
On Tue, Aug 11 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.
063604:25 PM2h51Camp de Tarragona7:16 PMMadrid-Puerta de Atocha-Almudena Grandes€391One-way0 transfers
061805:20 PM3h02Barcelona Sants8:22 PMMadrid-Puerta de Atocha-Almudena Grandes€481One-way0 transfers
063603:52 PM3h24Barcelona Sants7:16 PMMadrid-Puerta de Atocha-Almudena Grandes€511One-way0 transfers
061502:50 PM3h02Barcelona Sants5:52 PMMadrid-Puerta de Atocha-Almudena Grandes€521One-way0 transfers
060707:05 AM3h02Barcelona Sants10:07 AMMadrid-Puerta de Atocha-Almudena Grandes€581One-way0 transfers
063604:25 PM2h51Camp de Tarragona7:16 PMMadrid-Puerta de Atocha-Almudena Grandes€391One-way0 transfers
060808:23 AM2h52Camp de Tarragona11:15 AMMadrid-Puerta de Atocha-Almudena Grandes€1001One-way0 transfers
060129:19 AM2h57Camp de Tarragona12:16 PMMadrid-Puerta de Atocha-Almudena Grandes€821One-way0 transfers
061805:20 PM3h02Barcelona Sants8:22 PMMadrid-Puerta de Atocha-Almudena Grandes€481One-way0 transfers
065705:40 PM3h02Barcelona Sants8:42 PMMadrid-Puerta de Atocha-Almudena Grandes€591One-way0 transfers
Travel Information
Compare train, bus, and flight for Castelldefels to Madrid
Omio recommends booking the train as it is the most popular option from Castelldefels to Madrid among Omio's users. If you are prioritising price take the bus with prices starting from €22. For those with little time consider booking a flight which can get you there in 1h 30m. The ticket price range depends on the travel mode: a bus costs an average of €22, and a flight costs an average of €41.
Distance: 487 km
Compare train with
Most popular Train | Bus | Flight |
|---|---|---|
€39 Average price | €37 Average price Cheapest | €90 Average price |
3h 26m Average total duration 2h 56m Onboard + 30m Additional time* | 7h 30m Average total duration 7h 0m Onboard + 30m Additional time* | 4h 30m Average total duration Fastest 1h 30m Onboard + 3h 0m Additional time* |
![]() Most popular train company | ![]() Most popular bus company | ![]() Most popular airline |
Direct Options | Direct Options | Direct Options |
Live departures
Castelldefels to Madrid train times
The table below shows live departures for Castelldefels to Madrid trains for today, Monday, August 10. You can also manually refresh the results below to see updated train journeys.
| Provider | Departs | Duration | Arrives | Transfers | Tickets |
|---|---|---|---|---|---|
06500 | On time 10:40 AM Barcelona Sants | 3h17 | 1:57 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06500 | On time 10:40 AM Barcelona Sants | 3h17 | 1:57 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06110 | On time 10:45 AM Barcelona Sants | 3h04 | 1:49 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06110 | On time 10:45 AM Barcelona Sants | 3h04 | 1:49 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06020 | On time 11:18 AM Barcelona Sants | 3h24 | 2:42 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06020 | On time 11:18 AM Barcelona Sants | 3h24 | 2:42 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06020 | Delayed 9:51 AM 11:51 AMCamp de Tarragona | 2h51 | 2:42 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06020 | Delayed 9:51 AM 11:51 AMCamp de Tarragona | 2h51 | 2:42 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06320 | 12:14 PM Barcelona Sants | 3h02 | 3:16 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06014 | Delayed 1:13 PM Barcelona Sants | 3h24 | 2:37 PM 2:37 PMMadrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06014 | Delayed 1:13 PM Barcelona Sants | 3h24 | 2:37 PM 2:37 PMMadrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06014 | Delayed 11:46 AM 1:46 PMCamp de Tarragona | 2h51 | 2:37 PM 2:37 PMMadrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06014 | Delayed 11:46 AM 1:46 PMCamp de Tarragona | 2h51 | 2:37 PM 2:37 PMMadrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06540 | Delayed 1:50 PM Barcelona Sants | 3h02 | 2:52 PM 2:52 PMMadrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06540 | Delayed 1:50 PM Barcelona Sants | 3h02 | 2:52 PM 2:52 PMMadrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06150 | On time 2:50 PM Barcelona Sants | 3h02 | 5:52 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06150 | On time 2:50 PM Barcelona Sants | 3h02 | 5:52 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06360 | On time 3:52 PM Barcelona Sants | 3h24 | 7:16 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06360 | On time 3:52 PM Barcelona Sants | 3h24 | 7:16 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06360 | Delayed 2:25 PM 4:25 PMCamp de Tarragona | 2h51 | 7:16 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06360 | Delayed 2:25 PM 4:25 PMCamp de Tarragona | 2h51 | 7:16 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06180 | On time 5:20 PM Barcelona Sants | 3h02 | 8:22 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06180 | On time 5:20 PM Barcelona Sants | 3h02 | 8:22 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06570 | On time 5:40 PM Barcelona Sants | 3h02 | 8:42 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06570 | On time 5:40 PM Barcelona Sants | 3h02 | 8:42 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06190 | On time 6:53 PM Barcelona Sants | 3h17 | 10:10 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06190 | On time 6:53 PM Barcelona Sants | 3h17 | 10:10 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06610 | Delayed 8:20 PM Barcelona Sants | 3h28 | 9:48 PM 9:48 PMMadrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06610 | Delayed 8:20 PM Barcelona Sants | 3h28 | 9:48 PM 9:48 PMMadrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
| Tuesday, August 11 | |||||
06070 | 7:05 AM Barcelona Sants | 3h02 | 10:07 AM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06420 | 7:35 AM Barcelona Sants | 3h30 | 11:05 AM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06080 | 7:50 AM Barcelona Sants | 3h25 | 11:15 AM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06080 | 8:23 AM Camp de Tarragona | 2h52 | 11:15 AM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06012 | 8:45 AM Barcelona Sants | 3h31 | 12:16 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06012 | 9:19 AM Camp de Tarragona | 2h57 | 12:16 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
Find all the dates and times for this journey
Compare prices and tickets Castelldefels to Madrid 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.
Aug 11
Aug 12
Aug 13
Aug 14
Aug 15
Aug 16
Aug 17
Why should you book Castelldefels to Madrid trains with Omio?
Why book with Omio vs iryo?
- Compare with other providers: On Omio, you can not only buy tickets for iryo, but also compare tickets for the likes of SNCF OUIGO or Rodalies de Catalunya to find the best option for your trip from Castelldefels to Madrid.
- Designed for International Travelers: Omio is in your language including 24/7 customer service and offers multiple payment options, including PayPal, credit cards, and bank transfer, in your preferred currency.
- Compare all your options: Omio allows you to compare iryo with all available travel options, which are train, bus and flight to ensure you get the best deal for traveling from Castelldefels to Madrid.
Why book with Omio over Wanderu?
- Multiple modes of transport: Omio allows you to compare travel options including train, bus and flight to find the ideal travel option from Castelldefels to Madrid.
Journey information
Overview: Train from Castelldefels to Madrid
Trains from Castelldefels to Madrid run on average 18 times per day, taking around 2h 56m. Cheap train tickets for this journey start at €26 but you can travel from only €22 by bus.
There are 18 trains per day. The earliest train runs at 05:45, the last at 21:13. The fastest train covers the 487 km distance in 2h 37m.
Distance 487 km |
Average train duration 2h 56m |
Cheapest ticket price €26 |
Trains per day 18 |
Direct trains 18 |
Fastest train 2h 37m |
First train 5:45 AM |
Last train 9:13 PM |
Cheapest Month Nov |
Cheapest Day Tue |
High Season Jul - Sep |
Low Season Apr - Jun |
Busiest Day Fri |
Least Busy Day Sat |
Best time to book 49 days |
Train companies: iryo, SNCF OUIGO, Rodalies de Catalunya from Castelldefels to Madrid trainsiryo, SNCF OUIGO, Rodalies de Catalunya trains will get you between Castelldefels and Madrid from €22. With over 1000 travel companies on Omio, you can find the best train times and tickets for your trip.
iryo
SNCF OUIGO
Rodalies de Catalunya
FAQs: Trains from Castelldefels to Madrid
Find answers to the most common questions about traveling from Castelldefels to Madrid 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 Madrid, this guide helps you travel smarter and with confidence.

popular train stations
Popular train stations from Castelldefels to Madrid
Most Castelldefels to Madrid trains use the Barcelona Sants to Madrid-Puerta de Atocha-Almudena Grandes station pair. Use this guide to compare Castelldefels and Madrid train stations on this route, check city-centre transport, alongside checking practicalities like train station facilities and services.
Which Madrid station do trains from Castelldefels arrive at?
Getting to Madrid-Puerta de Atocha-Almudena Grandes from Madrid city centre
Madrid-Puerta de Atocha-Almudena Grandes is 1 km from Madrid city centre. Public transport options include:
Madrid-Puerta de Atocha-Almudena Grandes train station facilities and services
Madrid-Puerta de Atocha-Almudena Grandes has practical services for this route, including Wifi, Lockers, Parking, Dining, ATM, Taxis, Accessibility, WC, Hotel, Lost and Found Office, Ticket Office, Bike Parking, Bike Rental, Car Rental, and Information Desk.
Food and drink
Food options include: Passion Food, La Barrila, Enrique Tomás, Pic Nic, Foodissimo!, PureGusto, Burger King
Wi-Fi and ATMs
Free WiFi in the station and on all Renfe trains. ATMs are in various points at the station.
Tickets and information
The ticket office is open Mon - Sun: 10:00 - 20:00. Information desks are on the ground floor of the main concourse.
Luggage and lost property
Luggage storage is open daily from 05:30 to 22:00. Lost and found is available at the station.
Parking, taxis and toilets
Available at Madrid-Puerta de Atocha-Almudena Grandes: Parking, Taxis, WC.
Bike and car services
Available at Madrid-Puerta de Atocha-Almudena Grandes: Bike Parking, Bike Rental, Car Rental.
Accessibility
Accessibility facilities are available at Madrid-Puerta de Atocha-Almudena Grandes: Wheelchair parking, adapted elevators, adapted platforms, lobby shopping area.
Shops, hotels and contact
Nearby hotels include 60 Balconies Urban Stay, Only YOU Hotel Atocha, SLEEP’N Atocha.
Most popular train connections from Castelldefels
More options for your journey from Castelldefels to Madrid
Here are some other resources that might have the information you need


