This study aims to enhance the performance of perovskite solar cells (PSCs) by optimizing the interface between the perovskite and electron transport layers (ETLs). Additionally, we plan to protect the absorber layer from ultraviolet (UV) degradation using a ternary oxide system comprising SnO 2 , strontium stannate (SrSnO 3 ), and strontium oxide (SrO). In this structure, the SnO 2 layer functions as an electron transport layer, SrSnO 3 acts as a layer for UV filtration, and SrO is employed to passivate the interface. SrSnO 3 is characterized by its chemical stability, electrical conductivity, extensive wide band gap energy, and efficient absorption of UV radiation, all of which significantly enhance the photostability of PSCs against UV radiation. Furthermore, incorporating SrSnO 3 into the ETL improves its electronic properties, potentially raising the energy level and improving alignment, thereby enhancing the electron transfer from the perovskite layer to the external circuit. Integrating SrO at the interface between the ETL and perovskite layer reduces interface defects, thereby reducing charge recombination and improving electron transfer. This improvement results in higher solar cell efficiency, reduced hysteresis, and extended device longevity. The benefits of this method are evident in the observed improvements: a noticeable increase in open-circuit voltage (V oc ) from 1.12 to 1.16 V, an enhancement in the fill factor from 79.4 to 82.66%, a rise in the short-circuit current density (J sc ) from 24.5 to 24.9 mA/cm 2 and notably, a marked improvement in the power conversion efficiency (PCE) of PSCs, from 21.79 to 24.06%. Notably, the treated PSCs showed only a slight decline in PCE, reducing from 24.15 to 22.50% over nearly 2000 h. In contrast, untreated SnO 2 perovskite devices experienced a greater decline, with efficiency decreasing from 21.79 to 17.83% in just 580 h.