The sludge pyrolysis carbon can be used as a substitute for phosphate fertilizer to recycle phosphorus resources. However, the form of phosphorus in the pyrolysis process will significantly affect the availability of phosphorus in the pyrolysis carbon. In this paper, sludge protein was selected as a model compound for pyrolysis at 200 − 500°C, aiming to propose a possible migration and transformation path of phosphorus during pyrolysis. The results showed that organic phosphorus decomposed into pyrophosphate and orthophosphate during pyrolysis. These phosphorus-containing ions combine with different metal ions to form AlPO4, Na3PO4, Ca3(PO4) 2, Na4P2O7, etc. In addition, 10 % CaO was added to the sludge protein for pyrolysis to explore the directional conversion mechanism of phosphorus. After adding CaO, the content of AP can reach 16 times of that in the raw material and become the main form in the pyrolytic carbon. This can be attributed to the introduction of calcium ions to promote the formation of many new phosphorus-containing phases (Ca10 (PO4) 6 (OH) 2 and Ca2P2O7), and the content of Ca−P accounts for 68.32 % of total phosphorus. It can be seen that the bioavailability of phosphorus is closely related to the directional regulation of temperature and CaO, which proves the potential of sludge pyrolysis carbon as a substitute for phosphate fertilizer.