Madrid - Gibraltar: Trains, Buses, Flights & Carpooling

location icon
Enter a valid place.
See a list of valid places here
location icon
Enter a valid place.
See a list of valid places here
date icon

Travel from Madrid to Gibraltar. Compare and combine trains, buses and flights in one search. Find the cheapest tickets.
Gibraltar

What is the best way to get from Madrid to Gibraltar?

Due to border checks to vehicles when crossing the border from Spain to Gibraltar, there is not any public transport service getting directly into Gibraltar.
However, the town of La Línea de la Concepción is at the Spanish side of the border with Gibraltar. From there it is much easier to cross the border walking than with a vehicle.
Therefore, this article will cover also arrivals until the border.
The best way to get from Madrid to Gibraltar is taking a car-pooling to La Línea, if any available and then crossing to Gibraltar by foot. This is the fastest way and has a competitive price.
The night bus is also an interesting option if you don't mind sleeping inside a bus.
Alternatively, you will want to get by train to any of the big cities nearby; and then take a bus from there for the last segment.
Bus
from 21€
8h 25m
cheapest
from -€
-
from 80€
9h
from 35€
6h 20m
fastest
from 75€
6h 20m
fastest
from 141€
6h 20m
fastest
from 41€
6h 55m
greenest
from 69€
7h 50m
from 28€
11h 15m

In order to see all updated times and prices for a specific date, try Travelinho's search engine.

From Madrid to Gibraltar by bus

price
from 21€
duration
8h 25min
clean
38kg CO2
The best way to get from Madrid to Gibraltar is taking a bus from Madrid to border town of La Línea de la Concepción and then crossing the border to Gibraltar by foot.
The border is less than 1 kilometer away (5 to 10-minutes walk) from the bus station.
Map Gibraltar and bus station at La Línea
You will need to show your passport at the border and once you are in Gibraltar territory, you can either walk for other 15 minutes to the city center or take a bus (2€ per adult, 1.30€ per child).
Daibus-Interbus is the company operating the route between Madrid and La Línea de la Concepción.
The journey takes 8 hours and 25 minutes and the price is fixed at 21€ per way. Tickets can be bought directly at the bus.

Bus timetable from Madrid to La Línea

Daibus-Interbus

There is only one daily bus, that is a night bus departing from Madrid at 21:00 and arriving at La Lína at 05:25 the following morning.
During the week there is a bus every 30 minutes. At the weekend, as you can see in the timetable, there are less frequencies, but still very well connected, buses running every 45 minutes.
Madrid Estación Sur
La Línea de la Concepción (ES)
Frequency

M T W T F S S
21:00
05:25 (+1)
Times are only for reference and might not be up-to-date.

By train

It is not possible to get directly to Gibraltar from Madrid by train. Neither Gibraltar nor La Línea de la Concepción have train station.
You con ride by train from Madrid to some of the cities in southern Spain's Andalucía and take a bus for the last segment to La Línea de la Concepción:

Flight

price
from 80€
duration
9h
clean
717kg CO2
There are no direct flights from Madrid to Gibraltar.
In addition, the only possible connections are with a long stopover and prices relatively expensive compared to alternatives with other modes of transportation.
As of this writing, the only possibility to get from Madrid to Gibraltar within the same day is by flying with easyJet via London.
easyJet does not allow to book two connecting flights in the same booking. There are two possiblities to couple with this situation:
  • Book both flights separately will be the cheapest way to fly from from Madrid to Gibraltar. However, since they are separate bookings, you take the risk of missing your connection if anything such a delay or cancellation happens to the first flight.
  • Luckily, Kiwi.com provides an alternative to this. It lets you book both flights together, providing a transfer guarantee at the same time.
By using Travelinho's Search Engine you will find this option and any other new connection that might appear due to airlines operating new routes.

By car

A distance of 652 km separates Madrid from Gibraltar. This can be covered by car in about 6 hours and 20 minutes with normal traffic conditions.
From Madrid you will need to take the highway E5 south passing by Jaén, Málaga and Marbella.
Map of the road route from Madrid to La Línea

Car-pooling

price
from 35€
duration
6h 20m
clean
31kg CO2
Car-pooling is very popular in Spain, being the biggest platform BlaBlaCar. A ride from Madrid to Gibraltar usually costs between 35 and 40€ and takes 7h 30min.
There are not many rides offered directly to la Línea, but since it is the fastest possible way and it has competitive prices, it is worth considering.
Otherwise, alternative rides to cities close to La Línea such as Algeciras are also an interesting option.
Keep in mind that most of the offers are available only a few days before departure. If you plan your trip with more time, you will probably not find any option yet.

Own car

price
from 75€
duration
6h 20m
If you have a car, it is recommended that you leave it in La Línea in order to avoid all the troubles (and queues) of crossing the border with a vehicle.
Driving your own car will cost 75€ according to Via Michelin.
However, you will need to add also the cost of the parking. Parking lot Alcaidesa Marina has reasonable fares, with prices starting from 9€ for 24h. Other parking lots can cost as much as 17€/day.

Private transfer

price
from 141€
duration
6h 20m
If money is not an issue, there is also the possibility to book a private transfer. This option is very flexible regarding times and as hassle-free as you can get.
The company daytrip seems to have a high quality service according to reviews on Tripadvisor (we have not tried them ourselves). They also offer the possibility to visit different sights along the way.
You might also want to check Suntransfers.com, as they have also good reviews on both Tripadvisor and Trustpilot. This option might be especially interesting for large groups, as they have Private Minicoaches and Coaches and the price per person will decrease drastically.

Via Málaga

price
from 41€
duration
6h 55min
clean
14kg CO2
Travelling via Málaga is probably the best option in case you don't find any direct alternative fitting your needs.
Málaga is very well connected to Madrid by all transport means. This includes high-speed trains, flights, buses and car-pooling.
In addition, there are several of buses running from Málaga to La Línea, taking between 2 and 3 hours and making the connection very flexible in terms of times.
A search with Travelinho's search engine will show you all those options, including times and prices.

Via Seville

price
from 69€
duration
7h 50min
clean
17kg CO2
Travelling via Sevilla is an interesting option, since Madrid and Seville are very well connected, both by high-speed train and flying.
Once in Seville, you will have to cover the 200 km remaing to La Línea de la Concepción either by bus or car-pooling.
You can find combinations starting from about 70€ for all tickets needed. Expect a total duration of about 8 hours. The exact duration will depend mainly on how long the transfer is.

Madrid - Seville

There are plenty of ways to get from Madrid to Seville. The best option is usually by train.
However, there are also several flights at competitive prices, as well as many car-pooling seats offers and bus tickets.

By Train

Madrid Atocha
Seville Santa Justa
Frequency

M T W T F S S
06:20
09:16
07:00
09:32
07:00
09:55
07:30
09:51
08:00
10:32
08:30
11:14
09:00
11:38
10:00
12:32
11:00
13:32
12:00
14:32
13:00
15:40
13:30
16:05
14:00
16:32
15:00
17:21
16:00
18:30
16:20
18:52
16:30
18:51
17:00
19:38
18:00
20:32
18:35
21:08
19:00
21:38
20:35
23:15
21:25
00:10 (+1)
Times are only for reference and might not be up-to-date.

Seville - La Línea de la Concepción

There are only a few buses every day running from Seville to the Spanish border with Gibraltar, operated by Comes.
It takes typically 4 hours and it costs 25€.
Seville Prado de San Sebastián
La Línea de la Concepción (ES)
Frequency

M T W T F S S
09:30
13:30
14:00
18:00
17:30
21:30
20:00
00:20 (+1)
Times are only for reference and might not be up-to-date.

Via Algeciras

price
from 28€
duration
11h 15m
clean
39kg CO2
Algeciras is very close to La Línea and very well connected by a regular bus. Therefore, travelling via Algeciras is an alternative that should be considered.

Madrid - Algeciras

Madrid and Algeciras are usually connected by train. However, currently the route is not operative due to a big storm that damaged the tracks at the end of 2018.
You can also get to Algeciras from Madrid by bus or by car-pooling.
Two buses cover daily the route between Madrid and Algeciras. The duration is about 9 hours and the price is 25€.
Madrid Estación Sur
Algeciras San Bernardo
Frequency

M T W T F S S
11:00
20:10
22:00
07:10 (+1)
Times are only for reference and might not be up-to-date.

Algeciras - La Línea

Regular buses between Algeciras and La Línea run every 30 to 45 minutes, taking 45 minutes to cover the distance. The price is roughly 3€.
Algeciras San Bernardo
La Línea de la Concepción (ES)
Frequency

M T W T F S S
07:00
07:45
07:30
08:15
07:45
08:30
08:00
08:45
08:30
09:15
08:45
09:30
09:00
09:45
09:15
10:00
09:30
10:15
10:00
10:45
10:15
11:00
10:30
11:15
10:45
11:30
11:00
11:45
11:30
12:15
11:45
12:30
12:00
12:45
12:15
13:00
12:30
13:15
13:00
13:45
13:15
14:00
13:30
14:15
13:45
14:30
14:00
14:45
14:30
15:15
14:45
15:30
15:00
15:45
15:15
16:00
15:30
16:15
16:00
16:45
16:15
17:00
16:30
17:15
16:45
17:30
17:00
17:45
17:30
18:15
17:45
18:30
18:00
18:45
18:15
19:00
18:30
19:15
19:00
19:45
19:15
20:00
19:30
20:15
19:45
20:30
20:00
20:45
20:30
21:15
20:45
21:30
21:00
21:45
21:15
22:00
21:30
22:15
22:30
23:15
Times are only for reference and might not be up-to-date.

Find accommodation in Gibraltar

If you are travelling to Gibraltar, you might be interested in looking for accommodation.
Keep in mind that accommodation in Gibraltar can get pretty expensive. If you do not find any option fitting your budget, check also accomodation in La Línea de la Concepción, as it is usually much cheaper.
By using the search box below you can find the best prices in several types of accommodation, from low-budget hostels, to appartments and fancy hotels.
The sooner you book, the cheaper it will be. In some cases you might have free cancellation under certain conditions!
Booking.com
Image credits