The Ottomans took control of the town after the fourth siege in 1478, and incorporated it in their territories. A 1906 local revolt against the Ottoman Empire was followed by the 1912 Declaration of Independence of Albania. In the mid-1910s Krujë was one of the battlefields of the conflict between the short-lived Republic of Central Albania, founded by Essad Toptani, and the Principality of Albania. In 1914 Toptani managed to seize the town but during the same year it was reincorporated by Prênk Bibë Doda in the Principality of Albania. During World War II it was the centre of the activities of resistance leader Abaz Kupi.
The museums of Krujë include the Skanderbeg Museum, located in the environs of the Krujë Castle, and the national ethnographic museum.