Nitrogen andp hosphorus-containing ions such as ammonium,n itratesa nd phosphates are anthropogenic pollutants while ammonium nitrate may be diverted for nefarious purposes in improvisede xplosive devices.C rown etheroxoporphyrinogen conjugates(OxP-crowns) are used to selectively detect nitrates, especially their ion pairs with K + and NH 4 + ,b ased on ion pair complexation of OxP-crowns under phaset ransfer conditions. The presence of phosphate and carbonate lead to deprotonation of OxP-crowns. OxP-1N18C6 is capable of extracting ion pairs with nitrate from aqueous phase leadingt oaselectivec hromogenicr esponse. Deprotonation of the OxP moiety leads to [OxP À ]-1N18C6[K + ]a nd is promoted by crown ether selective cation binding coupledw ith hydration of basic oxoanions, which are constrained to remain in the aqueous phase. This work illustrates the utility of molecular design to exploit partitioning and ion hydration effects establishing the selectivity of the chromogenic response.