Based on the panel data of 30 provinces and cities in China from 2008 to 2021,this paper empiri-cally studies whether urbanization will affect agricultural carbon emissions through industrial agglomeration by using the intermediate effect test model,and further studies whether the effect of urbanization on agricultural carbon emis-sions will be affected by the degree of industrial agglomeration by using the panel threshold model.The results show that urbanization has a significant positive impact on agricultural carbon emissions,and the higher the level of ur-banization,the more severe agricultural carbon emissions will be;industrial agglomeration plays an essential inter-mediary role in the impact of urbanization on agricultural carbon emissions.Urbanization will promote industrial ag-glomeration and thus increase agricultural carbon emissions;the impact of urbanization on agricultural carbon emis-sions is affected by the single threshold effect of industrial agglomeration.When the degree of industrial agglomera-tion crosses the threshold value,the positive promoting impact of urbanization on agricultural carbon emissions is reduced exponentially.