The influence of doping of tin dioxide with metals of the transition group during deposition by spray pyrolysis on the film structure is investigated. It is demonstrated that doping is accompanied by an increase in the content of the finely dispersed or amorphous phases. The phase content can be controlled by the change in the intensity of the X-ray diffraction peaks.