The synergistic combination of a Lewis base and a Lewis acid enables perovskite solar cells with high efficiency and stability.