In this study, five Ni-doped carbon-based single metal atom catalysts supported by carbon nanotubes, which can be used for electrocatalytic CO2 reduction, were constructed. According to their structures, these catalysts include one Ni phthalocyanine (NiPc) molecule, two di- and tri-coordinated Ni-doped carbon nanoribbons, and two di-/tri-coordination Ni-doped graphene, which are denoted as NiPc/CNT, H2(H3)-Ni/CNT, 2(3)-Ni/CNT respectively. We first optimized their structures and studied the adsorption characteristics of CO2 on these catalysts with PBE+D3 method. Additionally, the electronic structure characteristics were then calculated, and the electrocatalytic mechanisms of CO2 reduction to CO, HCOOH, CH3OH and CH4 using these catalysts were studied in detail. It is found that the electrocatalytic activities of these five catalysts for reducing CO2 follow the order of 2-Ni/CNT>3-Ni/CNT>H3-Ni/CNT>H2-Ni/CNT>NiPc/CNT. As can be seen, the di-coordination catalysts perform best, followed by the tri-coordination catalysts, while the four-coordination NiPc-based catalyst performs worst. Moreover, graphene-based materials have stronger catalytic activities than their nanoribbon counterparts. Apart from these facts, these five catalytic materials may exhibit product selectivity at different limiting potentials, and specific reaction products can therefore be synthesized by controlling the potentials. We simultaneously investigated the mechanism of competing hydrogen evolution reactions in the electrocatalytic reduction of CO2 with five catalysts, and in order to inhibit the competing hydrogen evolution reactions and improve the efficiency of CO2 electrocatalytic reduction, the acidity of the solution can be appropriately reduced. We hope that our present work can provide a theoretical foundation for the future design and synthesis of novel carbon-based electrocatalyst for efficient CO2 reduction.