A series of nine novel 1,2,4-triazole based compounds were synthesized through a multistep reaction pathway and their structures were scrutinized by using spectral methods such as FTIR, LC-MS, 1H NMR, and 13C NMR. The synthesized derivatives were screened for inhibitory activity against the mushroom tyrosinase and we found that all the synthesized compounds demonstrated decent inhibitory activity against tyrosinase. However, among the series of compounds, N-(4-fluorophenyl)-2-(5-(2-fluorophenyl)-4-(4-fluorophenyl)-4H-1,2,4-triazol-3-ylthio) acetamide exhibited more prominent activity when accompanied with the standard drug kojic acid. Furthermore, the molecular docking studies identified the interaction profile of all synthesized derivatives at the active site of tyrosinase. Based on these results, N-(4-fluorophenyl)-2-(5-(2-fluorophenyl)-4-(4-fluorophenyl)-4H-1,2,4-triazol-3-ylthio) acetamide could be used as a novel scaffold to design some new drugs against melanogenesis.