emotional affair
An affair in which two people who are attracted to each other (and at least one of whom is in a committed romantic relationship with someone else) engage in a relationship that is emotionally intimate but not sexually or physically intimate. My husband spends so much time with his best friend from work that I'm worried he's having an emotional affair with her.