Amorphous porous boron nitride (BN) represents a versatile material platform with potential applications in adsorptive molecular separations and gas storage, as well as heterogeneous and photo-catalysis. Chemical doping can help tailor BN's sorptive, optoelectronic, and catalytic properties, eventually boosting its application performance. Phosphorus (P) represents an attractive dopant for amorphous BN as its electronic structure would allow the element to be incorporated into BN's structure, thereby impacting its adsorptive, optoelectronic, and catalytic activity properties, as a few studies suggest. Yet, a fundamental understanding is missing around the chemical environment(s) of P in Pdoped BN, the effect of P-doping on the material features, and how doping varies with the synthesis route. Such a knowledge gap impedes the rational design of P-doped porous BN. Herein, we detail a strategy for the successful doping of P in BN (P-BN) using two different sources: phosphoric acid and an ionic liquid. We characterized the samples using analytical and spectroscopic tools and tested them for CO 2 adsorption and photoreduction. Overall, we show that P forms P−N bonds in BN akin to those in phosphazene. P-doping introduces further chemical/structural defects in BN's structure, and hence more/more populated midgap states. The selection of P source affects the chemical, adsorptive, and optoelectronic properties, with phosphoric acid being the best option as it reacts more easily with the other precursors and does not contain C, hence leading to fewer reactions and C impurities. P-doping increases the ultramicropore volume and therefore CO 2 uptake. It significantly shifts the optical absorption of BN into the visible and increases the charge carrier lifetimes. However, to ensure that these charges remain reactive toward CO 2 photoreduction, additional materials modification strategies should be explored in future work. These strategies could include the use of surface cocatalysts that can decrease the kinetic barriers to driving this chemistry.