Piperazinium salts with different anions optimised for surface treatment to increase the performance and stability of perovskite solar cells.