The new development pattern has identified two key avenues for the sustained advancement of high-quality agricultural and rural development: digitalisation and low-carbon development. The measurement of the digital economy and the agricultural carbon emission performance, and their spatial and temporal heterogeneity, is a crucial step in promoting the spatial coordination and sustainable development of digitalisation and low-carbon agriculture. This paper employs the entropy value method, SBM model, and coupling coordination degree model to investigate the coupling coordination measurement and spatial-temporal heterogeneity of the performance of the digital economy and agricultural carbon emissions. The data used are provincial panel data from 2013 to 2021. The simulation results demonstrate that, between 2013 and 2021, the digital economy of all provinces exhibited varying degrees of growth, yet the development of the digital economy between provinces exhibited a more pronounced tendency to diverge. Concurrently, the agricultural carbon emission efficiency in China exhibited a fluctuating upward trend. The development of the digital economy and the efficiency of agricultural carbon emission were found to be highly coupled. Their coupling and coordination relationship showed a downward trend followed by an upward trend. In general, it is suggested that we should increase investment in digital economy infrastructure and technology, promote digital agricultural applications, strengthen policy guidance and financial support, establish a coupling coordination mechanism and strengthen farmers’ digital literacy and environmental awareness.