Kun Lung Wai, also known as San Wai, is one of the five walled villages established by the Tang clan of Lung Yeuk Tau in Fanling. It is a well-preserved walled village architecture in the area. The Tang clan of Lung Yeuk Tau first came to settle in Fanling in the 14th century. According to the Chinese characters "Kun Lung, dated in the cyclical year of Jiazi of the Qianlong reign" engraved on the stone lintel of the gate tower, the enclosing walls were built in 1744.
Kun Lung Wai is enclosed with grey brick walls and there is a watch tower at each corner of the village. There are embrasures in the enclosing walls and watch towers. In case of attack, villagers could fire their guns through the embrasures to protect themselves against bandits.
Some years after the declaration of the gate house of Kun Lung Wai as a monument, the managers of the walled village further agreed to the protection of the enclosing walls and corner watch towers under the Antiquities and Monuments Ordinance. The walls and watch towers were then in a dilapidated condition, which were subsequently fully restored in 1994 with funding from the Government.