We study the Higgs boson mass and the muon anomalous magnetic moment (the muon $g-2$) in a supersymmetric standard model with vector-like generations. The infrared physics of the model is governed by strong renormalization-group effects of the gauge couplings. That leads to sizable extra Yukawa couplings of Higgs doublets between the second and vector-like generations in both quark and lepton sectors. It is found with this property that there exist wide parameter regions where the Higgs boson mass and the muon $g-2$ are simultaneously explained.