In the frame of the project "BioH2-4refineries" the technical and economic potential of the production of hydrogen for a refinery was shown. In this project the whole chain from wood chips to hydrogen will be build and operated in pilot scale, to secure the design of the demonstration plant, which will be build in the frame of a NER300 project.