Sleeping disorders negatively affect cancer patient management, quality of life, and recovery. Immunotherapy, a rising cancer treatment, shows potential to improve sleep quality by reducing inflammation. This study analyzed 255 publications (2000-2024) from the Web of Science Core Collection using bibliometric methods. The US and China dominate research output, with The Mayo Clinic as a key contributor. Core topics are "immunotherapy," "quality of life," and "antibodies." Emerging keywords like "cancer," "encephalitis," and "depression" highlight a shift toward clinical psychology in treating tumors and rare diseases. It is noteworthy that with the rapid expansion of immunotherapy in cancer treatment, clinical trials have shown that it can improve sleep quality in cancer patients by reducing inflammation. As its application in cancer treatment expands, immunotherapy's potential for treating sleep disorders is promising. Future development is expected to improve sleep quality and address clinical issues, offering broad prospects for patient outcomes.