This paper presents new analytical solutions for buckling of carbon nanotubes (CNTs) and functionally graded (FG) cylindrical nanoshells subjected to compressive and thermal loads. The model applies Eringen's nonlocal differential constitutive relation to