The cheapest and fastest trains from Madrid to Gibraltar
Cheapest price
£35
Average price
£35
Fastest journey
5 h 14 m
Average duration
5 h 14 m
Trains per day
1
Distance
496 km
The best way to find a cheap train ticket from Madrid to Gibraltar is to book your journey as far in advance as possible and to avoid travelling at rush hour.
The average ticket from Madrid to Gibraltar will cost around £35 if you buy it on the day, but you can find cheap train tickets today for only £35.
Of the 1 trains that leave Madrid for Gibraltar every day 1 travel direct so it’s quite easy to avoid journeys where you’ll have to change along the way.
These direct trains cover the 496 km distance in an average of 5 h 14 m but if you time it right, some trains will get you there in just 5 h 14 m .
The slowest trains will take 5 h 14 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.
093668:305h14Madrid-Puerta de Atocha-Almudena Grandes13:44San Roque station£351One-way0 changes
093668:305h14Madrid-Puerta de Atocha-Almudena Grandes13:44San Roque station£351One-way0 changes
Travel Information
Compare coach, train and flight for Madrid to Gibraltar
Omio recommends booking the train as it is the most popular option from Madrid to Gibraltar among Omio's users. If you are prioritising price take the train with prices starting from £21. For those with little time consider booking a flight which can get you there in 1h 10m. The ticket price range depends on the travel mode: a train costs an average of £21, and a flight costs an average of £188.
Distance: 496 km
Compare train with
Most popular Train | Coach | Flight |
|---|---|---|
£44 Average Price Cheapest | £66 Average Price | £728 Average Price |
5h 45m Average total duration 5h 15m Onboard + 30m Additional time* | 9h 28m Average total duration 8h 58m Onboard + 30m Additional time* | 4h 10m Average total duration Fastest 1h 10m Onboard + 3h 0m Additional time* |
![]() Most popular train company | ![]() Most popular bus company | ![]() Most popular airline |
Direct Options | Direct Options | Direct Options |
Live departures
Madrid to Gibraltar train times
The table below shows live departures for Madrid to Gibraltar trains for tomorrow, Tuesday 19 May. You can also manually refresh the results below to see updated train journeys.
| Provider | Departs | Duration | Arrives | Changes | Tickets |
|---|---|---|---|---|---|
09366 | 8:30 Madrid-Puerta de Atocha-Almudena Grandes | 5h14 | 13:44 San Roque station | 0 changesdirect | |
This is the last train of the day. | |||||
Find all the dates and times for this journey
Compare prices and tickets Madrid to Gibraltar by coach, train or flight
Compare coach, 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.
19 May
20 May
21 May
22 May
23 May
24 May
25 May
26 May
27 May
28 May
29 May
30 May
31 May
01 Jun
02 Jun
03 Jun
04 Jun
05 Jun
06 Jun
07 Jun
08 Jun
Journey information
Overview: Train from Madrid to Gibraltar
Trains from Madrid to Gibraltar run on average 1 times per day, taking around 5h 15m. Cheap train tickets for this journey start at £21 if you book in advance.
There are 1 trains per day. The earliest train runs at 08:00, the last at 16:55. The fastest train covers the 496 km distance in 5h 14m.
Distance 496 km |
Average train duration 5h 15m |
Cheapest ticket price £21 |
Trains per day 1 |
Direct trains 1 |
Fastest train 5h 14m |
First train 8:00 |
Last train 16:55 |
Cheapest Month Mar |
Cheapest Day Tue |
High Season Jul - Sept |
Low Season Oct - Dec |
Busiest Day Tue |
Least Busy Day Wed |
Best time to book 42 days |
Train companies: Renfe INTERCITY, Renfe ALVIA from Madrid to Gibraltar trainsRenfe INTERCITY, Renfe ALVIA trains will get you between Madrid and Gibraltar from £21. With over 1000 travel companies on Omio, you can find the best train times and tickets for your trip.
Renfe INTERCITY
Renfe ALVIA
Trains from Madrid to Gibraltar
The Spanish company Renfe provides trains from Madrid to Gibraltar, which take anything from 5.5 hours to 9.5 hours, depending on the number of stops and changes. All trains from Madrid to Gibraltar involve a change in Algeciras. Trains depart from Madrid Atocha - Antequera Santa Ana train station, arriving into Algeciras where passengers will need to cross the train station forecourt to the bus station and catch a bus to La Linea by the border with Gibraltar. This takes around 30 minutes. The first train of the day departs Madrid shortly after 7:00 a.m. Passengers can board the last train at approximately 3:00 p.m. On average, the frequency of trains is every couple of hours and trains from Madrid to Gibraltar 7 days a week.
FAQs: Madrid to Gibraltar train
Find answers to the most common questions about traveling from Madrid to Gibraltar 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 Gibraltar, this guide helps you travel smarter and with confidence.

popular train stations
Important Stations and Airports in Madrid and Gibraltar
- 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 Madrid to Gibraltar
Here are some other resources that might have the information you need



+
