Madrid to Gibraltar train with Renfe MD

Fri 02 Oct
+ Add return
Renfe MD
Renfe ALVIA
Avanti West Coast
Great Western Railway
Regionale
2,000+ travel companies
Renfe MD
Renfe ALVIA
Avanti West Coast
Great Western Railway
Regionale
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 02 Oct

Cheapest price on 02 Oct

£55

Average ticket price on 02 Oct

£55

Fastest journey on 02 Oct

5 h 14 m

Average journey duration on 02 Oct

5 h 14 m

Trains on 02 Oct

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 travelling at rush hour.

The average ticket from Madrid to Gibraltar will cost around £55 if you buy it on the day, but you can find cheap train tickets today for only £55.

Fast trains

On Fri 02 Oct, we found 1 trains from Madrid to Gibraltar, including 1 direct services.

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.

  • Renfe ALVIA09366
    8:305h14
    Madrid-Puerta de Atocha-Almudena Grandes
    13:44San Roque station
    £551One-way
    0 changes

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 £8 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
£8
Trains per day
2
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
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, Friday 2 October. You can also manually refresh the results below to see updated train journeys.

Last updated at
ProviderDepartsDurationArrivesChanges
Tickets
Renfe ALVIA093668:30 Madrid-Puerta de Atocha-Almudena Grandes
5h14
13:44 San Roque station0 changesdirect

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

Train companies: Renfe MD, Renfe ALVIA from Madrid to Gibraltar trainsRenfe MD, Renfe ALVIA trains will get you between Madrid and Gibraltar from £8. 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
£8
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
£15
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

Complete guide to Gibraltar

Things to do in Gibraltar

Discover the best of Gibraltar — top attractions, local food, transport tips, budget advice, and currency essentials. Plan your perfect Gibraltar trip today.

  • Must visit

Gibraltar National Museum

Gibraltar’s main museum covers natural history, military history and archaeology, with the preserved Moorish Baths in the same complex.

  • Recommended

Great Siege Tunnels and World War II Tunnels Exhibition

Thoughtful military museum in the Great Siege Tunnels area, presenting artefacts and stories from Gibraltar’s wartime and defensive past.

Royal Gibraltar Police Museum

Small local collection exploring the history of Gibraltar’s police force, with uniforms, photographs and memorabilia from different periods.

Gibraltar pound (£)

Moderate for Southern Europe: hotels and dining cost more than nearby Spain, but many cafes, pubs and short local trips remain manageable for tourists.

Average meal costs

Budget
£8-12 for fast food or a simple meal.
Mid-range
£18-30 per person for a restaurant meal.
Fine dining
£45+ per person for upscale dining.
Coffee
£2-3.50 for a cappuccino.

Tipping culture

Service may be included; if not, tip about 10% in restaurants for good service. Round up in cafés and taxis, or add £1-2 for helpful service.


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.


Renfe trains from Madrid to Gibraltar

+

Renfe is Spain's national train operator and connects the country's main points of interest. In addition, Renfe has the largest high-speed network in Europe with AVE and Alvia trains. Other Renfe train types are Altaria, Euromed and Talgo. All Renfe trains are equipped with an on-board bistro, toilets, air conditioning and many of them with Wi-Fi.

At Omio you can easily check the Renfe timetable for your trip and book cheap Renfe tickets from Madrid to Gibraltar. When booking, you can choose different classes (Tourist, Tourist Plus, Preferred and Club), the seat and the type of ticket you want (Promo, Promo+, Flexible or Round Trip). If you have a Renfe discount card, you can specify it when you buy your ticket at Omio and take advantage of many offers. For information on ticket cancellation, please visit our Help centre.


More information: Trains in Spain
More information: Renfe
More information: Book your trains in Europe
More information: Cheap train tickets
More information: High speed trains in Europe

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.

FAQs
The cost of a train ticket from Madrid to Gibraltar can vary. The cheapest tickets are usually available from £8, while the average price tends to be around £29.
The train journey from Madrid to Gibraltar covers a distance of 496 km and takes approximately 5h 14m. Trains run 2 per day.
The train distance from Madrid to Gibraltar is 496 km.
The first train from Madrid to Gibraltar leaves at 8:00.
The last train from Madrid to Gibraltar departs at 16:55.
Trains from Madrid to Gibraltar run approximately 2 times per day.
Currently, there is no high-speed train service from Madrid to Gibraltar.
Yes, there is a direct train between Madrid and Gibraltar. The service operates 1 times per day, provided by Renfe ALVIA.
There is no night train service from Madrid to Gibraltar.
The train station in Madrid that goes to Gibraltar is Madrid-Puerta de Atocha-Almudena Grandes, and it arrives at Algeciras station.
Booking trains from Madrid to Gibraltar in advance is advisable, especially during peak travel seasons or for long journeys, to ensure availability and secure better fares.
The train journey from Madrid to Gibraltar offers a mix of urban and natural landscapes. Travellers can enjoy views of the Spanish countryside, including rolling hills, olive groves, and quaint villages, particularly as the route traverses the scenic region of Andalusia.
Yes, you can take the train from Madrid to Gibraltar.

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 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 · £0.90 · every ~15 min
Bus26, 32 · 6m · £0.90 · 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.

Most popular train connections to Gibraltar

HomeTrainsTrain Times to Gibraltar Madrid 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