Following the end of the Eastern Han dynasty and the start of the Three Kingdoms period in 220, Li Fu came to serve in the state of Shu Han, which Liu Bei established in 221 and became its founding emperor. In 223, after Liu Bei's son Liu Shan became the new Shu emperor, he reassigned Li Fu to serve as the Administrator of Baxi Commandery. Li Fu later consecutively served as the Area Commander of Jiangzhou and General Who Spreads Might before he was recalled to the Shu imperial capital Chengdu to serve as Supervisor of the Masters of Writing in the central government. He was also enfeoffed as the Marquis of Pingyang Village.
At Zhuge Liang's deathbed
In 234, Zhuge Liang, the Imperial Chancellor of Shu, led Shu forces on a military campaign against Shu's rival state Wei for the fifth time since 228. This led to the Battle of Wuzhang Plains between Shu and Wei. Around September or October that year, Zhuge Liang became critically ill while both sides were locked in a stalemate at the Wuzhang Plains. During this time, the Shu emperor Liu Shan sent Li Fu to visit Zhuge Liang and consult him on plans for Shu's future. Li Fu did as instructed and noted down what Zhuge Liang told him before leaving. A few days later, while he was en route to Chengdu, Li Fu suddenly remembered that he forgot to ask Zhuge Liang something so he quickly headed back to the Wuzhang Plains. Zhuge Liang told Li Fu: "I know why you came back. Although we have spoken at length over the past few days, you still have questions for me. 'Gongyan is the most suitable' is the answer to the question you are about to ask me." Li Fu thanked him and asked: "Indeed. Earlier on, I forgot to ask you, Sir, who can take charge of state affairs after you, Sir, pass on. That's why I came back. If you don't mind me asking further, who can take charge after Jiang Wan?" Zhuge Liang replied: "Wenwei can succeed him." Li Fu continued asking but Zhuge Liang did not reply. Li Fu then left and returned to Chengdu.
Death
In the early Yanxi era of Liu Shan's reign, when the Shu general Jiang Wan led the Shu army to attack Wei, he appointed Li Fu as an Army Supervisor with the rank of Major. Li Fu died around the time.
Appraisal
The Shu official Yang Xi praised Li Fu for being "decisive and astute" in his Ji Han Fuchen Zan, a collection of praises of notable persons who served in Shu. The Yi Bu Qijiu Zaji also recorded that Li Fu was "competent, perceptive, decisive, astute, and shrewd in politics".
Family
Li Fu's father, Li Quan, whose courtesy name was Boyu, served as the Chief of Linqiong County. Around the year 190, Liu Yan, the Governor of Yi Province, saw Li Quan and other local elites as potential threats to his control over the province, so he found excuses to have them arrested and executed. Li Fu's son, Li Xiang, had the courtesy name Shulong. Li Xiang served in Shu like his father and held the positions of an imperial secretary and later the Administrator of Guanghan Commandery.