Swedish chronicles first reported of the settlement of Keksholm in 1294. Until the 16th century, the fortress belonged to the Novgorod Republic, followed by Muscovy. Novgorodians built the current stone bastions and towers in 1364 after a fire had destroyed the original wooden fortress in 1360.