Real Sitio de San Ildefonso
Philip V's summer palace near Segovia, with 146 hectares of French formal gardens and 29 gravity-fed fountains
Visit details
Overview
The Royal Palace of La Granja de San Ildefonso is the summer palace Philip V built in the pine woods on the north slope of the Sierra de Guadarrama, 12 kilometres from Segovia and 80 kilometres north of Madrid. Spain’s first Bourbon king bought the site from Hieronymite monks in 1720 and had a palace and a French formal garden standing within a few years, on ground he had first come to for the hunting.
Give the palace an hour. The gardens are why you make the trip. They cover 146 hectares and hold 29 fountains with more than 300 jets between them, every one fed by gravity from reservoirs set higher up the hillside, on cast-iron pipework roughly 300 years old that has never been replaced. Philip V’s garden designer used the slope where Versailles had to fight for pressure, and the difference shows: the jet at the Fuente de la Fama clears 40 metres.
The palace was listed as a national monument on 11 August 1925 and the gardens separately as a historic garden in 1931. Around them sits a working town of about 5,200 people at 1,193 metres, with a royal glass factory that is now a museum and a UNESCO biosphere reserve running off into the mountains behind. Most visitors come for the day from Segovia or Madrid, walk the palace and the central axis of the garden, eat in the village and leave.
The catch, and it is the one thing worth planning around, is that the fountains are not on. They never all are. Running the full set costs 9,000 cubic metres of water an hour, as much as the city of Segovia gets through, and would empty the main reservoir in 13 hours, so the system was built to be switched on only when the king was walking past. Some run on scheduled days through the summer season, and all of them together only on three saints’ days: 30 May, 25 July and 25 August. Turn up on a wet Tuesday in February and you get lead statues standing in dry stone basins, which has its own appeal but is not the postcard.
History
The north side of the Guadarrama was royal hunting country long before there was a palace. Henry III had a hunting lodge built at Valsaín, and Henry IV added a shelter and a small hermitage dedicated to Saint Ildephonsus, the seventh-century archbishop of Toledo, which is where the second half of the name comes from. In 1477 the Catholic Monarchs handed the hermitage, the shelter and the land around them to the Hieronymite monks of El Parral in Segovia, who ran a farm there and came up in summer for the cooler air. The farm was the granja, and the town grew out of it.
Philip V was hunting these woods around 1718 when his own summer palace at Valsaín burned out. He bought the monks’ farm in 1720 and gave the palace to Teodoro Ardemans and the gardens to the French designer René Carlier, whose training under Louis XIV’s circle pulled hard against Ardemans’s conventional Spanish plan. Building started in 1721 and moved fast enough that the court could move in during 1723.
That reversal is written into the building. The modest first palace had to be extended twice: Andrea Procaccini and Sempronio Subisati added the flanking courtyards from about 1728, and in 1736 Filippo Juvarra was brought over from Turin to design a new facade on the garden’s central axis, completed by his assistant Giovanni Battista Sacchetti. Four building phases inside twenty years left a dense, distinctly Italian exterior sitting on Spanish foundations.
The rest of a royal town went up alongside it. The collegiate church of the Holy Trinity was built to Ardemans’s designs between 1721 and 1724, and Philip chose it as his burial place rather than El Escorial, breaking with every Habsburg predecessor. He and his second wife Elisabeth Farnese lie in a crypt behind the high altar, under a monument designed by the sculptor Hubert Dumandré. A royal glass factory followed in 1728, shifted here from the province of Madrid under its Catalan foreman Ventura Sit because the timber for the furnaces was on the doorstep and the patron was up the road.
Ferdinand VI left the whole royal site to Elisabeth Farnese, who was effectively parked here, well clear of Madrid politics, for the length of his reign and kept a substantial court of her own. When she died in 1766 it passed to her son Charles III. For roughly 120 years after that, La Granja was the court’s main summer address, which is why so much Spanish diplomacy carries its name. Three treaties signed here between 1777 and 1800 are all called the Treaty of San Ildefonso: the first redrew the line between Spanish and Portuguese South America, the second allied Spain with France against Britain, and the third started the chain of handovers that put Louisiana in French and then American hands.
The sharpest thing that happened here was domestic. On 12 August 1836 Liberal officers at the palace forced the regent, Queen Maria Christina, to sign a decree restoring the Constitution of 1812. A constitutional crisis settled in a mountain village, sixty kilometres from the Cortes, because that was where the monarch happened to be spending August.
Two later dates explain what you actually see. From the 1880s the court began summering at the seaside palaces in the north and the site fell out of use, and in 1918 a major fire tore through the palace, destroying much of the interior decoration and a great deal of the collection. Most of the ceiling frescoes from Philip V’s time came through it, which is why the room names still work: each state room downstairs is named after the painting on its vault. The monarchy left in 1931, and the palace, the gardens and the woods are now run by Patrimonio Nacional, the state body that also holds the Royal Palace of Madrid and El Escorial.
Visiting
There is one way in, from Plaza de España, and the ticket offices sit at the entrance to the Patio de Coches. The palace opens Tuesday to Sunday, 10:00 to 19:00 from April to September and 10:00 to 18:00 from October to March, with the box office and access to the building closing an hour before the building does. Mondays are shut all year. Basic admission is 9 euros, reduced 4, and a guided tour adds 8 euros per person and runs about an hour.
The route covers the old royal apartments on the two floors facing the eastern front. Downstairs the rooms are the formal ones, each named for the fresco on its ceiling: the Sala de Hércules, the Sala de la Justicia, the Fuente de la Galatea and the Sala de Mármoles, also called the Sala de Europa. Upstairs is more private and more interesting: the Galería de Retratos, the royal bedroom, the Salón de Lacas and the Gabinete de Espejos. Look up at the chandeliers, which were made a few hundred metres away at the royal glass factory.
The gardens keep their own hours, and they are longer than the palace’s: 10:00 to 18:00 from November to February, to 18:30 in October and March, to 20:00 in April, May and September and the first half of June, and to 21:00 from mid-June through August. Paths are gravel and the ground drops away from the palace, so the walk back is uphill. The formal parterres and the main axis take under an hour; getting out to the far reservoirs and the wooded edges takes a good deal more.
Water is the whole point of the design, and it is worth knowing how it works before you walk it. Streams off the mountain fill a reservoir called El Mar at the highest point of the garden, holding 216,000 cubic metres, and eight smaller tanks sit at different heights to give each fountain its own pressure. Roughly 13 kilometres of pipe runs from there, some of it half a metre across, and the sculpture on top of it was cast in lead and painted to look like bronze.
The set pieces are all on or near the central axis. La Fama, at the end of its own parterre, has a winged horse on a six-metre lead crag and 21 jets, the main one clearing 40 metres. The Fuente de las Ocho Calles is eight matching fountains ringing a circular plaza, dedicated to Victory, Hercules, Minerva, Mars, Neptune, Ceres, Saturn and Cybele, with a marble Mercury in the middle. El Canastillo is unimpressive standing still and one of the best when running, because 42 of its jets point outwards and will soak the front row. The Baños de Diana was the last built and drinks the most water of any of them; Philip V is supposed to have looked at the finished thing and said it had amused him for three minutes and cost him three million.
Tickets for the monumental fountains are sold separately at 5 euros, with the Baños de Diana night session at 3. For 2026, note that all the night fountain shows scheduled for August and the special illumination on 25 August were cancelled on water-scarcity grounds, with full refunds. Check the current schedule before you buy anything, because it moves with the rainfall.
The other half of the visit is the Real Fábrica de Cristales, the 18th-century royal glassworks a short walk across the village, now a museum with furnaces and workshops you can watch in operation. A combined ticket with the palace costs 15 euros, and you do not have to do both on the same day: the glass factory half activates once you have visited the palace and stays valid for the following seven days.
Tips
- Book online, but do not panic if the slots are gone. Patrimonio Nacional states that tickets may still be available at the on-site box office even when the website is sold out.
- Free entry runs on Wednesdays and Sundays from 15:00 until closing, for EU citizens, EU residents and work-permit holders, and citizens of Latin American countries, on production of ID or a passport. It covers the unguided route only and is sold at the ticket office, not online.
- Reduced admission at 4 euros covers ages 5 to 16, over-65s and accredited students up to 25. Under-5s, accredited disabled visitors and their companion, large families, teachers and ICOM members go free, and free tickets have to be collected at the ticket office.
- Guided tours bought online are in Spanish only. If you want English, take the audioguide instead: 5 euros for a rental handset at the counter, or download the free app and enter your ticket number, in which case bring your own headphones.
- Closed dates for 2026 beyond the weekly Monday: 1, 6 and 23 January, 1 May, 25 August, and 24, 25 and 31 December.
- The 25 August closure is San Luis, the town’s festival, and one of only three days in the year when every fountain is meant to run. The palace shuts, the gardens do not.
- The glass factory museum keeps different hours again: Tuesday to Friday 10:00 to 15:30, Saturday 09:30 to 18:00 and Sunday 10:00 to 15:00 from 15 October to 31 March, longer in summer, closed Mondays. Entry with a workshop visit is 10 euros, and it is free on Wednesdays from April to September between 15:00 and 17:00.
- Photography without flash is allowed for personal use except where it is expressly signed otherwise. Tripods and selfie sticks are not.
- There is step-free access to the palace and manual wheelchairs can be borrowed on site.
- Coming by bus, Linecar runs the Segovia to San Ildefonso line and Avanza the Madrid to Segovia line, so from Madrid it is two legs. Driving, it is the M-601 from either Segovia or Villalba, and the A-6, AP-6 and AP-61 from Madrid. By train, take the high-speed or regional service to Segovia and change to the bus.
- The village sits at 1,193 metres on the cold side of the Guadarrama. Take a layer even in July, and expect the gardens to be shutting at 18:00 in midwinter while it is already dark.
- Eat in the village rather than at the gates, and if you are combining the trip with the Aqueduct of Segovia, do the palace first: the fountain schedule is fixed and the aqueduct is not going anywhere.
Know this destination? Help us improve
Your local experience is valuable to other travelers.