In this work, we presented a surface mechanical attrition treatment (SMAT)-assisted approach to the synthesis of one-dimensional copper oxide nanowires (CuO NWs) for nanodevices applications. The as-prepared CuO NWs have diameter and the length of 50 ~ 200 nm and 5 ~ 20 μm, respectively, with a preferential growth orientation along [1 0] direction. Interestingly, nanofield-effect transistor (nanoFET) based on individual CuO NW exhibited typical p-type electrical conduction, with a hole mobility of 0.129 cm2V-1 s-1 and hole concentration of 1.34 × 1018 cm-3, respectively. According to first-principle calculations, such a p-type electrical conduction behavior was related to the oxygen vacancies in CuO NWs. What is more, the CuO NW device was sensitive to visible light illumination with peak sensitivity at 600 nm. The responsitivity, conductive gain, and detectivity are estimated to be 2.0 × 102 A W-1, 3.95 × 102 and 6.38 × 1011 cm Hz1/2 W-1, respectively, which are better than the devices composed of other materials. Further study showed that nanophotodetectors assembled on flexible polyethylene terephthalate (PET) substrate can work under different bending conditions with good reproducibility. The totality of the above results suggests that the present CuO NWs are potential building blocks for assembling high-performance optoelectronic devices.