A series of novel 2,5-disubstituted-1,3,4-thiadiazolamide derivatives containing carbazole/benzimidazole moity were synthesized. Their structures were characterized by IR, 1 H NMR, 13 C NMR spectra and elemental analysis. All synthesized target compounds were evaluated for the inhibitory activities against protein tyrosine phosphatase 1B (PTP1B) and T-cell protein tyrosine phosphatase (TCPTP). The structure-activity relationship was discussed. The results showed that most of compounds had good inhibitory activity against PTP1B over the highly homologous TCPTP, and 2-(9-carbazolylmethylene)-5-(3-chlorobenzoylamino)-1,3,4-thiadiazole (5c) displayed the highest inhibitory activity against PTP1B [IC 50 =(2.43±0.43) μg/mL]. The inhibitory activities of 2-(9-carbazolylmethylene)-5-(4-methylbenzoylamino)-1,3,4-thiadiazole (5b) and 5c against PTP1B were higher than that of positive control oleanolic acid. Molecular docking and density functional theory (DFT) calculations of the target compound 5c were performed. The docking result showed that compound 5c and PTP1B enzyme formed a stable complex by hydrogen bonds, hydrophobic and - interactions.