The cheapest and fastest trains from Madrid to Huesca
Cheapest price on Sep 01
€40
Average ticket price on Sep 01
€58
Fastest journey on Sep 01
2 h 54 m
Average journey duration on Sep 01
3 h 22 m
Trains on Sep 01
18
Distance
335 km
The best way to find a cheap train ticket from Madrid to Huesca is to book your journey as far in advance as possible and to avoid traveling at rush hour.
The average ticket from Madrid to Huesca will cost around €58 if you buy it on the day, but the cheapest tickets can be found for only €40.
On Tue, Sep 01, we found 18 trains from Madrid to Huesca, including 1 direct services.
On Tue, Sep 01 the direct trains cover the 335 km distance in an average of 3 h 22 m but if you time it right, some trains will get you there in just 2 h 54 m .
On Tue, Sep 01 the slowest trains will take 4 h 6 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.
033937:00 PM2h54Madrid-Puerta de Atocha-Almudena Grandes9:54 PMHuesca station€401One-way0 transfers
06171+
033935:22 PM4h32Madrid-Puerta de Atocha-Almudena Grandes9:54 PMHuesca station€431One-way1 transfer
06121+
1575012:22 PM3h06Madrid-Puerta de Atocha-Almudena Grandes3:28 PMHuesca station€461One-way1 transfer
06121+
1564212:22 PM5h06Madrid-Puerta de Atocha-Almudena Grandes5:28 PMHuesca station€461One-way1 transfer
06121+
1575612:22 PM7h41Madrid-Puerta de Atocha-Almudena Grandes8:03 PMHuesca station€461One-way1 transfer
033937:00 PM2h54Madrid-Puerta de Atocha-Almudena Grandes9:54 PMHuesca station€401One-way0 transfers
06121+
1575012:22 PM3h06Madrid-Puerta de Atocha-Almudena Grandes3:28 PMHuesca station€461One-way1 transfer
06015+
157587:29 PM3h09Madrid-Puerta de Atocha-Almudena Grandes10:38 PMHuesca station€481One-way1 transfer
06261+
156406:09 AM3h37Madrid-Puerta de Atocha-Almudena Grandes9:46 AMHuesca station€461One-way1 transfer
06111+
1575011:22 AM4h06Madrid-Puerta de Atocha-Almudena Grandes3:28 PMHuesca station€471One-way1 transfer
Travel Information
Compare train and bus for Madrid to Huesca
Omio recommends booking the train as it is the most popular option from Madrid to Huesca among Omio's users. If you are prioritising price, take the train, with an average ticket price of €44 For those with little time, consider booking a train, which has an average total journey time of 3h 11m. If you are seeking to minimise your carbon footprint, the train is your best option, with estimated CO2 emissions of 0.1 - 0.3kg. Average ticket prices depend on the travel mode: a train costs an average of €44, while a bus costs an average of €54.
Distance: 335 km
Compare train with
Most popular Train | Bus |
|---|---|
€44 Average price Cheapest | €54 Average price |
3h 11m Average total duration Fastest 2h 41m Onboard + 30m Additional time* | 3h 48m Average total duration 3h 18m Onboard + 30m Additional time* |
0.1 - 0.3kg CO2 emissions Lowest | 0.3 - 0.8kg CO2 emissions |
![]() Most popular train company | ![]() Most popular bus company |
Direct Options | Direct Options |
Additional time: Average total travel duration to departure point, security checks and transfers.
Live departures
Madrid to Huesca train times
The table below shows live departures for Madrid to Huesca trains for today, Monday, August 31. You can also manually refresh the results below to see updated train journeys.
| Provider | Departs | Duration | Arrives | Transfers | Tickets |
|---|---|---|---|---|---|
06171+ 03393 | Delayed 5:22 PM Madrid-Puerta de Atocha-Almudena Grandes | 4h32 | 7:54 PM 7:54 PMHuesca station | 1 transfer | |
06171+ 15758 | On time 5:22 PM Madrid-Puerta de Atocha-Almudena Grandes | 5h16 | 10:38 PM Huesca station | 1 transfer | |
06015+ 15758 | On time 7:29 PM Madrid-Puerta de Atocha-Almudena Grandes | 3h09 | 10:38 PM Huesca station | 1 transfer | |
| Tuesday, September 1 | |||||
06261+ 15750 | On time 6:09 AM Madrid-Puerta de Atocha-Almudena Grandes | 9h19 | 3:28 PM Huesca station | 1 transfer | |
06261+ 15640 | On time 6:09 AM Madrid-Puerta de Atocha-Almudena Grandes | 3h37 | 9:46 AM Huesca station | 1 transfer | |
06011+ 15756 | 9:57 AM Madrid-Puerta de Atocha-Almudena Grandes | 10h06 | 8:03 PM Huesca station | 1 transfer | |
06011+ 15750 | 9:57 AM Madrid-Puerta de Atocha-Almudena Grandes | 5h31 | 3:28 PM Huesca station | 1 transfer | |
06011+ 15642 | 9:57 AM Madrid-Puerta de Atocha-Almudena Grandes | 7h31 | 5:28 PM Huesca station | 1 transfer | |
06111+ 15756 | 11:22 AM Madrid-Puerta de Atocha-Almudena Grandes | 8h41 | 8:03 PM Huesca station | 1 transfer | |
06111+ 15750 | 11:22 AM Madrid-Puerta de Atocha-Almudena Grandes | 4h06 | 3:28 PM Huesca station | 1 transfer | |
06111+ 15642 | 11:22 AM Madrid-Puerta de Atocha-Almudena Grandes | 6h06 | 5:28 PM Huesca station | 1 transfer | |
06121+ 15750 | 12:22 PM Madrid-Puerta de Atocha-Almudena Grandes | 3h06 | 3:28 PM Huesca station | 1 transfer | |
06121+ 15642 | 12:22 PM Madrid-Puerta de Atocha-Almudena Grandes | 5h06 | 5:28 PM Huesca station | 1 transfer | |
06121+ 15756 | 12:22 PM Madrid-Puerta de Atocha-Almudena Grandes | 7h41 | 8:03 PM Huesca station | 1 transfer | |
06021+ 03393 | 2:42 PM Madrid-Puerta de Atocha-Almudena Grandes | 7h12 | 9:54 PM Huesca station | 1 transfer | |
06021+ 15756 | 2:42 PM Madrid-Puerta de Atocha-Almudena Grandes | 5h21 | 8:03 PM Huesca station | 1 transfer | |
06021+ 15758 | 2:42 PM Madrid-Puerta de Atocha-Almudena Grandes | 7h56 | 10:38 PM Huesca station | 1 transfer | |
This is the last train of the day. | |||||
Find all the dates and times for this journey
Compare prices and tickets Madrid to Huesca by train or bus
Compare train and bus 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.
Sep 01
Sep 02
Sep 03
Sep 04
Sep 05
Sep 06
Sep 07
Sep 08
Sep 09
Sep 10
Sep 11
Sep 12
Sep 13
Sep 14
Sep 15
Sep 16
Sep 17
Sep 18
Sep 19
Sep 20
Sep 21
Why should you book Madrid to Huesca 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 AVLO, SNCF OUIGO or Renfe Viajeros to find the best option for your trip from Madrid to Huesca.
- 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 and bus to ensure you get the best deal for traveling from Madrid to Huesca.
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 AVLO, SNCF OUIGO or Renfe Viajeros to find the best option for your trip from Madrid to Huesca.
- Multiple modes of transport: Omio allows you to compare travel options including train and bus to find the ideal travel option from Madrid to Huesca.
Journey information
Overview: Train from Madrid to Huesca
Trains from Madrid to Huesca run on average 1 times per day, taking around 2h 41m. Cheap train tickets for this journey start at €16 if you book in advance.
There are 1 trains per day. The earliest train runs at 06:08, the last at 20:39. The fastest train covers the 335 km distance in 2h 36m.
Distance 335 km |
Average train duration 2h 41m |
Cheapest ticket price €16 |
Trains per day 1 |
Direct trains 1 |
Fastest train 2h 36m |
First train 6:08 AM |
Last train 8:39 PM |
Cheapest Month May |
Cheapest Day Tue |
High Season Jul - Sep |
Low Season Oct - Dec |
Busiest Day Tue |
Least Busy Day Sun |
Best time to book 35 days |
Train companies: iryo, AVE, Renfe AVLO, SNCF OUIGO, Renfe Viajeros from Madrid to Huesca trainsiryo, AVE, Renfe AVLO, SNCF OUIGO, Renfe Viajeros trains will get you between Madrid and Huesca from €16. With over 1000 travel companies on Omio, you can find the best train times and tickets for your trip.
iryo
AVE
Renfe AVLO
SNCF OUIGO
Renfe Viajeros
FAQs: Trains from Madrid to Huesca
Find answers to the most common questions about traveling from Madrid to Huesca 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 Huesca, this guide helps you travel smarter and with confidence.

popular train stations
Popular train stations from Madrid to Huesca
Most Madrid to Huesca trains use the Madrid-Puerta de Atocha-Almudena Grandes to Huesca station pair. Use this guide to compare Madrid and Huesca train stations on this route, check city-centre transport, alongside checking practicalities like train station facilities and services.
Which Madrid station do trains to Huesca leave from?
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.
Which Huesca station do trains from Madrid arrive at?
Huesca train station facilities and services
Huesca has practical services for this route, including Parking, Dining, ATM, Taxis, Accessibility, WC, Hotel, Lost and Found Office, Ticket Office, Bike Parking, and Information Desk.
Food and drink
Food and drink options are available at Huesca.
Wi-Fi and ATMs
ATMs are available at Huesca.
Tickets and information
Ticket office support is available at Huesca. Information desks are available at Huesca.
Luggage and lost property
Lost and found is available at the station.
Parking, taxis and toilets
Available at Huesca: Parking, Taxis, WC.
Bike and car services
Available at Huesca: Bike Parking.
Accessibility
Accessibility facilities are available at Huesca.
Most popular train connections from Madrid
More options for your journey from Madrid to Huesca
Here are some other resources that might have the information you need

+
