Mechanical properties of nanowires (NWs) can be different from those of their bulk counterparts, manifesting so-called size effect. Measuring their mechanical properties and understanding their deformation mechanisms are of critical relevance. This article reviews the mechanical properties of three types of NWs – metallic, ionic, and covalent NWs categorized by their bonding types – including Young’s modulus, strength, plasticity and fracture. Major mechanical testing methods for NWs such as bending, resonance, and uniaxial tension are also summarized along with key experimental challenges such as sample preparation and effect of boundary conditions. A brief summary and outlook for future research directions are provided.