The epidermal barrier is vital for protecting the skin from environmental stressors and ultraviolet (UV) radiation. Filaggrin-2 (FLG2), a critical protein in the stratum corneum, plays a significant role in maintaining skin barrier homeostasis. However, the precise role of FLG2 in mitigating the adverse effects of UV-induced barrier disruption and photoaging remains poorly understood. In this study, we revealed that UVB exposure resulted in a decreased expression of FLG2 in HaCaT keratinocytes, which correlated with a compromised barrier function. The administration of recombinant filaggrin-2 (rFLG2) enhanced keratinocyte differentiation, bolstered barrier integrity, and offered protection against apoptosis and oxidative stress induced by UVB irradiation. Furthermore, in a UV-induced photodamage murine model, the dermal injection of rFLG2 facilitated the enhanced restoration of the epidermal barrier, decreased oxidative stress and inflammation, and mitigated the collagen degradation that is typical of photoaging. Collectively, our findings suggested that targeting FLG2 could be a strategic approach to prevent and treat skin barrier dysfunction and combat the aging effects associated with photoaging. rFLG2 emerges as a potentially viable therapy for maintaining skin health and preventing skin aging processes amplified by photodamage.