The purpose of the present paper is to investigate the generation of soft X-ray emission from an anharmonic collisional nanoplasma by a laser–nanocluster interaction. The electric field of the laser beam interacts with the nanocluster and leads to ionization of the cluster atoms, which then produces a nanoplasma. Because of the nonlinear restoring force in an anharmonic nanoplasma, the fluctuations and heating rate of, as well as the power radiated by, the electrons in the nanocluster plasma will be notably different from those arising from a linear restoring force. By comparing the nonlinear restoring force state (which arises from an anharmonic cluster) with that of the linear restoring force (in harmonic clusters), the cluster temperature specifically changes at the resonant frequency relative to the linear restoring force, while the variation of the anharmonic cluster radius is almost identical to that of the harmonic cluster radius. In addition, it is revealed that a sharp peak of X-ray emission arises after some picoseconds in deuterium, helium, neon and argon clusters.