Surface treatment of triple-halide perovskite layers with piperazinium iodide enables highly efficient tandem solar cells.