The Uganda Railway, colloquially known as the Lunatic Express or the Lunatic Line, is a railway system and former railway company dating to the colonial period. The line links the interiors of Uganda and Kenya with the Indian Ocean at Mombasa in Kenya.
The official approach, British and local, to both slavery and free porter labour included a genuine belief that the man doing the work had real interests which deserved concern and protection. No such concern was evident among parliamentarians, missionaries or administrators for those at work on the construction of the Uganda Railway. It was decided to build the railway as quickly as possible; its construction was viewed almost as a military attack—casualties were inevitable and might be large if the objective were to be attained and momentum not lost.
Built during the Scramble for Africa, the Uganda Railway was the one genuinely strategic railway to be constructed in tropical Africa at that time. 2,498 workers died during its construction.
The Uganda Railway was named after its ultimate destination, for its entire original 660-mile length actually lay in what would become Kenya. Construction began at the port city of Mombasa in British East Africa in 1896 and finished at the line's terminus, Kisumu, on the eastern shore of Lake Victoria, in 1901. 200,000 individual 9-metre (30 ft) rail-lengths and 1.2 million sleepers, 200,000 fish-plates, 400,000 fish-bolts and 4.8 million steel keys including steel girders for viaducts and causeways had to be imported, necessitating the creation of a modern port at Kilindini Harbour in Mombasa. With their new steam-powered access to Uganda, the British could transport people and soldiers to ensure their domination of the region.
Before the railway's construction, the British East Africa Company had begun the Mackinnon-Sclater road, a 600 miles (970 km) ox-cart track from Mombasa to Busia in Kenya, in 1890.