Huan Yanfan (桓彥範) (653–706), courtesy name Shize (士則), formally Prince Zhonglie of Fuyang (扶陽忠烈王), briefly known during the reign of Emperor Zhongzong of Tang as Wei Yanfan (韋彥範), was an official of the Chinese Tang dynasty and Wu Zetian's Zhou dynasty, serving as chancellor during the reign of Emperor Zhongzong.
His family was from Run Prefecture (潤州, roughly modern Zhenjiang, Jiangsu) and traced its ancestry to the Jin dynasty (266–420) general Huan Chong.
Since now the hoodlums [(i.e., the Zhang brothers, whom the coup leaders were claiming to have designs on the throne)] have died, you can return to the Eastern Palace."
Huan Yanfan, along with Zhang Jianzhi, Cui Xuanwei, Jing Hui, and Yuan Shuji, were recognized as leaders in Emperor Zhongzong's restoration, and they were put into key positions and created dukes, with Huan becoming Nayan (納言)—the head of the examination bureau of government (鸞臺, Luantai), and carrying the title of Duke of Qiao.
When Emperor Zhongzong gave high offices to the sorcerers Zheng Pusi (鄭普思) and Ye Jingneng (葉靜能), Huan again opposed to no avail.
In spring 706, Jing was further sent out of Chang'an, which was now capital again, to serve as the prefect of Ming Prefecture (洺州, in modern Handan, Hebei).
Later in spring 706, with all five of the coup leaders already out of the capital, Wu Sansi and Empress Wei made accusations against them, and they were demoted to more remote prefectures—in Huan's case, to be the prefect of Bo Prefecture (亳州, roughly modern Bozhou, Anhui).
The five were further demoted with the provisions that they would never be allowed to return to the capital Chang'an, with Huan becoming the military advisor to the prefect of Long Prefecture (瀧州, roughly modern Yunfu, Guangdong) and stripped of his surname of Wei.
Emperor Zhongzong, citing that the five had been previously awarded iron certificates that guaranteed that they would not be executed in recognition of their contribution, ordered that they be reduced to commoner rank and permanently exiled to the Lingnan region with their families—in Huan's case, to Rang Prefecture (瀼州, roughly modern Chongzuo, Guangxi).