Madrid to Gibraltar train with Renfe MD

Wed, Nov 11
+ Add return
Renfe ALVIA
Renfe MD
Renfe AVANT
Regionale
Deutsche Bahn
2,000+ travel companies
Renfe ALVIA
Renfe MD
Renfe AVANT
Regionale
Deutsche Bahn
2,000+ travel companies
QR-Code
Scan to get our free app
Use our app to get live travel updates and book mobile tickets for trains, buses, flights, and ferries.
App Store
rate4.9
42K ratings
Google Play
rate4.6
136K reviews

The cheapest and fastest trains from Madrid to Gibraltar

Showing times, prices and bookable tickets for Nov 11
Cheapest price on Nov 11
€23
Average ticket price on Nov 11
€41
Fastest journey on Nov 11
5 h 14 m
Average journey duration on Nov 11
5 h 36 m
Trains on Nov 11
4
Distance
496 km
Cheap tickets

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 €41 if you buy it on the day, but the cheapest tickets can be found for only €23.

Fast trains

On Wed, Nov 11, we found 4 trains from Madrid to Gibraltar, including 4 direct services.

On Wed, Nov 11 the 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 .

On Wed, Nov 11 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.

  • Renfe ALVIA
    0 transfers
  • Renfe ALVIA
    0 transfers
  • Renfe ALVIA
    0 transfers
  • Renfe ALVIA
    0 transfers

Journey information

Overview: Train from Madrid to Gibraltar

SpainSpain
GibraltarGibraltar
Icon of train

Trains from Madrid to Gibraltar run on average 1 times per day, taking around 5h 45m. Cheap train tickets for this journey start at €9 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.

Fares are the lowest economy prices found on Omio. Early booking often means lower prices. Prices change daily and are subject to availability. Discount cards, coach trips, and booking fees are not included.
Price information
Distance
496 km
Average train duration
5h 45m
Cheapest ticket price
€9
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 - Sep
Low Season
Apr - Jun
Busiest Day
Mon
Least Busy Day
Wed
Best time to book
42 days
Fares are the lowest economy prices found on Omio. Early booking often means lower prices. Prices change daily and are subject to availability. Discount cards, coach trips, and booking fees are not included.
Price information

Live departures

Madrid to Gibraltar train times

The table below shows live departures for Madrid to Gibraltar trains for tomorrow, Wednesday, November 11. You can also manually refresh the results below to see updated train journeys.

Last updated at
ProviderDepartsDurationArrivesTransfers
Tickets
Renfe ALVIA6:30 AM Madrid
5h14
11:44 AM Gibraltar0 transfersDirect
Renfe ALVIA7:05 AM Madrid
5h49
12:54 PM Gibraltar0 transfersDirect
Renfe ALVIA7:35 AM Madrid
5h40
1:15 PM Gibraltar0 transfersDirect
Renfe ALVIA8:35 AM Madrid
5h40
2:15 PM Gibraltar0 transfersDirect

This is the last train of the day.

Find all the dates and times for this journey

Why should you book Madrid to Gibraltar trains with Omio?

Renfe ALVIA as well as Renfe MD offer trains services from Madrid to Gibraltar.
Omio is the only official third party seller for Renfe ALVIA tickets.

Why book with Omio vs Renfe ALVIA?

  • Compare with other providers: On Omio, you can not only buy tickets for Renfe ALVIA, but also compare tickets for the likes of Renfe MD 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 ALVIA with all available travel options, which are bus, train and flight to ensure you get the best deal for traveling from Madrid to Gibraltar.

Train companies: Renfe MD, Renfe ALVIA from Madrid to Gibraltar trainsRenfe MD, Renfe ALVIA trains will get you between Madrid and Gibraltar from €9. With over 1000 travel companies on Omio, you can find the best train times and tickets for your trip.

Renfe MD

About
Renfe MD, or Media Distancia (Mid-distance), is a division of Spain's national railway company, Renfe, specializing in regional train services. These trains connect cities and towns within the same autonomous community or between contiguous communities, typically covering distances under 300 km. Renfe MD operates various train types, including modern regional services with amenities like power sockets and reading lights, and high-speed Avant trains that reach up to 250 km/h on shorter, high-speed routes. While not as fast as long-distance AVE trains, Renfe MD offers extensive coverage across Spain, providing essential regional connections.
Luggage & cancellation policy
Average Renfe MD Duration
5h 37m
Cheapest Renfe MD Price
€9
Renfe MD frequency
8 a day
Luggage included
1 piece of hand luggage and 3 pieces of luggage included
Luggage storage
Overhead racks, under seats, and designated luggage areas at the ends of carriages
Cancellation Policy
According to ticket conditions and fare type
Refund
Full refund if train is canceled
Amenities on board the train
Wifi
Food sold onboard
Cafeteria car with drinks, snacks, and light meals. Vending machines available on some trains
Seat reservation
Optional seat reservation with additional fee. Some routes require mandatory seat reservation
Toilets
USB plugs
Accessibility
Wheelchair spaces, accessible toilets, and assistance for boarding/disembarking available
Pets
Small pets in carriers allowed free. Dogs must be leashed and muzzled, require paid ticket. Guide dogs travel free
Quiet zone

Renfe ALVIA

About
Renfe Alvia are high-speed trains with top speeds of up to 250km/h operated by Renfe, Spain’s national railway company. Alvia trains cover most cities in Spain, including Madrid, Barcelona, Bilbao, Valencia, Alicante, Zaragoza and Cadiz. They are somewhat slower than Renfe AVE and AVLO (high-speed and low cost) but cover more destinations and are a comfortable and effective way of travelling around Spain. Onboard facilities include free WIFI, bike storage and luggage allowance. Alvia trains have two seat classes – Estándar and Confort. Top routes for Renfe Alvia include Barcelona to Pamplona, Madrid to Cádiz and Alicante to Gijón.
Luggage & cancellation policy
Average Renfe ALVIA Duration
5h 14m
Cheapest Renfe ALVIA Price
€17
Renfe ALVIA frequency
1 a day
Luggage included
1 piece of hand luggage and 3 pieces of luggage included
Luggage storage
Overhead racks, end of carriages, and designated luggage areas
Cancellation Policy
According to ticket conditions
Refund
Full refund if train is canceled by Renfe
Amenities on board the train
Wifi
Food sold onboard
Cafeteria car with drinks, snacks, and hot meals. At-seat service in Preferente class
Seat reservation
Included in Preferente (First) class. Optional extra cost in Turista (Second) class
Toilets
USB plugs
Accessibility
Wheelchair spaces available, accessible toilets, and staff assistance for boarding/alighting
Pets
Small pets in carriers travel free. Dogs must be muzzled and leashed, require paid ticket. Guide dogs travel free
Quiet zone

Companies, tickets, and onboard amenities between Madrid and Gibraltar

Review the details behind your booking, from operators and ticket rules to luggage, onboard amenities, accessibility, and route-specific travel policies.

When taking a train from Madrid to Gibraltar, you can count on Renfe ALVIA, Renfe MD for the best way to get you to Gibraltar. You can also check all possible train companies who offer a service between Madrid and Gibraltar and compare the amenities they offer before buying a train ticket.

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.

FAQs
Cheap train tickets from Madrid to Gibraltar can start from as little as €9 when you book in advance. The average train ticket price for Madrid to Gibraltar is €33; however, prices vary depending on the time of day and class and they tend to be more expensive on the day.
The average journey time by train from Madrid to Gibraltar is 5h 14m to travel the 496 km long route. Journey times can vary on weekends and holidays, so use our Journey Planner to search for a specific date.
The earliest train from Madrid to Gibraltar leaves at 8:00 AM. Plan your trip with the Journey Planner   from Omio.
The latest train from Madrid to Gibraltar leaves at 4:55 PM.
Yes,there are 1 direct trains a day from Madrid to Gibraltar with Renfe ALVIA. Schedules can vary on holidays or weekends with fewer direct trains.
Yes, there are multiple high-speed train options for your journey from Madrid to Gibraltar. You can choose between Renfe ALVIA. Renfe ALVIA trains take around 5h 14m
A trip to Gibraltar from Madrid is worth doing but not as a day trip with a journey time of 5h 14m each way. Check with Omio app the best way to travel.
It's helpful to compare your options as there are 3 ways to travel between Madrid and Gibraltar including taking a bus, train, and flight.

popular train stations

Popular train stations from Madrid to Gibraltar

Most Madrid to Gibraltar trains use the Madrid-Puerta de Atocha-Almudena Grandes to 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.

Departure train stations in Madrid
Arrival train stations in Gibraltar

Which Madrid station do trains to Gibraltar leave from?

Trains from Madrid to Gibraltar leave from Madrid-Puerta de Atocha-Almudena Grandes. The station is 2 km from Madrid city centre at Glorieta Emperador Carlos V, 28045 Madrid, Spain.
Madrid-Puerta de Atocha-Almudena GrandesGlorieta Emperador Carlos V, 28045 Madrid, Spain+34 912432343WifiLockersParkingDiningATMTaxisAccessibilityWCHotelLost and Found OfficeTicket OfficeBike ParkingBike RentalCar RentalInformation Desk
City-centre transport

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:

TrainC3, C4, C4a, C4b · 5m · €1 · every ~15 min
Bus26, 32 · 6m · €1 · every ~60 min
Subway1 · 6m · €2 · every ~24 min

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.

HomeTrainsTrain Times to GibraltarMadrid to Gibraltar train

The Omio App Makes Travel Planning Easy

We’ll get you where you want to go. From live train updates to mobile tickets, our innovative app is the ideal way to plan and keep track of your travel.

ios-badge
android-badge
Hand With Phone