The cheapest and fastest trains from Madrid to Gibraltar
Cheapest price
CHF30
Average price
CHF46
Fastest journey
5 h 14 m
Average duration
5 h 36 m
Trains per day
4
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 CHF46 if you buy it on the day, but you can find cheap train tickets today for only CHF30.
Of the 4 trains that leave Madrid for Gibraltar every day 4 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 36 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 49 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.
7:05 AM5h49Madrid12:54 PMGibraltarCHF301One-way0 changes
8:35 AM5h40Madrid2:15 PMGibraltarCHF311One-way0 changes
6:30 AM5h14Madrid11:44 AMGibraltarCHF531One-way0 changes
7:35 AM5h40Madrid1:15 PMGibraltarCHF711One-way0 changes
6:30 AM5h14Madrid11:44 AMGibraltarCHF531One-way0 changes
8:35 AM5h40Madrid2:15 PMGibraltarCHF311One-way0 changes
7:35 AM5h40Madrid1:15 PMGibraltarCHF711One-way0 changes
7:05 AM5h49Madrid12:54 PMGibraltarCHF301One-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 CHF23. 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 CHF23, and a flight costs an average of CHF205.
Distance: 496 km
Compare train with
Most popular Train | Coach | Flight |
|---|---|---|
CHF48 Average Price Cheapest | CHF72 Average Price | CHF792 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, Friday, 14 August. You can also manually refresh the results below to see updated train journeys.
| Provider | Departs | Duration | Arrives | Changes | Tickets |
|---|---|---|---|---|---|
![]() | 6:30 AM Madrid | 5h14 | 11:44 AM Gibraltar | 0 changesdirect | |
![]() | 7:05 AM Madrid | 5h49 | 12:54 PM Gibraltar | 0 changesdirect | |
![]() | 7:35 AM Madrid | 5h40 | 1:15 PM Gibraltar | 0 changesdirect | |
![]() | 8:35 AM Madrid | 5h40 | 2:15 PM Gibraltar | 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.
14 Aug
15 Aug
16 Aug
17 Aug
18 Aug
19 Aug
20 Aug
21 Aug
22 Aug
23 Aug
24 Aug
25 Aug
26 Aug
27 Aug
28 Aug
29 Aug
30 Aug
31 Aug
01 Sept
02 Sept
03 Sept
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 CHF23 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 CHF23 |
Trains per day 1 |
Direct trains 1 |
Fastest train 5h 14m |
First train 8:00 AM |
Last train 4:55 PM |
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 CHF23. With over 1000 travel companies on Omio, you can find the best train times and tickets for your trip.
Renfe INTERCITY
Renfe ALVIA
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
Most Madrid to Gibraltar trains use the Madrid-Puerta de Atocha-Almudena Grandes to San Roque-La Linea station pair. Use this guide to compare Madrid and Gibraltar train stations on this route, check city-centre transport, alongside checking practicalities like train station facilities and services.
Which Madrid station do trains to Gibraltar 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.
Most popular train connections from Madrid
More options for your journey from Madrid to Gibraltar
Here are some other resources that might have the information you need



