The cheapest and fastest trains from Madrid to Gibraltar
Cheapest price
$38
Average price
$38
Fastest journey
5 h 49 m
Average duration
5 h 49 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 traveling at rush hour.
The average ticket from Madrid to Gibraltar will cost around $38 if you buy it on the day, but the cheapest tickets can be found for only $38.
Of the 1 trains that leave Madrid for Gibraltar on Fri, Jan 16, 1 travel direct so it’s quite easy to avoid journeys where you’ll have to change along the way.
On Fri, Jan 16 the direct trains cover the 496 km distance in an average of 5 h 49 m but if you time it right, some trains will get you there in just 5 h 49 m .
On Fri, Jan 16 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.
09366
09366Travel Information
Compare bus and train 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 bus with prices starting from €46. For those with little time consider booking a train which can get you there in 5h 11m. The ticket price range depends on the travel mode: a bus costs an average of €46, and a train costs an average of €37.
Distance: 308 miles (496 km)
Compare train with
Most popular Train | Bus |
|---|---|
€64 Average price | €46 Average price Cheapest |
5h 41m Average total duration Fastest 5h 11m Onboard + 30m Additional time* | 6h 34m Average total duration 6h 4m Onboard + 30m Additional time* |
![]() Most popular train company | ![]() Most popular bus company |
Direct Options | Direct Options |
Live departures
Madrid to Gibraltar train times
The table below shows live departures for Madrid to Gibraltar trains for today, Thursday, January 15. You can also manually refresh the results below to see updated train journeys.
| Provider | Departs | Duration | Arrives | Transfers | Tickets |
|---|---|---|---|---|---|
09366 | On time 7:05 AM Madrid-Puerta de Atocha-Almudena Grandes | 5h49 | 12:54 PM San Roque station | 0 transfersDirect | |
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 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.
Jan 16
Jan 17
Jan 18
Jan 19
Jan 20
Jan 21
Jan 22
Jan 23
Jan 24
Jan 25
Jan 26
Jan 27
Jan 28
Jan 29
Jan 30
Jan 31
Feb 01
Feb 02
Feb 03
Feb 04
Feb 05
Why should you book Madrid to Gibraltar trains with Omio?
Renfe Intercity as well as Renfe ALVIA offer trains services from Madrid to Gibraltar. Omio is an official ticket reseller for all your travel options from Madrid to Gibraltar.
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 to find the best option for your trip from Madrid to Gibraltar.
- 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 and train to ensure you get the best deal for traveling from Madrid to Gibraltar.
Why book with Omio over Trainline and Rail Europe?
- Multiple travel company options: While Renfe Intercity tickets can be bought on Renfe Intercity's website or third party sellers, Omio allows you to compare with the likes of Renfe ALVIA to help you choose the right option for your journey from Madrid to Gibraltar.
- Multiple modes of transport: Omio allows you to compare travel options including bus and train to find the ideal travel option from Madrid to Gibraltar.
Journey information
Overview: Train from Madrid to Gibraltar
Trains from Madrid to Gibraltar run on average 1 times per day, taking around 5h 11m. Cheap train tickets for this journey start at $46 (€37) 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 308 miles (496 km) distance in 5h 18m.
Distance 308 miles (496 km) |
Average train duration 5h 11m |
Cheapest ticket price $46 (€37) |
Trains per day 1 |
Direct trains 1 |
Fastest train 5h 18m |
First train 06:06 |
Last train 16:10 |
Train companies: Renfe Intercity, Renfe ALVIA from Madrid to Gibraltar trainsRenfe Intercity, Renfe ALVIA trains will get you between Madrid and Gibraltar from $46 (€37). With over 1000 travel companies on Omio, you can find the best train times and tickets for your trip.
Renfe Intercity
Renfe ALVIA
FAQs: Trains from Madrid to Gibraltar
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
Popular train stations from Madrid to 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


