The mitochondrial F1FO-ATP synthase produces the bulk of cellular ATP. The soluble F1 domain contains the catalytic head that is linked via the central stalk and the peripheral stalk to the membrane embedded rotor of the Fo domain. The assembly of the F1 domain and its linkage to the peripheral stalk is poorly understood. We uncovered a dual function of the mitochondrial Hsp70 (mtHsp70) in the formation of the ATP synthase. First, it cooperates with the assembly factors Atp11 and Atp12 to form the F1 domain of the ATP synthase. Second, the chaperone transfers Atp5 into the assembly line to link the catalytic head with the peripheral stalk. Inactivation of mtHsp70 leads to integration of an assembly-defective Atp5 variant into the mature complex, reflecting a quality control function of the chaperone. Thus, mtHsp70 acts as an assembly and quality control factor in the biogenesis of the F1FO-ATP synthase.