The cheapest and fastest trains from San Fernando to Madrid
Cheapest price
€45
Average price
€54
Fastest journey
4 h 14 m
Average duration
4 h 26 m
Trains per day
30
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 €54 if you buy it on the day, but the cheapest tickets can be found for only €45.
Of the 30 trains that leave San Fernando for Madrid on Tue, May 05, 3 travel direct so it’s quite easy to avoid journeys where you’ll have to change along the way.
On Tue, May 05 the direct trains cover the 489 km distance in an average of 4 h 26 m but if you time it right, some trains will get you there in just 4 h 14 m .
On Tue, May 05 the slowest trains will take 4 h 42 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.
13011+
0621712:51 PM10h14San Fernando-Bahía Sur11:05 PMMadrid-Puerta de Atocha-Almudena Grandes€451One-way1 transfer
13013+
062172:51 PM8h14San Fernando-Bahía Sur11:05 PMMadrid-Puerta de Atocha-Almudena Grandes€451One-way1 transfer
13017+
062175:35 PM5h30San Fernando-Bahía Sur11:05 PMMadrid-Puerta de Atocha-Almudena Grandes€451One-way1 transfer
13393+
062171:51 PM9h14San Fernando-Bahía Sur11:05 PMMadrid-Puerta de Atocha-Almudena Grandes€451One-way1 transfer
13015+
062173:51 PM7h14San Fernando-Bahía Sur11:05 PMMadrid-Puerta de Atocha-Almudena Grandes€451One-way1 transfer
021756:22 PM4h14San Fernando-Bahía Sur10:36 PMMadrid-Puerta de Atocha-Almudena Grandes€861One-way0 transfers
021351:42 PM4h21San Fernando-Bahía Sur6:03 PMMadrid-Puerta de Atocha-Almudena Grandes€941One-way0 transfers
020756:46 AM4h21San Fernando-Bahía Sur11:07 AMMadrid-Puerta de Atocha-Almudena Grandes€1201One-way0 transfers
13393+
061671:51 PM4h33San Fernando-Bahía Sur6:24 PMMadrid-Puerta de Atocha-Almudena Grandes€471One-way1 transfer
02135+
061671:42 PM4h42San Fernando-Bahía Sur6:24 PMMadrid-Puerta de Atocha-Almudena Grandes€611One-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 €22.
Distance: 489 km
Compare train with
Most popular Train | Bus | Flight |
|---|---|---|
€50 Average price | €43 Average price Cheapest | €138 Average price |
4h 48m Average total duration 4h 18m Onboard + 30m Additional time* | 8h 27m Average total duration 7h 57m 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 tomorrow, Tuesday, May 5. You can also manually refresh the results below to see updated train journeys.
| Provider | Departs | Duration | Arrives | Transfers | Tickets |
|---|---|---|---|---|---|
13001+ 06087 | Delayed 5:53 AM San Fernando-Bahía Sur | 4h55 | 8:48 AM 8:48 AMMadrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
13001+ 06127 | Delayed 5:53 AM San Fernando-Bahía Sur | 9h09 | 1:02 PM 1:02 PMMadrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
13001+ 06147 | Delayed 5:53 AM San Fernando-Bahía Sur | 10h44 | 2:37 PM 2:37 PMMadrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
02075 | Delayed 4:46 AM 6:46 AMSan Fernando-Bahía Sur | 4h21 | 11:07 AM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
02075+ 06127 | Delayed 4:46 AM 6:46 AMSan Fernando-Bahía Sur | 8h16 | 1:02 PM 1:02 PMMadrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
13003+ 06127 | Delayed 6:56 AM San Fernando-Bahía Sur | 8h06 | 1:02 PM 1:02 PMMadrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
13003+ 06147 | Delayed 6:56 AM San Fernando-Bahía Sur | 9h41 | 2:37 PM 2:37 PMMadrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
13005+ 06147 | Delayed 8:51 AM San Fernando-Bahía Sur | 7h46 | 2:37 PM 2:37 PMMadrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
13005+ 06127 | Delayed 8:51 AM San Fernando-Bahía Sur | 6h11 | 1:02 PM 1:02 PMMadrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
13005+ 06167 | Delayed 8:51 AM San Fernando-Bahía Sur | 9h33 | 4:24 PM 4:24 PMMadrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
13007+ 06167 | Delayed 9:51 AM San Fernando-Bahía Sur | 8h33 | 4:24 PM 4:24 PMMadrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
13007+ 06147 | Delayed 9:51 AM San Fernando-Bahía Sur | 6h46 | 2:37 PM 2:37 PMMadrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
13007+ 06127 | Delayed 9:51 AM San Fernando-Bahía Sur | 5h11 | 1:02 PM 1:02 PMMadrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
13009+ 06013 | On time 11:01 AM San Fernando-Bahía Sur | 8h03 | 7:04 PM Madrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
13009+ 06167 | Delayed 11:01 AM San Fernando-Bahía Sur | 7h23 | 4:24 PM 4:24 PMMadrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
13009+ 06147 | Delayed 11:01 AM San Fernando-Bahía Sur | 5h36 | 2:37 PM 2:37 PMMadrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
13011+ 06217 | On time 12:51 PM San Fernando-Bahía Sur | 10h14 | 11:05 PM Madrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
13011+ 06167 | Delayed 12:51 PM San Fernando-Bahía Sur | 5h33 | 4:24 PM 4:24 PMMadrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
13011+ 06013 | On time 12:51 PM San Fernando-Bahía Sur | 6h13 | 7:04 PM Madrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
02135 | Delayed 1:42 PM San Fernando-Bahía Sur | 4h21 | 4:03 PM 4:03 PMMadrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
02135+ 06217 | On time 1:42 PM San Fernando-Bahía Sur | 9h23 | 11:05 PM Madrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
02135+ 06167 | Delayed 1:42 PM San Fernando-Bahía Sur | 4h42 | 4:24 PM 4:24 PMMadrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
02135+ 06013 | On time 1:42 PM San Fernando-Bahía Sur | 5h22 | 7:04 PM Madrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
13393+ 06013 | On time 1:51 PM San Fernando-Bahía Sur | 5h13 | 7:04 PM Madrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
13393+ 06167 | Delayed 1:51 PM San Fernando-Bahía Sur | 4h33 | 4:24 PM 4:24 PMMadrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
13393+ 06217 | 1:51 PM San Fernando-Bahía Sur | 9h14 | 11:05 PM Madrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
13013+ 06217 | On time 2:51 PM San Fernando-Bahía Sur | 8h14 | 11:05 PM Madrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
13015+ 06217 | On time 3:51 PM San Fernando-Bahía Sur | 7h14 | 11:05 PM Madrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
13017+ 06217 | On time 5:35 PM San Fernando-Bahía Sur | 5h30 | 11:05 PM Madrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
02175 | 6:22 PM San Fernando-Bahía Sur | 4h14 | 10:36 PM Madrid-Puerta de Atocha-Almudena Grandes | 0 transfersDirect | |
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.
May 05
May 06
May 07
May 08
May 09
May 10
May 11
May 12
May 13
May 14
May 15
May 16
May 17
May 18
May 19
May 20
May 21
May 22
May 23
May 24
May 25
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 AVE, Renfe ALVIA 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 AVE, Renfe ALVIA 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 Mar |
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, 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 €15. 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
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
More options for your journey from San Fernando to Madrid
Here are some other resources that might have the information you need


