|Eunuch of Han Dynasty|
|Died||c. late 150s|
|Courtesy name||Jìxīng (traditional Chinese: 季興; simplified Chinese: 季兴; pinyin: Jìxīng; Wade–Giles: Chi-hsing)|
|Posthumous name||Emperor Gao of Wei (Chinese: 魏高帝; pinyin: Wèi Gāodì; Wade–Giles: Wei Kao-ti)|
|Temple name||Emperor Gao (Chinese: 高帝; pinyin: Gāodì; Wade–Giles: Kao-ti)|
Cao Teng (died c. late 150s), courtesy name Jixing, was a eunuch who lived in the late Eastern Han Dynasty. He served four Han emperors (Shun, Chong, Zhi, and Huan). Through his adopted son Cao Song, he was the adoptive grandfather of Cao Cao, the founder of the state of Cao Wei in the Three Kingdoms period. In 220, upon the establishment of Wei by Cao Cao's son Cao Pi, Cao Teng was posthumously honoured as "Emperor Gao of Wei" (魏高帝).
Cao Teng served as an Attendant at the Yellow Gates (小黃門) in the Han imperial court during the reign of Emperor An. In 120, when Emperor Shun was still a prince, Empress Dowager Deng appointed Cao Teng to serve the prince because Cao Teng was honest, modest and prudent. Cao Teng gained the trust of Emperor Shun and became his personal friend. In 126, after Emperor Shun ascended the throne, Cao Teng was promoted to Regular Attendant (中常侍), the highest possible rank for a court eunuch.
After Emperor Shun died, his infant son died after just one year on the throne. The general Liang Ji installed the seven-year-old Liu Zuan (劉纘) on the throne, overruling the popularity of another candidate, Liu Suan (劉蒜). Despite his young age, Liu Zuan showed signs of resentment towards Liang Ji's domineering influence, and was soon poisoned by the general. The imperial court was once again divided in deciding the successor. One group, led by Li Gu (李固), wanted to instal Liu Suan on the throne, while Liang Ji led another faction which supported the young Liu Zhi (劉志). Cao Teng took Liang Ji's side and urged him to defy his critics, and soon the majority backed down.
After Liu Zhi, or Emperor Huan as he came to be known, ascended the throne, Cao Teng was rewarded with enfeoffment as "Marquis of Fei Village" (費亭侯) for his participation in the succession debate. He was later promoted to "Grand Prolonger of Autumn" (大長秋) and was placed in charge of the household of Empress Liang Nüying. He also served as Coachman of the Changle Palace (長樂宮太僕) of Empress Dowager Liang Na.
Cao Teng stayed in the court for 30 years, having served four emperors, and was said to have never made big mistakes. The people he promoted were all very famous throughout the empire, such as Yu Fang (虞放), Bian Shao (邊韶), Zhao Dian (趙典). Cao Teng was a broad-minded person. Once, a provincial governor Zhong Hao (種暠) found evidence that Cao Teng had received bribes and tried, unsuccessfully, to impeach Cao Teng. Despite this, Cao Teng often recommended Zhong Hao to higher positions. Cao Teng was remembered by his contemporaries for his personality and integrity. After Cao Teng died in the late 150s, his foster son Cao Song inherited his marquis title.
- de Crespigny, Rafe (2007). A biographical dictionary of Later Han to the Three Kingdoms (23–220 AD). Brill. p. 48. ISBN 978-90-04-15605-0.
- de Crespigny, Rafe (2010). Imperial warlord : a biography of Cao Cao 155-220 AD. Leiden Boston: Brill. ISBN 978-90-04-18522-7.
- Fan Ye. Book of the Later Han, Volume 78.