Based on the nonlocal Euler–Bernoulli beam theory, a theoretical approach is developed to investigate the effects of small scale and intermolecular force on the dynamic pull‐in behavior of electrostatically actuated nanoresonators. To this purpose, nanoresonators are modeled as multilayer beams with rectangular cross‐sections and fixed‐fixed and fixed‐free end conditions which are embedded in an elastic medium containing Winkler and Pasternak elastic foundations. Also, the effects of nonlocal parameter, fringing field due to the finite width of beams, Casimir or van der Waals intermolecular forces, nonlinear term induced by mid‐plane stretching and Winkler and Pasternak elastic foundations are considered in the mathematical modeling of pull‐in behavior. Finally, a hybrid semi‐analytical method is proposed to solve the nonlinear partial differential equation in two steps using the separation of variable technique. First, the Galerkin method is used to reduce a nonlinear ordinary differential equation with respect to time variable. Next, the parameter expansion method is applied to solve ensuing equation and obtain the time history response of transverse deflection. As case studies, the numerical results including curves of voltage‐normalized frequency, time history of normalized maximum deflection and phase portrait of two six‐layer cantilever and fully fixed beams are presented and discussed in detail. Findings indicate that the effect of small scale on the pull‐in voltages is more significant for both boundary conditions, in comparison with the intermolecular force. Also, it is seen that the pull‐in voltages of cantilever beams become larger by considering the nonlocal effect, contrary to the case of fully fixed beams.