The invention provides a diesel-gas-electric series-parallel type ship hybrid power system with a fuel cell. The diesel-gas-electric series-parallel type ship hybrid power system is composed of a diesel engine, a gas engine, electric generators, two motors, the fuel cell, a storage battery, permanent magnet couplers, two clutches, a gearbox, propellers, a natural gas storage and supply device, aninverter, a frequency converter, a rectifier and a distribution board. The diesel engine and the gas engine are connected with the gearbox through the permanent magnetic couplers, the two motors and the electric generators are connected with the gearbox through the clutches, the two clutches are arranged in the gearbox, and a power source includes the fuel cell and the storage battery. The layoutof various energy forms adopted by the diesel-gas-electric series-parallel type ship hybrid power system can meet the needs of ships in various environments and operating conditions, further improvesthe operating efficiency of the diesel engine, the gas engine and the motors, effectively reduces the fuel consumption and emissions of an engine, improves the dynamic response of the ships simultaneously, and the system has a wide range of application.