'in v on somebody's mind'?

Hi,

What is the difference between ‘in somebody’s mind’ and ‘on somebody’s mind’?

Thank you very much.

The version with “on” has a stronger and more specific sense that someone is preoccupied with or concerned about something, so they are thinking about it repeatedly over a period of time.