Understanding the origin of nitrogen (N) and other life-essential volatiles like carbon and water in the Solar System and beyond is critical to evaluate the potential habitability of rocky planets. Whether the inner Solar System planets accreted these volatiles from their inception or had an exogenous delivery via volatile-rich, carbonaceous material from the outer Solar System is, however, not well understood. Using previously published data of nucleosynthetic anomalies of Ni, Mo, W and Ru in iron meteorites in conjunction with their 15N/14N ratios, we show that the earliest accreting protoplanets in the inner and outer protoplanetary disk accreted isotopically distinct N. While the Sun and Jupiter captured N from nebular gas, concomitantly growing protoplanets in the inner and outer disk possibly sourced their N from organics and/or dust — with each reservoir having a different N isotopic composition. Hence the processes that led to the enrichment of 15N in the organics and/or dust relative to the nebular gas either predated or were synchronous with the formation of protoplanets. A distinct N isotopic signature of the inner Solar System protoplanets coupled with their rapid accretion suggests that non-nebular, isotopically processed N was ubiquitous in the growth zone of the inner Solar System rocky bodies within ~0-0.3 Myr of the formation of CAIs. Because the N isotopic ratios of the bulk silicate Earth falls between those of inner and outer Solar System reservoirs, we infer that N in the present-day rocky planets represents a mixture of both inner and outer Solar System reservoirs.