PurposeThe research objective of this paper is to investigate the direct and indirect impacts of green finance on agricultural carbon total factor productivity (ACTFP) within the framework of the carbon peaking and carbon neutrality (dual carbon) goals, while also identifying the driving factors through an exponential decomposition of ACTFP, aiming to provide policy recommendations to enhance financial support for low-carbon agricultural development.Design/methodology/approachIn this paper, the Global Malmquist Luenberger (GML) Index method was employed to analyze and decompose the ACTFP, while the direct and spillover effects of China’s green finance pilot policy (GFPP) on ACTFP were assessed using the difference-in-differences (DID) method and the spatial differences-in-differences (SDID) method, respectively.FindingsAfter the implementation of the GFPP, the ACTFP in the pilot area has experienced significant improvement, with the enhancement of technical efficiency serving as the main driving force. In addition, the GFPP exhibits a positive low-carbon spatial spillover effect, indicating it benefits ACTFP in both the pilot and adjacent areas.Originality/valueWithin the framework of the dual carbon goals, the paper highlights agriculture as a significant carbon emitter. ACTFP is assessed by considering the agricultural carbon emission factor as the sole non-desired output, and the impact of the GFPP on ACTFP is investigated through the DID method, thereby providing substantial validation of the hypotheses inferred from the mathematical model. Subsequently, the spillover effects of GFPP on ACTFP are analyzed in conjunction with the spatial econometric model.