ZnO thin films doped with Al concentrations of 1.0, 2.0, 3.0, 4.0, 5.0at% were prepared by a sol–gel spin-coating method on glass substrates and respectively annealed at 550°C for 2h in hydrogen and air. The X-ray diffraction and selected-area electron diffraction results confirm that the Al doped ZnO thin films are of wurtzite hexagonal ZnO. The scanning electron microscope results indicate that the Al doped ZnO nanorod thin films can be got by annealing in hydrogen rather than in air. The optical properties reveal that the Al doped ZnO thin films have obviously enhanced transmittance in the visible region. The electrical properties show that the resistivity of 1.0at% Al doped ZnO thin films has been remarkably reduced from 0.73Ωm by annealing in air to 3.2×10−5Ωm by annealing in hydrogen. It is originated that the Al doped ZnO nanorod thin films annealed in hydrogen increased in electron concentration and mobility due to the elimination of adsorbed oxygen species, and multicoordinated hydrogen.