Liu Xuan (224–264), courtesy name Wenheng, was a prince of the state of Shu Han during the Three Kingdoms period. He was the eldest son of Liu Shan, the second and last ruler of Shu. His mother was Consort Wang (王貴人), a former servant of Liu Shan's first wife Empress Jing'ai; Lady Wang later became one of Liu Shan's concubines. Liu Xuan became crown prince in 238. After the fall of Shu to the rival state of Wei, Liu Xuan and his surviving brothers returned to the capital, Chengdu. In 264, Liu Xuan was killed in Chengdu by rebelling soldiers during Zhong Hui's rebellion.