Many biological materials can readily modulate their mechanical properties and shape by interacting with water in the surrounding environment, which is essential to their high performance in application. In contrast, typical inorganic materials (such as the metals) cannot change their strength and shape without involving thermal/mechanical treatments. By introducing nano-scale porous structure and exploiting a simple physical concept-the watercapillarity in nanopores, here we report that a 'dead' metal can be transformed into a 'smart' material with water-responsive properties. We demonstrate that the apparent strength, volume and shape of nanoporous Au and Au(Pt) can be modulated in situ, dramatically and recoverably, in response to water-dipping and partial-drying. The amplitude of strength-modulation reaches 20 MPa, which is nearly 50% of the yield strength at initial state. This approach also leads to reversible length change up to 1.3% in nanoporous Au and a large reversible bending motion of a bi-layer strip with tip displacement of similar to 20 mm, which may be used for actuation. This method is simple and effective, occurring in situ under ambient conditions and requiring no external power, analogous to biological materials. The findings may open up novel applications in many areas such as micro-robotics and bio-medical devices.