Gibraltar to Madrid train with Renfe ALVIA

Sat 10 Oct
+ Add return
Renfe ALVIA
Renfe MD
AVE
Renfe AVLO
Avanti West Coast
2,000+ travel companies
Renfe ALVIA
Renfe MD
AVE
Renfe AVLO
Avanti West Coast
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 Gibraltar to Madrid

Showing times, prices and bookable tickets for 10 Oct

Cheapest price on 10 Oct

£17

Average ticket price on 10 Oct

£28

Fastest journey on 10 Oct

5 h 53 m

Average journey duration on 10 Oct

5 h 53 m

Trains on 10 Oct

3

Distance

496 km

Cheap tickets

The best way to find a cheap train ticket from Gibraltar to Madrid is to book your journey as far in advance as possible and to avoid travelling at rush hour.

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

Fast trains

On Sat 10 Oct, we found 3 trains from Gibraltar to Madrid, including 3 direct services.

These direct trains cover the 496 km distance in an average of 5 h 53 m but if you time it right, some trains will get you there in just 5 h 53 m .

The slowest trains will take 5 h 54 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
    15:105h54
    Gibraltar
    21:04Madrid
    £171One-way
    0 changes
  • Renfe ALVIA
    15:005h53
    Gibraltar
    20:53Madrid
    £291One-way
    0 changes
  • Renfe ALVIA
    14:005h53
    Gibraltar
    19:53Madrid
    £371One-way
    0 changes

Journey information

Overview: Train from Gibraltar to Madrid

GibraltarGibraltar
SpainSpain
Icon of train

Trains from Gibraltar to Madrid run on average 1 times per day, taking around 5h 45m. Cheap train tickets for this journey start at £6 if you book in advance.

There are 1 trains per day. The earliest train runs at 08:00, the last at 16:10. The fastest train covers the 496 km distance in 5h 1m.

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
£6
Trains per day
1
Direct trains
1
Fastest train
5h 1m
First train
8:00
Last train
16:10
Cheapest Month
Mar
Cheapest Day
Sat
High Season
Jul - Sept
Low Season
Apr - Jun
Busiest Day
Fri
Least Busy Day
Thu
Best time to book
21 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

Gibraltar to Madrid train times

The table below shows live departures for Gibraltar to Madrid trains for today, Friday 9 October. You can also manually refresh the results below to see updated train journeys.

Last updated at
ProviderDepartsDurationArrivesChanges
Tickets
Renfe ALVIA0933116:18 San Roque station
5h35
21:53 Madrid-Puerta de Atocha-Almudena Grandes0 changesdirect

This is the last train of the day.

Find all the dates and times for this journey

Why should you book Gibraltar to Madrid trains with Omio?

Renfe ALVIA as well as Renfe MD, AVE, Renfe AVLO and more offer trains services from Gibraltar to Madrid.
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, AVE or Renfe AVLO to find the best option for your trip from Gibraltar to Madrid.
  • 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 Gibraltar to Madrid.

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

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 12m
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

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 34m
Cheapest Renfe MD Price
£6
Renfe MD frequency
7 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

AVE

About
Travel comfortably with AVE, Renfe’s high-speed trains. AVE connects major cities across Spain at speeds of up to 310 km/h (193 mph), offering a fast and smooth travel experience. Ticket options include Promo, Promo+, and Flexible fares to suit different budgets, along with discount cards such as the Gold Card and +Renfe Youth 50 Card for eligible travelers. AVE trains feature modern amenities including comfortable seating, Wi-Fi, power outlets, and onboard catering, making them a convenient and enjoyable way to travel across Spain.
Luggage & cancellation policy
Average AVE Duration
5h 1m
Cheapest AVE Price
£17
AVE frequency
1 a day
Luggage included
1 piece of hand luggage and 3 pieces of luggage free of charge
Luggage storage
Overhead racks, end of carriages, and designated areas between seats
Cancellation Policy
Refund conditions depend on ticket type
Refund
Full refund if train is canceled
Amenities on board the train
Wifi
Food sold onboard
Cafeteria car with hot and cold meals, snacks, and beverages. At-seat service in Preferente (First) Class
Seat reservation
Included in ticket price for all classes
Toilets
USB plugs
Accessibility
Wheelchair spaces, accessible toilets, and assistance services available
Pets
Small pets under 10kg in carriers allowed free. Larger dogs require paid ticket and muzzle. Guide dogs free.
Quiet zone

Renfe AVLO

About
Renfe Avlo is Spain’s low-cost high-speed rail service operated by the national rail company Renfe. Serving routes between major cities such as Madrid, Zaragoza, Barcelona, Valencia, Tarragona, Girona, and Figueres, Avlo trains reach speeds of up to 186 mph (300 km/h). All tickets are for Economy Class (“Básica”) with assigned seating and include onboard services such as free Wi-Fi, entertainment via the PlayRenfe app, power sockets, and vending machines. Child tickets are available for ages 0–13, while passengers aged 14 and over require an adult ticket. Each fare includes a backpack and hand luggage (55x35x25 cm, no weight limit), with the option to upgrade for extra baggage. Prices start from as low as €7, making Avlo a budget-friendly way to travel between Spain’s most popular destinations.
Luggage & cancellation policy
Average Renfe AVLO Duration
5h 54m
Cheapest Renfe AVLO Price
£8
Renfe AVLO frequency
1 a day
Luggage included
1 cabin bag (55x35x25cm) and 1 personal item (35x30x20cm)
Luggage storage
Overhead racks and spaces between seats
Cancellation Policy
According to fare conditions
Refund
Full refund if train is canceled
Amenities on board the train
Wifi
Food sold onboard
Cafe bar serving hot and cold drinks, snacks, sandwiches. First Class at-seat service on some routes
Seat reservation
Seat reservation included in ticket price
Toilets
USB plugs
Accessibility
Wheelchair spaces and assistance available
Pets
Small pets in carriers under 10kg allowed free. Service animals allowed

Complete guide to Madrid

Things to do in Madrid

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

  • Must visit

Museo Nacional del Prado

Spain’s premier art museum houses Velázquez, Goya and El Greco masterpieces, making it essential for understanding European painting.

  • Must visit

Museo Nacional Centro de Arte Reina Sofia

Madrid’s leading modern art museum is famed for Picasso’s Guernica and strong collections of Dalí, Miró and 20th-century works.

  • Must visit

Museo Nacional Thyssen-Bornemisza

This refined museum features major works by Titian, Rubens and Caravaggio in a manageable collection inside a grand palace.

Euro (€)

Moderate for Western Europe. Rooms, meals and Metro fares are usually cheaper than Paris or London, but central hotels and popular dining areas raise costs.

Average meal costs

Budget
€8-15 for fast food or menú del día.
Mid-range
€20-35 per person for a restaurant meal.
Fine dining
€60+ per person for upscale restaurants.
Coffee
€1.80-3.50 for coffee or cappuccino.

Tipping culture

Tipping is modest. Round up or leave 5-10% in restaurants for good service. Taxis are usually rounded up. In cafés, leaving small change is enough.

Trains from Gibraltar to Madrid

Travelling by train from Gibraltar to Madrid is easy. Every day of the week, travellers can pick from between six to eight trains from Gibraltar to Madrid, with early morning, lunchtime and evening departures all possible. Every train service is operated by Renfe, and there are two departure points: Algeciras station or San Roque-La Linea, which is much closer to the Gibraltar-Spain border. There are no services directly from Gibraltar itself, and travellers need to cross the border before they can board. When they are underway, most trains run straight into Madrid's Atocha station, although some require a change at Antequera Santa Ana. Journey times vary, and the shortest duration is around 5 hours 30 minutes.

FAQs: Gibraltar to Madrid train

Find answers to the most common questions about traveling from Gibraltar to Madrid 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 Madrid, this guide helps you travel smarter and with confidence.

FAQs
The cost of a train ticket from Gibraltar to Madrid can vary. The cheapest tickets are usually available from £6, while the average price tends to be around £35.
The train from Gibraltar to Madrid takes 5h 1m and runs once a day.
The train distance from Gibraltar to Madrid is 496 km.
The first train from Gibraltar to Madrid leaves at 8:00.
The last train from Gibraltar to Madrid departs at 16:10.
Trains from Gibraltar to Madrid run approximately 1 times per day.
Currently, there is no high-speed train service from Gibraltar to Madrid.
Yes, there is a direct train between Gibraltar and Madrid. The service operates 1 times per day, provided by Renfe ALVIA.
There is no night train service from Gibraltar to Madrid.
The train station in Gibraltar that goes to Madrid is San Roque station, and it arrives at Madrid-Puerta de Atocha-Almudena Grandes.
Booking trains from Gibraltar to Madrid in advance is advisable, especially during peak travel seasons or for long journeys, to ensure availability and secure better fares.
The train journey from Gibraltar to Madrid does not offer particularly scenic views, as the route primarily passes through industrial and rural areas rather than dramatic landscapes or notable landmarks.
Yes, you can take the train from Gibraltar to Madrid.

popular train stations

Important Stations and Airports in Gibraltar and Madrid

Most Gibraltar to Madrid trains use the San Roque-La Linea to Madrid-Puerta de Atocha-Almudena Grandes station pair. Use this guide to compare Gibraltar and Madrid train stations on this route, check city-centre transport, alongside checking practicalities like train station facilities and services.

Departure train stations in Gibraltar
Arrival train stations in Madrid

Which Madrid station do trains from Gibraltar arrive at?

Trains from Gibraltar to Madrid arrive at Madrid-Puerta de Atocha-Almudena Grandes. Madrid-Puerta de Atocha-Almudena Grandes is 2 km from Madrid city centre.
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.89 · every ~15 min
Bus26, 32 · 6m · £0.89 · 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.

More options for your journey from Gibraltar to Madrid

Here are some other resources that might have the information you need

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