Syngas production and separation plant comprising: - At least one reformer for converting a hydrocarbon feedstock into a gas stream comprising hydrogen, carbon monoxide and at least one hydrocarbon as impurity, said reformer comprising a fired tubular reformer , a radiant section , a convection section and a heat recovery section , - A carbon monoxide cold box downstream of the reformer configured to produce a carbon monoxide-enriched gas stream and a waste gas stream comprising hydrogen and at least one hydrocarbon, - A passageway for feeding the radiant section of the reformer with a first part of the waste gas stream from cold box , - A compressor for compressing a second part of the waste gas stream from cold box , - A hydrogen-permeating membrane separation system configured to be fed by the compressed second part of the waste gas stream and to produce a hydrogen-enriched permeate and a hydrocarbon-enriched retentate , - Passageway for recycling the hydrogen-enriched permeate in the radiant section of the reformer, and - Passageway for recycling the hydrocarbon-enriched retentate upstream of the reformer in the hydrocarbon feedstock, with the reformer comprising a recuperative reformer in the radiant section and/or in parallel a heat exchanger reformer , whereby the recuperative reformer is a reformer consisting of one or more more tubular catalyst tubes where the catalyst tubes comprise of an outer annulus with a catalyst bed and whereby the recuperative reformer is configured in such a manner that the heat required for the reforming is provided from the outside by the radiant section as well from the inner tubes/ annulus inside which the reformate formed on the catalyst bed is cooled down to exchange heat to the catalyst and then exit said tubes at a lower temperature than the catalyst outlet temperature. - At least one reformer for converting a hydrocarbon feedstock into a gas stream comprising hydrogen, carbon monoxide and at least one hydrocarbon as impurity, said reformer comprising a fired tubular reformer , a radiant section , a convection section and a heat recovery section , - A carbon monoxide cold box downstream of the reformer configured to produce a carbon monoxide-enriched gas stream and a waste gas stream comprising hydrogen and at least one hydrocarbon, - A passageway for feeding the radiant section of the reformer with a first part of the waste gas stream from cold box , - A compressor for compressing a second part of the waste gas stream from cold box , - A hydrogen-permeating membrane separation system configured to be fed by the compressed second part of the waste gas stream and to produce a hydrogen-enriched permeate and a hydrocarbon-enriched retentate , - Passageway for recycling the hydrogen-enriched permeate in the radiant section of the reformer, and - Passageway for recycling the hydrocarbon-enriched retentate upstream of the reformer in the hydrocarbon feedstock, with the reformer comprising a recuperative reformer in the radiant section and/or in parallel a heat exchanger reformer , whereby the recuperative reformer is a reformer consisting of one or more more tubular catalyst tubes where the catalyst tubes comprise of an outer annulus with a catalyst bed and whereby the recuperative reformer is configured in such a manner that the heat required for the reforming is provided from the outside by the radiant section as well from the inner tubes/ annulus inside which the reformate formed on the catalyst bed is cooled down to exchange heat to the catalyst and then exit said tubes at a lower temperature than the catalyst outlet temperature. <EOS>