Purpose -The purpose of this paper is to arrange zinc oxide (ZnO) nanowires into an appropriate position on electrodes and to research the properties of ZnO nanowires. Design/methodology/approach -In this paper, dielectrophoresis (DEP) was used to fabricate ZnO nanowire devices, and the responses to temperature, ultraviolet (UV) light and breath of the device were studied. Findings -The number of the bridged nanowires is increased with alternating current voltage. ZnO nanowires demonstrate a good photoconductivity illuminated by 365-nm UV light, and show a stable performance in monitoring unnatural breath of high frequency and low strength. Originality/value -In this paper, DEP is a promising method for controllable assembly of ZnO nanowires. ZnO nanowires demonstrate a good response to 365-nm UV light and exhaled breath, which show great potential application in UV detector and medical monitor.