Local structures that activate proton conduction in oxides have remained unsolved since the discovery of the phenomenon in 1981. Here, in situ X-ray absorption spectroscopy and ab initio Monte Carlo simulations are combined to reveal that oxygen vacancies sandwiched by one or two Sc dopants are the active centers.