In this paper, surface effects including surface elasticity, surface stress and surface density, on the free vibration analysis of Euler-Bernoulli and Timoshenko nanobeams are considered using nonlocal elasticity theory. To this end, the balance conditions between nanobeam bulk and its surfaces are considered to be satisfied assuming a linear variation for the component of the normal stress thr...