Abstract : We investigate the piezoelectric generation properties of GaN nanowires (NWs) by atomic force microscopy equipped with a Resiscope module for electrical measurements. By correlating the topography profile of the NWs with the recorded voltage peaks generated by these nanostructures in response to their deformation, we demonstrate the influence of their polarity on the rectifying behavior of the Schottky diode formed between the NWs and the electrode of measurement. These results establish that the piezo-generation mechanism crucially depends on the structural characteristics of the NWs.