With the rapid progress in a power conversion efficiency reaching up to 26.1%, which is among the highest efficiency for single-junction solar cells, organic–inorganic hybrid perovskite solar cells have become a research focus in photovoltaic technology all over the world, while the instability of these perovskite solar cells, due to the decomposition of its unstable organic components, has restricted the development of all-inorganic perovskite solar cells. In recent years, Br-mixed halogen all-inorganic perovskites (CsPbI3−xBrx) have aroused great interests due to their ability to balance the band gap and phase stability of pure CsPbX3. However, the photoinduced phase segregation in lead mixed halide perovskites is still a big burden on their practical industrial production and commercialization. Here, we demonstrate inhibited photoinduced phase segregation all-inorganic CsPbI1.2Br1.8 films and their corresponding perovskite solar cells by incorporating a 1-butyl-1-methylpiperidinium tetrafluoroborate ([BMP]+[BF4]−) compound into the CsPbI1.2Br1.8 films. Then, its effect on the perovskite films and the corresponding hole transport layer-free CsPbI1.2Br1.8 solar cells with carbon electrodes under light is investigated. With a prolonged time added to the reduced phase segregation terminal, this additive shows an inhibitory effect on the photoinduced phase segregation phenomenon for perovskite films and devices with enhanced cell efficiency. Our study reveals an efficient and simple route that suppresses photoinduced phase segregation in cesium lead mixed halide perovskite solar cells with enhanced efficiency.