Electrolyzing water is an environmentally friendly and renewable way to obtain high purity hydrogen. Ruthenium has strong water dissociation ability and suitable hydrogen adsorption energy, so it is considered as one of the candidates of excellent electrocatalysts for hydrogen evolution in alkaline solution. The dynamic hydrogen bubble template (DHBT) is a good electrodeposition technology, which can obtain the 3D metal foams. However, as far as we know, there is no report on the preparation of Ru electrocatalyst by the DBHT method. In this work, the trumpet-shaped Ru on amorphous cobalt support (T-Ru/a-Co) is prepared by the DHBT electrodeposition for the first time. The defect locations are uniformly distributed on the surface of amorphous cobalt (a-Co), which can effectively lead to the formation of nano-bubble template in the DHBT process. However, this special morphology cannot be obtained on the surface of crystalline Co (c-Co). In addition, the electronic structure of T-Ru/a-Co has also been obviously modified, in which the proportion of Ru4+/Ru0 in T-Ru/a-Co has increased, accompanied by the change of binding energy of Ru. It only needs an overpotential of 49 mV to obtain a current density of 10 mA cm−2 for the T-Ru/a-Co. The specific activity (SA), turnover frequency (TOF) and mass activity (MA) of T-Ru/a-Co are 0.23 mA cm−2, 0.48 s−1 and 0.24 A mg−1, which are both higher than those of Pt/C, the disk-shaped Ru on the c-Co support (D-Ru/c-Co) and Ru/C, respectively.