The Federated Malay States Railways (FMSR) was a consolidated railway operator in British Malaya (present day Peninsular Malaysia and Singapore) during the first half of the 20th century. Named after the then recently formed Federated Malay States in 1896 and founded five years after the formation of the federation, the company acquired various railways that were developed separately in various parts of Malaya, and oversaw the largest expansion and integration of the colonies' rail network encompassing the Federated Malay States, the Unfederated Malay States (except Trengganu) and the Straits Settlements, with lines spanning from Singapore to the south to Padang Besar (near the border with Siam) to the north.