Over the years, many people have reached out to me complaining about a peculiar symptom. For the many who suffer from depersonalization and anxiety issues, this one symptom causes much distress. I’m talking about having music stuck inside one’s head.
It’s fairly common for a piece of music, whether a popular song or a jingle from a TV commercial, to become lodged in your head. This is termed as “earworm” and is an issue that affects a large majority of the human population. It’s not uncommon to hear from someone about some annoying music looping inside their head.
However, what is not very common among the general population, but fairly common with folks from depersonalization/derealization (DP/DR), is how this can go on for months to years. Such people can start hearing music from the minute they wake up until the moment they fall asleep. When that happens, they can become frustrated and even scared that it’s going to be like that forever.
I was one such person. I’d wake up with a song stuck in my head. When I went to shower, I’d hear the same song or some other would take its place. Then at work, I’d try to focus and manage to get the job done, but during a break, I’d notice the music playing in the background inside my head.
I started becoming annoyed by this. I asked myself, “I am already dealing with the various symptoms of depersonalization and unreality, and now I have to deal with this too?”
Struggling with DP/DR?
DP No More is the only online course you need to recover from depersonalization (DP) and derealization (DR). This is science-backed cure for DP/DR.
I was and always will be a musically-oriented person. I produce music during my free time, listen to tunes all day at work (it helps me work better), and I’m always game for live music shows.
Music is a big source of joy, but when I was deep in the throes of anxiety and DP/DR, it became a big source of distress. I became more concerned about this issue. Over time, the experience moved from one of annoyance to something that made me afraid. I wondered, “Have I damaged my brain?” “Should I stop listening to music completely?” “Will it be like this forever?” The questions were never-ending.
All of these scary thoughts only made the situation worse. They were adding more fuel to the fire. By constantly checking in with myself to see whether I had music stuck inside my head or not, I had inadvertently triggered the repetitive music thoughts.
There are a lot of you out there who can relate to the above scenario. We want nothing more than to just wake up one day and not have a repetitive loop stuck inside anymore.
Over the years, I came to figure out that this is just another side effect of obsessive-compulsive disorder and anxiety. They always go hand-in-hand.
If you’d like to know how to recover from this, then here are some strategies that might work.
Acceptance
Any cure for an anxiety symptom starts with acceptance. Our minds actually become obsessed with things they cannot accept. What we resist persists in our minds. When we try to avoid thinking about something, that’s when we really hone our internal focus in on it.
By resisting these musical thoughts, we add more mental energy to them. That gives rise to more of the same thoughts. And then, we try to resist those thoughts with even more energy. Thus the cycle continues until it reaches epic proportions, which can cause immense panic in us.
To be free from such thoughts, we need to accept them. You may be shocked by this statement. You may say, “If I accept them, they are going to stay forever and I’m going to feel overwhelmed.” This is incorrect thinking. By accepting such thoughts, you are not adding any mental energy to them. After a while, when they run out of energy, they occur less frequently.
Acceptance is a long-term strategy. If you accept thinking that it will go away immediately, then that is not really acceptance at all. It takes time after you have started practicing acceptance for you to notice a decrease in the frequency of such musical thoughts.
Cultivating an Attitude of Indifference
After you have started practicing acceptance, you will slowly find some relief. After a while, you won’t be afraid that you are going to be stuck in this mode forever. There will be days when you won’t have any music/repetitive loop stuck in your head. But then, suddenly one day, you’ll wake up with a piece of music going round and round again.
If that happens, don’t become alarmed. Recovery from OCD/anxiety is never linear, meaning it’s not always a straight line. There will be setbacks.
A strategy that can help you with setbacks is cultivating an attitude of indifference. What I mean by that is developing a “don’t care” attitude.
The less we care about an issue, the less mental space it occupies in our mind and the less of a chance it has of coming up and again trying to grab our attention.
Think of OCD thoughts (music thoughts are an example) as a high school bully. A person bullies you because he knows that you will react to his bullying. You being scared of him and his tactics are what gives him power over you. To take away that power, you simply don’t care what he does to you. Now, this might be a bad strategy in the outside world, but in the internal world of the mind, this is very successful.
Whenever thoughts become stuck inside your head and you feel scared, just reassure yourself and say that you don’t really care. Even if it feels fake in the beginning, just go along with it. Just stop caring and continue doing what you are doing.
Tell yourself, “I accept these thoughts, but I don’t really care about their presence. They can come and go as they wish.” Really start to mean what you are saying. Let the music just hang out in the background while you connect with life and do normal things.
Over time, this attitude towards OCD thoughts becomes permanent and then such thoughts lose their bullying power over you. The more we care about such thoughts, the more power they have over us. The more indifferent we are, the less “sticky” they become.
By combining the practice of acceptance with indifference, we can reduce the distress caused by these thoughts. Our minds will simply start focusing on issues we really care about. We will start seeing less of them.
Additional Strategies
In addition to the above techniques, there are a few other ideas you can employ to find relief from OCD/repetitive music thoughts.
One such idea is when you have a song stuck in your head, just sing it out loud. Instead of worrying about whether it will be there forever, just channel that energy into singing. Go willingly towards the song instead of running away. Play that song on your phone/stereo and sing along. Work out that emotion, be it fear or frustration, by singing it. You might even enjoy it.
Sometimes, I have found that whatever song is currently playing inside my head has some meaning to me, though it may not be apparent. The words of the song may reflect how I’m really feeling. The mood of the music may reflect my own. Focusing on this aspect can be a tool for self-awareness.
A few days ago, I woke up with a song called “Panic” stuck in my head. Upon some introspection, I found that my heart was racing and that I was feeling panicked about something. Maybe it was a bad dream that put me in that state. Who knows? The song and its title were reflecting my internal state. Now, whenever a song gets stuck in my head, I accept and allow it, and don’t really care if it’s there. But I do notice whether the lyrics or mood of the song is trying to convey a message to me.
There you have it. I hope the knowledge and the techniques in this article have taught you how to handle OCD music thoughts and how to find relief from them.

Have you had people contact you that just get the last song they heard stuck in their head? This happens to me. As long as I avoid music, I’m fine.
How long has this been going on with you? I would really like to talk to you about it I’m going thru the same thing and knowing other people have it as well makes me feel better
Hi Sergio,
I just saw your message. I would like to get in touch with you, but I dont know how. I dont feel confortable sharing my email adress here.
Hello there I’m so glad I read you’re advice on music stuck in my head. I have bad anxiety lately and I had loops stuck in my head. Om a musician I play in a band etc and like you music is my life.. I’ve had this a week now and found it crippling. But I’ve just read you’re help. And tried what you said. Bam it works with patience. Do not be afraid of this intrusive music. Embrace it allow it. I hope this has saved my music… Thank you
Has your stuck loops went away ? Can I get in touch with you ?
Music is the language of Soul.
Did or do you ever return back to playing music like you normally would do. Or should .it ghosts me this thing.but youre write up certainly helps you’re not alone D
I’ve been like this for 4 months nothing would help until I came across this article….it really does work I have went weeks with out any music stuck today was a day where it came back but I just came and read your article again and it helped ….with me it started after I went to sleep listening to songs while I was upset and going thru relationship problems ….I know one day it will completely stop I have bead anxiety so that is something I need to learn to control as well as my mild OCD ….I hope every one who is going thru this gets healed completely
Hi Sergio V
Ive been going through same thing for 5 months now. Constant music looping in my head from when i wake up until i sleep. I dont know what to do but just to stay positive. Would be nice to chat with anyone here who is going through same thing. Please write on this site or my email is bookypost3@hotmail.com.
I hate going through this as its such a weird symptom and no one you speak to seems to have experienced this before and that just alienates us.
I hope everyone gets better, hang in there and have faith.
Daniel
I have always had music in my head. all my life. I wake up whistling a tune, grind my teeth to another. I had no idea I was different from everyone else. I have always known I suffer from anxiety, and some OCD. I count everything like steps, chews, everything, and prefer only even numbers of everything. But I just told my husband of 30 years about my “music” and he told me he never hears it. It made me sad for him. I love my music. I am always tapping my fingers to it or my steps are on beat with the tunes. I am 55 and would miss my music at this point. I am not saying it’s not a big deal and I think all of my issues are on the milder side, except for the anxiety causing an ulcer and the bouts of depression. But I am scared if the music was turned off that something new and not as nice may come along to fill the silence.
I grind my teeth to music too! Gosh I thought it was only me!
Hi I have the same thing and it just started a few days ago it is already driving me crazy. I have music playing in my head just random different songs over and over all day long. I don’t know what to do to get it to stop it’s giving me terrible anxiety. Because I have this does this mean I have anxiety and ocd? What can I do to make it stop?
Same thing, I hear songs all day. I can’t stop the music but I can switch songs and control their speed. Also I quietly sing along, I can feel that I’m mouthing the words inside. I have pretty much accepted it but felt pretty crazy when a famous clinic had zero explanation or answers for me.
I found out some surprising and pretty devastating information recently and I had “You Dropped A Bomb On Me” stuck in my head for almost 3 weeks straight 🥲
I suffered years of insomnia and it got bad when I was going to married. My ocd and anxiety got high and I cant sleep of the song that got stuck. I just wanna tell that this is my go to reminder whenever this panic alarm goes on. I always forward this link and captured this link in case I forgot. Thankyou for writing this, you dont know that your words could save a live.
Hey All, I have been struggling with this for a while now. I will try the steps of this article. it was nice to read about that someone got over it.
If you had good experiences I would
like to hear about it
1/3/23: I have “suffered ” with lyric-loop for quite some time, and it is
refreshing to know that there are others out there with the same malady
My loop is limited to old songs, but then, I too, am old. The songs in my head
abate when I concentrate on something, so I am going to live with it.
Thanks, all JP