A dye-sensitized TiO2 nanotube array (DST) was fabricated by electrochemical anodization in an aqueous organic electrolyte and immersed into ethanol containing N719 dye. The crystal phase and microstructure of the TiO2 nanotube array (TNTA) were characterized by X-ray diffraction (XRD) and field emission scanning electron microscopy (FESEM). The UV-Vis spectra of the DST were characterized by diffuse reflectance spectra (DRS). The hydrogen sensitivity of the as-prepared sample was tested at room temperature under Xe-lamp (simulated solar light) irradiation. It was found that the sensor was highly sensitive to low concentrations of hydrogen as an application in air quality control.