China has the highest number of liver cancers worldwide, and liver cancer is at the forefront of all cancers in China. However, current research on liver cancer in China primarily relies on extrapolated data or relatively lagging data, with limited focus on subregions and specific population groups. The purpose of this study is to identify geographic disparities in liver cancer by exploring the spatial and temporal trends of liver cancer mortality and the years of life lost (YLL) caused by it within distinct geographical regions, climate zones, and population groups in China. Data from the National Death Surveillance System between 2013 and 2020 were used to calculate the age-standardized mortality rate of liver cancer (LASMR) and YLL from liver cancer in China. The spatial distribution and temporal trends of liver cancer were analyzed in subgroups by sex, age, region, and climate classification. Estimated annual percentage change was used to describe liver cancer trends in various regions, and partial correlation was applied to explore associations between LASMR and latitude. In China, the average LASMR decreased from 28.79 in 2013 to 26.38 per 100,000 in 2020 among men and 11.09 to 9.83 per 100,000 among women. This decline in mortality was consistent across all age groups. Geographically, Guangxi had the highest LASMR for men in China, with a rate of 50.15 per 100,000, while for women, it was Heilongjiang, with a rate of 16.64 per 100,000. Within these regions, the LASMR among men in most parts of Guangxi ranged from 32.32 to 74.98 per 100,000, whereas the LASMR among women in the majority of Heilongjiang ranged from 13.72 to 21.86 per 100,000. The trend of LASMR varied among regions. For both men and women, Guizhou showed an increasing trend in LASMR from 2013 to 2020, with estimated annual percentage changes ranging from 10.05% to 29.07% and from 10.09% to 21.71%, respectively. Both men and women observed an increase in LASMR with increasing latitude below the 40th parallel. However, overall, LASMR in men was positively correlated with latitude (R=0.225; P<.001), while in women, it showed a negative correlation (R=0.083; P=.04). High LASMR areas among men aligned with subtropical zones, like Cwa and Cfa. The age group 65 years and older, the southern region, and the Cwa climate zone had the highest YLL rates at 4850.50, 495.50, and 440.17 per 100,000, respectively. However, the overall trends in these groups showed a decline over the period. Despite the declining overall trend of liver cancer in China, there are still marked disparities between regions and populations. Future prevention and control should focus on high-risk regions and populations to further reduce the burden of liver cancer in China.