There are 5 ways to get from Madrid to Castellar del Vallès by train (Renfe, Ouigo), bus, car, plane, or train
Select an option below to see step-by-step directions and to compare ticket prices and travel times in Rome2Rio's travel planner.
Train
best- Take the train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-SantsAve
4h 8m€42–200Bus
cheapest- Take the bus from Madrid, Avenida de América to Barcelona, Estación de Autobuses de SantsAlsa
9h 21m€32–77Drive 598.9 km
- Drive from Madrid to Castellar del Vallès598.9 km
6h 2m€95–138Fly, train
- Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Barcelona–El Prat Airport (BCN)MAD - BCN
- Take the train from Barcelona Sants to Sabadell Nord
5h 18m€54–175Bus via Barcelona - Estació de Fabra i Puig
- Take the bus from Madrid to BarcelonaFlixBus N1138
9h 52m€52–71
Madrid to Castellar del Vallès by bus and foot
Questions & Answers
The cheapest way to get from Madrid to Castellar del Vallès is to bus which costs €30 - €80 and takes 9h 21m.
The fastest way to get from Madrid to Castellar del Vallès is to train which takes 4h 8m and costs €40 - €200.
No, there is no direct bus from Madrid to Castellar del Vallès. However, there are services departing from Madrid and arriving at Castellar del Vallès via Marina - Monumental and Barcelona - Estació de Fabra i Puig. The journey, including transfers, takes approximately 9h 52m.
The distance between Madrid and Castellar del Vallès is 644 km. The road distance is 598.9 km.
The best way to get from Madrid to Castellar del Vallès without a car is to train which takes 4h 8m and costs €40 - €200.
It takes approximately 4h 8m to get from Madrid to Castellar del Vallès, including transfers.
Madrid to Castellar del Vallès bus services, operated by FlixBus, depart from Madrid station.
The best way to get from Madrid to Castellar del Vallès is to train which takes 4h 8m and costs €40 - €200. Alternatively, you can bus, which costs €30 - €80 and takes 9h 21m.
Madrid to Castellar del Vallès bus services, operated by FlixBus, arrive at Barcelona station.
Yes, the driving distance between Madrid to Castellar del Vallès is 599 km. It takes approximately 6h 2m to drive from Madrid to Castellar del Vallès.
What companies run services between Madrid, Spain and Castellar del Vallès, Spain?
Renfe AVE operates a train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants hourly. Tickets cost €55–190 and the journey takes 2h 37m. Three other operators also service this route. Alternatively, ALSA operates a bus from Madrid, Avenida de América to Barcelona, Estación de Autobuses de Sants every 4 hours. Tickets cost €25–70 and the journey takes 7h 50m.
Transport is disrupted due to the Russia-Ukraine war. Read more
- Website
- iberia.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Barcelona–El Prat Airport
- Ave. Duration
- 1h 18m
- When
- Every day
- Estimated price
- €30–150
- Website
- aireuropa.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Barcelona–El Prat Airport
- Ave. Duration
- 1h 25m
- When
- Every day
- Estimated price
- €35–150
- Website
- rj.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Barcelona–El Prat Airport
- Ave. Duration
- 1h 25m
- When
- Wednesday
- Estimated price
- €75–180
- Phone
- +34 91 232 03 20
- Website
- renfe.com
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 2h 37m
- Frequency
- Hourly
- Estimated price
- €55–190
- Website
- https://www.renfe.com/es/en
- Phone
- +34 900 926 851
- atencion.cliente@iryo.eu
- Website
- iryo.eu
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 2h 57m
- Frequency
- Hourly
- Estimated price
- €50–150
- Website
- https://iryo.eu/en/home
- Phone
- +34 910 780 990
- Website
- ouigo.com
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 3h 2m
- Frequency
- Every 4 hours
- Estimated price
- €35–95
- Website
- https://www.ouigo.com/es/en
- Phone
- +34 91 232 03 20
- Website
- renfe.com
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 3h 4m
- Frequency
- Twice daily
- Estimated price
- €45–65
- Website
- https://www.renfe.com/es/en
- Phone
- +34 900 41 00 41
- Website
- rodalies.gencat.cat
Train from Barcelona Sants to Sabadell Nord
- Ave. Duration
- 45 min
- Frequency
- Every 20 minutes
- Estimated price
- €5
- Website
- https://rodalies.gencat.cat/en/inici/index.html
- Phone
- +34 910 207 007
- alsa@alsa.es
- Website
- alsa.com
Bus from Madrid, Avenida de América to Barcelona, Estación de Autobuses de Sants
- Ave. Duration
- 7h 50m
- Frequency
- Every 4 hours
- Estimated price
- €25–70
- Website
- https://www.alsa.com/en/
Rome2Rio's guide to FlixBus
Contact Details
- Phone
- +49 30 300 137 300
- service@flixbus.com
- Website
- flixbus.fr
Bus from Madrid to Barcelona
- Ave. Duration
- 7h 30m
- Frequency
- Once daily
- Estimated price
- €45–65
- Website
- https://www.flixbus.co.uk
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
Want to know more about Flixbus?
Read the travel guide
More Questions & Answers
There are 757+ hotels available in Castellar del Vallès.



















