CdS thin films were prepared using rf planar magnetron sputtering in Ar atmosphere. Different deposition temperatures between 150 and 250°C and different rf powers between 30 and 130 W were used. The films had hexagonal structure with crystallites oriented in the (100) direction. The increase of deposition temperature caused an increase in the crystallite size (from 380 to 450 A) and a decrease in the resistivity (from 3.87 to 0.95 Q cm). The increase in the rf power (from 30 to 130W) caused a decrease in the grain size (from 480 to 320 A) and an increase in the resistivity (from 0.51 to 2.05 Q cm) above 70 W. The average optical transmission in the visible region of the spectrum ranged between 71 and 86%. The quality of the films as window layers for solar cell applications was investigated.