This paper discusses the simulation of a fuel cell hybrid solar photovoltaic system in MATLAB Simulink. To achieve the stated objective, it is proposed to dynamically model a hybrid system using Simulink to analyze its performance and optimize its operation, improving the efficiency and stability of the power supply under different operating conditions, then the dynamic simulation model employs energy conversion equations of the solar PV panel and the fuel cell to meet the electrical load requirements, where the solar panel uses solar radiation and ambient temperature, while the fuel cell produces electricity by electrolysis of water, which separates hydrogen from oxygen. In the first graph, the power at load increases sharply at 0.5 seconds and stabilizes between 0.5 and 1.5 seconds, with a sharp drop at 1.6 seconds. In the second graph, PV power increases at 0.5 seconds, reaching 80 kW between 0.5 and 1.5 seconds, dropping to zero at 1.6 seconds. The fuel cell shows similar behavior. These results indicate a coordinated operation for a stable power supply to the load, responding efficiently to changes in demand and generation.