This study attempts to analyze the impact of population, property, technology, energy factors, and spatial agglomeration in the logistics industry on carbon emissions. To achieve the goal of peak carbon and carbon neutrality, the relationship between influencing factors and carbon emissions was analyzed based on panel data from the logistics industry for 30 provinces in China from 2003 to 2017 using an improved STIRPAT (Stochastic Impacts by Regression on Population, Affluence, and Technology) model and a spatial lag model (SLM). The results show that population, property, technology, and energy factors in the logistics industry all have different degrees of influence on carbon emissions, wherein population, energy, and property have a greater influence, which implies that carbon emission reduction policies can be carried out considering the relevant aspects. In addition, under the influence of spatial agglomeration, the degree of influence of freight mileage (FM), total fixed-asset investment (TFAI), and industry population (IPOP) on carbon emissions decreases, and the degree of influence of energy intensity (EI) and industry per capita GDP (IPCG) increases. This suggests that corresponding emission reduction policies should be formulated for large urban areas based on technological innovation, infrastructure, and talent training, while smaller urban areas can focus on developing new energy and industrial economies. These findings help to complement the existing literature and provide policymakers with some insights related to urban logistics development.