Photovoltaic (PV) technologies, which convert light into electricity, are increasingly applied worldwide to generate renewable energy. Researchers have now developed a molecular treatment that significantly enhances the efficiency and durability of perovskite solar cells. Their breakthrough will potentially accelerate the large-scale production of this clean energy.