Cao Li 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, Consort Xu (徐姬), was a concubine of Cao Pi. He had two full sisters: the elder one was Princess Linfen (臨汾公主) while the younger one, who was unnamed, died early. Cao Li was enfeoffed as the Duke of Qin (秦公) in 221, with his dukedom in Jingzhao Commandery (京兆郡). In 222, he was elevated to the status of Prince of Jingzhao (京兆王). In 225, his title was changed to Prince of Yuancheng (元城王). He died in 229 during the reign of his half-brother Cao Rui.