Titanium nitride (TiN) has garnered much attention as a promising anode material for lithium ion batteries (LIBs) due to its abundance, non-toxicity, low cost and stable chemical properties. However, the poor ionic and electronic conductivities of TiN anode materials pose great challenges in satisfying the requirements of high energy-density batteries. In this paper, Co-doped TiN nanoparticles loaded on nitrogen-doped carbon was designed and prepared by sol-gel methods. The graphitization degree of carbon can be regulated by adding the difference amount of dicyandiamide (DCDA). Compared with the other prepared anode material, Ti0.95Co0.05N/NC exhibit higher specific capacity, and a high capacity retention of 530mAh·g-1 after 120 cycles at 100mA·g-1 current density.