The recent measurement of the muon anomalous magnetic moment a(mu) shows a 2.6 sigma deviation from the standard model value. We show that it puts strong constraints on the parameter space of the two-Higgs-doublet model (2HDM) II. The dominant contributio