Libyan railways are the Italian colonial railways in Italian Libya. They are related to the development of the railways in the Italian colonial empire. This history started with the opening in 1888 of a short section of line in Italian Eritrea, and ended in 1943 with the loss of Italian Libya after the Allied offensive in North Africa and the destruction of the railways around Italian Tripoli. The railways in the Italian colonial empire reached 1,561 km before World War II.
The construction of railways in the African Italian colonies (Eritrea, Libya and Somalia) did not have, for various reasons, a great development compared to that promoted by other European countries on the same continent.
The first rail lines were built mainly for war needs in the absence of efficient means of communication in the occupied territories, after the conquests of Eritrea and Libya. However, were quite limited in the first decades of occupation.
In 1940 the amount of railways in operation, between Italian East Africa and Libya, amounted to 1,556 km of which, however, the 693 km of the Italian section of the Railway Djibouti-Addis Abeba were pre-existing and built by the French Empire for Ethiopia.
The railways were built by Italy from the outset with little potential, because built with narrow gauge rails and with light metal type, and were never of great economic importance because isolated from the lines of neighboring states. Indeed, the choice of a gauge 950 mm, different from the meter gauge usually used in Africa, contributed to this effect.
Today most of these Italian colonial railways have disappeared: those of Somalia after the British occupation in 1941-1945. The Libyan ones were suppressed in the 1960s, but in the same decade the Eritrean railway between Asmara and Massawa was reactivated after long neglect of trafficking.