Tanjung Malim, or Tanjong Malim, is a town in Muallim District, Perak, Malaysia. It is approximately 70 km (43 mi) north of Kuala Lumpur and 120 km south of Ipoh via the North–South Expressway. It lies on the Perak-Selangor state border, with Sungai Bernam serving as the natural divider.