|Prince of Dongping (東平王)|
|Tenure||232 – February or March 242|
|Prince of Shouzhang (壽張王)|
|Tenure||223 – 232|
|Prince of Lujiang (廬江王)|
|Tenure||222 – 223|
|Died||February or March 242[a]|
|House||House of Cao|
Cao Hui was a son of Cao Cao, a warlord who rose to prominence towards the end of the Han dynasty and laid the foundation for the Cao Wei state. His mother was Consort Song (宋姬), a concubine of Cao Cao. He was designated as the heir of his uncle, Cao Yu (曹玉), because the latter had no son to succeed him when he died.[b] In 217, Cao Hui was enfeoffed as the "Marquis of Licheng" (歷城侯) by Emperor Xian, the figurehead emperor of the Han dynasty.
In 220, following Cao Cao's death, Cao Hui's half-brother Cao Pi usurped the throne from Emperor Xian, ended the Han dynasty, and established the Cao Wei state with himself as the new emperor. The following year, Cao Pi enfeoffed Cao Hui as a duke. In 222, Cao Pi elevated Cao Hui from the status of a duke to a prince under the title "Prince of Lujiang" (廬江王). He changed Cao Hui's title to "Prince of Shouzhang" (壽張王) in 223 and designated Shouzhang County (壽張縣; south of present-day Dongping County, Shandong) as Cao Hui's princedom in the following year.
In 232, Cao Pi's successor, Cao Rui, changed Cao Hui's title to "Prince of Dongping" (東平王) after upgrading his princedom from Shouzhang County to the entire Dongping Commandery (with Shouzhang County as its administrative centre). In 234, someone reported Cao Hui to the imperial court after he ordered his subordinate(s) to beat up an official in Shouzhang County. As punishment for his misconduct, Cao Hui had one county with 500 taxable households removed from his princedom. However, the county and its 500 households were returned to him within the same year.
Cao Hui's son, Cao Xi (曹翕), succeeded him as the Prince of Dongping. The number of taxable households in the Dongping princedom increased throughout the reigns of the subsequent Wei emperors until it reached 3,400. After the Jin dynasty (265–420) replaced the Cao Wei state in 265, Cao Xi pledged allegiance to the new emperor Sima Yan (Emperor Wu), who enfeoffed him as the "Duke of Linqiu" (廩丘). Among all the former Wei nobles, Cao Xi was the most famous after Cao Zhi (曹志), the Duke of Zhencheng (鄄城公).
In 266, Cao Xi sent his son and heir apparent, Cao Kun (曹琨), to pay tribute to Emperor Wu Di. The emperor issued an imperial decree to praise Cao Xi for his loyalty towards the Jin dynasty and awarded Cao Kun the appointment of a Cavalry Commandant (騎都尉), a set of official robes, and 100,000 coins. Cao Xi was known for studying medicine and writing books with Huangfu Mi, a physician who lived around the same time as him.