This paper proposes a novel high-gain three-port power converter with fuel cell (FC), battery sources and stacked output for a hybrid electric vehicle (HEV) connected to a dc-microgrid. In the proposed power converter, the load power can be flexibly distributed between the input sources. Moreover, the charging or discharging of the battery storage device can be controlled effectively using the FC source. The proposed converter has several outputs in series to achieve a high-voltage output, which makes it suitable for interfacing with the HEV and dc-microgrid. On the basis of the charging and discharging states of the battery storage device, two power operation modes are defined. The proposed power converter comprises only one boost inductor integrated with a flyback transformer; the boost and flyback circuit output terminals are stacked to increase the output voltage gain and reduce the voltage stress on the power devices. This paper presents the circuit configuration, operating principle, and steady-state analysis of the proposed converter, and experiments conducted on a laboratory prototype are presented to verify its effectiveness.