Principal photography started on 23 November 2015 at Hengdian Studios. The entire series took 108 days to complete filming. The scenes set in Zhang Qishan and Er Yuehong's mansion were filmed in Hengdian World Studios, in Dongyang, Zhejiang province. The tombstone scenes were filmed in various parts of China such as Tiantai Mountain, Jietou Town and Hanshanhu at Tiantai County and Yongkang in Zhejiang province and in Manchuria.