According to the results, there was a positive correlation between the ERα and ERβ genes overexpression and melasma occurrence in the case group. The gene discussed is ESR1; the disease is freckles.