Recently, a novel idea [1] has been proposed to relax the electroweak hierarchy problem through the cosmological inflation and the axion periodic potential. Here, we further assume that only the attractive inflation is needed to explain the light mass of the Higgs boson, where we do not need a specified periodic potential of the axion field. Attractive inflation during the early universe drives the Higgs boson mass from the large value in the early universe to the small value at present, where the Higgs mass is an evolving parameter of the Universe. Thus, the small Higgs mass can technically originate from the cosmological evolution rather than dynamical symmetry or anthropics. Further, we study the possible collider signals or constraints at future lepton collier and the possible constraints from the muon anomalous magnetic moment. A concrete attractive relaxion model is also discussed, which is consistent with the data of Planck 2015. PACS numbers: 12.60.Fr * Electronic address: huangfp@ihep.ac.cn 1 Many mechanisms have been proposed to solve the EW hierarchy problem, including the extra dimensions theory, the supersymmetry theory, and the compositeness of the Higgs boson [2-6]. However, all these new models lead to a technically natural EW scale [39], since the current experimental data from the colliders and indirect experiments have put their model parameters into fine-tuned regions. Or, we can just ignore the EW hierarchy problem if we believe the anthropic principle.