Listening to music has long been known to reduce pain, but a new study led by McGill University in Canada has shown that the effect is explained not just by music’s ability to distract or its acoustic qualities, but by the pleasure it brings. The findings were published in the scientific journal Pain.

The music that brought pleasure varied from one participant to another. People who perceive the world through patterns and structures benefited more from emotionally and intellectually complex music, highlighting the need to personalize music-based interventions.

“Music can be used to reduce pain automatically—by distracting or relaxing us—but the processes of interpreting and appreciating music as a work of art can also enhance its effectiveness,” said lead author Elise Debara.

In two experiments, 134 people listened to unfamiliar music in various styles while being exposed to safe levels of heat-induced pain calibrated to their individual pain thresholds. The work drew on earlier research that classified music across 26 genres according to three characteristics: arousal (intensity), valence (emotional range), and depth (emotional and intellectual complexity).

“There is no universal acoustic recipe for pain relief—it all depends on the listener. This paves the way for precision approaches in which music is tailored to the individual rather than the situation,” said co-author David Greenberg.

“Pain and pleasure share neural circuits, so the music a person genuinely finds pleasurable is the most effective at relieving pain,” noted senior author Mathieu Roy.

He said music is inexpensive, has almost no side effects, and is accessible to almost everyone, making it a promising tool alongside conventional pain treatments.

Understanding which music helps patients with particular traits and tastes could help clinicians develop personalized approaches to drug-free pain relief.