Aerobic composting is an effective method for resourceful treatment of pig manure (PM). However, traditional composting often suffers from low humification effect and inactive fungal communities. In order to better treat PM, this study applied different doses of cyanobacterial biochar (CB) (T1:0 %; T2:2.5 %; T3:5 %; T4:7.5 %; T5:10 %; and T6:20 %) to PM composting and investigated the effects of biochar additives on the humification of PM composting and fungal communities. The results showed that biochar addition could prolong the thermophilic period (>50°C) by 1–4 days, with T4 being the most effective. Humification analysis showed that biochar increased the degradation of fulvic acid by 4.95–11.19 % and increased the formation of humic acid by 3.43–9.44 %, and final HA/FA ratio of T5 being the highest (2.44) compared to other treatments. The fungal abundance also confirmed that the addition of biochar significantly decreased the number of Ascomycetes at the maturation stage by 15.23 ∼ 89.23 % and increased the number of Basidiomycetes by 7.39 ∼ 119.54 times. Fungal community analysis showed that biochar could promote the birth of dominant fungi in the thermophilic phase and T5 had greater abundance of fungi than the other treatment groups. Network analysis indicated that high doses of CB (10–20 %) could enhance positive interactions among fungi to a greater extent. In conclusion, 10 % CB (T5) can optimize the compost quality to the greatest extent and has the highest application value.