El Escorial is a famous royal site in Spain. It was built in the late 1500s. El Escorial is a monastery, a royal palace, a museum and a school. It is located about northwest of the Spanish capital, Madrid, in the town of San Lorenzo de El Escorial. Five miles from the main building is a hunting lodge called Granjilla de La Fresneda, which is also part of the Escorial.