Nalan Xingde was born on the twelfth day of the twelfth lunar month in the eleventh year of Shunzhi (January 19, 1655 AD). Nalan had read poetry and books since he was a child, and studied both literature and martial arts. At the age of seventeen, he entered the Imperial College and was sentenced to death. Xu Wenyuan appreciated the wine sacrifice and recommended it to Xu Qianxue, the bachelor of the cabinet. At the age of eighteen, he took part in the Shuntian Prefecture Township Examination and passed the examination. At the age of nineteen, he passed the examination and became a tribute scholar. In the twelfth year of Kangxi's reign, he missed the imperial examination due to illness. In the 15th year of Kangxi's reign, he took the supplementary imperial examination and passed the second, seventh and seventh place in the examination, and was awarded the title of Jinshi. During this period, Nalan Xingde studied hard and worshiped Xu Qianxue as his teacher. Under the guidance of famous teachers, he presided over the compilation of a Confucian compilation - "Tongzhitang Jingjie" in two years, which was highly appreciated by the emperor and laid the foundation for future development. He also compiled his knowledge and insights from the classics and history into a four-volume "Lushui Pavilion Miscellaneous Knowledge", which includes history, geography, astronomy, calendar, Buddhism, music, literature, textual research and other knowledge, showing considerable Broad knowledge and hobbies.