Hajnacka castle was built in the Gothic style against the Mongol invasion in the mid 1200s. Later, in the mid 15th century, the construction was finished. Hajnacka was the seat of important feudal lords. In 1545 the castle was besieged and conquered by Ottomans. At the end of the 16th century and the first third of the 17th century castle was an important part of the anti-Turkish defensive line. Nevertheless, it Turks in 1645 again briefly occupied for few years. In the 17th century the castle was only partially inhabitated. In 1703 it was burnt down and no longer restored.
Today the remains of walls stand on the top of the hill which is hard to reach.