Using the theory of surface elasticity, we investigate the mechanical properties of nanoporous materials. The classical theory of porous materials is modified to account for surface effects, which become increasingly important as the characteristic size