By using sol-gel method, Nb/SnO2 gel was prepared,and spin coating method was used to coat on glass substrates, which dried and calcined to obtain a homogeneous Nb / SnO2 composite films.Under the same experimental conditions, the different doping amount of nickel, calcination temperature on the structure and morphology of Nb/SnO2 film were discussed. By using XRD, IR, SEM and other testing methods, the structure and morphology of Nb / SnO2 composite film were characterized.At 500 °C, the film particle had high crystallization and small size,and the surface of the film was well-distributed.Its optical and electrical properties were tested by the ultraviolet-visible spectrophotometer and four-probe resistivity meter.UV-Vis spectra showed that Nb / SnO2 film absorbance in the near ultraviolet region had increased significantly, but the absorbance showed a downward trend with the increasing amount of Nb5+ doped;Conductivity analysis showed: Nb5+ doping amount of 8% (the amount of material), the conductivity of Nb/SnO2 composite films was best.