Hydrogen is one of the most important energy sources of the future; as well, it is the least harmful form of energy for the environment. Hydrogen is a clean and renewable energy supply and be used as non-toxic energy storage and transport medium. During electrolysis of water, a high power dissipation value is the most important problem of such systems. Several internal and external variables have an influence on both of electrical behavior of electrolysis cells and their efficiency namely: nature, concentration and purity of the electrolyte, electrodes type and their form, cell temperature and pressure...etc. This paper presents an experimental study regarding hydrogen production by water's electrolysis using a photovoltaic panel current. The study consists of seeing the effect of the electrolyte nature on the volume of hydrogen produced. The experiments conducted at Ouargla University which including a comparison between two alkaline electrolytes behaviors, show that potassium hydroxide (KOH 3 M) is more effective than sodium hydroxide (NaOH 3 M) for the same electrolysis conditions of pressure, temperature, load current and load voltage. Overall production of KOH and NaOH cells is 5122 cm(3) and 3279 cm(3) of hydrogen at standard conditions with recording maximum efficiencies of 90.25% and 83.33% respectively.