Real Sitio de San Ildefonso

San Ildefonso
Real Sitio de San Ildefonso
Iglesia de los Dolores
San Ildefonso
Location in Spain.
San Ildefonso
San Ildefonso (Spain)
Coordinates: 40°54′03″N 4°00′19″W / 40.90081°N 4.00529°W / 40.90081; -4.00529
Country Spain
Autonomous community Castile and León
Province Segovia
ComarcaCiudad y Tierra de Segovia
Government
 • MayorJose Luis Vázquez Fernández
Area
 • Total
144.81 km2 (55.91 sq mi)
Elevation
1,193 m (3,914 ft)
Population
 (2025-01-01)
 • Total
5,217
 • Density36.03/km2 (93.31/sq mi)
DemonymGranjeños
Time zoneUTC+1 (CET)
 • Summer (DST)UTC+2 (CEST)
Postal code
40100
WebsiteOfficial website

San Ildefonso (Spanish pronunciation: [san ildeˈfonso]), La Granja (pronounced [la ˈɣɾaŋ.xa]), or La Granja de San Ildefonso, is a town and municipality in the Province of Segovia, in the Castile and León autonomous region of central Spain.

It is located in the foothills of the Sierra de Guadarrama mountains, 11 kilometres (6.8 mi) from Segovia, and 80 kilometres (50 mi) north of Madrid.