The cheapest and fastest trains from San Fernando to Madrid
Cheapest price
$56
Average price
$71
Fastest journey
4 h 6 m
Average duration
4 h 19 m
Trains per day
38
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 $71 if you buy it on the day, but the cheapest tickets can be found for only $56.
Of the 38 trains that leave San Fernando for Madrid on Mon, Dec 22, 4 travel direct so it’s quite easy to avoid journeys where you’ll have to change along the way.
On Mon, Dec 22 the direct trains cover the 489 km distance in an average of 4 h 19 m but if you time it right, some trains will get you there in just 4 h 6 m .
On Mon, Dec 22 the slowest trains will take 4 h 27 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.
02165
02175
13013+
06217
13017+
06217
13015+
06217
02175
02165+
06177
02075
02135
02165Travel 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 €23.
Distance: 303 miles (489 km)
Compare train with
Most popular Train | Bus | Flight |
|---|---|---|
€88 Average price | €43 Average price Cheapest | €171 Average price |
4h 49m Average total duration 4h 19m Onboard + 30m Additional time* | 8h 24m Average total duration 7h 54m 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, Sunday, December 21. You can also manually refresh the results below to see updated train journeys.
| Provider | Departs | Duration | Arrives | Transfers | Tickets |
|---|---|---|---|---|---|
13017+ 06217 | Delayed 4:35 PM San Fernando-Bahía Sur | 5h30 | 10:05 PM 10:05 PMMadrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
02175 | On time 5:22 PM San Fernando-Bahía Sur | 4h06 | 9:28 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
| Monday, December 22 | |||||
13001+ 06087 | Delayed 4:53 AM San Fernando-Bahía Sur | 4h55 | 9:48 AM 9:48 AMMadrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
13001+ 06127 | On time 4:53 AM San Fernando-Bahía Sur | 9h09 | 2:02 PM Madrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
13001+ 06107 | On time 4:53 AM San Fernando-Bahía Sur | 7h12 | 12:05 PM Madrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
02075 | On time 5:46 AM San Fernando-Bahía Sur | 4h21 | 10:07 AM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
13003+ 11147 | On time 5:56 AM San Fernando-Bahía Sur | 9h34 | 3:30 PM Madrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
13003+ 06127 | On time 5:56 AM San Fernando-Bahía Sur | 8h06 | 2:02 PM Madrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
13003+ 06107 | On time 5:56 AM San Fernando-Bahía Sur | 6h09 | 12:05 PM Madrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
00694+ 11147 | On time 6:48 AM San Fernando-Bahía Sur | 8h42 | 3:30 PM Madrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
00694+ 06127 | On time 6:48 AM San Fernando-Bahía Sur | 7h14 | 2:02 PM Madrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
00694+ 06107 | On time 6:48 AM San Fernando-Bahía Sur | 5h17 | 12:05 PM Madrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
13005+ 11147 | On time 7:51 AM San Fernando-Bahía Sur | 7h39 | 3:30 PM Madrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
13005+ 06127 | On time 7:51 AM San Fernando-Bahía Sur | 6h11 | 2:02 PM Madrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
13005+ 06167 | On time 7:51 AM San Fernando-Bahía Sur | 9h33 | 5:24 PM Madrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
13007+ 06167 | On time 8:51 AM San Fernando-Bahía Sur | 8h33 | 5:24 PM Madrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
13007+ 11147 | On time 8:51 AM San Fernando-Bahía Sur | 6h39 | 3:30 PM Madrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
13007+ 06127 | On time 8:51 AM San Fernando-Bahía Sur | 5h11 | 2:02 PM Madrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
13009+ 06013 | On time 10:01 AM San Fernando-Bahía Sur | 8h03 | 6:04 PM Madrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
13009+ 06167 | On time 10:01 AM San Fernando-Bahía Sur | 7h23 | 5:24 PM Madrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
13009+ 11147 | On time 10:01 AM San Fernando-Bahía Sur | 5h29 | 3:30 PM Madrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
13011+ 06177 | On time 11:51 AM San Fernando-Bahía Sur | 7h54 | 7:45 PM Madrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
13011+ 06167 | On time 11:51 AM San Fernando-Bahía Sur | 5h33 | 5:24 PM Madrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
13011+ 06013 | On time 11:51 AM San Fernando-Bahía Sur | 6h13 | 6:04 PM Madrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
02135 | On time 12:42 PM San Fernando-Bahía Sur | 4h21 | 5:03 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
02135+ 06167 | On time 12:42 PM San Fernando-Bahía Sur | 4h42 | 5:24 PM Madrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
02135+ 06177 | On time 12:42 PM San Fernando-Bahía Sur | 7h03 | 7:45 PM Madrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
02135+ 06013 | On time 12:42 PM San Fernando-Bahía Sur | 5h22 | 6:04 PM Madrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
13393+ 06177 | On time 12:51 PM San Fernando-Bahía Sur | 6h54 | 7:45 PM Madrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
13393+ 06013 | On time 12:51 PM San Fernando-Bahía Sur | 5h13 | 6:04 PM Madrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
13393+ 06167 | On time 12:51 PM San Fernando-Bahía Sur | 4h33 | 5:24 PM Madrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
13013+ 06177 | On time 1:51 PM San Fernando-Bahía Sur | 5h54 | 7:45 PM Madrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
13013+ 06217 | On time 1:51 PM San Fernando-Bahía Sur | 8h14 | 10:05 PM Madrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
13015+ 06177 | On time 2:51 PM San Fernando-Bahía Sur | 4h54 | 7:45 PM Madrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
13015+ 06217 | On time 2:51 PM San Fernando-Bahía Sur | 7h14 | 10:05 PM Madrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
02165 | On time 3:27 PM San Fernando-Bahía Sur | 4h27 | 7:54 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
02165+ 06177 | On time 3:27 PM San Fernando-Bahía Sur | 4h18 | 7:45 PM Madrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
02165+ 06217 | On time 3:27 PM San Fernando-Bahía Sur | 6h38 | 10:05 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.
Dec 22
Dec 23
Dec 24
Dec 25
Dec 26
Dec 27
Dec 28
Dec 29
Dec 30
Dec 31
Jan 01
Jan 02
Jan 03
Jan 04
Jan 05
Jan 06
Jan 07
Jan 08
Jan 09
Jan 10
Jan 11
Why should you book San Fernando to Madrid trains with Omio?
iryo as well as AVE, Renfe ALVIA and Renfe Intercity offer trains services from San Fernando to Madrid. Omio is an official ticket reseller for all your travel options from San Fernando to Madrid.
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 AVE, Renfe ALVIA and 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 Trainline and Rail Europe?
- Multiple travel company options: While iryo tickets can be bought on iryo's website or third party sellers, Omio allows you to compare with the likes of AVE, Renfe ALVIA and Renfe Intercity to help you choose the right option for your journey 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 19m. Cheap train tickets for this journey start at $59 (€47) but you can travel from only $29 (€23) by flight.
There are 3 trains per day. The earliest train runs at 05:47, the last at 20:10. The fastest train covers the 303 miles (489 km) distance in 4h 20m.
Distance 303 miles (489 km) |
Average train duration 4h 19m |
Cheapest ticket price $59 (€47) |
Trains per day 3 |
Direct trains 3 |
Fastest train 4h 20m |
First train 05:47 |
Last train 20:10 |
Train companies: iryo, AVE, Renfe ALVIA, Renfe Intercity from San Fernando to Madrid trainsiryo, AVE, Renfe ALVIA, Renfe Intercity trains will get you between San Fernando and Madrid from $29 (€23). With over 1000 travel companies on Omio, you can find the best train times and tickets for your trip.
iryo
AVE
Renfe ALVIA
Renfe Intercity
Train tickets from San Fernando to Madrid: when to book to save $
The rule of buying in advance to save money is not only valid when booking a flight but also for train travel. Train tickets are generally on sale 6 months before the departure date. Some train booking tips from us:
- Buying your train ticket from San Fernando - Madrid 3 weeks in advance means you can save on average up to 12% compared to the price available on the day of departure.
- If you book a ticket San Fernando - Madrid with 2 months in advance you save up to about 44% compared to the initial price.
- By booking 3 months in advance, you could save up to 51%.
- On Omio you can find all offers, train times and prices for train travel in Europe, the U.S., and Canada.
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
- 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 San Fernando
More options for your journey from San Fernando to Madrid
Here are some other resources that might have the information you need


