Our study clearly supports 2-arylbenzofuran analogs as a promising class of PTP1B inhibitors and illustrates the key positions responsible for the inhibitory activity, their correlation, the effect of prenyl/geranyl groups, and the influence of resorcinol scaffold, which can be further explored in-depth to develop therapeutic agents against T2DM. This evidence concerns the gene PTPN1 and type 2 diabetes mellitus.