The castle was built on a rocky promontory above Baden gorge some time before 1000. In the late 11th Century the castle came to the Lenzburg family. By the early 12th Century, the cadet line that lived in the castle called themselves the Counts of Baden. In 1172, the castle was inherited by the Kyburg family. When that family died out in 1263, the castle was inherited by the Habsburgs in 1264. The castle was occupied by a bailiff and was the seat of the Austrian administration for Vorderösterreich (Further Austria) and housed the archive. The castle as besieged and destroyed in 1415 by the Swiss Confederation. It was rebuilt in 1658-70 but was demolished in 1712. It remains in ruins since that time.