Nitrate and nitrite ions are of considerable interest, both for their widespread use in commercial and research contexts and because of their central role in the global nitrogen cycle. The chemistry of atmospheric aerosols, wherein nitrate is abundant, has been found to depend on the interfacial behavior of ionic species. The interfacial behavior of ions is determined largely by their hydration properties; consequently, the study of the hydration and interfacial behavior of nitrate and nitrite comprises a significant field of study. In this work, we describe the study of aqueous solutions of sodium nitrate and nitrite via X-ray absorption spectroscopy (XAS), interpreted in light of first-principles density functional theory electronic structure calculations. Experimental and calculated spectra of the nitrogen K-edge XA spectra of bulk solutions exhibit a large 3.7 eV shift between the XA spectra of nitrate and nitrite resulting from greater stabilization of the nitrogen 1s energy level in nitrate. A similar shift is not observed in the oxygen K-edge XA spectra of NO3 (-) and NO2 (-). The hydration properties of nitrate and nitrite are found to be similar, with both anions exhibiting a similar propensity towards ion pairing.