Madrid to Gibraltar train with Renfe MD

Sun, Sep 27
+ Add return
Renfe MD
Renfe ALVIA
Renfe AVANT
Regionale
Deutsche Bahn
2,000+ travel companies
Renfe MD
Renfe ALVIA
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 Sep 27

Cheapest price on Sep 27

€46

Average ticket price on Sep 27

€46

Fastest journey on Sep 27

5 h 14 m

Average journey duration on Sep 27

5 h 14 m

Trains on Sep 27

1

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

Fast trains

On Sun, Sep 27, we found 1 trains from Madrid to Gibraltar, including 1 direct services.

On Sun, Sep 27 the 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 .

On Sun, Sep 27 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.

  • Renfe ALVIA09366
    8:30 AM5h14
    Madrid-Puerta de Atocha-Almudena Grandes
    1:44 PMSan Roque station
    €461One-way
    0 transfers

Live departures

Madrid to Gibraltar train times

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

Last updated at
ProviderDepartsDurationArrivesTransfers
Tickets
Renfe ALVIA093668:30 AM Madrid-Puerta de Atocha-Almudena Grandes
5h14
1:44 PM San Roque station0 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, train, or flight

Compare bus, 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.

Sun
Sep 27
Mon
Sep 28
Tue
Sep 29
Wed
Sep 30
Thu
Oct 01
Fri
Oct 02
Sat
Oct 03
Sun
Oct 04
Mon
Oct 05
Tue
Oct 06
Wed
Oct 07
Thu
Oct 08
Fri
Oct 09
Sat
Oct 10
Sun
Oct 11
Mon
Oct 12
Tue
Oct 13
Wed
Oct 14
Thu
Oct 15
Fri
Oct 16
Sat
Oct 17

Why should you book Madrid to Gibraltar trains with Omio?

Renfe MD 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 MD?

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

Why book with Omio over Raileurope or Wanderu?

  • Multiple modes of transport: Omio allows you to compare travel options including bus, train and flight to find the ideal travel option from Madrid to Gibraltar.

Journey information

Overview: Train from Madrid to Gibraltar

SpainSpain
GibraltarGibraltar
Icon of train

Trains from Madrid to Gibraltar run on average 2 times per day, taking around 5h 47m. 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 47m
Cheapest ticket price
€9
Trains per day
2
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

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
9 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

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 €32; 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.
When taking a train from Madrid to Gibraltar, you can count on Renfe MD, Renfe ALVIA 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.
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 Algeciras 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