It was built by the Crusaders in the 12th century from indigenous limestone and the remains of Roman structures. The finished structure was surrounded by a moat. It belonged to the genoeseEmbriaco family, whose members were the Lords of Gibelet (as Byblos/Lebanon was called during Middle Ages). Saladin captured the town and castle in 1188 and dismantled the walls in 1190. Later, the Crusaders recaptured Byblos and rebuilt the fortifications of the castle in 1197. In 1369, the castle had to fend off an attack from Cypriot vessels from Famagusta.
The Byblos Castle has distinguished historical buildings for neighbors. Nearby stands a few Egyptian temples, Phoenician Royal Necropolis and the Roman amphitheatre. These are testament to the varied and rich history of the ancient city of Byblos.