Kanchanaburi (Thai: กาญจนบุรี, pronounced [kāːn.t͡ɕā.ná(ʔ).bū.rīː]) is a town municipality (thesaban mueang) in the west of Thailand and part of Kanchanaburi Province. In 2006 it had a population of 31,327. That number was reduced to 25,651 in 2017. The town covers tambons Ban Nuea and Ban Tai and parts of Pak Phraek and Tha Makham, all of Mueang Kanchanaburi District, and parts of tambon Tha Lo of Tha Muang District. Kanchanaburi lies 123 km west of Bangkok.