Burg Gräfenstein is the ruin of a castle near Merzalben in the district of Südwestpfalz, Rhineland-Palatinate. It is one of the most significant castles from the Staufer period in Rhineland-Palatinate. The central structure, including the keep and palas, likely dates back to the 12th century, thus originating from the Staufer era. Gräfenstein was first mentioned in 1237 in a partition document of the Counts of Leiningen.