Silicon oxide (SiOx) exhibits promising potential as a lithium-ion battery anode. However, its practical application is impeded by low electrical conductivity and significant volumetric expansion. To overcome these limitations, we developed a novel co-precipitation and selectively etching approach that leveraged the nitrogen-retaining effect of ZnNCN to prepare an edge-nitrogen-enriched carbon/SiOx composite (NEC@LC-SiOx). This NEC@LC-SiOx showed enhanced electrical conductivity and reduced volumetric expansion. Our innovative approach effectively prevented excessive decomposition of nitrogen species, resulting in a high nitrogen doping content of 21.67 at.% while maintaining a stable structure and mitigated volume expansion during charging and discharging. Consequently, the prepared NEC@LC-SiOx exhibited excellent performance as an anode material for lithium-ion batteries, demonstrating a high reversible specific capacity of 802 mAh/g and outstanding rate capability. This work presents a novel strategy for designing high-performance SiOx anode materials.