Abstract Nitrogen is the main constituent of the Earth’s atmosphere, but its provenance in the Earth’s mantle remains uncertain. The relative contribution of primordial nitrogen inherited during the Earth’s accretion versus that subducted from the Earth’s surface is unclear1,2,3,4,5,6. Here we show that the mantle may have retained remnants of such primordial nitrogen. We use the rare 15N15N isotopologue of N2 as a new tracer of air contamination in volcanic gas effusions.