The cheapest and fastest trains from Castelldefels to Madrid
Cheapest price
€26
Average price
€42
Fastest journey
2 h 52 m
Average duration
3 h
Trains per day
19
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 €42 if you buy it on the day, but the cheapest tickets can be found for only €26.
Of the 19 trains that leave Castelldefels for Madrid on Sat, Feb 07, 19 travel direct so it’s quite easy to avoid journeys where you’ll have to change along the way.
On Sat, Feb 07 the direct trains cover the 487 km distance in an average of 3 h but if you time it right, some trains will get you there in just 2 h 52 m .
On Sat, Feb 07 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.
06610
06570
06540
06130
06180
06470
06570
06540
06180
06200Travel 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 train with prices starting from €25. 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 train costs an average of €25, and a flight costs an average of €43.
Distance: 487 km
Compare train with
Most popular Train | Flight |
|---|---|
€47 Average price Cheapest | €90 Average price |
3h 15m Average total duration 2h 45m Onboard + 30m Additional time* | 4h 30m Average total duration Fastest 1h 30m Onboard + 3h 0m Additional time* |
![]() Most popular train company | ![]() Most popular airline |
Direct Options | Direct Options |
Live departures
Castelldefels to Madrid train times
The table below shows live departures for Castelldefels to Madrid trains for tomorrow, Saturday, February 7. You can also manually refresh the results below to see updated train journeys.
| Provider | Departs | Duration | Arrives | Transfers | Tickets |
|---|---|---|---|---|---|
06470 | 5:25 AM Barcelona Sants | 2h52 | 8:17 AM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06070 | On time 6:05 AM Barcelona Sants | 3h02 | 9:07 AM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06410 | On time 6:35 AM Barcelona Sants | 3h30 | 10:05 AM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06080 | On time 6:50 AM Barcelona Sants | 3h17 | 10:07 AM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06010 | On time 8:50 AM Barcelona Sants | 3h17 | 12:07 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06500 | On time 9:40 AM Barcelona Sants | 3h17 | 12:57 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06110 | On time 9:45 AM Barcelona Sants | 3h04 | 12:49 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06020 | On time 10:50 AM Barcelona Sants | 3h17 | 2:07 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06320 | On time 11:14 AM Barcelona Sants | 3h02 | 2:16 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06130 | On time 12:06 PM Barcelona Sants | 3h17 | 3:23 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06014 | On time 12:45 PM Barcelona Sants | 3h17 | 4:02 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06540 | On time 12:50 PM Barcelona Sants | 3h02 | 3:52 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06150 | On time 1:55 PM Barcelona Sants | 3h02 | 4:57 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06160 | On time 2:55 PM Barcelona Sants | 3h17 | 6:12 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06180 | On time 4:35 PM Barcelona Sants | 3h02 | 7:37 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06570 | On time 4:40 PM Barcelona Sants | 3h02 | 7:42 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06190 | On time 5:53 PM Barcelona Sants | 3h17 | 9:10 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06200 | On time 6:40 PM Barcelona Sants | 3h02 | 9:42 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06610 | On time 7:20 PM Barcelona Sants | 3h28 | 10:48 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
This is the last train of the day. | |||||
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.
Feb 07
Feb 08
Feb 09
Feb 10
Feb 11
Feb 12
Feb 13
Journey information
Overview: Train from Castelldefels to Madrid
Trains from Castelldefels to Madrid run on average 18 times per day, taking around 2h 45m. Cheap train tickets for this journey start at €25 if you book in advance.
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 45m |
Cheapest ticket price €25 |
Trains per day 18 |
Direct trains 18 |
Fastest train 2h 37m |
First train 05:45 |
Last train 21:13 |
Train companies: Ouigo, iryo, Rodalies de Catalunya from Castelldefels to Madrid trainsOuigo, iryo, Rodalies de Catalunya trains will get you between Castelldefels and Madrid from €25. With over 1000 travel companies on Omio, you can find the best train times and tickets for your trip.
iryo
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
- Mon - Sun: 10:00 - 20:00
- Free WiFi in the station and on all Renfe trains.
- Open daily from 05:30 to 22:00.
- Passion Food
- La Barrila
- Enrique Tomás
- Pic Nic
- Foodissimo!
- PureGusto
- Burger King
- Wheelchair parking, adapted elevators, adapted platforms, lobby shopping area.
- 60 Balconies Urban Stay
- Only YOU Hotel Atocha
- SLEEP’N Atocha
- Mon - Sun: 10:00 - 20:00
- On the ground floor of the main concourse.
- 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
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

