Bogenšperk Castle (pronounced [ˈboːɡɛnʃpɛɾk]; Slovene: Grad Bogenšperk, German: Schloss Wagensperg) is a 16th-century castle located in the municipality of Šmartno pri Litiji in central Slovenia. It is best known for its association with the 17th-century historian Johann Weikhard von Valvasor.