It is crucial for the environment, the economy, and society to create low-cost adsorbents from renewable resources to remove phosphate from aqueous effluents. Here, two renewablecarbon and nitrogen sources (Douglas fir and Chitosan) were used to produce engineered N-doped biochars modified with Mg for PO43− adsorption. Mg–N doped biochars were prepared using an impregnation-carbonization process. A central composite experimental design was used to select combinations of independent variables to maximize phosphate adsorption capacity. Phosphate adsorption isotherms were fitted with Langmuir and Freundlich isotherms. The biochar produced at 700 °C, 12 wt % MgCl2, and Douglas Fir/Chitosan ratio: 1/1, which has the highest PO43− adsorption capacity, was further studied. Proximate analysis, elemental composition, surface area, pore size distribution, X-ray photoelectron spectroscopy, Fourier-transform infrared spectroscopy (FTIR), and Scanning electron microscopy combined with energy-dispersive X-ray spectroscopy (SEM-EDX) were used to characterize this biochar. This biochar has an adsorption capacity of 112.4 mg PO43−/g char. Its phosphate adsorption rate was adjusted to a pseudo-second-order kinetic model. The phosphate adsorption capacity of the biochar produced was comparable with the most effective biochar reported in the literature.