Getting to the Royal Palace of La Granja de San Ildefonso
A concierge transport guide from Segovia and Madrid by train, bus and car, with road numbers, journey times and parking detail.
The Royal Palace of La Granja de San Ildefonso sits in the Sierra de Guadarrama foothills, about 12 kilometres south-east of Segovia and roughly 80 kilometres from Madrid. It is an easy half-day or full-day trip, but there is no direct train to the village itself, so the journey almost always runs through Segovia. This guide explains every realistic route by train, bus and car, with the road numbers, transfer points and timings you need. As an independent concierge ticket service, we handle your skip-the-line palace entry separately so you can focus on getting there smoothly.
Where the palace sits, and why you route through Segovia
The palace stands at Plaza de España 15, in the village of Real Sitio de San Ildefonso (also written La Granja de San Ildefonso), at coordinates 40.8977, -4.0047. It lies about 12 kilometres south-east of the city of Segovia, tucked into the wooded northern slopes of the Sierra de Guadarrama at roughly 1,190 metres altitude. There is no railway station in the village itself, so practically every public-transport route funnels through Segovia first. From Madrid, the pattern is therefore two-stage: reach Segovia by train or coach, then change to a short local bus or taxi up to the palace. Drivers can go more directly. Once you arrive, the palace, its monumental gardens and the famous fountains are all clustered around the central square, so no further transport is needed on site. Plan around the connection in Segovia, and the rest of the trip is straightforward.
By train from Madrid via Segovia
The fastest rail option from Madrid is the high-speed Avant/AVE service from Madrid-Chamartín to Segovia-Guiomar, which covers the distance in about 25 to 30 minutes. Segovia-Guiomar, however, sits roughly 5 kilometres outside Segovia's centre, so it is not the end of your journey. From the station forecourt, urban bus lines 11 and 12 connect Guiomar to Segovia's main bus station and the old town in about 15 to 20 minutes; a taxi covers the same hop quickly. From the bus station you then take the local LineCar bus up to La Granja (covered in the next section). Buy the high-speed train ticket in advance, as cheaper fare buckets sell out and walk-up prices are higher. A slower regional train also serves Segovia's older central station, but the high-speed line to Guiomar is the route most visitors use for a day trip.
By bus: Madrid to Segovia, then Segovia to La Granja
If you prefer coaches, Avanza runs frequent direct buses from Madrid's Moncloa transport interchange to Segovia, departing roughly every 30 minutes and taking about one hour and fifteen minutes. Moncloa is on the Madrid Metro, which makes this an easy, low-cost start. Arrive at Segovia's bus station and you are already positioned for the final leg.
The last stretch from Segovia up to La Granja is run by LineCar (the M8 metropolitan line) from Segovia bus station. Buses operate daily from roughly 06:45 to around 21:00, with departures spread through the day and the ride taking about 20 to 35 minutes depending on stops and traffic. The single fare is only a couple of euros, paid to the driver. Check return times before you set off, as evening frequencies thin out and you do not want to be stranded after the gardens close. Confirm the current LineCar timetable on the day of travel.
By car from Madrid or Segovia, plus parking
Driving is the most flexible option, especially if you are combining the palace with other sites in the Guadarrama. From Madrid, the usual route is the A-6/AP-6 motorway north-west, then the AP-61 toll spur towards Segovia, exiting for the N-110/SG-20 and dropping down on the CL-601 to La Granja — about 80 kilometres and roughly one hour. A scenic alternative climbs the M-601 over the Puerto de Navacerrada mountain pass, which is slower and can be affected by snow in winter but is spectacular in clear weather. From Segovia city it is a simple 12-kilometre run on the CL-601, around 20 to 30 minutes.
The palace has no large official visitor car park, so most drivers use free on-street parking in the village. Side streets a short walk from Plaza de España, such as Calle Tahona, typically have unmetered spaces with no blue or green pay-line markings. Arrive early on summer weekends and fountain-display days, when the village fills quickly and the nearest spaces go first. Once parked, everything — palace entrance, gardens and fountains — is within a few minutes on foot, so you will not need the car again until you leave. Respect residential signage and avoid blocking narrow lanes.
Choosing the right option for your day
For a fast day trip from Madrid without a car, pair the high-speed train to Segovia-Guiomar with the urban bus and the LineCar connection; it is quick but involves two changes. For the simplest single-change public route, the Avanza coach from Moncloa to Segovia, then LineCar to La Granja, is hard to beat and very economical. Drivers gain the most freedom, particularly for early arrivals before the gardens get busy or for chaining La Granja with Segovia's aqueduct and cathedral. Whichever way you come, allow generous time for the Segovia connection and check the last return bus, because timetables tighten in the evening and outside peak season. With your transport sorted, your reserved palace entry means you can walk straight to the experience rather than queueing at the door.
Frequently asked
Is there a train station in La Granja de San Ildefonso?
No. The village has no railway station of its own. The nearest is Segovia-Guiomar, the high-speed station about 5 kilometres outside Segovia, roughly 25 to 30 minutes from Madrid-Chamartín. From Guiomar you transfer by urban bus (lines 11 or 12) or taxi into Segovia, then take the local LineCar bus up to La Granja. There is no rail connection for the final 12-kilometre leg, so a bus, taxi or car is always required at the end.
How do I get from Segovia to the palace by public transport?
Take the LineCar bus (the M8 metropolitan line) from Segovia's main bus station up to La Granja. It runs daily from roughly 06:45 to around 21:00, the ride takes about 20 to 35 minutes, and the single fare is only a couple of euros paid to the driver. Always check the current timetable and, importantly, the last return departure, as evening services are less frequent.
How long does it take to drive from Madrid?
Plan on about one hour for the roughly 80-kilometre drive. The common route is the A-6/AP-6 north-west, the AP-61 toll spur towards Segovia, then the CL-601 into La Granja. A more scenic but slower option crosses the Puerto de Navacerrada pass on the M-601, which can be affected by winter snow. From Segovia city it is just 12 kilometres on the CL-601, about 20 to 30 minutes.
Is there parking at the palace?
There is no large official visitor car park at the palace. Most drivers use free on-street parking in the village, on side streets a short walk from Plaza de España such as Calle Tahona, where spaces are typically unmetered with no pay-line markings. Arrive early on summer weekends and fountain-display days, as the nearest spaces fill fast. Always respect residential signage and avoid blocking narrow lanes.
Do I need to book transport in advance?
For the high-speed train from Madrid-Chamartín to Segovia-Guiomar, yes — cheaper fares sell out and walk-up prices are higher. The Avanza coach from Moncloa and the local LineCar bus are typically bought on the day and rarely need pre-booking, though you should still check timetables. Your palace entry is separate from transport; reserving it ahead means you can go straight in rather than queueing on arrival.