Developing high-capacity carbon-based anode materials is crucial for enhancing the performance of lithium-ion batteries (LIBs). In this study, we presented a nitrogen-doped lignin mesoporous carbon/nickel/nickel oxide (NHMC/Ni/NiO) nanocomposite for developing high-capacity LIBs anode materials through carbonization and selective etching strategies. The synthesized NMHC/Ni/NiO-0.33 composite exhibited a highly regular microstructure with well-dispersed Ni/NiO particles. The composite had a surface area of 408 m2 & sdot;g-1, a mesopore ratio of 75.0%, and a pyridine-nitrogen ratio of 58.9%. The introduction of nitrogen atoms reduced the disordered structure of lignin mesoporous carbon and enhanced its electrical conductivity, thus improving the lithium storage capabilities of the composite. Following 100 cycles at a current density of 0.2 A & sdot;g-1, the composite demonstrated enhanced Coulomb efficiency and rate performance, achieving a specific discharge capacity of 1230.9 mAh & sdot;g-1. At a high-current density of 1 A & sdot;g-1, the composite exhibited an excellent specific discharge capacity of 714.6 mAh & sdot;g-1. This study presents an innovative method for synthesizing high-performance anode materials of LIBs. (sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic).(sic)(sic)(sic)(sic)(sic), (sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)/(sic)/(sic)(sic)(sic) (NHMC/Ni/NiO) (sic)(sic)(sic)(sic)(sic)(sic), (sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic).(sic)(sic)(sic) NMHC/Ni/NiO-0.33 (sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)Ni/NiO(sic)(sic).(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic) 408 m2 & sdot;g-1, (sic)(sic)(sic)(sic) 75.0%, (sic)(sic)(sic)(sic)(sic)(sic) 58.9%.(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic), (sic)(sic)(sic)(sic)(sic)(sic)(sic), (sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic).(sic) 0.2 A & sdot;g-1(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)100 (sic)(sic)(sic)(sic), (sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic), (sic)(sic)(sic)(sic)(sic)(sic)(sic) 1230.9 mAh & sdot;g-1.(sic) 1 A & sdot;g-1(sic)(sic)(sic)(sic)(sic)(sic)(sic), (sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)714.6 mAh & sdot;g-1.(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic)(sic).