Krakovets was incorporated as a private city in 1520. It remained in the Kingdom of Poland (Wojewodztwo Ruskie) until taken by the Austro-Hungarian Empire in 1772 during the First Partition of Poland. It remained under Austrian rule until 1918. From 1918 until September 1939, Krakowiec was in the Republic of Poland (Wojewodztwo Lwowskie). Following the Soviet invasion of Poland beginning on September 17, 1939, Krakowiec was incorporated into the USSR. After Nazi Germany's attack on the Soviet Union in June 1941, German occupation authorities put Krakovets in the District of Galicia in the General Government until Soviet forces took the town in 1944. As a result of the Soviet authorities crossing the border through Krakovets the city's population was evicted. From 1944 until 1991, Krakovets was in the USSR (Ukrainian Soviet Socialist Republic). Since 1991, Krakovets has been in Ukraine.
