From 1938 to 1945, Loket was occupied by Nazi Germany and administered as Portion of the Reichsgau Sudetenland. In 1945, the German population was expelled according to the Beneš decrees. While in the late 20th century, the castle underwent an entire reconstruction and was subsequently open to the general public.In 1725 the castle was burned down