Madrid to Gibraltar train with Renfe MD

Tue, Oct 13
+ Add return
Renfe ALVIA
Renfe MD
Regionale
Deutsche Bahn
iryo
2,000+ travel companies
Renfe ALVIA
Renfe MD
Regionale
Deutsche Bahn
iryo
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 Oct 13

Cheapest price on Oct 13

$64

Average ticket price on Oct 13

$64

Fastest journey on Oct 13

5 h 14 m

Average journey duration on Oct 13

5 h 14 m

Trains on Oct 13

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

Fast trains

On Tue, Oct 13, we found 1 trains from Madrid to Gibraltar, including 1 direct services.

On Tue, Oct 13 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 Tue, Oct 13 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
    $641One-way
    0 transfers

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 $11 (€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 308 miles (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
308 miles (496 km)
Average train duration
5h 47m
Cheapest ticket price
$11 (€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

Live departures

Madrid to Gibraltar train times

The table below shows live departures for Madrid to Gibraltar trains for tomorrow, Tuesday, October 13. 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

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 $11 (€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
$11 (€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
$20 (€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

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, archaeology, and military heritage, including the famous Moorish Baths.

  • Must visit

Great Siege Tunnels

Historic military complex with extensive siege-era tunnels and exhibits showing how Gibraltar’s defenses shaped British history.

  • Must visit

St Michael's Cave

Visitor center and cave experience with lighting and event history; one of Gibraltar’s best-known natural heritage attractions.

Gibraltar pound (£)

Moderate for a short stay. Dining and hotels are pricier than nearby Spain, but buses are cheap and many sights are walkable.

Average meal costs

Budget
£8-12 for fast food or a simple meal.
Mid-range
£15-25 per person for a restaurant meal.
Fine dining
£40-70 per person for upscale dining.
Coffee
£2.20-3.50 for coffee or cappuccino.

Tipping culture

Service may be included; if not, 5-10% in restaurants is customary for good service. Taxis often round up. Tipping in cafes is optional.

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
Train ticket prices from Madrid to Gibraltar can vary. The cheapest ticket starts at $11 (€9), while the average price is around $38 (€32).
The train from Madrid to Gibraltar takes 5h 14m and runs 2 per day.
The first train from Madrid to Gibraltar leaves at 8:00 AM.
The distance by train from Madrid to Gibraltar is 308 miles (496 km).
The last train from Madrid to Gibraltar leaves at 4:55 PM.
There is no high speed train available from Madrid to Gibraltar.
Yes, there is a direct train from Madrid to Gibraltar. This service operates 1 times per day, provided by Renfe ALVIA.
Unfortunately, there is no night train available from Madrid to Gibraltar.
The train station in Madrid that goes to Gibraltar is Madrid-Puerta de Atocha-Almudena Grandes, which connects to Algeciras station.
The train journey from Madrid to Gibraltar offers a mix of scenic landscapes, including rolling hills, picturesque countryside, and glimpses of traditional Spanish villages, providing a pleasant visual experience for travelers.
Yes, you can take the train from Madrid to Gibraltar.
Popular day trips by train from Gibraltar include Ronda.
Items not allowed on trains typically include hazardous materials such as explosives, flammable liquids, corrosive substances, and illegal drugs. Additionally, large or bulky items that may obstruct aisles or emergency exits, as well as pets without proper carriers, may be restricted. Specific prohibited items can vary by train operator and region, so please check the rules for your particular journey.
Gibraltar uses the Gibraltar pound (GIP), which is pegged at par with the British pound sterling (GBP). Both currencies are widely accepted. Travelers often find it convenient to use cards for most transactions, but carrying some cash is recommended for smaller purchases or in areas where card acceptance may be limited.
In Gibraltar, travelers should be cautious of pickpocketing, especially in crowded areas like the Main Street and near the border. Scams involving overpriced taxi fares can occur, so it's advisable to agree on a price beforehand or use licensed taxis. Additionally, travelers should be aware of unofficial guides offering tours and ensure they use authorized services to avoid being overcharged or misled. Overall, Gibraltar is considered a safe destination with relatively low crime rates.
Pack lightweight, versatile clothing suitable for the destination's climate, and use secure, lockable luggage to protect belongings. Keep essential items like travel documents, medication, and valuables in a carry-on bag for easy access. Use packing organizers or cubes to maximize space and maintain order. Lastly, include a small first aid kit and personal hygiene items for added comfort during travel.

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 1 miles (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