According to written sources, the castle in Lanckorona was built by king Casimir the Great in the mid-fourteenth century. It guarded the nearby border between the Kraków area and the Duchy of Oświęcim. The first burgrave named Orzeszko is mentioned in 1366. Later, the castle was the residence of Lanckorona starosts and changed the owners several times. In 1391 Władysław Jagiełło pledged it to Mikołaj Strasz. After him, the city and strongholds were taken over by the Leliwites – Melsztyński family. In 1410, the land was bought by the marshal of the Kingdom of Poland, Zbigniew from Brzezia, whose descendants took the surname of Lanckoroński. From the 16th century, the castle was ruled by the Wolscy and then Zebrzydowscy, of which Mikołaj Zebrzydowski started the rebellion in 1606 against king Zygmunt III Waza. In 1655, the castle was occupied by the Swedish army. After their retreat, the then starost Michał Zebrzydowski undertook works to strengthen the castle fortifications. In 1768, Lanckorona was taken over by the Bar confederates, for which it became one of their most important starting points in Lesser Poland. The castle, destroyed by warfare and then turned into a prison, fell into total ruin in the 19th century.
The castle had a regular, rectangular plan. In the southern part, two quadrilateral towers stood in the corners, connected by a curtain wall. Three apartment wings closing the courtyard adjoined the towers. The entrance to the castle led from the east through a drawbridge.
To this day, the lower parts of the two towers and fragments of the defensive wall have been preserved. Admission to the castle area is free.
Leksykon zamków w Polsce, L.Kajzer, S.Kołodziejski, J.Salm, Warszawa 2003.