We study charge symmetry breaking (CSB) in the reaction pn → dπ0. CSB manifests itself in a forward-backward asymmetry of the differential cross section measured recently at TRIUMF. A complete calculation of CSB effects at leading order in chiral perturbation theory is performed. A new leading-order operator is included. This allows us to extract the strong contribution to the neutron-proton mass difference from the analysis. The value obtained is consistent with the result of Gasser and Leutwyler based on the Cottingham sum rule and with an extraction from lattice QCD.