Uptake of nitrogen (N) during hydrothermal alteration of oceanic crust makes the altered oceanic crust (AOC) a significant N reservoir in parallel to seafloor sediments. While N enrichment in the upper (basaltic) oceanic crust during low-temperature alteration has been widely observed, the N characteristics of moderate- to high-temperature altered gabbroic oceanic crust, which accounts for ∼70 vol% of the crustal material in subducting slabs, have been rarely studied. The lack of these data resulted in large uncertainties in calculating the N input flux of global subducting slabs and modeling the N quantities released through the arc and subducted into the deep mantle. To fill this gap, we examined the N concentrations and isotope compositions of 38 altered gabbroic rocks recovered by ODP/IODP drillings from three oceans, i.e., Hole 735B at the Atlantis Bank in the Southwest Indian Ridge, Hole 1309D at the Atlantis massif in the Mid-Atlantic Ridge, and Hole 1415P at the Hess Deep in the East Pacific Rise. All the gabbroic samples show significant N enrichment with mostly positive δ15N values (in average: 7.4±3.8 ppm and +0.6±2.0‰ for Hole 735B, 5.3±2.1 ppm and +1.4±1.3‰ for Hole 1309D and 7.9±1.9 ppm and +2.0±1.8‰ for Hole 1415P), which are comparable to those of altered basalts from global oceanic crust. The N concentrations and δ15N values of these gabbroic rocks can be readily explained by mixing between minor inherited mantle N and mainly secondary N derived from seawater. The secondary N-hosting minerals in altered gabbroic rocks are likely plagioclase, amphibole and chlorite formed during moderate- to high-temperature alteration stages. Using these new data, we obtained a global nitrogen input flux of 20.6-1.3+0.9 × 109 mol·yr−1 to 29.9±2.2 × 109 mol·yr−1 for subducting AOC, in which 50% – 64% is contributed by the altered gabbroic oceanic crust. Integrating with previous estimate of N input flux from seafloor sediments, a total N input flux of 74.9-1.3+0.9 – 84.2±2.2 mol·yr−1 was estimated for global subducting slabs. Mass balance between this input N flux and various estimates of N output flux in global arcs gave a large range (from 47% – 53% to 10% – 20%) for the fraction of slab N to be subducted beyond the sub-arc depth to the deeper mantle. The upper end (47% – 53%) of this range is more consistent with the results from other constraints, such as thermal structural control and comparison between altered gabbros and meta-gabbros.