The highest possible oxidation number of nitrogen is +5, as seen in compounds like nitric acid (HNO3) or nitrate salts (NO3-). In these compounds, nitrogen is bonded to three oxygen atoms through double bonds, and also carries a positive charge, resulting in an oxidation number of +5.