At present, with the development in nanotechnology, nanostructures with temperature-dependent properties have been used in nano-electromechanical systems (NEMS). Thus, introducing an accurate mathematical model of nanobeams with temperature-dependent properties is a major and important topic for the design of NEMS. This paper aims to discuss nonlocal nanobeams analysis depending on the theories of Euler–Bernoulli and modified couple-stress (MCS). It also is assumed that the thermal conductivity of the nanobeam is dependent on the temperature. Physical fields of the nanobeam are obtained utilizing Laplace transform and state-space techniques. The effects of the size and nonlocal parameters, variability of thermal conductivity and couple stress on various distributions are presented graphically and studied in detail. Numerical results are presented as application scales and the design of nanoparticles, nanoscale oscillators, atomic force microscopes, and nanogenerators, in which nanoparticles as nanobeams act as essential and basic elements.