The cheapest and fastest trains from Gibraltar to Madrid
Cheapest price
€68
Average price
€111
Fastest journey
5 h 35 m
Average duration
6 h 28 m
Trains per day
10
Distance
496 km
The best way to find a cheap train ticket from Gibraltar to Madrid is to book your journey as far in advance as possible and to avoid traveling at rush hour.
The average ticket from Gibraltar to Madrid will cost around €111 if you buy it on the day, but the cheapest tickets can be found for only €68.
Of the 10 trains that leave Gibraltar for Madrid on Sun, Jul 12, 1 travel direct so it’s quite easy to avoid journeys where you’ll have to change along the way.
On Sun, Jul 12 the direct trains cover the 496 km distance in an average of 6 h 28 m but if you time it right, some trains will get you there in just 5 h 35 m .
On Sun, Jul 12 the slowest trains will take 7 h 13 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.
13063+
020935:46 AM6h50San Roque station12:36 PMMadrid-Puerta de Atocha-Almudena Grandes€681One-way1 transfer
093314:23 PM5h35San Roque station9:58 PMMadrid-Puerta de Atocha-Almudena Grandes€841One-way0 transfers
13063+
021095:46 AM8h10San Roque station1:56 PMMadrid-Puerta de Atocha-Almudena Grandes€941One-way1 transfer
13063+
021675:46 AM12h53San Roque station6:39 PMMadrid-Puerta de Atocha-Almudena Grandes€1031One-way1 transfer
09331+
021934:23 PM5h35San Roque station9:58 PMMadrid-Puerta de Atocha-Almudena Grandes€1211One-way1 transfer
093314:23 PM5h35San Roque station9:58 PMMadrid-Puerta de Atocha-Almudena Grandes€841One-way0 transfers
09331+
021934:23 PM5h35San Roque station9:58 PMMadrid-Puerta de Atocha-Almudena Grandes€1211One-way1 transfer
13063+
020935:46 AM6h50San Roque station12:36 PMMadrid-Puerta de Atocha-Almudena Grandes€681One-way1 transfer
13065+
0214910:37 AM7h08San Roque station5:45 PMMadrid-Puerta de Atocha-Almudena Grandes€1281One-way1 transfer
13077+
021932:45 PM7h13San Roque station9:58 PMMadrid-Puerta de Atocha-Almudena Grandes€1261One-way1 transfer
Travel Information
Compare bus, train, and flight for Gibraltar to Madrid
Omio recommends booking the train as it is the most popular option from Gibraltar to Madrid among Omio's users. If you are prioritising price take the train with prices starting from €19. For those with little time consider booking a train which can get you there in 5h 32m. The ticket price range depends on the travel mode: a train costs an average of €19, and a flight costs an average of €248.
Distance: 496 km
Compare train with
Most popular Train | Bus | Flight |
|---|---|---|
€43 Average price Cheapest | €165 Average price | €634 Average price |
6h 2m Average total duration Fastest 5h 32m Onboard + 30m Additional time* | 9h 29m Average total duration 8h 59m Onboard + 30m Additional time* | 12h 45m Average total duration 9h 45m Onboard + 3h 0m Additional time* |
Direct Options | Direct Options | Direct Options |
Live departures
Gibraltar to Madrid train times
The table below shows live departures for Gibraltar to Madrid trains for today, Saturday, July 11. You can also manually refresh the results below to see updated train journeys.
| Provider | Departs | Duration | Arrives | Transfers | Tickets |
|---|---|---|---|---|---|
13065+ 02167 | Delayed 10:37 AM San Roque station | 8h02 | 4:39 PM 4:39 PMMadrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
13065+ 02149 | Delayed 10:37 AM San Roque station | 7h08 | 3:45 PM 3:45 PMMadrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
13065+ 02163 | Delayed 10:37 AM San Roque station | 8h02 | 4:39 PM 4:39 PMMadrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
13077+ 02193 | On time 2:45 PM San Roque station | 7h13 | 9:58 PM Madrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
13077+ 09331 | On time 2:45 PM San Roque station | 7h13 | 9:58 PM Madrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
09331+ 02193 | On time 4:23 PM San Roque station | 5h35 | 9:58 PM Madrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
09331 · 09331 | On time 4:23 PM San Roque station | 5h35 | 9:58 PM Madrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
| Sunday, July 12 | |||||
13063+ 02093 | 5:46 AM San Roque station | 6h50 | 12:36 PM Madrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
13063+ 02109 | 5:46 AM San Roque station | 8h10 | 1:56 PM Madrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
13063+ 02167 | 5:46 AM San Roque station | 12h53 | 6:39 PM Madrid-Puerta de Atocha-Almudena Grandes | 1 transfer | |
13063+ 02149 | 5:46 AM San Roque station | 11h59 | 5:45 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 Gibraltar 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.
Jul 12
Jul 13
Jul 14
Jul 15
Jul 16
Jul 17
Jul 18
Why should you book Gibraltar to Madrid trains with Omio?
Why book with Omio vs Renfe INTERCITY?
- Compare with other providers: On Omio, you can not only buy tickets for Renfe INTERCITY, but also compare tickets for the likes of Renfe ALVIA or Renfe MD to find the best option for your trip from Gibraltar 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 Renfe INTERCITY with all available travel options, which are bus, train and flight to ensure you get the best deal for traveling from Gibraltar to Madrid.
Journey information
Overview: Train from Gibraltar to Madrid
Trains from Gibraltar to Madrid run on average 1 times per day, taking around 5h 32m. Cheap train tickets for this journey start at €19 if you book in advance.
There are 1 trains per day. The earliest train runs at 08:00, the last at 16:10. The fastest train covers the 496 km distance in 5h 35m.
Distance 496 km |
Average train duration 5h 32m |
Cheapest ticket price €19 |
Trains per day 1 |
Direct trains 1 |
Fastest train 5h 35m |
First train 8:00 AM |
Last train 4:10 PM |
Cheapest Month Mar |
Cheapest Day Sat |
High Season Jul - Sep |
Low Season Oct - Dec |
Busiest Day Fri |
Least Busy Day Wed |
Best time to book 56 days |
Train companies: Renfe INTERCITY, Renfe ALVIA, Renfe MD from Gibraltar to Madrid trainsRenfe INTERCITY, Renfe ALVIA, Renfe MD trains will get you between Gibraltar and Madrid from €19. With over 1000 travel companies on Omio, you can find the best train times and tickets for your trip.
Renfe INTERCITY
Renfe ALVIA
Renfe MD
Trains from Gibraltar to Madrid
Travelling by train from Gibraltar to Madrid is easy. Every day of the week, travellers can pick from between six to eight trains from Gibraltar to Madrid, with early morning, lunchtime and evening departures all possible. Every train service is operated by Renfe, and there are two departure points: Algeciras station or San Roque-La Linea, which is much closer to the Gibraltar-Spain border. There are no services directly from Gibraltar itself, and travellers need to cross the border before they can board. When they are underway, most trains run straight into Madrid's Atocha station, although some require a change at Antequera Santa Ana. Journey times vary, and the shortest duration is around 5 hours 30 minutes.
FAQs: Trains from Gibraltar to Madrid
Find answers to the most common questions about traveling from Gibraltar 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 Gibraltar to Madrid
Most Gibraltar to Madrid trains use the San Roque-La Linea to Madrid-Puerta de Atocha-Almudena Grandes station pair. Use this guide to compare Gibraltar 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 Gibraltar 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 Gibraltar to Madrid
Here are some other resources that might have the information you need
