Full-solution processed all-nanowire flexible and transparent UV photodetectors based on a Ag NW/ZnO NW/Ag NW sandwich MSM structure are successfully fabricated and exhibit low operation voltage, excellent photoresponse properties, high transparency and superior mechanical stability.