UVB irradiation can induce the formation of Reactive Oxygen Species (ROS) which causes activation of melanin synthesis through activation of tyrosinase and tyrosinase related protein-1 (TRP1). Secondary metabolites contained in petai peel extract are known to play a role in inhibiting ROS production due to exposure to UVB rays. This study aims to determine the effect of administering petai peel extract gel on the expression of the tyrosinase and TRp1 genes in mouse skin tissue exposed to UVB. The research design was posttest only control group with a completely randomized design method. The samples studied were 24 mice exposed to UVB light with a wavelength of 302 nm and an energy of 390mJ/cm2/day 3 times a week for 2 weeks. This research was carried out in four groups, namely the healthy group (K1), the negative control group (K2), treatment 1 (K3) with 10% petai peel extract gel and treatment 2 (K4) with 20% petai peel extract gel. Tyrosinase and TRP1 gene expression was analyzed using qRT-PCR. qRT-PCR analysis showed that there was a significant decrease in tyrosinase and TRP1 gene expression between groups K3 (tyrosinase 3,19±2,12 and TRP1 4,96±3,42) and K4 (tyrosinase 0,65±0,44 and TRP1 2,22±1,18) compared to group K2 (tyrosinase 17,92±3,77 and TRP1 35,91±4,52). Administration of petai peel extract gel can reduce the expression of tyrosinase and TRP1 genes in hyperpigmentation mice exposed to UVB light.