Vitiligo is a skin disease characterized by selective loss of melanocytes, which seriously affects the appearance and causes great psychological stress to patients. In this study, we performed a comprehensive analysis of two vitiligo microarray datasets from the GEO database using bioinformatics tools to identify 297 up-regulated mRNAs and 186 down-regulated mRNAs, revealing important roles for pathways related to melanin synthesis, tyrosine metabolism, and inflammatory factors, such as “PPAR signaling pathway”, “tyrosine metabolism”, “nonalcoholic fatty liver disease (NAFLD) pathway”, “melanogenesis”, and “IL-17 signaling pathway”. Combining the Search Tool for Interacting Chemicals (STITCH) database 5.0 and the drug-gene interaction database 3.0 (DGIdb), we identified that the PPAR-γ agonist rosiglitazone may promote melanin synthesis via EDNRB. Next, we investigated the mechanism of rosiglitazone and PPAR-γ pathway in promoting melanin production. Consistent with the results of bioinformatics analysis, the expression levels of PPAR-γ, EDNRB, and TYR were significantly reduced in human non-segmental vitiligo skin along with the reduction of MITF, a key gene for epidermal melanogenesis. Meanwhile, rosiglitazone increased melanin synthesis capacity in melanocytes and zebrafish by activating PPAR-γ and upregulating TYR, TYRP-1, and TYRP-2. Conversely, treatment of melanocytes with the PPAR-γ antagonist GW resulted in inhibition of melanin synthesis and expression of melanin-related factors. At the same time, simultaneous treatment of rosiglitazone with GW reversed the inhibitory effect of GW on melanin synthesis. In this study, we identified that rosiglitazone, an important insulin sensitizer, promotes melanin synthesis in melanocytes by increasing PPAR-γ activity and upregulating the expression levels of EDNRB and TYR. These findings may provide new ideas for exploring the pathogenesis and potential therapeutic targets of non-segmental vitiligo.