The University of Reading study has revealed that chewing gum can help you get rid of the song stuck in your head.
As per the new study, people chewing gum are less likely to think about "sticky" songs, and less likely to hear them after they've stopped, the Independent reported.
The findings could even show that chewing gum could also be used to keep annoying or recurrent thoughts from popping into people's heads.
Participants in the study were played Play Hard by David Guetta and Payphone by Maroon 5. They were then told not to think about the songs, and hit a key whenever they did. The people who were doing so chewing gum hit the key a lot less than those that were told to do nothing or tap their finger, the researchers found.
Beaman added that interfering with our own "inner speech" through a more sophisticated version of the gum-chewing approach may work more widely, but more research is needed to see whether this will help counter symptoms of obsessive-compulsive and similar disorders.
The study is published in Quarterly Journal of Experimental Psychology.