Cancer patients often experience changes in mental health, prompting an exploration into whether nerves infiltrating tumors contribute to these alterations by impacting brain functions. Using a male mouse model for head and neck cancer, we utilized neuronal tracing techniques and show that tumor-infiltrating nerves indeed connect to distinct brain areas via the ipsilateral trigeminal ganglion. The activation of this neuronal circuitry led to behavioral alterations represented by decreased nest-building, increased latency to eat a cookie, and reduced wheel running. Tumor-infiltrating nociceptor neurons exhibited heightened activity, as indicated by increased calcium mobilization. Correspondingly, the specific brain regions receiving these neural projections showed elevated cFos and delta FosB expression in tumor-bearing mice, alongside markedly intensified calcium responses compared to non-tumor-bearing counterparts. The genetic elimination of nociceptor neurons in tumor-bearing mice led to decreased brain Fos expression and mitigated the behavioral alterations induced by the presence of the tumor. While antalgic treatment successfully restored behaviors involving oral movements to normalcy in tumor-bearing mice, it did not have a similar therapeutic effect on voluntary wheel running. This discrepancy points towards an intricate relationship, where pain is not the exclusive driver of such behavioral shifts. Unraveling the interaction between the tumor, infiltrating nerves, and the brain is pivotal to developing targeted interventions to alleviate the mental health burdens associated with cancer.