Tuoba Yu (拓拔余) (died 29 October 452[2]), posthumous name Prince Yin of Nan'an (南安隱王), Xianbei name Kebozhen (可博真; "The Gatekeeper[3]"), was briefly an emperor of the Xianbei-led Chinese Northern Wei dynasty.
Sometime late in Emperor Taiwu's reign, Tuoba Yu became friendly with Emperor Taiwu's eunuch Zong Ai, who in 451 had falsely accused Crown Prince Huang's associates Chouni Daosheng (仇尼道盛) and Ren Pingcheng (任平城) of crimes, causing many members of Crown Prince Huang's staff to be executed and Crown Prince Huang himself to fall ill in fear and die.
Tuoba Yu honored Empress Helian as empress dowager, and he bestowed Zong a number of high level posts, including prime minister, making it clear that Zong was actually in control of the regime, as well as creating him the Prince of Fengyi.
Tuoba Yu's ascension to the throne was apparently largely without major opposition, but he knew that he bypassed his older brothers, as well as his nephew (who by Confucian principles of succession should have been emperor), and therefore tried to gather officials' support by giving them rewards so large that the treasury was exhausted.
Eventually, Tuoba Yu grew tired of Zong's antics and planned to strip him of his authority.