The cheapest and fastest trains from Gibraltar to Madrid
Cheapest price
€52
Average price
€52
Fastest journey
5 h 15 m
Average duration
5 h 28 m
Trains per day
2
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 €52 if you buy it on the day, but the cheapest tickets can be found for only €52.
Of the 2 trains that leave Gibraltar for Madrid on Fri, Nov 21, 2 travel direct so it’s quite easy to avoid journeys where you’ll have to change along the way.
On Fri, Nov 21 the direct trains cover the 496 km distance in an average of 5 h 28 m but if you time it right, some trains will get you there in just 5 h 15 m .
On Fri, Nov 21 the slowest trains will take 5 h 40 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.




Travel Information
Compare bus and train 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 €30. For those with little time consider booking a train which can get you there in 5h 23m. The ticket price range depends on the travel mode: a train costs an average of €30, and a bus costs an average of €137.
Distance: 496 km
Compare train with
Most popular Train | Bus |
|---|---|
€72 Average price Cheapest | €209 Average price |
5h 53m Average total duration Fastest 5h 23m Onboard + 30m Additional time* | 9h 19m Average total duration 8h 49m Onboard + 30m Additional time* |
![]() Most popular train company | ![]() Most popular bus company |
Direct Options | Direct Options |
Live departures
Gibraltar to Madrid train times
The table below shows live departures for Gibraltar to Madrid trains for tomorrow, Friday, November 21. You can also manually refresh the results below to see updated train journeys.
| Provider | Departs | Duration | Arrives | Transfers | Tickets |
|---|---|---|---|---|---|
![]() | 1:40 PM Gibraltar | 5h40 | 7:20 PM Madrid | 0 transfersDirect | |
![]() | 2:05 PM Gibraltar | 5h15 | 7:20 PM Madrid | 0 transfersDirect | |
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 or train
Compare bus and train 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.
Nov 21
Nov 22
Nov 23
Nov 24
Nov 25
Nov 26
Nov 27
Nov 28
Nov 29
Nov 30
Dec 01
Dec 02
Dec 03
Dec 04
Dec 05
Dec 06
Dec 07
Dec 08
Dec 09
Dec 10
Dec 11
Journey information
Overview: Train from Gibraltar to Madrid
Trains from Gibraltar to Madrid run on average 1 times per day, taking around 5h 23m. Cheap train tickets for this journey start at €30 if you book in advance.
There are 1 trains per day. The earliest train runs at 06:06, the last at 16:10. The fastest train covers the 496 km distance in 5h 15m.
Distance 496 km |
Average train duration 5h 23m |
Cheapest ticket price €30 |
Trains per day 1 |
Direct trains 1 |
Fastest train 5h 15m |
First train 06:06 |
Last train 16:10 |
Train companies: Renfe Intercity, Renfe ALVIA, Renfe (13) from Gibraltar to Madrid trainsRenfe Intercity, Renfe ALVIA, Renfe (13) trains will get you between Gibraltar and Madrid from €30. With over 1000 travel companies on Omio, you can find the best train times and tickets for your trip.
Renfe Intercity
Renfe ALVIA
Renfe (13)
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
- 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 Gibraltar to Madrid
Here are some other resources that might have the information you need


