rent free

To live "rent free" in someone's head means that a person, thought, or memory is constantly occupying your mind without you intending for it to be there. It implies that this subject is taking up valuable mental space and energy, often against your will, like an unwanted tenant who refuses to move out. This phrase is almost always used to describe annoyance or obsession. If someone says a celebrity or a past argument is living "rent free" in your head, they are pointing out that you are spending too much time thinking about something that doesn't deserve your attention. It is common in casual social media discourse or friendly banter.
In conversation
Discussing a rival
I still can't believe he said that to you last week.
I still can't believe he said that to you last week.
Honestly, I've moved on. Don't let him live rent free in your head.
Honestly, I've moved on. Don't let him live rent free in your head.
Used here to advise someone to stop dwelling on a negative person.
A catchy song
I've had this jingle stuck in my brain for three days.
I've had this jingle stuck in my brain for three days.
Oh no, that commercial is definitely living rent free in your head now.
Oh no, that commercial is definitely living rent free in your head now.
Shows that the phrase can also apply to harmless things like annoying songs.
Examples
That rude comment is living rent free in my head.
That rude comment is living rent free in my head.
Stop giving your ex so much power; they are living rent free in your head.
Stop giving your ex so much power; they are living rent free in your head.
I try to ignore the criticism, but it continues to occupy space rent free in my consciousness.
I try to ignore the criticism, but it continues to occupy space rent free in my consciousness.