Method for the production of hydrogen from biogas comprising at least the following steps: - a step (a) of making available raw biogas containing at least from 45% to 70% of CH 4, and respectively from 30% to 50% of CO 2, as well as at least compounds of the sulphide, siloxane and/or VOC type - a step (b) of purification of a first portion of the biogas in order to produce bio methane comprising: • a step (b 0) of pre-purification intended to remove at least compounds of the sulphide type and preferably siloxanes and VOCs, • a step (b 1) of removing CO 2 in such a way as to produce bio methane containing less than 8% of CO 2, preferably less than 5% of CO 2, more preferably less than 2.5% of CO 2, - a step (c) steam reformation of the bio methane coming from the step (b) in order to obtain a synthetic gas containing at least hydrogen, carbon monoxide, as well as carbon dioxide, methane, water vapour as well as impurities, - a step (d) of shift reaction in order to oxidise most of the carbon monoxide into carbon dioxide in the presence of water with corresponding production of hydrogen, - a step (e) of separating constituents of the dry synthetic gas in an adsorption unit by pressure modulation (or PSA H 2) allowing for the obtaining of a flow rich in hydrogen and a flow of residual gas of PSA, - a step (f) of recycling all or a portion of the PSA residual in order to supply the burners of the steam reformation oven of the step (c) with secondary fuel, - a step (g) of supplying the burners of the reformation oven with primary fuel supplied from the second portion of the raw biogas of the step (a); with the second portion of the raw biogas intended to supply the primary fuel supplying the step (g) undergoes, prior to said step (g), a step (g 0) of partial purification in such a way as to produce a biogas free of sulphides, and preferably siloxanes and VOCs. - a step (a) of making available raw biogas containing at least from 45% to 70% of CH 4, and respectively from 30% to 50% of CO 2, as well as at least compounds of the sulphide, siloxane and/or VOC type - a step (b) of purification of a first portion of the biogas in order to produce bio methane comprising: • a step (b 0) of pre-purification intended to remove at least compounds of the sulphide type and preferably siloxanes and VOCs, • a step (b 1) of removing CO 2 in such a way as to produce bio methane containing less than 8% of CO 2, preferably less than 5% of CO 2, more preferably less than 2.5% of CO 2, • a step (b 0) of pre-purification intended to remove at least compounds of the sulphide type and preferably siloxanes and VOCs, • a step (b 1) of removing CO 2 in such a way as to produce bio methane containing less than 8% of CO 2, preferably less than 5% of CO 2, more preferably less than 2.5% of CO 2, - a step (c) steam reformation of the bio methane coming from the step (b) in order to obtain a synthetic gas containing at least hydrogen, carbon monoxide, as well as carbon dioxide, methane, water vapour as well as impurities, - a step (d) of shift reaction in order to oxidise most of the carbon monoxide into carbon dioxide in the presence of water with corresponding production of hydrogen, - a step (e) of separating constituents of the dry synthetic gas in an adsorption unit by pressure modulation (or PSA H 2) allowing for the obtaining of a flow rich in hydrogen and a flow of residual gas of PSA, - a step (f) of recycling all or a portion of the PSA residual in order to supply the burners of the steam reformation oven of the step (c) with secondary fuel, - a step (g) of supplying the burners of the reformation oven with primary fuel supplied from the second portion of the raw biogas of the step (a); with the second portion of the raw biogas intended to supply the primary fuel supplying the step (g) undergoes, prior to said step (g), a step (g 0) of partial purification in such a way as to produce a biogas free of sulphides, and preferably siloxanes and VOCs.