Cao Rui (died 13 June 233) was a prince in the state of Cao Wei in the Three Kingdoms period of China. He was a son of Cao Pi, the first emperor of Wei. His mother, whose family name was Pan (æ½Â), was a concubine of Cao Pi holding the rank of shuyuan (æ·ÂåªÂ; translated "Decent Concubine"). He was enfeoffed as the Prince of Yangping County (é½平縣çÂÂ) in 226 after his half-brother, Cao Rui (æÂ¹å¡; note the different character for Rui), succeeded their father as the emperor of Wei (with the posthumous title of "Emperor Ming of Wei"). In 232, his title was changed to Prince of Beihai (Ã¥ÂÂæµ·çÂÂ). He died in 233 and had no offspring.
In 234, since the deceased Prince of Beihai had no descendants, Emperor Ming designated Cao Zan (æÂ¹è´Â; son of Cao Min (æÂ¹æÂÂ) Prince of Langya, son of Cao Jun Duke An of Fan) as his heir and enfeoffed Cao Zan as the Duke of Chang District (æÂÂéÂÂå ¬). In 238, Cao Zan was promoted to Prince of Rao'an (é¥Âå®ÂçÂÂ). In 246, during the reign of Cao Fang, Cao Zan's title was changed to Prince of Wen'an (æÂÂå®ÂçÂÂ). Throughout the reigns of the subsequent Wei emperors, the number of taxable households in Cao Zan's princedom increased until it reached 3,500.