Studying vibrations of viscoelastic nanobeams based on the fractional calculus. Considering surface effects using the Gurtin–Murdoch model. Considering shear deformation effects via the Timoshenko beam theory. Derivation of governing equations using Hamilton's principle.