|Dates of operation||1885–present|
|Track gauge||1,000 mm (3 ft 3+3⁄8 in) metre gauge|
|Electrification||25 kV 50 Hz AC overhead catenary|
|Length||2,783 km (1,729 mi)]|
|Type||Government-owned companies thru Minister of Finance (Incorporated) (Malaysia)|
|Headquarters||Jalan Sultan Hishamuddin, 50621 Kuala Lumpur, Malaysia|
Wee Jeck Seng, Chairman |
Mohd Rani Hisham Samsudin, Chief Executive Officer
Keretapi Tanah Melayu Berhad (KTMB) ( Jawi: كريتاڤي تانه ملايو برحد) or Malayan Railways Limited, colloquially referred to simply as KTM, is the main rail operator in Peninsular Malaysia. The railway system dates back to the British colonial era, when it was first built to transport tin. Previously known as the Federated Malay States Railways (FMSR) and the Malayan Railway Administration (MRA), Keretapi Tanah Melayu acquired its current name in 1962.  The organisation was corporatised in 1992, but remains wholly owned by the Malaysian government.
In 1948, the FMSR was renamed the Malayan Railways. The railways had been devastated by the Japanese invasion of Malaya, and efforts were taken to rebuild the two main lines, but many branch lines were abandoned in the process.
The MR began to modernize the equipment with the ordering of diesel locomotives and railcars to replace steam-hauled services, and the first diesel locomotive entered service in 1957. The railcars entered service in 1960, initially on short-haul services.  Rapid services were introduced later, cutting travel times from Singapore to Kuala Lumpur down to six hours, which was competitive at the time.  MR and later KTM continued ordering more diesel locomotives through the decades, rendering the old steam locomotives redundant. The last steam locomotive was withdrawn from service in 1974.
The 1970s saw the closure of many branch lines, such as the Batu Arang branch in 1971 and the historic Taiping to Port Weld branch in 1972. The Port Dickson branch was converted to freight-only operation in 1972, although seasonal passenger service did continue for a short while.  However, construction did continue for a new line to Subang Airport used to transport fuel, which opened in 1980.
Railbuses were introduced in the 1980s for short-haul commuter services. They were deployed in the Klang Valley, on Kuala Lumpur to Ipoh, Ipoh to Butterworth, Gemas to Mentakab and Kulai to Singapore services.  On certain routes such as Kulai to Singapore, the railbuses were faster than conventional trains, and in this instance saved travel time of 15 minutes.  They lasted until the introduction of KTM Komuter in 1995, which took over commuter services in the Klang Valley.
KTM was corporatised in 1992, with all assets now under the ownership and management of the Railway Assets Corporation (RAC). The company runs as a private enterprise although owned and subsidized by the Malaysian government. There were attempts by private companies to take over the operations since then, but such proposals were rejected by the Malaysian government. 
The 1990s saw the start of another modernization programme. Proposals were made to electrify the West Coast line, which started with the Klang Valley area. Electric trains made their debut on 3 August 1995 with KTM Komuter, with services from Port Klang to Sentul and Rawang to Seremban. Under this programme, existing stations were renovated or rebuilt and new stations were built.
The programme was faced with delays throughout the 2000s, with the government postponing many electrification projects. However, from 2007 onwards there was a renewed effort to electrify the west coast line. The completion of such electrification projects from Padang Besar to Gemas to date has allowed the commencement of electrified intercity services in the form of ETS. As the projects were completed in stages, the KTM Komuter and ETS services were expanded over the years to take advantage of the upgraded lines. The East Coast line, which had not seen upgrades for many years, will see upgrades in the form of rehabilitated track, new DMUs and rebuilt stations by 2021.
The 1000mm gauge network consists of two main lines and several branch lines.
The West Coast Line runs from the Malaysia-Thailand Border, where it connects with the State Railway of Thailand, to Woodlands Train Checkpoint in Singapore, serving the West Coast states of Peninsular Malaysia. The line runs through most of the major stations in Peninsular Malaysia, such as Gemas, KL Sentral, Ipoh, Butterworth and Padang Besar railway station.
The East Coast Line branches off from the West Coast line at Gemas, running to Tumpat in Kelantan, serving two of Peninsular Malaysia's East Coast states, namely Pahang and Kelantan. Despite its name, it only meets the coast when it reaches Tumpat railway station. It runs through the interior, often through deep jungle, thus earning the nickname Jungle Railway.
There are several branch lines running from the two main lines. Some are mixed traffic, catering to passenger and freight traffic while others only cater to freight trains.
The total network spans 1,641 km (1,020 mi). The total length of the network was 1,700 km (1,100 mi), however due to the closure and subsequent removal of the section of tracks between Tanjong Pagar railway station and Woodlands Train Checkpoint, the network is now shorter.
The West Coast line is double tracked and electrified between Padang Besar and Gemas, along with all branch lines used for passenger service along this stretch. As part of the upgrades, all level crossings have been removed and modern signalling installed.
The stations along these line are a combination of heritage stations from the colonial era, such as Ipoh Station and Kuala Lumpur Station, and modern stations that were built when the line was double-tracked, such as Taiping, Butterworth, and Arau stations.
The remainder of the West Coast main line from Gemas Station to Johor Bahru Sentral Station is still in the process of being double-tracked and electrified under the Gemas - Johor Bahru Electrified Double Track Project.
The East Coast line is single-tracked. Having not seen many upgrades over the years, the line is considerably less modern than the upgraded sections of the West Coast line. Level crossings are still prevalent and the traditional token signalling system is still used. The stations along this line are older and smaller. Although the line will remain single-tracked, rehabilitation works are underway to replace the worn track and many stations are also being upgraded.
Most of the lines use concrete sleepers, which replaced wooden sleepers from 1982 for the Kerdau-Jerantut and Sungai Yu-Tumpat lines and became more widespread after upgrading works in recent years.
When the East Coast Line rehabilitation work and West Coast line double tracking is complete, the network will exclusively use concrete sleepers.
|15||English Electric Co. Ltd.||1948-1949||20||15101-15120||Diesel-Electric||Decommissioned.
as of July 2021: 1 unit preserved at KTMB Sungai Petani Station.
|16||North British Locomotive||1955||6||16101-16106||Diesel-Hydraulic||Decommissioned|
|18||Brush HMA||1979||10||18101-18110||Diesel-Electric||Decommissioned. As of July 2021: 1 unit Preserved at Johor Bahru Old Railway Station @ Museum|
|19||Hitachi||1983||10||19101-19110||Diesel-Electric||In Service. As of July 2021: 4 units active, 6 units inactive.|
|20||English Electric Co. Ltd. Associated
Vulcan Foundry Locomotive Works
|1957||26||20101-20126||Diesel-Electric||Decommissioned. One unit preserved at Sultan Alam Shah Museum, Shah Alam.|
|Diesel-Hydraulic||Decommissioned. As of July 2021: 1 unit preserved at People's Museum, Malacca.|
As of July 2021: 5 units preserved : National Museum (No.22121, re-numbered to 22102),
First Galleria Taiping (No.22125),
Tampin District Garden (No.22131),
Johor Bahru Old Railway Station @ Museum
3 transferred for use by civil engineering contractors.
|23||Hitachi Ltd. Japan||1983||15||23101-23115||Diesel-Electric||In Service.
As of July 2021: 4 units active, 2 units inactive, 9 units decommissioned with 1 unit preserved at Istana Sultan Johor
|24||Toshiba Corporation Japan, associated Kawasaki Heavy Industries, Ltd. Japan.||1987||26||24101-24126||Diesel-Electric||In Service. as of July 2021: 10 units active, 6 units inactive, 10 units decommissioned with 1 unit preserved at Mess Sri Kota, Bukit Tunku KL|
|Diesel-Electric||In Service. As of July 2021: 15 units active, 2 units inactive.|
|26||Adtranz||2003||20||26101-26120||Diesel Electric||In Service.
As of July 2021: 19 units active, 1 unit inactive.
|29||Dalian Locomotive & Rolling Stock||2005||20||29101-29120||Diesel Electric||In Service. as of July 2021: All 20 units active.|
|YDM4||American Locomotive Company||1996||39||Diesel Electric||Exported|
|EL||CRRC||2015||2||EL001-002||Electric||Decommissioned, returned to China|
|27||Commonwealth Engineering||1960||Diesel-Electric Railcar||Decommissioned|
|Railbus||Ganz Mavag||1988||Diesel Railbus||Decommissioned|
|61||CRRC Zhuzhou Locomotive||2019||Diesel-Electric
|81||Jenbacher||1994||18||EMU 01-EMU 18||5 refurbished and in service|
|82||Union Carriage & Wagon||1996||22||EMU 41-EMU 62||Decommissioned|
|83||Hyundai Rotem||1996||22||EMU 19-EMU 40||In Service|
|92||CRRC Zhuzhou Locomotive||2012||38||SCS 01-SCS 38||In Service|
|91||Hyundai Rotem||2009||5||ETS 01-ETS 05||In service|
|93||CRRC Zhuzhou Locomotive||2015
|19||ETS 201- ETS 210
ETS 211 - ETS 219
As a national railway company, KTMB is involved in the business of providing rail-based transportation. This can be divided into four major services:
KTM Intercity (Malay: KTM Antarabandar) is the brand name for long-haul passenger trains that connect cities and major towns served by the KTMB rail network.
The service is provided using conventional locomotive-hauled coaches. Services span the length of the network, except branch-lines. Daily services convey passengers from Johor Bahru, Johor, to Tumpat, Kelantan, Johor Bahru, Johor, to Gemas, Negeri Sembilan and Johor Bahru, Johor to Woodlands, Singapore.
KTM Intercity has also introduced innovative services aimed at making its trains not merely a means of transportation. It is possible for customers to rent specialized coaches for event management, conferences and even weddings.
It has also been involved in various types of collaborations, joint-promotions, and cross-promotions with all state-level tourism bodies, travel agencies and travel-related industry players in developing rail packages for group travellers.
KTM ETS, which stands for Electric Train Service, is a rapid intercity train service by KTM utilizing electric train-sets. The service started in 2010 using metre-gauge.
It currently operates on the lines from Gemas, Negeri Sembilan to Padang Besar, Perlis, Kuala Lumpur to Ipoh, Perak, and Kuala Lumpur to Butterworth, Penang.
The trains travel up to 140 km/h (87 mph) on electrified lines. the ETS offers its passengers comfortable and safe travel to their destination at very competitive travel times compared to other modes of transport.
For example, the travel time between KL Sentral and Ipoh is about 2 hours and 20 minutes, which compared favourably with the previous intercity train travel time of 3 hours and 30 minutes while buses can take up to 3 hours.
Each train set is capable of carrying up to 350 passengers. The passengers are waited upon by a team of dedicated on-board stewards and stewardesses.
The central sector consists of the Batu Caves Line, Seremban/Pulau Sebang Line, Port Klang Line and Tanjung Malim Line. Since 2018, KTM Komuter also operates an airport train service - the KL Sentral-Terminal Skypark Line linking KL Sentral to the Subang Airport. The fleet presently consists of Class 83 (three cars) and Class 92 (six cars).
The Northern Sector consists of two routes, namely the Butterworth/Bukit Mertajam-Ipoh route as well as the Butterworth-Padang Besar route.
KTM Komuter is a heavily utilised mode of transportation by commuters working in Kuala Lumpur as the service is an alternative for road travel, which is occasionally hampered by congestion. Virtually all KTM Komuter stops offer "Park & Ride" parking lots for those who drive to and from the station or halt.
KTM Kargo provides cargo conveyance services, with a network that spans almost the whole of the KTMB rail network. It is therefore highly accessible from seaports and Inland Container Terminal (ICT) as well as industrial centres.
Cargo services are a major contributor to KTM's overall revenue. It is set to further enhance its role with the rapidly growing demand for transportation of goods.
Currently, there are 45 cargo train services daily with 23 routes daily, of which about 70% are concentrated in the Northern sector. KTMB runs 37 freight train services daily of which about 80% are concentrated in the Northern sector.
The services include
Main commodities carried by rail comprise the following:
There is a variety of wagons from a fleet of almost 3,000 to choose from, to cater to almost all types of cargo imaginable to be moved. It is managed by a group of customer-focused professionals who are in position to help with the customer's needs and requirements.
Generally, cargo is moved either in open or covered wagons. In the future, all covered wagons will be replaced with containers to allow for flexibility i.e. goods can be dismounted from the train and delivered directly to customers' premises thus, living up to the concept of door-to-door delivery.
KTM operates several non-rail subsidiaries. Though considered as non-core businesses, KTMB has benefited from these two operations, which are:
Multimodal Freight Sdn. Bhd., incorporated in 1988, was licensed as a Government approved Container Haulier in 1991, and went on to obtain the Government approved Multimodal Transport Operator (MTO) status in 1999. The company operates a fleet of 225 Prime Movers and 1,300 trailers of both 20-foot and 40-foot configurations. The fleet is deployed at all major seaports and the inland ports of Ipoh and Nilai. 
Its core business was in the provision of express parcel distribution services to the commercial, industrial and administrative sectors and operated within Malaysia and Singapore. Parcel distribution previously carried out via parcel train cars attached to intercity services where items like parcel and motorbikes could be carried, but this practice has since moved to trucks after rail modernisation and the closure of Tanjong Pagar Railway station in Singapore. Previously, KTMD was also licensed by the Malaysian Communications & Multimedia Commission as a courier service provider, which enabled it to carry letters and documents up to 2 kg (4.4 lb). On 1st November 2022, KTM Distribution announced it would be ending its service after 38 years of operations. 
Since the corporatisation of KTMB, a programme of modernization has been underway. In 1989, it embarked on the double-tracking and electrification of the trunk line between Rawang and Seremban, the branch lines between Batu Junction and Sentul and between Kuala Lumpur and Port Klang, allowing KTM Komuter services to start running in 1995.  Successive double tracking projects has allowed for expansion of electric traction to intercity services in the form of ETS. The entire West Coast line is scheduled to be fully electrified by 2022.
KTM 1984-1991, designer Mr. Anuar bin Dan