The cheapest and fastest trains from Castelldefels to Madrid
- Cheapest price on Nov 09
- €27
- Average ticket price on Nov 09
- €36
- Fastest journey on Nov 09
- 3 h 3 m
- Average journey duration on Nov 09
- 3 h 16 m
- Trains on Nov 09
- 4
- 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 €36 if you buy it on the day, but the cheapest tickets can be found for only €27.
On Mon, Nov 09, we found 4 trains from Castelldefels to Madrid, including 4 direct services.
On Mon, Nov 09 the direct trains cover the 487 km distance in an average of 3 h 16 m but if you time it right, some trains will get you there in just 3 h 3 m .
On Mon, Nov 09 the slowest trains will take 3 h 28 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.

7:20 PM 3h28 Castelldefels 10:48 PM Madrid €27 1 One-way 0 transfers
2:55 PM 3h17 Castelldefels 6:12 PM Madrid €31 1 One-way 0 transfers
7:40 PM 3h03 Castelldefels 10:43 PM Madrid €35 1 One-way 0 transfers
3:45 AM 3h17 Castelldefels 7:02 AM Madrid €52 1 One-way 0 transfers

7:40 PM 3h03 Castelldefels 10:43 PM Madrid €35 1 One-way 0 transfers
2:55 PM 3h17 Castelldefels 6:12 PM Madrid €31 1 One-way 0 transfers
3:45 AM 3h17 Castelldefels 7:02 AM Madrid €52 1 One-way 0 transfers
7:20 PM 3h28 Castelldefels 10:48 PM Madrid €27 1 One-way 0 transfers
Journey information
Overview: Train from Castelldefels to Madrid
Trains from Castelldefels to Madrid run on average 20 times per day, taking around 3h 8m. Cheap train tickets for this journey start at €25 but you can travel from only €17 by bus.
There are 20 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 3h 8m |
Cheapest ticket price €25 |
Trains per day 20 |
Direct trains 20 |
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 Jan - Mar |
Busiest Day Tue |
Least Busy Day Mon |
Best time to book 1 day |
Live departures
Castelldefels to Madrid train times
The table below shows live departures for Castelldefels to Madrid trains for today, Sunday, November 8. You can also manually refresh the results below to see updated train journeys.
| Provider | Departs | Duration | Arrives | Transfers | Tickets |
|---|---|---|---|---|---|
06180 | 5:20 PM Barcelona Sants | 3h02 | 8:22 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06570 | 5:40 PM Barcelona Sants | 3h02 | 8:42 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06190 | 6:53 PM Barcelona Sants | 3h17 | 10:10 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06200 | 7:40 PM Barcelona Sants | 3h02 | 10:42 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06610 | 8:20 PM Barcelona Sants | 3h28 | 11:48 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06210 | 8:28 PM Barcelona Sants | 3h24 | 11:52 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
06210 | 9:01 PM Camp de Tarragona | 2h51 | 11:52 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
| Monday, November 9 | |||||
![]() | 3:45 AM Castelldefels | 3h17 | 7:02 AM Madrid | 0 transfersDirect | |
![]() | 2:55 PM Castelldefels | 3h17 | 6:12 PM Madrid | 0 transfersDirect | |
This is the last train of the day. | |||||
Find all the dates and times for this journey
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 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.
Train companies: iryo, SNCF OUIGO from Castelldefels to Madrid trainsiryo, SNCF OUIGO trains will get you between Castelldefels and Madrid from €17. With over 1000 travel companies on Omio, you can find the best train times and tickets for your trip.
iryo
SNCF OUIGO
Companies, tickets, and onboard amenities between Castelldefels and Madrid
Review the details behind your booking, from operators and ticket rules to luggage, onboard amenities, accessibility, and route-specific travel policies.
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 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
