Purpose: Photothermal therapy is a procedure that converts laser beam energy to heat so can disturb tumor cells. Carbon nanotubes (CNTs) have unique properties in absorption optical energy and could change optical power into heat in photothermal therapy procedures. Additionally, titanium dioxide (TiO2) NPs have a unique feature in absorbing and scattering light. Therefore, these mentioned NPs could play a synergistic role in the photothermal therapy method. Methods: CNTs and TiO2 NPs were injected into the melanoma tumor sites of cancerous mice. Then sites were excited using the laser beam (λ= 808nm, P= 2W, and I= 4W/cm2). Injected NPs caused hyperthermia in solid tumors. Tumor size assay, statistical analysis, and histopathological study of the treated cases were performed to assess the role of mentioned NPs in photothermal therapy of murine melanoma cancer. Results: The results showed that CNTs performed better than TiO2 NPs in destroying murine melanoma cancer cells in animals. Conclusion: The present study compared the photothermal activity of excited CNTs and TiO2 NPs in cancer therapy at the near-infrared spectrum of light. Tumors were destroyed selectively because of their weakened heat resistance versus normal tissue. Photothermal therapy of malignant melanoma through CNTs caused remarkable necrosis into the tumor tissues versus TiO2 NPs.