Monasterio de San Juan was founded in 1091, when the kings Alfonso VI and Constance of Burgundy donated a small land to monk Lesmes, who came from the Chaise-Dieu abbey. In 1537 a fire destroyed practically the whole monastery. The reconstruction lasted until the confiscation. During the first half of the 19th century, several confiscations destroyed the heritage of the monastery and the hospital of San Juan. The monks were expelled from the monastery. The buildings were used as a prison.
Linderhof is the smallest of the three palaces built by King Ludwig II of Bavaria and the only one which he lived to see completed.
Ludwig II, who was crowned king in 1864, began his building activities in 1867-1868 by redesigning his rooms in the Munich Residenz and laying the foundation stone of Neuschwanstein Castle. In 1868 he was already making his first plans for Linderhof. However, neither the palace modelled on Versailles that was to be sited on the floor of the valley nor the large Byzantine palace envisaged by Ludwig II were ever built.
Instead, the new building developed around the forester's house belonging to his father Maximilian II, which was located in the open space in front of the present palace and was used by the king when crown prince on hunting expeditions with his father.