Ni Wenjun (Chinese: 倪文俊; died 1357) was a general during the Red Turban Rebellion against the Mongol Yuan dynasty in the 1360s.
He served under General Xu Shouhui. One of Ni's famous subordinates was Chen Youliang, who later founded the Han Empire.
Ni Wenjun was later trapped and assassinated by Chen Youliang, who sought to thwart Ni's intended coup against their commander, Xu Shouhui.