The invention discloses a hydrogen liquefying device for hydrogen production. The hydrogen liquefying device comprises a raw material hydrogen compressor, a two-stage circulating hydrogen compressor, a medium-pressure turbo expander, a low-pressure turbo expander, a two-stage precooling heat exchanger and a five-stage liquefying cooler, a product hydrogen channel, a precooling medium channel, a circulating hydrogen channel, a circulating hydrogen backflow channel and a circulating low-temperature hydrogen channel are arranged in each stage of precooling heat exchanger; a product hydrogen channel, a recycle hydrogen channel, a recycle hydrogen backflow channel and a recycle low-temperature hydrogen channel are arranged in each of the first-stage liquefaction cooler, the second-stage liquefaction cooler, the third-stage liquefaction cooler and the third-stage liquefaction cooler, a product hydrogen channel, a recycle hydrogen channel and a recycle hydrogen backflow channel are arranged in the fourth-stage liquefaction cooler, and a product hydrogen channel and a recycle hydrogen channel are arranged in the fifth-stage liquefaction cooler; and a circulating hydrogen compression conveying pipe is connected between the primary circulating hydrogen compressor and the secondary circulating hydrogen compressor. The device has the advantages that the structure is compact, the energy distribution of each stage of heat exchange equipment is reasonable, and the continuous and stable liquefaction of product hydrogen and the conversion of ortho-parahydrogen are ensured.