In this paper, the static and dynamic response of a clamped-clamped viscoelastic nanocomposite microbeam under combined electrostatic and piezoelectric actuations is analyzed. The equations of motion of the system are derived using the Euler-Bernoulli beam theory, Kelvin-Voigt model and Hamilton principle. The nonlinear model for the system is studied by considering stretching of the mid-plane, a DC electrostatic force, an AC harmonic force and a DC piezoelectric actuation. The static deflection and natural frequency of the system is extracted, and the influence of system parameters on the primary resonance behavior of the system is studied. It is shown that, based on various electrostatic and piezoelectric excitations, hardening or softening behavior is expected. So, one can tune these voltages such that this highly nonlinear system behaves linearly close to resonance frequency. Also it is shown that damping characteristics of the system with viscoelastic material not only depends on the damping coefficient of the system, but also on its other parameters.