The invention discloses solar power generation based hydrogen collecting equipment for hydrogen production by water electrolysis. The hydrogen collecting equipment comprises a water electrolysis device, a hydrogen storage box, a collecting pipe, a conveying pipe, a connecting pipe, a compressor, a hydrogen storage tank and a sealing plate, wherein the hydrogen storage box is arranged on one side of the water electrolysis device, the collecting pipe is fixed on the inner wall of the hydrogen storage box, the conveying pipe is fixed at one end of the collecting pipe, one end, away from the hydrogen storage box, of the conveying pipe communicates with a hydrogen outlet end of the water electrolysis device, the connecting pipe is fixed at the top of the hydrogen storage box, the compressor isarranged at one end of the hydrogen storage box, one end, close to the compressor, of the connecting pipe communicates with a gas inlet of the compressor, the hydrogen storage tank is arranged on oneside of the compressor, an exhaust port of the compressor communicates with the gas inlet of the hydrogen storage tank, the inner wall of the hydrogen storage box is connected with the sealing plate in a sliding manner, and the middle of the sealing plate is connected with the collecting pipe in a sliding manner. The solar power generation based hydrogen collecting equipment for hydrogen production by water electrolysis can provide buffer capacity for the compressor during hydrogen compression and improve output stability of the compressor.