A techno-economic assessment of hydrogen production from waste heat using a proton exchange membrane (PEM) electrolyzer and solid oxide electrolyzer cell (SOEC) integrated separately with the Rankine cycle via two different hybrid systems is investigated. The two systems run via three available cement waste heats of temperatures 360 degrees C, 432 degrees C, and 780 degrees C with the same energy input. The waste heat is used to run the Rankine cycle for the power production required for the PEM electrolyzer system, while in the case of SOEC, a portion of waste heat energy is used to supply the electrolyzer with the necessary steam. Firstly, the best parameters; Rankine working fluid for the two systems and inlet water flow rate and bleeding ratio for the SOEC system are selected. Then, the performance of the two systems (Rankine efficiency, total system efficiency, hydrogen production rate, and eco-nomic and CO2 reduction) is investigated and compared. The results reveal that the two systems' performance is higher in the case of steam Rankine than organic, while a bleeding ratio of 1% is the best condition for the SOEC system. Rankine output power, total system efficiency, and hydrogen production rate rose with increasing waste heat temperature having the same energy. SOEC system produces higher hydrogen production and efficiency than the PEM system for all input waste heat conditions. SOEC can produce 36.9 kg/h of hydrogen with a total system efficiency of 23.8% at 780 degrees C compared with 27.4 kg/h and 14.45%, respectively, for the PEM system. The minimum hydrogen production cost of SOEC and PEM systems is 0.88 $/kg and 1.55 $/kg, respectively. The introduced systems reduce CO2 emissions annually by about 3077 tons.(c) 2022 Hydrogen Energy Publications LLC. Published by Elsevier Ltd. All rights reserved.