Located along the coast of southern China, Lam Tin was first settled around the 9th century BC by the Nanyue people.
In 1662, the Kangxi Emperor moved all residents along southern China coastline inland by 50 Chinese miles and abandoned the salt-fields in hopes of weakening the pirate Zheng Chenggong's power through cutting his support from coastline residents.