The dual carbon target is a two-stage carbon reduction goal proposed by China, while the bridge maintenance strategy does not consider the need for sustainable development. Therefore, this article studies the optimization of bridge maintenance timing under China’s dual carbon goals. Firstly, this paper aims to minimize the total cost of maintenance and carbon emissions, considering the continuous effects of carbon pricing and emissions in the context of the dual carbon goals. The CHINAGEM-E model is employed to predict carbon prices, and a preventive maintenance decision-making method for highway bridges is established. Secondly, based on the theory of material residual strength, a degradation model for the technical condition of highway bridges is constructed. Finally, an in-depth case analysis of an in-service highway bridge is conducted to derive optimal maintenance solutions under three scenarios. In comparison to scenarios considering only maintenance costs or those based on benchmark carbon prices, the comprehensive maintenance cost under the dual carbon targets is the highest. In the total maintenance cost, carbon emission costs constitute over 50%, emphasizing the need for increased attention to carbon emission cost studies in future maintenance research. The methodology proposed in this paper is the first to connect carbon prices with the timing of preventive maintenance for bridges, providing a more scientific and sustainable basis for future highway bridge maintenance decisions.