Recently, inverted perovskite solar cells (PeSCs) have witnessed significant advancements; however, their long-term stability remains a challenge because of the oxidation of silver cathodes to form AgI by mobile iodides. To overcome this problem, we propose the integration of an electron-deficient naphthalene diimide-based zwitterion (NDI-ZI) as the cathode interlayer. Compared to the physical ion-blocking layer, it effectively captures ions by forming ionic bonds via electrostatic Coulombic interaction to suppress the migration of iodide and Ag ions. The NDI-ZI interlayer also suppresses the shunt paths and modulates the work function of the Ag electrode by forming interface dipoles, thereby enhancing charge extraction. FA0.85Cs0.15PbI3 based PeSCs incorporating NDI-ZI exhibited a noticeably high power conversion efficiency of up to 23.3% and outstanding stability, maintaining ∼80% of their initial performance over 1500 h at 85 °C and over 500 h under continuous 1-sun illumination. This study highlights the potential of a zwitterionic cathode interlayer in diverse perovskite optoelectronic devices, leading to their improved efficiency and stability.