Nanostructured B-doped ZnO thin films were deposited by pulsed ma gnetron sputtering,and the structural and optical properties are investigated by X-ray diffraction (XRD) s canning electron microsope (SEM) and ultraviolet visible near infrared (UV-Vis -NIR) spectrometer,respectively.The results show that ZnO:B is a polycrystalline nanostructured thin film with hexag onal wurtzite structure,and is oriented along the c-axis preferential growth.It exhibits high optical transmit tan ce in both visible and near-infrared (NIR) spectral regions.The average transmittance is over 84% in visible spectral region,and decreases to 45% gradually in NIR spectral region.The pointwise unco nstrained optimization method is applied to calculate the optical constants of the film.The optical constants have little change with wav elength increasing in visible range and the value is substantially constant,and the refractive index is about 2.0, whereas the optical constants vary significantly in the UV region.