ATP synthases produce ATP by rotary catalysis, powered by the electrochemical proton gradient across the membrane. Understanding this fundamental process requires an atomic model of the proton ...ATP synthases produce ATP by rotary catalysis, powered by the electrochemical proton gradient across the membrane. Understanding this fundamental process requires an atomic model of the proton pathway. We determined the structure of an intact mitochondrial ATP synthase dimer by electron cryo-microscopy at near-atomic resolution. Charged and polar residues of the -subunit stator define two aqueous channels, each spanning one half of the membrane. Passing through a conserved membrane-intrinsic helix hairpin, the lumenal channel protonates an acidic glutamate in the -ring rotor. Upon ring rotation, the protonated glutamate encounters the matrix channel and deprotonates. An arginine between the two channels prevents proton leakage. The steep potential gradient over the sub-nm inter-channel distance exerts a force on the deprotonated glutamate, resulting in net directional rotation.