Cao Huan, courtesy name Jingming, was the fifth and last emperor of the state of Cao Wei during the Three Kingdoms period. On 4 February 266, he abdicated the throne in favour of Sima Yan, and brought an end to the Wei regime.