Co-pyrolysis of brewers' spent grain and sewage sludge converted to biochar.
•
The quantity and property of biochar depended on temperature and feedstock.
•
The Mg–P-enriched biochar showed strong capture ability to NH4+−N.
•
Synergistic effects of NH4+−N removal attributed to sorption and precipitation.
•
Nitrogen recovery and CO2 reduction reflected sustainable waste management.