The discovery of Higgs boson plays a crucial role in understanding the electroweak symmetry breaking sector. From now on, solving the dynamics of this sector needs precision measurements of the couplings of the Higgs boson to the Standard Model particles. In this work, we investigate the constrains on the anomalous HWW and HWWγ couplings, described by the dimension-six operators in the effective Lagrangian, in a high energy envisaged ep collider which is called Large Hadron electron Collider (LHeC). We obtained the 95% confidence level limits on the couplings of anomalous HWW and HWWγ vertex, with the design luminosity of 10 fb−1 and electron beam energy of 140 GeV, through ep→νH+X, γp→WH+X and eγ→WHν processes by considering the new physics energy scale to be Λ=1 TeV. The sensitivity of the LHeC to the new physics scale is also briefly discussed.