Kotri–Attock Railway Line (Urdu: کوٹری–اٹک مرکزی ریل راستہ) (also referred to Main Line 2 or ML-2) is one of four main railway lines in Pakistan, operated and maintained by Pakistan Railways. The line begins from Kotri Junction and ends at Attock City Junction. The total length of this railway line is 1,519 kilometers (944 mi). There are 73 railway stations from Kotri Junction to Attock City Junction on this line.