Hydrogenated amorphous silicon (a‐Si:H) films were deposited from an rf electrodeless glow discharge in silane, and the dependence of the hydrogen concentration on substrate temperature, silane pressure, and rf power was studied by means of secondary ion mass spectroscopy (SIMS). The photovoltaic properties of the a‐Si:H films were also studied as a function of the same deposition parameters. The observed photovoltaic behavior appears to be mainly due to variations in the optical gap caused by changes in the hydrogen concentration of the films.