Guo Huai (died 23 February 255), courtesy name Boji, was a military general of the state of Cao Wei (or Wei) during the Three Kingdoms period of China. He started his career towards the end of the Eastern Han dynasty under the warlord Cao Cao as a subordinate of Cao Cao's generals Xiahou Yuan and Zhang He. During the Three Kingdoms period, he served in Wei, the state established by Cao Cao's son Cao Pi, and lived through the reigns of four Wei emperors (Cao Pi, Cao Rui, Cao Fang and Cao Mao). From the 220s until his death in 255, he governed and defended Wei's western borders in Yong and Liang provinces (covering parts of present-day Gansu, Shaanxi, Ningxia, Qinghai and Inner Mongolia). During this time, he resisted multiple invasions by Wei's rival state, Shu Han, and quelled some rebelli