Xiangfen County was formed by the merger of Xiangling County and Fencheng County (also known as Taiping) in 1954, and was named after the initials of Xiangling County and Fencheng County. Xiangling was named after Gong Ling in Jinxiang. Fencheng is the capital of Kuching, named after the Fenhe River flows through here.