In order to find novel protein tyrosine phosphatase 1B (PTP1B) inhibitors, a series of novel arylaminoacetylhydrazone derivatives containing carbazole moiety were designed and synthesized. Their structures and configurations were confirmed by IR, 1 H NMR, 13 C NMR, two-dimensional NMR spectra (including 1 H-1 H COSY, 1 H-13 C HMBC and NOESY) and elemental analysis. The inhibitory activities of all the target compounds against PTP1B were tested, and it was found that the target compounds had potent inhibitory activity against PTP1B, and most of them had lower IC50 value than the positive control drug oleanolic acid. Among them, N'-(9-octylcarbazol-3-ylmethylene)-2-(4-nitrophenylamino)acetohydrazide (3t) had the highest inhibitory activity against PTP1B with IC50 of (2.78±0.04) μmol/L. Molecular docking was used to study the bind of compound 3t with PTP1B enzyme.