Energy and exergy analyses are reported of hydrogen production via an ocean thermal energy conversion (OTEC) system coupled with a solar-enhanced proton exchange membrane (PEM) electrolyzer. This system is composed of a turbine, an evaporator, a condenser, a pump, a solar collector and a PEM electrolyzer. Electricity is generated in the turbine, which is used by the PEM electrolyzer to produce hydrogen. A simulation program using Matlab software is developed to model the PEM electrolyzer and OTEC system. The simulation model for the PEM electrolyzer used in this study is validated with experimental data from the literature. The amount of hydrogen produced, the exergy destruction of each component and the overall system, and the exergy efficiency of the system are calculated. To better understand the effect of various parameters on system performance, a parametric analysis is carried out. The energy and exergy efficiencies of the integrated OTEC system are 3.6% and 22.7% respectively, and the exergy efficiency of the PEM electrolyzer is about 56.5% while the amount of hydrogen produced by it is 1.2 kg/h.