The public railway company
Staatsspoorwegen built the line in 1899 as part of the Western railways () in order to improve connections with the western regions of the
island of Java. On 2 January 1899 the first part of the
Jakarta Kota-Anyer Kidul mainline was opened between Batavia Zuid (
Jakarta Kota) and
Tangerang. After completing the railway in the following year, the line between
Duri and Tangerang remained as a mere branch line. The entire railway is currently electrified with 1.5 kV DC
overhead lines, accommodating the
electric commuter trains of
KA Commuter Jabodetabek's
Brown line. An additional track was added in 2012, resulting in a
double track along the entire stretch between Tangerang and Duri. In order to connect
Jakarta's main airport to the railway network, a line branching off at
Batu Ceper railway station was being constructed and began operation in 2018. ==Stations==