The cheapest and fastest trains from San Fernando to Madrid
Cheapest price
€12
Average price
€24
Fastest journey
4 h 21 m
Average duration
4 h 38 m
Trains per day
23
Distance
489 km
The best way to find a cheap train ticket from San Fernando to Madrid is to book your journey as far in advance as possible and to avoid traveling at rush hour.
The average ticket from San Fernando to Madrid will cost around €24 if you buy it on the day, but the cheapest tickets can be found for only €12.
Of the 23 trains that leave San Fernando for Madrid on Tue, Aug 04, 4 travel direct so it’s quite easy to avoid journeys where you’ll have to change along the way.
On Tue, Aug 04 the direct trains cover the 489 km distance in an average of 4 h 38 m but if you time it right, some trains will get you there in just 4 h 21 m .
On Tue, Aug 04 the slowest trains will take 5 h 11 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.
13015+
062173:51 PM7h21San Fernando-Bahía Sur11:12 PMMadrid-Puerta de Atocha-Almudena Grandes€121One-way1 transfer
13017+
062175:35 PM5h37San Fernando-Bahía Sur11:12 PMMadrid-Puerta de Atocha-Almudena Grandes€121One-way1 transfer
13011+
0621712:51 PM10h21San Fernando-Bahía Sur11:12 PMMadrid-Puerta de Atocha-Almudena Grandes€121One-way1 transfer
13009+
0621711:01 AM12h11San Fernando-Bahía Sur11:12 PMMadrid-Puerta de Atocha-Almudena Grandes€121One-way1 transfer
13013+
062172:51 PM8h21San Fernando-Bahía Sur11:12 PMMadrid-Puerta de Atocha-Almudena Grandes€121One-way1 transfer
020756:46 AM4h21San Fernando-Bahía Sur11:07 AMMadrid-Puerta de Atocha-Almudena Grandes€501One-way0 transfers
021756:13 PM4h23San Fernando-Bahía Sur10:36 PMMadrid-Puerta de Atocha-Almudena Grandes€421One-way0 transfers
021654:17 PM4h37San Fernando-Bahía Sur8:54 PMMadrid-Puerta de Atocha-Almudena Grandes€611One-way0 transfers
021351:23 PM4h40San Fernando-Bahía Sur6:03 PMMadrid-Puerta de Atocha-Almudena Grandes€851One-way0 transfers
13007+
061279:51 AM5h11San Fernando-Bahía Sur3:02 PMMadrid-Puerta de Atocha-Almudena Grandes€141One-way1 transfer
Travel Information
Compare bus, train, and flight for San Fernando to Madrid
Omio recommends booking the train as it is the most popular option from San Fernando to Madrid among Omio's users. If you are prioritising price take the bus with prices starting from €34. For those with little time consider booking a flight which can get you there in 1h 20m. In case you are seeking to minimise your carbon footprint the train is your best bet as it emits only 0.1 - 0.4kg. The ticket price range depends on the travel mode: a bus costs an average of €34, and a flight costs an average of €24.
Distance: 489 km
Compare train with
Most popular Train | Bus | Flight |
|---|---|---|
€59 Average price | €40 Average price Cheapest | €170 Average price |
4h 48m Average total duration 4h 18m Onboard + 30m Additional time* | 8h 22m Average total duration 7h 52m Onboard + 30m Additional time* | 4h 20m Average total duration Fastest 1h 20m Onboard + 3h 0m Additional time* |
0.1 - 0.4kg CO2 emissions Lowest | 0.5 - 1.2kg CO2 emissions | 1.5 - 2.9kg CO2 emissions |
![]() Most popular train company | ![]() Most popular bus company | ![]() Most popular airline |
Direct Options | Direct Options | Direct Options |
Additional time: Average total travel duration to departure point, security checks and transfers.
Live departures
San Fernando to Madrid train times
The table below shows live departures for San Fernando to Madrid trains for today, Monday, August 3. You can also manually refresh the results below to see updated train journeys.
| Provider | Departs | Duration | Arrives | Transfers | Tickets |
|---|---|---|---|---|---|
02135 | 1:23 PM San Fernando-Bahía Sur | 4h40 | 6:03 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
13013+ 06217 | Delayed 2:51 PM San Fernando-Bahía Sur | 8h21 | 9:12 PM 9:12 PMMadrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
13015+ 06217 | Delayed 3:51 PM San Fernando-Bahía Sur | 7h21 | 9:12 PM 9:12 PMMadrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
02165 | Delayed 4:17 PM San Fernando-Bahía Sur | 4h37 | 6:54 PM 6:54 PMMadrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
02165+ 06217 | Delayed 4:17 PM San Fernando-Bahía Sur | 6h55 | 9:12 PM 9:12 PMMadrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
02175 | On time 6:13 PM San Fernando-Bahía Sur | 4h23 | 10:36 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
| Tuesday, August 4 | |||||
13001+ 06127 | 5:53 AM San Fernando-Bahía Sur | 9h09 | 3:02 PM Madrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
02075+ 06127 | 6:46 AM San Fernando-Bahía Sur | 8h16 | 3:02 PM Madrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
02075 | 6:46 AM San Fernando-Bahía Sur | 4h21 | 11:07 AM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
13003+ 06127 | 6:56 AM San Fernando-Bahía Sur | 8h06 | 3:02 PM Madrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
13003+ 06015 | 6:56 AM San Fernando-Bahía Sur | 12h08 | 7:04 PM Madrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
This is the last train of the day. | |||||
Find all the dates and times for this journey
Compare prices and tickets San Fernando to Madrid by bus, train, or flight
Compare bus, train, 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 04
Aug 05
Aug 06
Aug 07
Aug 08
Aug 09
Aug 10
Aug 11
Aug 12
Aug 13
Aug 14
Aug 15
Aug 16
Aug 17
Aug 18
Aug 19
Aug 20
Aug 21
Aug 22
Aug 23
Aug 24
Why should you book San Fernando 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 Renfe ALVIA, AVE or Renfe INTERCITY to find the best option for your trip from San Fernando 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 bus, train and flight to ensure you get the best deal for traveling from San Fernando to Madrid.
Why book with Omio over Wanderu, Rome2rio or Raileurope?
- Compare with other providers: On Omio, you can also compare tickets for the likes of Renfe ALVIA, AVE or Renfe INTERCITY to find the best option for your trip from San Fernando to Madrid.
- Multiple modes of transport: Omio allows you to compare travel options including bus, train and flight to find the ideal travel option from San Fernando to Madrid.
How far in advance should I book train tickets from San Fernando to Madrid?
Journey information
Overview: Train from San Fernando to Madrid
Trains from San Fernando to Madrid run on average 3 times per day, taking around 4h 18m. Cheap train tickets for this journey start at €15 if you book in advance.
There are 3 trains per day. The earliest train runs at 05:47, the last at 19:40. The fastest train covers the 489 km distance in 4h 6m.
Distance 489 km |
Average train duration 4h 18m |
Cheapest ticket price €15 |
Trains per day 3 |
Direct trains 3 |
Fastest train 4h 6m |
First train 5:47 AM |
Last train 7:40 PM |
Cheapest Month Feb |
Cheapest Day Thu |
High Season Jul - Sep |
Low Season Oct - Dec |
Busiest Day Thu |
Least Busy Day Sun |
Best time to book 6 days |
Train companies: iryo, Renfe ALVIA, AVE, Renfe INTERCITY from San Fernando to Madrid trainsiryo, Renfe ALVIA, AVE, Renfe INTERCITY trains will get you between San Fernando and Madrid from €15. With over 1000 travel companies on Omio, you can find the best train times and tickets for your trip.
iryo
Renfe ALVIA
AVE
Renfe INTERCITY
FAQs: Trains from San Fernando to Madrid
Find answers to the most common questions about traveling from San Fernando 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 San Fernando to Madrid
Most San Fernando to Madrid trains use the San Fernando Bahía Sur to Madrid-Puerta de Atocha-Almudena Grandes station pair. Use this guide to compare San Fernando and Madrid train stations on this route, check city-centre transport, alongside checking practicalities like train station facilities and services.
Which San Fernando station do trains to Madrid leave from?
Getting to San Fernando Bahía Sur from San Fernando city centre
San Fernando Bahía Sur is 1 km from San Fernando city centre. Check local transport options before travel.
San Fernando Bahía Sur train station facilities and services
San Fernando Bahía Sur has practical services for this route, including Parking, Dining, ATM, Accessibility, and Hotel.
Food and drink
Food and drink options are available at San Fernando Bahía Sur.
Wi-Fi and ATMs
ATMs are available at San Fernando Bahía Sur.
Parking, taxis and toilets
Available at San Fernando Bahía Sur: Parking.
Accessibility
Accessibility facilities are available at San Fernando Bahía Sur.
Which Madrid station do trains from San Fernando 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.
More options for your journey from San Fernando to Madrid
Here are some other resources that might have the information you need


