Pan Lei (Chinese: 潘耒; pinyin: Pān Lěi) (1646 – 1708) was a Qing dynasty scholar. He wrote the prefaces for a number of works that appeared in his time. In the preface to writer Qu Dajun's book Guangdong Xinyu, widely regarded as a valuable source on the economic and social conditions of Guangdong in 1700, Pan wrote about the beauty, natural resources, and unique history of East Guangdong. Pan was also involved in the study of mathematics.