Herein, TYR, TYRP1, DCT, and LARP7 were chosen as biomarkers to identify vitiligo by combining machine learning algorithm and WGCNA. This evidence concerns the gene DCT and vitiligo.