Wu Yuanji (吳元濟) (783[1] or 793[2] – December 12, 817[3]) was a Chinese military general during the Tang dynasty who tried to control Zhangyi Circuit (彰義, headquartered in modern Zhumadian, Henan) without approval from Emperor Xianzong after the 814 death of his father Wu Shaoyang, who had governed the circuit in a de facto independent manner from the imperial government. Emperor Xianzong declared a campaign against Wu, and imperial troops under Li Su were eventually able to defeat and capture him. He was delivered to the Tang capital Chang'an and executed there.