The village is part of the municipality of Obertrubach in the Upper Franconian county of Forchheim in the German state of Bavaria.
The lords of Wolfsberg are first recorded in 1169 when a certain Gozpold de Wolfesperch is mentioned.
The castle became the seat of an episcopal administrative office and was repeatedly enfeoffed from the 15th to the 17th centuries.
The castle was first destroyed in 1388 during the South German War of the Cities and was not rebuilt until 1408 under Amtmann Albert of Egloffstein.
During the Thirty Years' War, further destruction was wrought by the Swedes in 1631 and 1632, and also in 1633 by Tilly's cavalry and Electoral Bavarian troops.