CO2 methanation is a practical solution to solve the global greenhouse effect and achieve the carbon neutrality goal. However, the challenge of efficient conversion at low temperatures has yet to be overcome. Herein, we synthesized nickel-based layered double hydroxide (Ni-LDH) catalyst by the hydrothermal method, and further introduced rare earth metals (La, Ce) to prepare Ni/La-LDH and Ni/Ce-LDH catalysts applied in carbon dioxide (CO2) hydrogenation to methane. Systematic characterization revealed that the introduction of Ce primarily promotes the formation of oxygen vacancies on the catalyst surface, while La doping significantly enhances the density and strength of surface basic sites. In the CO2 hydrogenation reaction within the temperature range of 175-300 °C, the CO2 conversion rates of both rare-earth-modified catalysts were significantly higher than that of the unmodified Ni-LDH. Further analysis indicated that the Ni/Ce-LDH catalyst, rich in oxygen vacancies, exhibited the slowest decline in CH4 selectivity at the low-temperature stage (<250 °C), highlighting the crucial role of oxygen vacancies in maintaining high selectivity under low-temperature conditions. In contrast, the Ni/La-LDH catalyst, enriched with basic sites, demonstrated superior CO2 conversion rates in the high-temperature region (>250 °C), underscoring the contribution of basic sites to enhancing the reaction rate. At 275 °C, both modified catalysts achieved CO2 conversion rates exceeding 79%, while all catalysts maintained CH4 selectivity above 84%. This study demonstrates that selectively using rare-earth modifiers (Ce or La) to regulate different active sites (oxygen vacancies or basic sites) is an effective strategy for developing Ni-based CO2 methanation catalysts with excellent low-temperature or high-temperature performance.