There are 9 ways to get from Madrid to Castellar de la Frontera by train (Renfe), bus, car, plane, train, or car ferry
Select an option below to see step-by-step directions and to compare ticket prices and travel times in Rome2Rio's travel planner.
Train (Renfe)
best- Take the train from Madrid-Puerta de Atocha-Almudena Grandes to San Roque-La Lineatrain Alv
6h 22m€80–114Bus
cheapest- Take the bus from Madrid Estación Sur de Autobuses to Algeciras San Bernardobus Madrid
9h 55m€28–80Drive 627.7 km
- Drive from Madrid to Castellar de la Fronteracar 627.7 km
6h 57m€103–149Fly to Málaga Airport, bus
- Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Málaga Airport (AGP)plane MAD - AGP
- Take the bus from Malaga Airport to Estación de Autobuses de Marbellabus
- Take the bus from Marbella Estación de Autobuses to Estación de Algeciras San Bernardobus
7h 22m€50–166Bus via Córdoba
- Take the bus from Estación Sur de Autobuses to Córdoba, Estación de Autobusesbus Madrid
- Take the bus from Córdoba, Estación de Autobuses to Estación de Algeciras San Bernardobus L-526
13h 41m€66–122Fly to Jerez Airport, bus
- Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Jerez Airport (XRY)plane MAD - XRY
- Take the bus from Jerez de la Frontera to Estación de Algeciras San Bernardobus
7h 25m€69–294Fly to Seville Airport, train, bus
- Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Seville Airport (SVQ)plane MAD - SVQ
- Take the train from Sevilla-Santa Justa to Jerez De La Fronteratrain
- Take the bus from Jerez de la Frontera to Estación de Algeciras San Bernardobus
8h 38m€52–132Fly to Sania Ramel Airport, drive, car ferry
- Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Sania Ramel Airport (TTU)plane MAD - TTU
- Drive from Sania Ramel Airport (TTU) to Plaza de la Constitucióncar
- Take the carferry from Ceuta to Port of Algecirascarferry
8h 1m€49–537Fly to Tangier Ibn Battouta Airport, car ferry, bus
- Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Tangier Ibn Battouta Airport (TNG)plane MAD - TNG
- Take the carferry from Port of Tangier Ville to Tarifacarferry
- Take the bus from Tarifa - Centro de Salud to Estación de Algeciras San Bernardobus
- Take the bus from Estación de Algeciras San Bernardo to Castellar de la Fronterabus
9h 17m€67–589
Madrid to Castellar de la Frontera by train and bus (Renfe)
Comparing Your Travel Options
The cheapest way to get from Madrid to Castellar de la Frontera is to bus which costs €28 - €80 and takes 9h 55m.
The fastest way to get from Madrid to Castellar de la Frontera is to train which takes 6h 22m and costs €75 - €120.
No, there is no direct bus from Madrid to Castellar de la Frontera. However, there are services departing from Madrid Estación Sur de Autobuses and arriving at Castellar de la Frontera via Estación de Algeciras San Bernardo. The journey, including transfers, takes approximately 9h 55m.
No, there is no direct train from Madrid to Castellar de la Frontera. However, there are services departing from Madrid-Puerta de Atocha-Almudena Grandes and arriving at San Roque-La Linea via . The journey, including transfers, takes approximately 6h 22m.
The distance between Madrid and Castellar de la Frontera is 635 km. The road distance is 627.7 km.
The best way to get from Madrid to Castellar de la Frontera without a car is to train which takes 6h 22m and costs €75 - €120.
It takes approximately 6h 22m to get from Madrid to Castellar de la Frontera, including transfers.
Madrid to Castellar de la Frontera bus services, operated by Interbus, depart from Madrid Estación Sur de Autobuses station.
Madrid to Castellar de la Frontera train services, operated by Renfe Viajeros, depart from Madrid-Puerta de Atocha-Almudena Grandes station.
The best way to get from Madrid to Castellar de la Frontera is to train which takes 6h 22m and costs €75 - €120. Alternatively, you can bus, which costs €28 - €80 and takes 9h 55m.
What companies run services between Madrid, Spain and Castellar de la Frontera, Spain?
Renfe Viajeros operates a train from Madrid-Puerta de Atocha-Almudena Grandes to San Roque-La Linea once daily. Tickets cost €75–120 and the journey takes 5h 14m. Alternatively, Interbus operates a bus from Madrid Estación Sur de Autobuses to Algeciras San Bernardo 3 times a day. Tickets cost €24–75 and the journey takes 8h 30m.
- Website
- iberia.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Málaga Airport
- Ave. Duration
- 1h 19m
- When
- Every day
- Estimated price
- €30–90
Flights from Adolfo Suárez Madrid–Barajas Airport to Jerez Airport
- Ave. Duration
- 1h 20m
- When
- Every day
- Estimated price
- €45–230
Flights from Adolfo Suárez Madrid–Barajas Airport to Seville Airport
- Ave. Duration
- 1h 15m
- When
- Every day
- Estimated price
- €22–70
Flights from Adolfo Suárez Madrid–Barajas Airport to Tangier Ibn Battouta Airport
- Ave. Duration
- 1h 30m
- When
- Every day
- Estimated price
- €35–240
- Website
- aireuropa.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Málaga Airport
- Ave. Duration
- 1h 16m
- When
- Every day
- Estimated price
- €30–130
Flights from Adolfo Suárez Madrid–Barajas Airport to Seville Airport
- Ave. Duration
- 1h 10m
- When
- Every day
- Estimated price
- €19–70
Flights from Adolfo Suárez Madrid–Barajas Airport to Tangier Ibn Battouta Airport
- Ave. Duration
- 1h 30m
- When
- Monday, Thursday, and Sunday
- Estimated price
- €55–370
- Website
- ryanair.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Sania Ramel Airport
- Ave. Duration
- 1h 25m
- When
- Monday and Saturday
- Estimated price
- €40–470
Flights from Adolfo Suárez Madrid–Barajas Airport to Tangier Ibn Battouta Airport
- Ave. Duration
- 1h 30m
- When
- Every day
- Estimated price
- €24–320
- Website
- royalairmaroc.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Sania Ramel Airport
- Ave. Duration
- 1h 35m
- When
- Tuesday, Wednesday, and Saturday
- Estimated price
- €35–290
Flights from Adolfo Suárez Madrid–Barajas Airport to Tangier Ibn Battouta Airport
- Ave. Duration
- 1h 27m
- When
- Every day
- Estimated price
- €30–360
- Website
- airarabia.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Tangier Ibn Battouta Airport
- Ave. Duration
- 1h 30m
- When
- Wednesday, Thursday, Saturday, and Sunday
- Estimated price
- €27–230
- Phone
- +34 91 232 03 20
- Website
- Renfe Viajeros
Train from Madrid-Puerta de Atocha-Almudena Grandes to San Roque-La Linea
- Ave. Duration
- 5h 14m
- Frequency
- Once daily
- Estimated price
- €75–120
- Website
- Renfe Viajeros
Train from Sevilla-Santa Justa to Jerez De La Frontera
- Ave. Duration
- 51 min
- Frequency
- Hourly
- Estimated price
- €13–19
- Website
- Renfe Viajeros
- Phone
- +34 916 52 00 11
- [email protected]
- Website
- grupointerbus.com
Bus from Madrid Estación Sur de Autobuses to Algeciras San Bernardo
- Ave. Duration
- 8h 30m
- Frequency
- 3 times a day
- Estimated price
- €24–75
- Schedules at
- grupointerbus.com
- Phone
- +34 91 272 28 32
- [email protected]
- Website
- avanzabus.com
Bus from Malaga Airport to Estación de Autobuses de Marbella
- Ave. Duration
- 40 min
- Frequency
- Hourly
- Estimated price
- €8–11
- Schedules at
- malaga.avanzagrupo.com
Bus from Marbella Estación de Autobuses to Estación de Algeciras San Bernardo
- Ave. Duration
- 1h 14m
- Frequency
- Every 3 hours
- Estimated price
- €15–18
- Schedules at
- malaga.avanzagrupo.com
Bus from Córdoba, Estación de Autobuses to Estación de Algeciras San Bernardo
- Ave. Duration
- 6h 30m
- Frequency
- Once daily
- Estimated price
- €30–75
- Schedules at
- alsa.es
- Phone
- +34 910 207 007
- Website
- ALSA
Bus from Marbella Estación de Autobuses to Estación de Algeciras San Bernardo
- Ave. Duration
- 1h 15m
- Frequency
- 4 times a day
- Estimated price
- €7–11
- Website
- ALSA
- Phone
- +34 915 304 417
- [email protected]
- Website
- Socibus
Bus from Estación Sur de Autobuses to Córdoba, Estación de Autobuses
- Ave. Duration
- 4h 46m
- Frequency
- 4 times a day
- Estimated price
- €30–45
- Website
- Socibus
- Phone
- +34 900 92 91 92
- [email protected]
- Website
- Monbus
Bus from Jerez de la Frontera to Estación de Algeciras San Bernardo
- Ave. Duration
- 1h 35m
- Frequency
- 4 times a day
- Estimated price
- €9
- Website
- Monbus
Bus from Jerez de la Frontera to Estación de Algeciras San Bernardo
- Ave. Duration
- 1h 35m
- Frequency
- 4 times a day
- Estimated price
- €9
- Website
- Monbus
- Phone
- +34 956 807 059
- [email protected]
- Website
- tgcomes.es
Bus from Jerez de la Frontera to Estación de Algeciras San Bernardo
- Ave. Duration
- 3h 45m
- Frequency
- Once a week
- Estimated price
- €15–25
- Schedules at
- tgcomes.es
Bus from Jerez de la Frontera to Estación de Algeciras San Bernardo
- Ave. Duration
- 3h 45m
- Frequency
- Once a week
- Estimated price
- €15–25
- Schedules at
- tgcomes.es
Bus from Tarifa - Centro de Salud to Estación de Algeciras San Bernardo
- Ave. Duration
- 40 min
- Frequency
- Every 3 hours
- Estimated price
- €2–6
- Schedules at
- siu.ctmcg.es
Bus from Estación de Algeciras San Bernardo to Castellar de la Frontera
- Ave. Duration
- 25 min
- Frequency
- Twice daily
- Estimated price
- €4–6
- Schedules at
- tgcomes.es
- Phone
- +34 912 66 02 15
- [email protected]
- Website
- balearia.com
Car ferry from Ceuta to Port of Algeciras
- Ave. Duration
- 1h 15m
- Frequency
- Every 3 hours
- Estimated price
- €10–150
- Schedules at
- balearia.com
- Seating
- €40–60
- Car
- €110–150
Car ferry from Port of Tangier Ville to Tarifa
- Ave. Duration
- 1h
- Frequency
- Every 3 hours
- Estimated price
- €10–221
- Schedules at
- balearia.com
- Sirena Seat No Car
- €40
- Neptuno Seat No Car
- €50
- Sirena Seat Car
- €211
- Neptuno Seat Car
- €221
- Phone
- +34 956 68 18 30
- [email protected]
- Website
- FRS Ferries
Car ferry from Ceuta to Port of Algeciras
- Ave. Duration
- 1h
- Frequency
- 5 times a day
- Estimated price
- €35–55
- Website
- FRS Ferries
- Phone
- +34 (0) 917369957
- Website
- Trasmediterránea S.A.
Car ferry from Ceuta to Port of Algeciras
- Ave. Duration
- 1h
- Frequency
- 5 times a day
- Estimated price
- €3–128
- Website
- Trasmediterránea S.A.
- Car
- €128
- Without Vehicle
- €36
Want to know more about travelling around Spain
Rome2Rio's Travel Guide series provide vital information for the global traveller. Filled with useful and timely travel information, the guides answer all the hard questions - such as 'How do I buy a ticket?', 'Should I book online before I travel? ', 'How much should I expect to pay?', 'Do the trains and buses have Wifi?' - to help you get the most out of your next trip.
Related travel guides
Train travel in Spain: A guide to Renfe
Read the travel guide
What are the different types of Renfe trains in Spain?
Read the travel guide
Booking & Getting There
Madrid to Castellar de la Frontera bus services, operated by Interbus, arrive at Algeciras San Bernardo station.
Madrid to Castellar de la Frontera train services, operated by Renfe Viajeros, arrive at San Roque-La Linea station.
Yes, the driving distance between Madrid to Castellar de la Frontera is 628 km. It takes approximately 6h 57m to drive from Madrid to Castellar de la Frontera.
There are 1842+ hotels available in Castellar de la Frontera.



















































