Radiotherapy side-effects present serious problems in cancer treatment. Melanin, a natural polymer with low toxicity, is considered as a potential radio-protector; however, its application as an agent against irradiation during cancer treatment has still received little attention. In this study, nanomelanin particles were prepared, characterized and applied in protecting the spleens of tumor-bearing mice irradiated with X-rays. These nanoparticles had sizes varying in the range of 80–200 nm and contained several important functional groups such as carboxyl (-COO), carbonyl (-C=O) and hydroxyl (-OH) groups on the surfaces. Tumor-bearing mice were treated with nanomelanin at a concentration of 40 mg/kg before irradiating with a single dose of 6.0 Gray of X-ray at a high dose rate (1.0 Gray/min). Impressively, X-ray caused mild splenic fibrosis in 40% of nanomelanin-protected mice, whereas severe fibrosis was observed in 100% of mice treated with X-ray alone. Treatment with nanomelanin also partly rescued the volume and weight of mouse spleens from irradiation through promoting the transcription levels of splenic Interleukin-2 (IL-2) and Tumor Necrosis Factor alpha (TNF-α). More interestingly, splenic T cell and dendritic cell populations were 1.91 and 1.64-fold higher in nanomelanin-treated mice than those in mice which received X-ray alone. Consistently, the percentage of lymphocytes was also significantly greater in blood from nanomelanin-treated mice. In addition, nanomelanin might indirectly induce apoptosis in tumor tissues via activation of TNF-α, Bax, and Caspase-3 genes. In summary, our results demonstrate that nanomelanin protects spleens from X-ray irradiation and consequently enhances immunoactivity in tumor-bearing mice; therefore, we present nanomelanin as a potential protector against damage from radiotherapy in cancer treatment.