Wernigerode Castle (German: Schloss Wernigerode) is a schloss located in the Harz mountains above the town of Wernigerode in Saxony-Anhalt, Germany. The present-day building, finished in the late 19th century, is similar in style to Schloss Neuschwanstein, though its foundations are much older. It is open to the public and one of the most frequently visited in Saxony-Anhalt.
The first mention of the Saxon noble Adalbert of Haimar, Count of Wernigerode, in an 1121 deed is also the first documentation of the settlement, which had been founded about a century earlier in connection with the deforestation of the area. The counts built the castle on a slope south of the town as their residence; it was first mentioned as a castrum in 1213. When the line became extinct in 1429, the Wernigerode lands were inherited by the neighbouring County of Stolberg. The castle became the seat of the subordinate Amt administration and was put in pledge several times.
When in 1645 the Stolberg-Stolberg line split, Wernigerode again became the capital of the County of Stolberg-Wernigerode. The counts however struggled with the citizens in the course of the Thirty Years' War and had to take their residence at nearby Ilsenburg House. It was not until 1710 that Count Christian Ernest cound relocated the seat of government back to Wernigerode, when he had the castle rebuilt as a schloss in a Baroque style. He ruled for 61 years, though he had to accept the overlordship of King Frederick William I of Prussia in 1714.