It is not known when Pei Che was born. He was from The Eastern Juan Pei of Pei clan of Hedong. His grandfather Pei Su served as a governor during the reign of Emperor Dezong, and his father Pei Qiu, a younger brother of Pei Xiu, who served as a chancellor during the reign of Emperor Xuānzong, served as an advisory official. However, while Pei Qiu was referred to in Pei Xiu's biographies in the Old Book of Tang and the New Book of Tang, no reference was made to Pei Che, perhaps because of Pei Che's eventual end.
Service under Emperor Xizong
In late 880, during the reign of Emperor Xuānzong's grandson Emperor Xizong, as the major agrarian rebel Huang Chao was on the cusp of reaching the imperial capitalChang'an, the leading chancellor Lu Xi was blamed for the imperial defeats by the powerful eunuchTian Lingzi and removed from his post. Pei Che, who was then an imperial scholar and deputy minister of census, was made a chancellor with the designation Tong Zhongshu Menxia Pingzhangshi, along with Wang Hui. However, that same day, news arrived that Huang was about to attack Chang'an, and Tian took Emperor Xizong and fled toward Chengdu, where Tian's brother Chen Jingxuan served as military governor of Xichuan Circuit. Pei was initially unable to catch up with Emperor Xizong, but in spring 881 reached Chengdu as well. He served as chancellor in Emperor Xizong's administration until late 881, when he was made the governor of Eyue Circuit, retaining the Tong Zhongshu Menxia Pingzhangshi title as an honorary title. In 883, by which time Huang had been defeated and Chang'an recaptured by Tang forces, and Emperor Xizong was beginning to prepare to return, then-leading chancellor Zheng Tian had offended Tian Lingzi and Chen and was removed. Pei was recalled to serve as Zhongshu Shilang, the deputy head of the legislative bureau of government, and chancellor again with the designation Tong Zhongshu Menxia Pingzhangshi. He continued to serve as chancellor after Emperor Xizong's return to Chang'an. However, after Tian provoked the warlords Wang Chongrongthe military governor of Hezhong Circuit and Li Keyong the military governor of Hedong Circuit into attacking Chang'an in late 885, Emperor Xizong fled Chang'an again, to Xingyuan. Because Tian was considered an overpowering and corrupting influence for Emperor Xizong, few imperial officials cared to follow Emperor Xizong on this flight, and neither Pei nor his chancellor colleague Xiao Gou did so.
Service under Li Yun
Meanwhile, another warlord, Zhu Mei the military governor of Jingnan Circuit, who was initially allied with Tian but now turned against him as well, took over Chang'an and was poised to proclaim a distant relative of Emperor Xizong's, Li Yun the Prince of Xiang, emperor. As Zhu prepared to do so in summer 886, he gave himself the chancellor title of Shizhong and made himself the director of the salt and iron monopolies, while making Pei the acting director of finances and Zheng Changtu the acting director of taxation. In winter 886, after Li Yun claimed imperial title, Pei and Zheng continued to serve as chancellors.
Execution
Li Yun's claim, however, was short-lived, as Zhu's officer Wang Xingyu, who was given the task of attacking Xingyuan and capturing Emperor Xizong, was unable to do so, and feared punishment from Zhu. Further, Yang Fugong, who had by this point succeeded Tian Lingzi as the director of palace communications, issued a proclamation that anyone who killed Zhu would be made the military governor of Jingnan. Wang thus turned against Zhu and made a surprise return to Chang'an. When Zhu heard of this, he, not knowing Wang's intent to turn against him, summoned Wang and rebuked him for returning without orders. Instead, Wang seized and killed him, and Wang's soldiers subsequently pillaged the capital. Pei Che and Zheng Changtu, as well as some 200 officials, escorted Li Yun to Hezhong, hoping for protection from Wang Chongrong. Wang Chongrong, however, after initially feigning to welcome Li Yun, seized Li Yun and executed him. He also arrested Pei and Zheng. In spring 887, Emperor Xizong issued an edict that Pei, Zheng, and Xiao Gou be executed wherever they were at the time of the edict — and thus, all three were executed at Qishan.