You searched for: “psychalgia
psychalgia (s) (noun), psychalgias (pl)
Any non-physical pain: Psychalgia can be described as distress attending a mental effort, noted especially in melancholia and is also termed algopsychalia, mind pain, phrenalgia, psychalgalia, and soul pain.

Psychalgia is a kind of mental distress marked by auditory and visual hallucinations, often associated with melancholia.

Discomfort or pain, usually in the head and termed psychalgia, accompanies mental activity (obsessions, hallucinations, etc.), and is recognized by the patient as being emotional in origin.

Psychalgia is also used to refer to any psychogenic pain disorder.