in one's head vs in the mind

in one's head

prep
  • Anxious due to overthinking an issue. 

  • Within one's intellect, memory, or mind. 

  • Within one's imagination; without basis in reality. 

  • Used other than figuratively or idiomatically: see in, one's, head. 

  • Mentally. 

in the mind

How often have the words in one's head and in the mind occurred in a corpus of books? (source: Google Ngram Viewer )