Fan Wencheng (Chinese: 范文程; pinyin: Fàn Wénchéng, courtesy name: Xiandou 憲斗, 1597–1666) was a Qing dynasty Scholar-Official, Prime Minister and Grand Secretary (Daxue Shi). His official career went through four generation of Qing dynasty emperors through Nurhaci, Hong Taiji, Shunzhi, and Kangxi. Many rules and regulations in the early days of the Qing Dynasty were drafted by him.