Yuan Xun (元恂) (483–497), né Tuoba Xun (拓拔恂, changed 496), courtesy name originally Yuandao (元道), then Xuandao (宣道, changed 496), was a crown prince of the Chinese/Xianbei dynasty Northern Wei.
Tuoba Xun was born in 483, as Emperor Xiaowen's oldest son. His mother was Consort Lin. At the time he was born, Emperor Xiaowen's step-grandmother Grand Empress Dowager Feng was the regent, and she opined that, pursuant to Northern Wei's tradition that a crown prince's mother should be forced to commit suicide, Consort Lin, because Tuoba Xun would presumably eventually become crown prince, should be forced to commit suicide. Even though Emperor Xiaowen did not want to follow that tradition, he did not want to disobey Grand Empress Dowager Feng, and Consort Lin was forced to commit suicide. He did, however, posthumously honor her as Empress Zhen, and buried her at the ancestral tomb of the emperors.
Grand Empress Dowager Feng raised Tuoba Xun herself. In 486, when he was three, she formally named him Xun, and also gave him the courtesy name Yuandao. She died in 490, and it is not clear who raised him after that point. In 493, Emperor Xiaowen created him crown prince. In 494, when Emperor Xiaowen moved the capital from Pingcheng (平城, in modern Datong, Shanxi) to Luoyang as a major part of sinicization campaign, Tuoba Xun accompanied his father south. In 496, when Emperor Xiaowen changed the imperial clan's family name from Tuoba to Yuan, the crown prince's courtesy name was changed from Yuandao to Xuandao.
Yuan Xun was described as obese and uninterested in studies, but liked horseriding. Because he could not endure Luoyang's much warmer weather, he often wanted to return to Pingcheng, but did not get a chance to do so until 495, when Emperor Xiaowen sent him to Pingcheng to mourn Grand Empress Dowager Feng's brother Feng Xi (馮熙), who was in charge of the old capital. From this point on, whenever Emperor Xiaowen conducted campaigns against rival Southern Qi, Yuan Xun would often be formally in charge of the capital, although high-level officials were actually responsible for important matters. It was also around this time that Emperor Xiaowen considered having him marry Feng Xi's granddaughter as his wife, but because she was young, Emperor Xiaowen took for Yuan Xun two concubines first—Consorts Liu and Zheng, both daughters of his officials. However, on advice of Yuan Xun's teachers, who believed that overly engaging in sexual relations would stunt the crown prince's growth and interfere with his studies, Emperor Xiaowen did not permit him to have sexual intercourse with them during the day. (The implication of the passage in question from the Book of Wei appears to suggest that he did not have sexual relations with them at all, but it is not clear; in any case, neither had children.)