The cheapest and fastest trains from Castelldefels to Madrid
Cheapest price
€76
Average price
€98
Fastest journey
3 h 2 m
Average duration
3 h 2 m
Trains per day
20
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 €98 if you buy it on the day, but the cheapest tickets can be found for only €76.
Of the 20 trains that leave Castelldefels for Madrid on Fri, Mar 27, 20 travel direct so it’s quite easy to avoid journeys where you’ll have to change along the way.
On Fri, Mar 27 the direct trains cover the 487 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 Fri, Mar 27 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
06200
06190
06060
06570
06200
06570
06070
06180
06150Travel 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 |
|---|---|
€44 Average price Cheapest | €91 Average price |
3h 20m Average total duration 2h 50m 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, Thursday, March 26. You can also manually refresh the results below to see updated train journeys.
| Provider | Departs | Duration | Arrives | Transfers | Tickets |
|---|---|---|---|---|---|
06060 | On time 4:45 AM Barcelona Sants | 3h17 | 8:02 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 | |
06016 | On time 7:45 AM Barcelona Sants | 3h17 | 11:02 AM 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:25 AM Barcelona Sants | 3h17 | 1:42 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:20 PM Barcelona Sants | 3h17 | 3:37 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:50 PM Barcelona Sants | 3h02 | 4:52 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:20 PM Barcelona Sants | 3h02 | 7:22 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 | |
06210 | On time 7:35 PM Barcelona Sants | 3h17 | 10:52 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.
Mar 27
Mar 28
Mar 29
Mar 30
Mar 31
Apr 01
Apr 02
Why should you book Castelldefels to Madrid trains with Omio?
Why book with Omio vs SNCF OUIGO?
- Compare with other providers: On Omio, you can not only buy tickets for SNCF OUIGO, but also compare tickets for the likes of iryo 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 SNCF OUIGO with all available travel options, which are train, bus and flight to ensure you get the best deal for traveling 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 50m. 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 50m |
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: SNCF OUIGO, iryo, Rodalies de Catalunya from Castelldefels to Madrid trainsSNCF OUIGO, 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
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
- 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

