Suppressing electron transfer across the Ru/ceria Schottky interface optimizes the light-induced electronic structure, enhances reactant activation and spillover for ammonia synthesis, offering a novel design perspective for high-efficiency photothermal catalysts.