Lamphun (ลำพูน) (Thai pronunciation: [lām.pʰūːn]) is a town (thesaban mueang) in northern Thailand, capital of Lamphun Province. It covers the whole tambon Nai Mueang of Mueang Lamphun district. As of 2006 it has a population of 14,030. Lamphun lies 665 km north of Bangkok and 19 km south of Chiang Mai.
The town is in the Ping River valley, between the Thanon Thong Chai Range on the west and the Khun Tan Range in the east.
Lamphun was founded by Queen Chama Thevi as the capital of the Haripunchai Kingdom, the last and most northerly Mon kingdom in the area which now forms Thailand. Around 25 km south of Chiang Mai, it was constructed in the shape of a conch shell, following the Khuang River on its east side and divided by moats at the remaining points of the compass.
Queen Chama Thevi is remembered in the wat of her name, which is said to be the resting place of her ashes. Near the town's main morning market in the south-west of the city is a statue of the queen at which offerings are still made today by citizens.
Lamphun may refer to