A plant for producing a hydrogen product from a hydrocarbon feed, said plant comprising: - a reforming unit, said reforming unit being arranged to receive a hydrocarbon feed (1, 2) and convert it to a syngas stream; - a shift section (115, 150) being arranged to receive syngas stream from the steam reforming unit and shift it into a shifted syngas stream; - a hydrogen purification unit, arranged to receive said shifted syngas stream and separate it into a high-purity H 2 stream as said hydrogen product, and a CO 2 -rich off-gas stream; - a steam header arranged to receive steam produced by the cooling of at least any of: said syngas stream and said shifted syngas stream; - a CO 2 -rich off-gas recycle compressor, arranged to receive and compress said CO 2 -rich off-gas stream into a compressed CO 2 -rich off-gas stream; - a drying unit arranged to receive the compressed CO 2 -rich off-gas stream and provide a dried compressed CO 2 -rich off-gas stream (9"); said drying unit further being arranged to receive an inlet regeneration gas stream and to withdraw an exit regeneration gas stream; said drying unit further comprising: a heat exchanging unit which is arranged to preheat the inlet regeneration gas stream by indirect cooling of a heat exchanging medium selected from any of: steam (13") from said steam header, syngas stream, shifted syngas stream, and combinations thereof; and provide a cooled heat exchanging medium as a steam condensate or as a cooled synthesis gas, such as a cooled syngas stream or a cooled shifted syngas stream; - a low temperature CO 2 -removal section arranged to receive said dried compressed CO 2 -rich off-gas stream (9") for removal of CO 2 from the CO 2 -rich off-gas stream or from said dried compressed CO 2 -rich off-gas stream (9"), and provide at least: a CO 2 -product stream and a CO 2 -depleted off-gas stream (17, 17', 17"). - a reforming unit, said reforming unit being arranged to receive a hydrocarbon feed (1, 2) and convert it to a syngas stream; - a shift section (115, 150) being arranged to receive syngas stream from the steam reforming unit and shift it into a shifted syngas stream; - a hydrogen purification unit, arranged to receive said shifted syngas stream and separate it into a high-purity H 2 stream as said hydrogen product, and a CO 2 -rich off-gas stream; - a steam header arranged to receive steam produced by the cooling of at least any of: said syngas stream and said shifted syngas stream; - a CO 2 -rich off-gas recycle compressor, arranged to receive and compress said CO 2 -rich off-gas stream into a compressed CO 2 -rich off-gas stream; - a drying unit arranged to receive the compressed CO 2 -rich off-gas stream and provide a dried compressed CO 2 -rich off-gas stream (9"); said drying unit further being arranged to receive an inlet regeneration gas stream and to withdraw an exit regeneration gas stream; said drying unit further comprising: a heat exchanging unit which is arranged to preheat the inlet regeneration gas stream by indirect cooling of a heat exchanging medium selected from any of: steam (13") from said steam header, syngas stream, shifted syngas stream, and combinations thereof; and provide a cooled heat exchanging medium as a steam condensate or as a cooled synthesis gas, such as a cooled syngas stream or a cooled shifted syngas stream; - a low temperature CO 2 -removal section arranged to receive said dried compressed CO 2 -rich off-gas stream (9") for removal of CO 2 from the CO 2 -rich off-gas stream or from said dried compressed CO 2 -rich off-gas stream (9"), and provide at least: a CO 2 -product stream and a CO 2 -depleted off-gas stream (17, 17', 17").