Despite much research efforts being devoted to the design optimization of metallic nanoshells, no account is taken of the fact that the number of the nanoshells that can be delivered to a given cancerous site vary with their size. In this paper, we study the effect of the nanoshell number density on the absorption and scattering properties of a gold-nanoshell ensemble exposed to a broadband near-infrared radiation, and optimize the nanoshells’ dimensions for efficient cancer treatment by analyzing a wide range of human tissues. We first consider the general situation in which the number of the delivered nanoshells decreases with their mean radius R as ∝ R−β, and demonstrate that the optimal design of nanoshells required to treat cancer most efficiently depends critically on β. In the case of β = 2, the maximal energy absorbed (scattered) by the ensemble is achieved for the same dimensions that maximize the absorption (scattering) efficiency of a single nanoshell. We thoroughly study this special case by the example of gold nanoshells with silica core. To ensure that minimal thermal injury is caused to the healthy tissue surrounding a cancerous site, we estimate the optimal dimensions that minimize scattering by the nanoshells for a desired value of the absorption efficiency. The comparison of gold nanoshells with different cores shows that hollow nanoshells exhibiting relatively low absorption efficiency are less harmful to the healthy tissue and, hence, are preferred over the strongly absorbing nanoshells. For each of the cases analyzed, we provide approximate analytical expressions for the optimal nanoshell dimensions, which may be used as design guidelines by experimentalists, in order to optimize the synthesis of gold nanoshells for treating different types of human cancer at their various growth stages.